Help with xen ha resource in sles 12

Hello,

I have recently upgraded to sles 12 (with hae) from sles 11 sp2.

I am currently trying to configure the xen resource and do not know what file to configure for the ‘xmfile’ parameter.

Since the sles 12 xen version does not use xend anymore the usual file located in /etc/xen/vm/*.cfg no longer exists. I have tried referencing the newer xml config file for the vm but that does not seem to work.

Also, for some reason, when I perform a live migration with virsh the vm continues to run on the migrate-from node. I use primary/primary drbd vbd devices. I can run the vm manually from both nodes and I have the latest vmdp drivers installed on the win 2012 r2 vm.
The error indicates something like ‘could not unpause…’.

The changes from sles 11 sp2 to skes 12 are quit a few in virtulization and hae. Its priving to be quite a challenge to configure hae and xen with drbd on sles 12 compared to sles 11 sp2.

John

6529034,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.suse.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team
http://forums.suse.com

I have successfully used the OCF/Heartbeat/VirtualDomain HA resource to manage/start/stop the libvirt based XML VM configuration file.
Regarding the live migration issue, using XEN does not live migrate at all in SLES 12 using the VirtualDomain resource or the commandline virsh methods. The 'unable to unpause domain issue still stands and I end up with the XEN VM running on both nodes simultaneously.

However, using KVM on the exact same 2 nodes does live migrate my VMs using HA or virsh.

I am now using KVM on SLES 12. I hope the XEN live migration issues in SLES 12 get resolved soon.

John

Hi John,

Regarding the live migration issue, using XEN does not live migrate at all in SLES 12 using the VirtualDomain resource or the commandline virsh methods. The 'unable to unpause domain issue still stands and I end up with the XEN VM running on both nodes simultaneously.

do you have any logs for us? And how’s your setup, disk-wise? I’ve read you’re using DRBD, is that with per-VM resources or is it an active/active setup with a cluster-aware FS carrying all DomUs’ virtual disk images (or probably LVs)?

Like xend, libvirt supports a per-DomU locking across cluster nodes (see https://libvirt.org/locking.html), I highly recommend to use that in clustered installations (and for otheres still using xend: Yes, you too :wink: ). Running DomUs in parallel on the same virtual disk resource will most likely corrupt those disks…

Regards,
Jens