Mass Start Virtual Servers

From SolusVM

Jump to: navigation, search

If you need to mass start your virtual servers for any reason do the following in SSH on the host:

Xen PV/HVM

CFGS=/home/xen/vm*/;for cfg in $CFGS;do xm create $cfg*.cfg;done

OpenVZ

CFGS=`vzlist -S -Ho ctid`;for cfg in $CFGS;do vzctl start $cfg;done

KVM

CFGS=/home/kvm/kvm*/;for cfg in $CFGS;do virsh create $cfg*.xml;done
Personal tools
Installation/Upgrading
Customization