OpenVZ Forum


Home » General » Support » Some VPS don't restart after HN reboot
Some VPS don't restart after HN reboot [message #20611] Sun, 23 September 2007 19:10 Go to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
Some VPS do not start when we restart the node. How can we fix that.

Tnx.
Re: Some VPS don't restart after HN reboot [message #20612 is a reply to message #20611] Sun, 23 September 2007 20:19 Go to previous messageGo to next message
JimL is currently offline  JimL
Messages: 116
Registered: February 2007
Senior Member
We need a little more information such as what distro are you running on the HN and guests? Any logs that might show errors. Do the VPS run if you start them manually? Do they fail during the initialization of the VPS? (what does vzlist show?)

Etc.

Jim.
Re: Some VPS don't restart after HN reboot [message #20613 is a reply to message #20611] Sun, 23 September 2007 20:25 Go to previous messageGo to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
HN centos 4.5 32bit
Guest running mostly centos and debian.
VPS start manually.
When I reboot the node. Some VPS are rebooted. When I run vzlist -a
some are stopped. If I start them manually they come up.
How can I set that all VPS are rebooted on HN reboot.

Thanks
Re: Some VPS don't restart after HN reboot [message #20616 is a reply to message #20613] Mon, 24 September 2007 04:40 Go to previous messageGo to next message
Mr.Ash is currently offline  Mr.Ash
Messages: 42
Registered: September 2007
Member
i have same problem in kernel '' 2.6.9-023stab043.2-enterprise ''

os '' centos 4.5 ''

when i make reboot inside vps not boot again should start it manual
from master server

vzctl start vid


[Updated on: Mon, 24 September 2007 04:41]

Report message to a moderator

Re: Some VPS don't restart after HN reboot [message #20617 is a reply to message #20616] Mon, 24 September 2007 06:44 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Could you please check "ONBOOT" parameter in $VEID.conf?

ONBOOT="no" means not to start this VE automatically.


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: Some VPS don't restart after HN reboot [message #20626 is a reply to message #20617] Mon, 24 September 2007 08:12 Go to previous messageGo to next message
Mr.Ash is currently offline  Mr.Ash
Messages: 42
Registered: September 2007
Member
yes i'm checked

really i found it

ONBOOT="yes"
CLASSID="2"

steel problem

Re: Some VPS don't restart after HN reboot [message #20628 is a reply to message #20626] Mon, 24 September 2007 08:27 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
ok.
VE restart is done by cron job which checks each 5 mins if any VE should be started.

/etc/cron.d/vz:

# Start VEs marked as rebooted.
*/5 * * * * root /usr/share/vzctl/scripts/vpsreboot


Might be you just didn't wait for 5 mins?


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: Some VPS don't restart after HN reboot [message #20635 is a reply to message #20611] Mon, 24 September 2007 09:01 Go to previous messageGo to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
Yes, there were few VPS with onboot no I changed them to yes.

Thanks.
Re: Some VPS don't restart after HN reboot [message #20681 is a reply to message #20617] Tue, 25 September 2007 00:38 Go to previous messageGo to next message
Impressionist is currently offline  Impressionist
Messages: 1
Registered: September 2007
Junior Member
thank you
Re: Some VPS don't restart after HN reboot [message #20733 is a reply to message #20635] Tue, 25 September 2007 17:15 Go to previous messageGo to next message
ugob is currently offline  ugob
Messages: 271
Registered: March 2007
Senior Member
Is this all solved?

Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
Re: Some VPS don't restart after HN reboot [message #20734 is a reply to message #20611] Tue, 25 September 2007 17:20 Go to previous messageGo to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
Yes Smile

Thanks
Re: Some VPS don't restart after HN reboot [message #20753 is a reply to message #20734] Wed, 26 September 2007 00:21 Go to previous message
Mr.Ash is currently offline  Mr.Ash
Messages: 42
Registered: September 2007
Member
i steel have a problem
onboot=yes

and it same problem

Previous Topic: VPS's acting weird after NIC change
Next Topic: Change VEID without recalculating quota :: vzmlocal openvz option
Goto Forum:
  


Current Time: Fri Nov 15 18:52:47 GMT 2024

Total time taken to generate the page: 0.03279 seconds