OpenVZ Forum


Home » Mailing lists » Users » VEs and rebooting
Re: VEs and rebooting [message #12781 is a reply to message #12780] Wed, 09 May 2007 09:23 Go to previous message
Gregor Mosheh is currently offline  Gregor Mosheh
Messages: 62
Registered: April 2007
Member
>> >> I've noticed that there's a /etc/cron.d/vz, which runs
>> >> /usr/share/vzctl/scripts/vpsreboot
>> Sounds good but... what exactly is the point of this functionality?

Vasily Tarasov wrote:
> For example the root of VE performed `reboot` command inside VE. VE will
> stop, but somebody from outer world should start it again. vpsreboot is
> this somebody, who starts VE if it was rebooted. ;)

Ahhh, okay. Running "init 6" in a VE stops the VE's processes and shuts it
down, but has no mechanism of restarting it. Then a few minutes later
vpsreboot boots it back up, simulating the rebooting part of a reboot. Of
course!

Thanks for the explanation; it makes sense now that I have the missing
piece filled in. :)

I'll make a note of this for the template caches I'm creating.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: kernel oops
Next Topic: Logging traffic stats for VEs
Goto Forum:
  


Current Time: Sat Aug 23 15:54:11 GMT 2025

Total time taken to generate the page: 0.05997 seconds