OpenVZ Forum


Home » Mailing lists » Users » VEs and rebooting
Re: VEs and rebooting [message #12780 is a reply to message #12777] Wed, 09 May 2007 09:15 Go to previous messageGo to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
On Wed, 2007-05-09 at 03:05 -0600, Gregor Mosheh wrote:
> > Ian P. Christian wrote:
> >> I've noticed that there's a /etc/cron.d/vz, which runs
> >> /usr/share/vzctl/scripts/vpsreboot
> >> My understanding is that vpsreboot should scan for
> >> /vz/private/nnn/reboot, and if it finds that file, it will start the VPS
> >> and delete it the file.
>
> Pardon me if this question sounds dense. I'm looking at the vpsreboot
> code, since I'd like to understand everything there is to know about
> VZ....
>
> The vpsreboot cronjob runs every 5 minutes. It looks for a /reboot file in
> each VE's directory; if it exists and the VE is stopped, it starts the VE.
> Sounds good but... what exactly is the point of this functionality?

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. ;)


>
> Is it used as part of the VZ startup sequence, or for watchdogging, ...?
>
 
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: Mon Aug 12 02:57:45 GMT 2024

Total time taken to generate the page: 0.02843 seconds