[Linux-cluster] vm guest migrating through clusvcadm

Srija swap_project at yahoo.com
Thu Sep 1 14:57:18 UTC 2011


    Hi,
 
 
  I have confgured a guest  in the cluster environment to restart in another  node , when the node on which the guest resides if goes down.
 
  The guest  has no issue when i am live migrating it with 'xm migrate' command.  But having issues  when trying to migrated  with
 
  'clusvcadm'.  The  cluster is not  under kvm.  
 
  The error is  :
 
            Trying to migrate service:guest1  to node1...Service does not exist.
 
  Here is the configuration of the cluster:
 
 <rm log_level="7" log_facility="local4">
                <failoverdomains>
                        <failoverdomain name="all1" nofailback="1" ordered="0" restricted="0">
                                <failoverdomainnode name="node1" priority="1"/>
                               ......................
                             <snip>
                        </failoverdomain>
                </failoverdomains>
                <resources>
                    <vm autostart="1" name="guest1" use_virsh="0" migrate="live" domain="all1" exclusive="0" recovery="reload" path="/etc/xen"/>
                </resources>
        </rm>
 
I tried also changing the cluster configuration , placing the guest  name as  service  , but it did not work  as well.
 
 Can anyone pl. confirm me that does it need the kvm to use  'clusvcadm'  command?   If not  then what kind of modications  is needed
 
 to  migrate the guest  with clusvcadm?
 
Thanks





More information about the Linux-cluster mailing list