From: Ewan Mellor Subject: [RFC] [XEND] Lifecycle Patches 2/7 Date: Fri, 14 Jul 2006 15:31:12 +0100 Message-ID: <20060714143112.GF4683@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="1Ow488MNN9B9o/ov" Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen-devel List-Id: xen-devel@lists.xenproject.org --1Ow488MNN9B9o/ov Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Xend lifecycle changes -- documentation for the basic functionality. man/xm.pod.1 | 33 +++++++++++++++++++++++++++++++++ src/user.tex | 17 +++++++++++++++++ 2 files changed, 50 insertions(+) --1Ow488MNN9B9o/ov Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=lifecycle-docs Index: xen/docs/man/xm.pod.1 =================================================================== --- xen.orig/docs/man/xm.pod.1 2006-07-14 14:30:08.000000000 +0100 +++ xen/docs/man/xm.pod.1 2006-07-14 14:33:41.000000000 +0100 @@ -114,6 +114,11 @@ =back +=item B I + +Removes a persistent domain referred to by the I. The +domain must be shutdown for the domain to be removed. + =item B I Immediately terminate the domain domain-id. This doesn't give the domain @@ -287,6 +292,29 @@ =back +=item B I + +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 can be removed by using B and started using B. + +B + +=over 4 + + xm new /etc/xend/SomeDomain.cfg + +This command will load the configuration in file +I. In most cases, to start the domain you +would issue: + + xm start SomeDomain + +where I is the name of the domain specified in the +configuration file I. + +=back + =item B I Pause a domain. When in a paused state the domain will still consume @@ -361,6 +389,11 @@ =back +=item B I + +Starts a persistent domain that is named I in the +domain's configuration. + =item B I I Send a I signal to the domain. For more Index: xen/docs/src/user.tex =================================================================== --- xen.orig/docs/src/user.tex 2006-07-14 14:31:33.000000000 +0100 +++ xen/docs/src/user.tex 2006-07-14 14:33:35.000000000 +0100 @@ -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 ! & Registers domain to be managed by \xend\\ +\verb!xm start ! & Starts and boots up a domain managed by \xend\\ +\verb!xm delete ! & 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 --1Ow488MNN9B9o/ov Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --1Ow488MNN9B9o/ov--