Mass start VPS Servers on OpenVZ, KVM or XEN Slave Nodes

Mass start VPS Servers on OpenVZ, KVM or XEN Slave Nodes

SolusVM is great for managing virtual servers. Compatible with OpenVZ, KVM and XEN virtualization this software is great to manage VPS nodes. Generally, you have a master and slave setup whereas the master host node controls the control panel and clicks login here to manage their VPS servers. Then you have a Slave node which houses the virtual servers. The slave nodes can have different virtualization, for example, one could run KVM, the other OpenVZ and then The third XEN. The most popular virtualizations are OpenVZ and KVM.

If you were to update the servers Kernel this would require a reboot of the whole node which would mean outages for any VPS servers placed on the nodes being rebooted. Unfortunately, nothing can be done about this but you should only need to reboot your servers once a year a most to complete updates. Not every update you do on your slave node will require a reboot.

SolusVM has a great feature to allow mass starting of VPS servers once a slave has been rebooted. this saves you having to reboot each server but can place a huge strain on the host node as it works to boot all of the servers for you. If you have over subscribed your slave nodes, don’t try mass starting servers you are likely to have t reboot the slave again.

Cheap Dedicated Server Hosting

How to mass start and stop VPS servers on an OpenVZ Slave node

  • Mass Start VPS Servers on OpenVZ Slaves
CFGS=`vzlist -S -Ho ctid`;for cfg in $CFGS;do vzctl start $cfg;done
  • Mass Stop VPS Servers on OpenVZ Slaves
CFGS=`vzlist -S -Ho ctid`;for cfg in $CFGS;do vzctl stop $cfg;done

How to mass start VPS servers on a KVM Slave

CFGS=/home/kvm/kvm*/;for cfg in $CFGS;do virsh create $cfg*.xml;done

How to mass start and stop servers on an XEN slave

  • Mass Start VPS Servers ON XEN Slave
CFGS=/home/xen/vm*/;for cfg in $CFGS;do xm create $cfg*.cfg;done

Mass Stop VPS Servers on XEN Slave

xm shutdown -aw

How was this article? – Mass start VPS Servers on OpenVZ, KVM or XEN Slave Nodes

Mass start VPS Servers on OpenVZ, KVM or XEN Slave Nodes
1 5 100%

Dedicated Servers SolusVM

Select Language
Intel i7-950 Dedicated Server ★ 24 GB Ram ★ Multiple Hard Drive Options ★ 1 GBPS ConnectionFrom £34.95 /month
+