System information
Sharing and maintaining SLES 10 SP2 Linux under z/VM 41
3. Grant the new user ID access to the VSWITCH. The following statement is put in
AUTOLOG1’s PROFILE EXEC:
'cp set vswitch vsw1 grant lnx226'
This command is also run interactively from the command line for the current z/VM session.
By using the SLES 10 SP2 parameter file to maintain the IP address and host name, there is
a side effect. If for some reason you need to install Linux manually, or even use the install
process as a rescue system, this file will be available and the same IP/DNS information will
be used.
The read-write Linux system is cloned to the LINUX226 user ID via the CLONERW EXEC:
==> clonerw lnx226
Checking that source and target user IDs are logged off
HCPCQU045E S10GOLD not logged on
HCPCQU045E LNX226 not logged on
Do you want to copy R/W system from S10GOLD to lnx226 y/n
y
Copying minidisk 11B0 to 01B0 ...
Command complete: FLASHCOPY 11B0 0 END TO 01B0 0 END
Return value = 0
Copying minidisk 11B1 to 01B1 ...
Command complete: FLASHCOPY 11B1 0 END TO 01B1 0 END
Return value = 0
Copying minidisk 11B4 to 01B4 ...
Command complete: FLASHCOPY 11B4 0 END TO 01B4 0 END
Return value = 0
Copying minidisk 11B5 to 01B5 ...
Command complete: FLASHCOPY 11B5 0 END TO 01B5 0 END
Return value = 0
Copying minidisk 11B6 to 01B6 ...
Command complete: FLASHCOPY 11B6 0 END TO 01B6 0 END
Return value = 0
Copying minidisk 11B7 to 01B7 ...
Command complete: FLASHCOPY 11B7 0 END TO 01B7 0 END
Return value = 0
Copying minidisk 11B8 to 01B8 ...
Command complete: FLASHCOPY 11B8 0 END TO 01B8 0 END
Return value = 0
01B0-01B1 DETACHED
01B4-01B8 DETACHED
11B0-11B1 DETACHED
11B4-11B8 DETACHED
You should now have four identical systems, three of which can be IPLed: S10RWMNT,
S10RWTST and LNX226. All of these have identical IP and DNS information. For the first three
system user IDs, this is acceptable knowing that only one will be booted at a time. However,
the target systems will naturally need unique IP and DNS host name values. This is
accomplished at first boot time by the boot.findself script.