vserver 0.2 changes log

vserver 0.2 changes log

previous versions: 0.1
Change log index

Enhancements

Documentation

The documentation found at http://www.solucorp.qc.ca/miscprj/s_context.hc was enhanced. Worth a review...

rebootmgr and vreboot utility

A virtual server is not able/allowed to re boot the computer. It is nevertheless useful to simulate a robot of the virtual server services. Basically, we end all services, kill all remaining processes and start over. This is achieved by running the following command from the main server:

	/usr/sbin/vserver SERVER restart

But it can't be executed from inside the virtual server. To solve this the rebootmgr (robot manager) was created. It is a service which installs a unix domain socket in each virtual server (/dev/reboot). The /sbin/vreboot utility is used to request a reboot from any virtual server. The reboot manager knows which vserver is sending the request and execute the command above.

The /sbin/vhalt utility is supplied as well, which simply end a virtual server activity.

The rebootmgr is a service and is off by default. You must enable it.

Bug fixes

Stopping a virtual server

There was a flaw in the vserver utility and sometime, a virtual server was not ended properly. Some processes were left running and this was preventing the restart of the vserver.