hi all.. i am new to Xen Virtualization i want to write a script that shut down the virtual machines in my xen host. what, i can just do it with xm shutdown "domain_name"... but the problem is before execute the next command i want to make sure whether the vm is down.. pls cn anyone help me to do this.. Thanks Rushdhi Mohamed
2012/1/18 Rushdhi Mohamed <zmrushdhi@gmail.com>:> hi all.. > > i am new to Xen Virtualization > > i want to write a script that shut down the virtual machines in my xen host. > > what, i can just do it with xm shutdown "domain_name"... > > but the problem is before execute the next command i want to make sure > whether the vm is down..Why don''t you just use: xm shutdown -w <domain_name> So xm waits for domain shutdown instead of returning immediately.> pls cn anyone help me to do this.. > > Thanks > Rushdhi Mohamed > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users