System information
6 Sharing and maintaining SLES 10 SP2 Linux under z/VM
old and next, you would simply create more sets of minidisks on the gold user ID, with an
agreed upon device numbering convention.
Figure 1-4 Freezing a golden copy of a Linux system
When a new Linux server needs to be cloned or provisioned with conventional read-write
disks, it is copied from the gold minidisks. A REXX EXEC is run from the CMS virtual machine
named CMSCLONE that copies from the gold minidisks to target Linux user IDs.
A script named /etc/init.d/boot.findself is also copied that is designed to run once at
boot time to uniquely configure the new Linux server. It modifies the IP address and host
name. This script will not modify the IP address and host name of the predefined S10xxxxx
user IDs, so they will all have to share the same values. As such, only one of these user IDs
can have Linux IPLed at any given time.
Figure 1-5 Cloning a read-write virtual server
After a read-write system has been created on S10RWMNT, a read-only root system can be
created from it. Another Linux system running on CMSCLONE is used to build the read-only root
system. A Linux script (mnt2rogld.sh) is provided to create the first read-only root system the
read-only root server, S10ROGLD used to test and create the gold version of minidisks used for
read-only root provisioning.
mnt2gold exec
GOLD
S10RWMNT
S10RWTST
I
n
s
t
a
l
l
m
e
d
i
a
CMSCLONE
t
s
t
2
m
n
t
e
x
e
c
m
n
t
2
t
s
t
e
x
e
c
LINUX001
S10GOLD
CMSCLONE
clonerw