{"id":956,"date":"2010-07-04T06:15:03","date_gmt":"2010-07-04T10:15:03","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=956"},"modified":"2013-03-20T08:43:17","modified_gmt":"2013-03-20T12:43:17","slug":"how-to-auto-start-a-vps-on-a-host-servernode-reboot","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/how-to-auto-start-a-vps-on-a-host-servernode-reboot","title":{"rendered":"How to auto-start a VPS on a host server\/node reboot?"},"content":{"rendered":"<p>If a VPS doesn&#8217;t come online after the host server is rebooted, it is due to the &#8220;ONBOOT&#8221; 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.<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\">If it's set to 'yes', the VPS will start automatically. <\/span>\r\n<span style=\"color: #0000ff;\">If it's set to 'no', we will have to start the VPS manually.<\/span><\/pre>\n<\/blockquote>\n<p>To make the changes, edit the VPS configuration file<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\">vi \/etc\/sysconfig\/vz-scripts\/VEID.conf<\/span><\/pre>\n<\/blockquote>\n<p>search for<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\">ONBOOT=\"no\"<\/span><\/pre>\n<\/blockquote>\n<p>and change to<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\">ONBOOT=\"yes\"<\/span><\/pre>\n<\/blockquote>\n<p>This change will auto-start the VPS next time the host node is rebooted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If a VPS doesn&#8217;t come online after the host server is rebooted, it is due to the &#8220;ONBOOT&#8221; 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.<\/p>\n<p>If it&#8217;s set to &#8216;yes&#8217;, the VPS will start automatically.<br \/>\nIf it&#8217;s set to &#8216;no&#8217;, we will have to start the VPS manually.<\/p>\n<p>To make the changes, edit the VPS configuration file<\/p>\n<p>vi \/etc\/sysconfig\/vz-scripts\/VEID.conf<\/p>\n<p>search for<\/p>\n<p>ONBOOT=&#8221;no&#8221;<\/p>\n<p>and change to<\/p>\n<p>ONBOOT=&#8221;yes&#8221;<\/p>\n<p>This change will auto-start the VPS next time the [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[921,919,917,918,923,922,920],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/956"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=956"}],"version-history":[{"count":8,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/956\/revisions"}],"predecessor-version":[{"id":959,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/956\/revisions\/959"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}