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

[Linux-cluster] virtualized guest failback



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


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