
Chapter 9. Configuring RHEL 5.2 for cloning 143
====> pre off
====> all /gap/|/overlap/
-------------------- 4 line(s) not displayed --------------------
0 500 501 GAP
-------------------- 368 line(s) not displayed --------------------
====> quit
Bring the changes online with the DIRECTXA USER command:
==> directxa user
z/VM USER DIRECTORY CREATION PROGRAM - VERSION 5 RELEASE 1.0
EOJ DIRECTORY UPDATED AND ON LINE
You have now created three new user IDs that can be cloned to.
9.4.2 Creating three new configuration files
You must create a new configuration file for each of the user IDs. Because most of the
information generally remains the same across clones, clone has a feature that allows the
definition of a shared.conf file to be included into all other configuration files. Create this file
by first copying linux01.conf:
# cp /etc/clone/linux01.conf /etc/clone/shared.conf
# vi /etc/clone/shared.conf
Now edit the new file to remove any values specific to each user ID’s individual configuration
file. Remove HOSTNAME= and IPADDR=, as shown in the strikethrough text, because they always
change:
HOSTNAME=linux01.example.com
IPADDR=10.1.40.91
DASD=100,101
DASD_ROOT=100
NETTYPE=qeth
...
All of the Linux clones reside on the same network, and come from the same golden image.
Therefore, it is possible to place the majority of the configuration settings into the
shared.conf file. Now create a new linux02.conf file using the new format:
# vi /etc/clone/linux02.conf
HOSTNAME=virtc532.itso.ibm.com
IPADDR=9.12.5.32
Copy this file and modify it for LINUX03 and LINUX04.
9.4.3 Granting user IDs access to VSWITCH
Modify the PROFILE EXEC on AUTOLOG1 191 to grant access to the VSWITCH for the six new
user IDs and add XAUTOLOG commands so they will booted when the z/VM system IPLs.
Link and access the AUTOLOG1 191 disk so the file can be modified from MAINT:
==> link autolog1 191 1191 mr
==> acc 1191 f
Edit the PROFILE EXEC:
==> x profile exec f
...
/* Grant access to VSWITCH for each Linux user */
Comentarios a estos manuales