Chapter 8. Installing and configuring the golden image 153
/dev/disk/by-path/ccw-0.0.0100-part2 swap swap defaults
0 0
...
After a reboot, the minidisk swap space should come back with the lowest priority.
8.2.9 Other configuration changes
You might consider other configuration changes. Of course, you can take an iterative
approach: Start with this set of changes, clone some Linux images and test, then bring the
golden image back up, make more changes, and re-clone.
Whether you are on the first pass of configuration or not, refer to the following sections to
consider other changes for performance and availability related issues:
12.1, “Registering your system with RHN” on page 200
13.6, “Setting up Linux Memory Hotplugging” on page 222
13.8, “Hardware cryptographic support for OpenSSH” on page 227
8.2.10 Rebooting the system
Run the reboot command to test your changes:
# reboot
Broadcast message from root (pts/0) (Sun Nov 19 08:57:32 2006):
The system is going down for reboot NOW!
8.2.11 Verifying the changes
You are now done customizing the master Linux image. When the system comes back
online, you should verify the changes that you made:
1. SSH back into the cloner and check a few settings.
2. Use the df command to display your file systems. Your output may differ:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/dasda1 504M 147M 332M 31% /
tmpfs 498M 0 498M 0% /dev/shm
/dev/mapper/system_vg-opt_lv
372M 17M 337M 5% /opt
/dev/mapper/system_vg-tmp_lv
372M 17M 337M 5% /tmp
/dev/mapper/system_vg-usr_lv
1.5G 817M 619M 57% /usr
/dev/mapper/system_vg-var_lv
372M 85M 269M 24% /var
3. Confirm that both of your swap spaces are operational:
# swapon -s
Filename Type Size Used
Priority
/dev/dasdb1 partition 262132 0 -1
/dev/dasdc1 partition 524276 0 -2
/dev/dasda2 partition 524296 0 -3
Commenti su questo manuale