I wish libvirt had not adopted the practice of VM xml config files in /etc.
Going through the API, I don't think we are given a choice.  The most
convenient place for us to put the config files outside of the libvirt
managed facility is in the xcat config database which is the
kvm_nodedata.xml field.  In order to go further I think we start hitting
the boundary where we start needing a virtualization agent per hypervisor
to enable better behavior (e.g. deprecating libvirt storage which is pretty
poor, a less 'hackish' network automation agent than xHRM, multi-master
virtualization management, integrated VM HA).  Thus far I think most people
have suggested we invest such hypothetical significant effort into
improving Openstack and oVirt instead of extending our own that much
further.

At least the site value to persist VM config in /etc/libvirt is easy to do,
so I'll at least go that far.



From:   "Pocina, Goran" <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   02/26/2013 10:51 AM
Subject:        Re: [xcat-user] Can we run xCAT built KVM VMs independently of
            xCAT?



I guess for the case I described, a site wide variable would be safest
(wouldn’t want to figure out that we had forgot to set the persistent flag
on a particular node, during recover from a power fail J

But really your initial suggestion of making an independent backup of the
xml, perhaps to a central repository, also has merits, because it would
allow recovery on a different hypervisor, from a backup of the container,
or from an NFS copy.

The ideal situation would be one where the xml always stays with the VM
container.   Either on the same NFS filesystem, or the same local
filesystem, and so that any backups or snapshots of the container
incorporate the xml file at the time.

This might be difficult to do if the local store is a raw image on a local
LVM, and LVM snapshots are used, but pretty easy if it’s a qcow image on a
local filesystem.

Thanks,

Goran
From: Jarrod B Johnson [mailto:[email protected]]
Sent: Monday, February 25, 2013 10:15 AM
To: xCAT Users Mailing list
Subject: Re: [xcat-user] Can we run xCAT built KVM VMs independently of
xCAT?



For requesting persistence, I'm presuming a site value would be the most
desirable.

'persistkvmguests' sound like a good site value?

Inactive hide details for Jarrod B Johnson---02/22/2013 04:17:45 PM---Once
running, a KVM VM should not care about the state ofJarrod B
Johnson---02/22/2013 04:17:45 PM---Once running, a KVM VM should not care
about the state of the MN (since you aren't using the MN for

From: Jarrod B Johnson/Raleigh/IBM@IBMUS
To: xCAT Users Mailing list <[email protected]>
Date: 02/22/2013 04:17 PM
Subject: Re: [xcat-user] Can we run xCAT built KVM VMs independently of
xCAT?




Once running, a KVM VM should not care about the state of the MN (since you
aren't using the MN for DHCP/DNS).  If a KVM VM shuts down or the
hypervisor reboots, however, the answer gets more complicated.
Assuming you don't need xCAT's auto-storage mounting capability or
auto-network assembly (e.g. you have static mount points or local storage
or LVM based VMs), then all you need is the xml.  By default, the only
place that persists is in xCAT DB:
nodels <node> kvm_nodedata.xml
You can also get the libvirt xml by:
ssh <hypervisor>
virsh dumpxml <nodename>
While the VM is running.
I can investigate an option for hypervisor to persist.  This is libvirt's
default behavior but there is likely a flag I can use to persist for users
that want.

For fixed passwords, just do:
nodech <vms> vm.vidpassword=passwordhere

You will need to run wvid once after that change to update the VM
configuration to match the table value.  After that, vnc direct without
asking xCAT for current password.
Inactive hide details for "Pocina, Goran" ---02/22/2013 03:36:16 PM---Hi,
Question 1.   Can we run VMs built with xCAT without "Pocina, Goran"
---02/22/2013 03:36:16 PM---Hi, Question 1.   Can we run VMs built with
xCAT without the MN being up?   (we use hardeths, and ha

From: "Pocina, Goran" <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Date: 02/22/2013 03:36 PM
Subject: [xcat-user] Can we run xCAT built KVM VMs independently of xCAT?




Hi,

Question 1.   Can we run VMs built with xCAT without the MN being up?   (we
use hardeths, and have external LDAP and DNS servers to xCAT.)   Is all of
the VM configuration information needed to run the VM resident on the
hypervisor?

Also, “wvid” works for us, and opens a vncviewer to our KVM VMs console on
demand.   An advantage of “wvid” is that the user need not know the
password to the console, and access to the console can be delegated to
specific users using xCAT’s policy table.

However for our small group, federating access to the VM console is not a
big requirement, but insuring that we do not lose access to our VMs in the
event our xCAT MN is down, is critical.   Especially in a scenario where we
are recovering from a site-wide power outage, and need to bring up VMs that
run critical services like ntp, dns, ldap, etc., perhaps before  we even
can bring up the xCAT MN.

Question 2.  Is there any way for us to assign a fixed password to the vnc
server, and have wvid use that instead?  Where would we need to make the
code changes to accomplish this?


Thanks,

Goran
------------------------------------------------------------------------------

Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------

Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------

Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to