[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] HOW TO CHECK THE STATUS OF XEN DOMAIN



2012/1/18 Rushdhi Mohamed <zmrushdhi@xxxxxxxxx>:
> 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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.