Scroll to navigation

VSERVER(8) System Administration VSERVER(8)

NAME

vserver - The vserver utility enables you to manage the state of vservers, including building, starting, stopping, etc.

SYNTAX

vserver [-s|--sync] [-v|--verbose] [--silent] [--] vserver command [--help] args*

provides additional help for provided command, for example: vserver - build --help args are the arguments that are possible for the different commands, see the arguments for each command listed below

COMMANDS

Starts the specified vserver. The optional argument --rescue starts the vserver in rescue mode, which runs program args* to start the vserver instead of whatever is configured. The optional argument --rescue-init makes the command appear as PID 1 in the vserver. This can be used to start /bin/bash to investigate why a vserver is not able to start correctly.
Stops the specified vserver, and kills the remaining processes. The optional argument --rescue-init can be used to stop a vserver that was started with the option of the same name.
Restarts the specified vserver. This is the subsequent execution of a synchronized 'stop' and a 'start'.
Restarts a running vserver.
Executes program args* as the specified user in the vserver.
Executes program args* as the root user in the vserver.
Executes the configured shell (default: /bin/bash if it exists) in the vserver and allocates a pty.
Modifies the init-system; currently, only Red Hat's chkconfig is supported.
Returns an exit code of 0 iff the vserver is running, 1 if not.
Provides some human readable status information about the vserver, and succeeds iff the vserver is running.
Create a vserver from scratch, where the buildopts* are a set of options and a build method. As this option calls vserver-build, please see vserver-build(8) for a complete listing of possible options and methods.
Remove a vserver.
Unify or de-unify the vserver with its reference vserver(s).
Installs package(s) pkg in the vserver.
Execute the apt-* command for the given vserver
Execute the rpm command for the given vserver.
Externalize or internalize the package-management for the given vserver. ´Externalize' means that package metadata and management tools (apt-get,rpm) are living in the host, while 'internalize' means that data and programs from the vserver will be used.
Hashify the vserver.

FILES

/usr/sbin/vserver

/etc/vservers/*

/var/lib/vservers/*

EXAMPLES

Please contribute some, if you feel it's important.

AUTHORS

This man page was written by Micah Anderson <micah@debian.org> and based upon the helpful output from the program itself.

SEE ALSO

chbind(8) chcontext(8) rebootmgr(8) reducecap(8) vps(8) vpstree(8) vrpm(8) vserver-build(8) vserver-stat(8) vtop(8)

October 24, 2007 util-vserver