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.


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

<<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