[sles-beta] Creating XEN VM files to use with HA cluster

Darren Thompson darrent at akurit.com.au
Sun Jun 1 20:08:49 MDT 2014


Team

OK I now have managed to create a cluster XEN VM (using a OCFS2 shared
file-system and the notes from my previous correspondence).

It looks like the 'live migration/relocation' function is now managed by
'lib-virt' and not xend (there is no xend-config.sxp file for example).

Is there any notes on the configuration steps required for 'live
migration/relocation' now, the YAST2 'relocation server' module does not
seem to do anything and it's setting do not "stick".

Darren



On 2 June 2014 10:54, Darren Thompson <darrent at akurit.com.au> wrote:

> Team
>
> Found it, old dog needs to learn some new tricks ;-)
>
> "# virsh dumpxml *GuestID* > *guest.xml"*
>
> From:
> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/form-Virtualization-Managing_guests_with_virsh-Creating_a_virtual_machine_XML_dump_configuration_file.html
> (Is there updated SLES12 documentation on this yet)
>
> Also, the original Xen OCF cluster resource cannot be used as it's hard
> coded to "xm" which is depreciated.
>
> There is a new 'VirtualDomain' OCF file which is used for clustering
> 'lib-virt' compatible VM's (which seems to support Xen, KVM etc).
>
> Darren
>
>
> On 31 May 2014 15:58, Darren Thompson <darrent at akurit.com.au> wrote:
>
>> Team
>>
>> I must be missing something obvious, but how do you get the VM config
>> files for HA
>>
>> In SLES11+ the VM create tool created the configuration file or you could
>> run "xm list {vmname} -l <= That;s from memory and my not be correct syntax.
>>
>> I have created a VM using the new virt-manager but it does not seem to
>> have created a config file.
>>
>> The xl list command does not seem to "find" the VM when it's running and
>> does not list it at all when stopped (I can only start it from virt-manager
>> itself).
>>
>> Any hints/tips appreciated as I'm sure that I'm missing something that
>> should be obvious.
>>
>> Darren
>>
>>
>> --
>>
>> Darren Thompson
>>
>> Professional Services Engineer / Consultant
>>
>>  *[image: cid:image001.jpg at 01CB7C0C.6C6A2AE0]*
>>
>> Level 3, 60 City Road
>>
>> Southgate, VIC 3006
>>
>> Mb: 0400 640 414
>>
>> Mail: darrent at akurit.com.au <steve at akurit.com.au>
>> Web: www.akurit.com.au
>>
>
>
>
> --
>
> Darren Thompson
>
> Professional Services Engineer / Consultant
>
>  *[image: cid:image001.jpg at 01CB7C0C.6C6A2AE0]*
>
> Level 3, 60 City Road
>
> Southgate, VIC 3006
>
> Mb: 0400 640 414
>
> Mail: darrent at akurit.com.au <steve at akurit.com.au>
> Web: www.akurit.com.au
>



-- 

Darren Thompson

Professional Services Engineer / Consultant

 *[image: cid:image001.jpg at 01CB7C0C.6C6A2AE0]*

Level 3, 60 City Road

Southgate, VIC 3006

Mb: 0400 640 414

Mail: darrent at akurit.com.au <steve at akurit.com.au>
Web: www.akurit.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.suse.com/mailman/private/sles-beta/attachments/20140602/613a8201/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 3692 bytes
Desc: not available
URL: <http://lists.suse.com/mailman/private/sles-beta/attachments/20140602/613a8201/attachment.jpg>


More information about the sles-beta mailing list