WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] XCP pool-ha-enable

To: "'Anatoliy.Poloz@xxxxxxxxxxxxxxxx'" <Anatoliy.Poloz@xxxxxxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] XCP pool-ha-enable
From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Date: Wed, 3 Mar 2010 18:18:35 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Wed, 03 Mar 2010 10:19:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B8E3710.303@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4B8E3710.303@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acq6urTkk1BPYmHkSV6SHcFNQtSdkQAQqzKA
Thread-topic: [Xen-users] XCP pool-ha-enable
Hi,

XCP doesn't have a complete HA implementation: it's missing a host 
heartbeat/liveness service. HA enable will fail when xapi tries to start this 
daemon.

Re: the SR: Normally storage plugins are called while xapi is running normally 
and the pool-wide database is available. HA requires a shared disk and this 
disk must be attached before the pool-wide database is available. There are 
special operations for this ({generate,attach_from}_config IIRC). These are 
implemented by the LVMoISCSI and LVMoHBA SRs but not currently by the ISCSI SR.
 
Cheers,
Dave

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Anatoliy.Poloz
> Sent: 03 March 2010 10:17
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] XCP pool-ha-enable
> 
> hi all, i try to use ha-enable function on my xcp pool
> but have some err msg when try to enable it
> 
> xe pool-ha-enable heartbeat-sr-uuids=aff98845-4f7d-e576-09eb-
> ec6147399fcb
> The SR backend does not support the operation (check the SR's allowed
> operations)
> sr: aff98845-4f7d-e576-09eb-ec6147399fcb (HA-ISCSI-target)
> 
> ok, lets try to who allowed operation
> 
> xe sr-list uuid=aff98845-4f7d-e576-09eb-ec6147399fcb
> params=allowed-operations
> allowed-operations (SRO)    : forget; VDI.introduce; VDI.create; plug;
> destroy; VDI.destroy; scan; VDI.clone; unplug
> 
> 
> and list of all params of SR
> 
> xe sr-list uuid=aff98845-4f7d-e576-09eb-ec6147399fcb params=all
> uuid ( RO)                    : aff98845-4f7d-e576-09eb-ec6147399fcb
>                name-label ( RW): HA-ISCSI-target
>          name-description ( RW):
>                      host ( RO): <shared>
>        allowed-operations (SRO): forget; VDI.introduce; VDI.create;
> plug; destroy; VDI.destroy; scan; VDI.clone; unplug
>        current-operations (SRO):
>                      VDIs (SRO): 8fa016f4-0705-835c-69c5-084572733f3a
>                      PBDs (SRO): 762d2779-eea2-ab49-5dba-f667da42660d;
> dda6d917-61b5-9854-2009-f296be704681
>        virtual-allocation ( RO): 1638400000
>      physical-utilisation ( RO): 1638400000
>             physical-size ( RO): 1638400000
>                      type ( RO): iscsi
>              content-type ( RO): user
>                    shared ( RW): true
>              other-config (MRW):
>                 sm-config (MRO): datatype: ISCSI; multipathable: true;
> targetIQN: iqn.2010-02.ua.od.onetelecom:storage.disk2.sys1.xyz; target:
> 10.42.1.8; disktype: Raw
>                     blobs ( RO):
> 
> 
> 
> any additional conditions needed to ctreat "heartbeat SR" ?
> 
> 
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>