virtualized guest failback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I have working failover of virtualized guest. could someone give me hint how to configure the vm failover to failback after recovery? eg. vm_A runs xen01, xen01 fails, so xen02 takes over the vm_A, after xen01 is up again, the vm_A is migrated back to xen01.

I have already tried many config combinations, but without success - the vm_A always stays on the failover host.

my expected config (which still doesn't work) is:

 <rm>
    <failoverdomains>
      <failoverdomain name="xen01" restricted="1" ordered="1">
        <failoverdomainnode name="xen01.localdom" priority="2"/>
        <failoverdomainnode name="xen02.localdom" priority="1"/>
      </failoverdomain>
      <failoverdomain name="xen02" restricted="1" ordered="1">
        <failoverdomainnode name="xen01.localdom" priority="1"/>
        <failoverdomainnode name="xen02.localdom" priority="2"/>
      </failoverdomain>
    </failoverdomains>
    <resources/>

<vm autostart="1" domain="xen01" exclusive="0" migrate="live" name="vm_A" path="/etc/xen/vm" recovery="relocate"/> <vm autostart="1" domain="xen02" exclusive="0" migrate="live" name="vm_B" path="/etc/xen/vm" recovery="relocate"/>
  </rm>

any hints? thanks stepan

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux