Chapter 14. Starting or stopping a domain during the boot phase

Chapter 14. Starting or stopping a domain during the boot phase

You can start or stop running domains at any time. Domain0 waits for all running domains to shutdown before restarting. You must place the configuration files of the domains you wish to shut down in the /etc/xen/ directory. All the domains that you want to start at boot time must be symbolically linked to /etc/xen/auto.

chkconfig xendomains on

The chkconfig xendomains on command does not automatically start domains; instead it will start the domains on the next boot.

chkconfig xendomains off

The chkconfig xendomains off terminates all running domains and does not start them again during the next boot.


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.