Restarting Guests when Host Reboots
193
yum install -y vim-enhanced
10.3.5. Restarting Guests when Host Reboots
By default, when a host system reboots, the guests are not restarted and must be manually started by
the administrator.
However, the
rhn-virtualization-host
service can restart guests automatically in the event of a
host system reboot.
To use this service, follow these steps:
1. Locate the guest's config file on the host in
/etc/sysconfig/rhn/virt/
. It will be named by
UUID, but the correct file can be found by using the
grep
command to search for the guest name
within the UUID files.
2. When you have found the UUID file corresponding to your guest system, create a symbolic link
from the UUID file to the
/etc/sysconfig/rhn/virt/auto/
directory.
ln -s /etc/sysconfig/rhn/virt/
GUEST_UUID.xml
/etc/sysconfig/rhn/virt/
auto/
10.3.6. Deleting Virtual Systems
Deleting a virtual system is a multi-step process.
1. First you must shut down the virtual system that you wish to delete. You may do this by browsing
to the host system's profile in the Satellite web interface, clicking on the virtualization tab, and
checking off the virtual systems that you would like to delete. Finish shutting down by clicking the
Shutdown Systems
button at the bottom of the screen.
2. Next, delete the virtual system from Satellite. This is accomplished by checking off the virtual
system's checkbox and clicking the
Delete System
button at the bottom of the screen>
Tip
Please allow for at least two minutes between shutting down a virtual system and
deleting it. Otherwise, the virtual system may not shut down properly and you will
delete it while it is running. If you delete a virtual system from Satellite while it is
running, it will reappear on the Satellite the next time it checks in. If this happens,
simply shutdown the system, wait two minutes, and delete it again.
3. Delete the disk image for the virtual system you would like to delete. You will find the disk image
for
guest1
, for example, at the following location on the host system:
/var/lib/xen/disk-images/guest1.disk
Delete it with the following command:
Summary of Contents for NETWORK SATELLITE 5.3.0 - CHANNEL MANAGEMENT
Page 1: ...Red Hat Network Satellite 5 3 0 Reference Guide Red Hat Network Satellite ...
Page 32: ...20 ...
Page 44: ...Chapter 4 Red Hat Update Agent 32 Figure 4 11 Available Package Updates ...
Page 168: ...156 ...
Page 180: ...168 ...
Page 216: ...204 ...
Page 232: ...220 ...
Page 248: ...236 ...
Page 260: ...248 ...
Page 309: ...297 Appendix E Revision History Revision 1 0 Fri Feb 27 2009 ...
Page 310: ...298 ...
Page 318: ...306 ...