From: Jacques Gelinas (jack_at_solucorp.qc.ca)
Date: Mon 18 Mar 2002 - 16:06:21 GMT
On Fri, 22 Feb 2002 11:08:03 -0500, klavs klavsen wrote
> Hi guys,
>
> I'm writing the man pages for the different vserver binaries, and I'm at
> rebootmgr.
>
> If I run it from my box, with a valid vserver name it just freezes..
> (how long am I suppose to wait? vserver <name> stop;vserver <name> start
> - finished quickly).
>
> if i run it with a invalid vserver name is says: bind: No such file or
> directory.
>
> What's the purpose of this program?
This program is used with the rebootmgr service (/etc/init.d/rebootmgr). This
service scan all the available vserver and starts the rebootmgr server with the
list. /usr/sbin/rebootmgr creates a unix domain socket in each vserver as
/dev/reboot. Each vserver has the /sbin/vreboot and /sbin/vhalt utility. Those
utilities open the /dev/reboot socket and send a little messages. rebootmgr
interpret the message (halt or reboot) and perform the proper operation
on the vserver
vserver xx stop
vserver xx restart
the service should be restarted whenever you add or remove a vserver so it
places its socket properly.
This rebootmgr may be expanded at some point to allow the vserver some
access to specific commands in the root server.
---------------------------------------------------------
Jacques Gelinas <jack_at_solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc