The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM
The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM
The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
► Import the RPM GPG key so that yum knows you are installing official Red Hat packages.<br />
<strong>The</strong> Red Hat GPG key is located in the install tree. Import the key with the following<br />
command:<br />
# rpm --import /nfs/rhel6/RPM-GPG-KEY-redhat-release<br />
<strong>The</strong> yum tool should now be configured. It will be tested in the next section.<br />
8.2.3 Turning off unneeded services<br />
As with the golden image, follow the steps in 7.2.4, “Turning off unneeded services” on<br />
page 121. Following is a summary:<br />
# chkconfig iptables off<br />
# chkconfig ip6tables off<br />
# chkconfig auditd off<br />
# chkconfig abrtd off<br />
# chkconfig atd off<br />
# chkconfig mdmonitor off<br />
Verify these service are turned off with the chkconfig --list command:<br />
# chkconfig --list | grep 3:on<br />
autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off<br />
cpi 0:off 1:on 2:on 3:on 4:on 5:on 6:off<br />
cpuplugd 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br />
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br />
dumpconf 0:on 1:on 2:on 3:on 4:on 5:on 6:on<br />
haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off<br />
lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off<br />
messagebus 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br />
mon_statd 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br />
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off<br />
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br />
nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off<br />
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br />
rhnsd 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br />
rpcbind 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br />
rpcgssd 0:off 1:off 2:off 3:on 4:on 5:on 6:off<br />
rpcidmapd 0:off 1:off 2:off 3:on 4:on 5:on 6:off<br />
rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br />
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off<br />
sysstat 0:off 1:on 2:on 3:on 4:on 5:on 6:off<br />
udev-post 0:off 1:on 2:on 3:on 4:on 5:on 6:off<br />
8.2.4 Configuring the VNC server<br />
Configure the VNC server the same way as on the cloner. Follow the same steps as<br />
described in 7.2.5, “Configuring the VNC server” on page 122.<br />
8.2.5 Setting system to halt on SIGNAL SHUTDOWN<br />
Again, RHEL 6 reboots when a Ctrl-Alt-Del key sequence is trapped. This key sequence is<br />
simulated by z/<strong>VM</strong> when a SIGNAL SHUTDOWN command is issued. Rather than rebooting, you<br />
want your system to halt (shutdown).<br />
Edit /etc/init/control-alt-delete.conf changing shutdown -r (reboot) to shutdown -h<br />
(halt):<br />
140 <strong>The</strong> <strong>Virtualization</strong> <strong>Cookbook</strong> <strong>for</strong> RHEL 6