System information
50 Sharing and maintaining SLES 10 SP2 Linux under z/VM
Return value = 0
01B0-01B1 DETACHED
01B4-01B8 DETACHED
21B0-21B1 DETACHED
21B4-21B8 DETACHED
The modified read-only version of the gold read-write system should now be “alongside” the
read-write version on the S10GOLD disks.
1.6.4 Cloning a read-only Linux
You should now be able to clone a read-only Linux system. A user ID, LNX227, is created to
clone the system to. Only the 1B4 (swap), 1B5 (/local/) and 1B6 (/var/) minidisks are
read-write. The other disks are read-only links to the corresponding S10GOLD 21Bx minidisks.
Before creating a new user ID for a read-only system, a new user directory profile is created.
It is named S10DFLT. It includes LINK statements to the read-only disks on S10GOLD:
PROFILE S10DFLT
IPL CMS
MACHINE ESA 4
CPU 00 BASE
CPU 01
NICDEF 0600 TYPE QDIO LAN SYSTEM VSW1
SPOOL 000C 2540 READER *
SPOOL 000D 2540 PUNCH A
SPOOL 000E 1403 A
CONSOLE 009 3215 T
LINK MAINT 0190 0190 RR
LINK MAINT 019D 019D RR
LINK MAINT 019E 019E RR
LINK CMSCLONE 192 191 RR
LINK TCPMAINT 592 592 RR
* Read-only links for Linux
LINK S10GOLD 21B0 01B0 RR
LINK S10GOLD 21B1 01B1 RR
LINK S10GOLD 21B6 0320 RR
LINK S10GOLD 21B7 01B7 RR
LINK S10GOLD 21B8 01B8 RR
Having this new user directory PROFILE will make maintenance easier, as a second profile can
be used for migrating read-only systems.
A user ID, LNX227, is created to clone the system to. Note that only the 1B4 (swap), 1B5
(/local/) and 1B6 (/var/) minidisks are read-write. The other disks are read-only links to the
corresponding S10GOLD 11Bx minidisks.
USER LNX227 PASSWD 256M 1G G
INCLUDE S10DFLT
OPTION APPLMON
MDISK 01B4 3390 0001 0550 DM63CD MR PASSWD PASSWD PASSWD
MDISK 01B5 3390 0551 0100 DM63CD MR PASSWD PASSWD PASSWD
MDISK 01B6 3390 0651 1019 DM63CD MR PASSWD PASSWD PASSWD
Create the new virtual machine. When that is completed, logoff of MAINT and logon to
CMSCLONE.
Again a parameter file must be created on the CMSCLONE 192 disk. The S10RWMNT parameter
file is copied as a template, and the host name and IP address are modified: