System information
Sharing and maintaining SLES 10 SP2 Linux under z/VM 37
Parsing RPM database...
Summary:
<install> [S1:1][package]cmsfs-1.1.8-3.2.s390x
Continue? [y/n]: y
Downloading: [S1:1][package]cmsfs-1.1.8-3.2.s390x, 39.7 K(136.9 K unpacked)
Installing: [S1:1][package]cmsfs-1.1.8-3.2.s390x
Setting the cmm and vmcp module to be loaded
When the cmm module is loaded, in conjunction with configuration changes on z/VM,
significant performance gains are possible. Collaborative Memory Management and VMRM
are discussed in more detail in 1.9.3, “Enabling Collaborative Memory Management (CMM)”
on page 66:
The vmcp module allows CP commands to be issued from Linux.
The cmm and vmcp modules are added to the file /etc/sysconfig/kernel. This will cause
these modules to be loaded at boot time.
# cd /etc/sysconfig
# vi kernel // modify one line
MODULES_LOADED_ON_BOOT="cmm vmcp"
Modifying the /etc/inittab file
Two changes are made to the /etc/inittab file. The default run level of 5 (graphical interface) is
changed to 3 (command line interface). Rather than rebooting, (shutdown -r), the system is
set to halt (shutdown -h) when the shutdown signal is trapped as a Ctrl-Alt-Del signal:
# cd /etc
# vi inittab // change shutdown -r to shutdown -h
...
# The default runlevel is defined here
id:3:initdefault:
...
# what to do when CTRL-ALT-DEL is pressed
ca::ctrlaltdel:/sbin/shutdown -h -t 4 now
...
Copying the cloneprep.sh and boot.findself scripts
The script cloneprep.sh is copied to /usr/local/sbin/ so it can be used to clean up files just
before cloning. The script boot.findself is copied to /etc/init.d/ so it can be run one time
at first boot.
The scripts are copied via the scp command. In this example, the IP address of the Linux
running on LNXCLONE is 9.60.18.225.
# cd /usr/local/sbin
# scp 9.60.18.225:/usr/local/src/sbincloneprep.sh .
The authenticity of host '9.60.18.225 (9.60.18.225)' can't be established.
RSA key fingerprint is e2:20:51:93:1b:47:25:83:86:08:3a:92:d1:24:e9:9b.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '9.60.18.225' (RSA) to the list of known hosts.
Password:
cloneprep.sh 100% 2280 2.2KB/s 00:00
# cd /etc/init.d
# scp 9.60.18.225:/usr/local/src/sbin/boot.findself .
Password:
boot.findself 100% 6307 6.2KB/s 00:00