Skip to content

System Name Change

Goals

At the end of this tutorial we will have given our z/VM system a system name that is consistent across the .. system ..

Renaming the system

Somewhat annoyingly, installing DirMaint relies on a consistent z/VM system name. Since I'm not in love with the default "ZVM71M5" that my system shipped with, it's time to make some changes. I'm a simple man with simple dreams and simple aspirations. ZVM00 is just fine with me.

This portion is pretty much yoinked from IBM's own writeup.

Modifying System Files

Notice

The following steps are preformed as MAINT710

Product Inventory Table

LINK PMAINT 41D 41D W
ACC 41D L

XEDIT VM SYSPINV (WIDTH 120

Screenshot

We're going to be changing every instance of the old system name to our desired name. There's a handy xedit shortcut for this so you don't need to edit dozens of lines by hand:

CH /OLD/NEW/ *

So in my case, I'll issue:

CH /ZVM71M5/ZVM00/ *

Screenshot

Screenshot

System Config

LINK PMAINT CF0 CF0 W
ACC CF0 X

Make a config backup and edit:

COPY SYSTEM CONFIG X = CONFBAK =
XEDIT SYSTEM CONFIG X

My pre-canned z/VM uses a token for the system name which I'll hardcode just to be safe.

Screenshot Screenshot

Run CPSYNTAX check to make sure we're not going to break IPL:

ACC 193 F
CPSYNTAX SYSTEM CONFIG X

Screenshot

VMSES/E Config

Same modifications as before for VM SYSSUF.

XEDIT VM SYSSUF (WIDTH 120

And now the annoying part: We'll need to update every instance of SRVPROD on 41D and 51D.

Screenshot

So in my case I'll be issuing a heckuva lot of XEDITs. Again, CH /ZVM71M5/ZVM00/ * run against each.

XEDIT 5684042J SRVPROD L (WIDTH 120
XEDIT 6VMLEN20 SRVPROD L (WIDTH 120
XEDIT 7VMCMS10 SRVPROD L (WIDTH 120
XEDIT 7VMCPR10 SRVPROD L (WIDTH 120
XEDIT 7VMPTK10 SRVPROD L (WIDTH 120
XEDIT 7VMRSC10 SRVPROD L (WIDTH 120
XEDIT 7VMTCP10 SRVPROD L (WIDTH 120

Recovery SFS Server

Notice

The following steps are preformed as VMSERVR

Stop the server and modify VMSERVR DMSPARMS.

STOP

Screenshot

Modify LUNAME in VMSERVR DMSPARMS.

XEDIT VMSERVR DMSPARMS

Screenshot

Update CRR log minidisk with new system name:

FILESERV CRRLOG 306 307

Restart the server and disconnect:

PROFILE
#CP DISCONNECT

Screenshot

Spool and Page ownership

Warning

This section is incomplete -- a bit of a disconnect between me and the IBM documentation. Stay tuned!

Notice

The following steps are preformed as MAINT710

For each SPOOL and PAGE volume, issue the following command:

CPFMTXA vol_addr vol_label OWNER NOSSI target_system_name