System information

Sharing and maintaining SLES 10 SP2 Linux under z/VM 57
DIAG swap disk defined at virtual address 1B2 (16245 4K pages of swap space)
DIAG swap disk defined at virtual address 1B3 (16245 4K pages of swap space)
Do you want to IPL Linux from DASD 1B0? y/n
y
...
The new read-only Linux system has been created, cloned and started.
Start a CMS session on CMSCLONE. Use the LINKED EXEC to see which read-only systems are
linked to which disks:
==> linked
S10ROGLD LINKS: TEST
S10GOLD LINKS: [[GOLD 1]]
LNX227 LNX242
S10GOLD2 LINKS: GOLD 2
The output shows that the two read-only systems are linked to the S10GOLD disks. The double
brackets around GOLD 1 show that this is the latest golden image.
Performing maintenance to the golden image
To verify the maintenance system works, an example of updating the golden image is shown.
In this simple example the maintenance of the golden image performed is to add the
findutils-locate RPM. This RPM allows a fast search of the file system via the locate
command after the database is populated with the updatedb command.
1. The user ID S10RWTST is logged onto and Linux is started. In this example it runs on the IP
address 9.60.18.222.
2. The findutils-locate RPM is added via the zypper command:
# zypper install findutils-locate
Restoring system sources...
Parsing metadata for SUSE Linux Enterprise Server 10 SP2...
Parsing RPM database...
Summary:
<install> [S1:1][package]findutils-locate-4.2.27-14.15.s390x
Continue? [y/n]: y
Downloading: [S1:1][package]findutils-locate-4.2.27-14.15.s390x
Installing: [S1:1][package]findutils-locate-4.2.27-14.15.s390x
3. The updatedb command is run to populate the locate database, which is under /var/.
# updatedb
4. The locate command is run to test the new RPM:
# locate foo | head -1
/opt/gnome/share/icons/hicolor/16x16/stock/navigation/stock_navigator-foonote-body-toggl
e.png
5. The system is shut down and the user ID is automatically logged off.
# shutdown -h now
...
Copying the updated golden image
Now the new golden image has been updated on the read-write system on S10RWTST, it is
copied to S10RWMNT and converted to a read-only system on S10ROGLD. Finally it is copied to