System information

56 Sharing and maintaining SLES 10 SP2 Linux under z/VM
3. Bring the directory changes online for the new profile
There is now a second gold virtual machine, S10GOLD2, and a second user directory PROFILE,
S10DFLT2.
Creating a new read-only Linux system
Currently in the example system described by this paper, there are only two clones - a
read-write system running on LNX226 and a read-only system running on LNX227. A new
read-only system is created to demonstrate the maintenance system.
1. Logon to MAINT and create a new read-only user ID. In this example LNX242 is created from
the following directory entry:
USER LNX242 PASSWD 256M 1G G
INCLUDE S10DFLT
OPTION APPLMON
MDISK 01B4 3390 6678 550 DM63CD MR PASSWD PASSWD PASSWD
MDISK 01B5 3390 7228 100 DM63CD MR PASSWD PASSWD PASSWD
MDISK 01B6 3390 7328 1019 DM63CD MR PASSWD PASSWD PASSWD
2. Bringing the directory addition online.
3. Logoff of MAINT and logon to CMSCLONE. Create a new parameter file on the CMSCLONE 192
disk. Following is an example:
ramdisk_size=65536 root=/dev/ram1 ro init=/linuxrc TERM=dumb
HostIP=9.60.18.242 Hostname=gpok242.endicott.ibm.com
Gateway=9.60.18.129 Netmask=255.255.255.128
Broadcast=9.60.18.255 Layer2=0
ReadChannel=0.0.0600 WriteChannel=0.0.0601 DataChannel=0.0.0602
Nameserver=9.0.2.11 Portname=whatever
Install=nfs://9.60.18.188/nfs/sles10sp2/SLES-10-SP2-s390x-GMC-DVD1.iso
UseVNC=1 VNCPassword=123456
InstNetDev=osa OsaInterface=qdio OsaMedium=eth Manual=0
4. Grant permission for the new system to attach to the VSWITCH. The following line is
added to the PROFILE EXEC on the AUTOLOG 191 disk. Also, the command is run
interactively to grant the permission immediately:
'cp set vswitch vsw1 grant lnx242'
5. Clone the new read-only system with the CLONERO EXEC:
==> clonero lnx242
clonero lnx242
Do you want to copy R/O system from S10GOLD to LNX242 y/n
y
...
You might want to watch the boot messages to see that boot.findself modifies the IP
address and host name.
6. Logon to the system and start it:
LOGON LNX242
00: NIC 0600 is created; devices 0600-0602 defined
00: z/VM Version 5 Release 4.0, Service Level 0801 (64-bit),
00: built on IBM Virtualization Technology
00: There is no logmsg data
00: FILES: 0001 RDR, NO PRT, NO PUN
00: LOGON AT 09:46:21 EDT SATURDAY 05/09/09
z/VM V5.4.0 2008-12-05 12:25
DMSACP723I A (191) R/O
DMSACP723I C (592) R/O