for i in `xm list | awk 'NR>2{ print l} {l=$1}'`;do xm shutdown $i;done
get the state of all xen domains on a physical
for i in `xm list | awk 'NR>2{ print l} {l=$1}'`;do xm domstate $i;done
destroy all domains on server
for i in `xm list | awk 'NR>2{ print l} {l=$1}'`;do xm destroy $i;done
No comments:
Post a Comment