Re: VEs and rebooting [message #12781 is a reply to message #12780] |
Wed, 09 May 2007 09:23  |
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.
|
|
|