Chapter 9. Configuring RHEL 6 for cloning 163
DMSACP723I A (191) R/O
DMSACP723I C (592) R/O
DIAG swap disk defined at virtual address 300 (64989 4K pages of swap space)
DIAG swap disk defined at virtual address 301 (129981 4K pages of swap space)
Do you want to IPL Linux from minidisk 100? y/n
y
zIPL v1.8.2-28.el6 interactive boot menu
0. default (linux)
1. linux
Note: VM users please use '#cp vi vmsg <input>'
Please choose (default will boot in 5 seconds):
Booting default (linux)...
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.32-71.el6.s390x (mockbuild@s390-004.build.bos.redhat.com) (gcc
version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Wed Sep 1 01:38:33 EDT
2010
setup: Linux is running as a z/VM guest operating system in 64-bit mode
...
gpok224 login:
Your new system should come up cleanly using the modified IP address and host name. If it
does, then congratulations! You have now cloned a Linux system manually. You can look
around the new system. It should be identical to the golden image except for the IP address
and host name.
Next you will learn how to clone a Linux system automatically. You will use the LINUX01 user
ID again. To clone, the target user ID must be logged off. You could shut the new system
down cleanly, but because you will be cloning again, it does not matter. Go to the 3270
session and log off the LINUX01 user ID:
==> #cp log
9.4 Cloning a new virtual server
Now that you have cloned a server manually and better understand the steps, you can use
the clone script to clone automatically.
9.4.1 Using the /etc/sysconfig/clone configuration file
The /etc/sysconfig/clone configuration file can be used to change global settings. The
following variables can be set:
# cat /etc/sysconfig/clone
# AUTOLOG - If set to "y" the script will autolog the cloned
# image after the cloning is completed. If it is
# set to "n" the image will not autolog the cloned
# image.
AUTOLOG=y
Commenti su questo manuale