If a VPS doesn’t come online after the host server is rebooted, it is due to the “ONBOOT” parameter of the VPS is set to NO in the VPS configuration file. This parameter decides whether to start the VPS automatically if the host server is restarted.
If it's set to 'yes', the VPS will start automatically. If it's set to 'no', we will have to start the VPS manually.
To make the changes, edit the VPS configuration file
vi /etc/sysconfig/vz-scripts/VEID.conf
search for
ONBOOT="no"
and change to
ONBOOT="yes"
This change will auto-start the VPS next time the host node is rebooted.
Comments are closed.