Lifecycle Patches 2/7
RFC 1/1 Lifecycle Patches 2/7
Xend lifecycle changes -- documentation for the basic functionality.
man/xm.pod.1 | 33 +++++++++++++++++++++++++++++++++ src/user.tex | 17 +++++++++++++++++ 2 files changed, 50 insertions(+)
docs/man/xm.pod.1 +33 -0
@@ -114,6 +114,11 @@ =back +=item B<delete> I<domain-name> + +Removes a persistent domain referred to by the I<domain-name>. The +domain must be shutdown for the domain to be removed. + =item B<destroy> I<domain-id> Immediately terminate the domain domain-id. This doesn't give the domain
@@ -287,6 +292,29 @@ =back +=item B<new> I<config-file> + +Creates a new persistent domain but does not start it. This allows a +domain to be referred to after it has shutdown. A domain created using +B<new> can be removed by using B<delete> and started using B<start>. + +B<EXAMPLES> + +=over 4 + + xm new /etc/xend/SomeDomain.cfg + +This command will load the configuration in file +I</etc/xend/SomeDomain.cfg>. In most cases, to start the domain you +would issue: + + xm start SomeDomain + +where I<SomeDomain> is the name of the domain specified in the +configuration file I<SomeDomain.cfg>. + +=back + =item B<pause> I<domain-id> Pause a domain. When in a paused state the domain will still consume
@@ -361,6 +389,11 @@ =back +=item B<start> I<domain-name> + +Starts a persistent domain that is named I<domain-name> in the +domain's configuration. + =item B<sysrq> I<domain-id> I<letter> Send a I<Magic System Request> signal to the domain. For more
docs/src/user.tex +17 -0
@@ -1094,6 +1094,23 @@ You can get access to the console of a particular domain using the \verb_# xm console_ command (e.g.\ \verb_# xm console myVM_). +\subsection{Domain Lifecycle Commands} + +\xend is able to manage the lifecycle of domains using the following commands: + +\begin{tabular}{ll} +\verb!xm new <configuration_file>! & Registers domain to be managed by \xend\\ +\verb!xm start <domain_name>! & Starts and boots up a domain managed by \xend\\ +\verb!xm delete <domain_name>! & Unregister a managed domain from \xend +\end{tabular} + +When a domain is added using \verb_xm new_ it is similar to +\verb_xm start_ except it will not boot up the domain until +\verb_xm start_ is used on the domain, and it will remember the domain +configuration so it can be relaunched after a domain is shutdown +(using \verb_xm shutdown_). + + \subsection{Domain Scheduling Management Commands} The credit CPU scheduler automatically load balances guest VCPUs
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel