
64 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2
4.11.1 Modifying labels in the SYSTEM CONFIG file
An HMC 3270 session is needed because z/VM will have to be restarted with a FORCE option.
1. Start an Integrated 3270 Console session on the HMC from the CPC Recovery (or just
Recovery) menu.
2. If you have not already done so, logon to MAINT and link and access the LNXMAINT 192 disk
to pick up the LABEL540 EXEC and XEDIT macro:
==> vmlink lnxmaint 192
DMSVML2060I LNXMAINT 192 linked as 0120 file mode Z
3. Note the first five CP-owned volumes using the QUERY CPOWNED command:
==> q cpowned
1 540RES D850 Own Online and attached
2 540SPL D851 Own Online and attached
3 540PAG D852 Own Online and attached
4 540W01 D853 Own Online and attached
5 540W02 D854 Own Online and attached
6 MPD855 D855 Own Online and attached
7 MPD950 D950 Own Online and attached
8 MPD951 D951 Own Online and attached
9 MPDA50 DA50 Own Online and attached
10 MPDB50 DB50 Own Online and attached
11 ------ ---- ----- Reserved
12 ------ ---- ----- Reserved
...
4. The labeling convention described in 2.2.1, “Volume labeling convention” on page 9
suggests using M in the second character of the label. An XEDIT macro, LABEL540 XEDIT, is
supplied to help make this process more reliable. It can be used on both the SYSTEM
CONFIG and USER DIRECT files.
To modify the labels in the SYSTEM CONFIG file, release the A CP-disk and access it
read-write. Back up the SYSTEM CONFIG file:
==> cprel a
CPRELEASE request for disk A scheduled.
HCPZAC6730I CPRELEASE request for disk A completed.
==> link * cf1 cf1 mr
==> acc cf1 f
==> copy system config f = confwrks = (oldd rep
5. Edit the SYSTEM CONFIG file with the LABEL540 XEDIT macro passing the five addresses of
the z/VM system volumes (d850-d854, in this example):
==> x system config f (profile label540) <d850 d851 d852 d853 d854>
DMSXCG517I 3 occurrence(s) changed on 3 line(s)
DMSXCG517I 1 occurrence(s) changed on 1 line(s)
DMSXCG517I 1 occurrence(s) changed on 1 line(s)
For 3390-9s: If z/VM is installed onto 3390-9s, there should only be three system
volumes:
==> q cpowned
Slot Vol-ID Rdev Type Status
1 540RES 9300 Own Online and attached
2 540SPL 9301 Own Online and attached
3 540PAG 9302 Own Online and attached
...
Komentáře k této Příručce