Create Guest User in Z/VM: Techcom
Create Guest User in Z/VM: Techcom
Create Guest User in Z/VM: Techcom
Page 1 of 50
Table of Contents
Table of Contents .......................................................................................................................... 2
1 DOCUMENT CONTROL ........................................................................................................ 3
Revision History ........................................................................................................................ 3
2 Hardware Configuration Diagrame ........................................................................................ 4
3 Relabel Golden Copy’s Volume Serial No. and System Name ............................................. 5
3.1 Relabel DASD Volume Serial Number for Target System ........................................... 6
3.2 Changing the Label for Target RES Volume ............................................................... 8
3.3 Changing the System Name of the Target System ..................................................... 9
4 Create Guest user in z/VM ................................................................................................... 11
4.1 Installation of Redhat Linux from z/VM Guest ........................................................... 13
4.2 Clonning of RedHat Linux .......................................................................................... 14
4.3 Dynamica IOCDS Activation ...................................................................................... 14
5 z/VM V6.4 Installation Setup ................................................................................................ 15
5.1 Preparation for Installation ......................................................................................... 15
5.2 Loading z/VM Installation Disk ................................................................................... 15
5.3 Installation of z/VM ..................................................................................................... 16
5.4 Configure TCPIP using IPWIZARD tool ..................................................................... 22
5.5 Customize the SYSTEM CONFIG file ....................................................................... 24
5.6 Rewrite Default IPLing System Information ............................................................... 32
5.7 Add Page, Spool and Work Volume .......................................................................... 33
5.8 IPL Information for Production System ...................................................................... 34
5.9 IPL information for DR at Jalan Ampang ................................................................... 39
6 z/VM V6.4 RACF Configuration ........................................................................................... 43
6.1 Create RPIDIRCT SYSUT ......................................................................................... 43
6.2 Build the RACF enabled CPLOAD Module ................................................................ 43
6.3 IPL your system with RACF in a test mode ............................................................... 44
6.4 Initialize RACF Database and plan RACF in Production ........................................... 44
7 z/VM V6.4 Performance Toolkit Setup ................................................................................. 46
7.1 Enable IBM Performance Toolkit for VM ................................................................... 46
7.2 Configure web browser support ................................................................................. 46
7.3 Configure PERFSVM ................................................................................................. 47
7.4 Implementing APPC/VM for a local system ............................................................... 48
7.5 Start Performance Toolkit for VM............................................................................... 48
7.6 Configure Linux Performance Gatherer ..................................................................... 49
Page 2 of 50
1 DOCUMENT CONTROL
Revision History
Version Date Change description Author Approver
(if issued)
Reference
Security on z/VM - SG24-7471
The Virtualization Cookbook for IBM z/VM - SG24-8147
Performance Toolkit for VM - SG24-6059
Getting Started with Linux on System z - SC24-6194
Page 3 of 50
2 Hardware Configuration Diagrame
Page 4 of 50
3 Relabel Golden Copy’s Volume Serial No. and System Name
Normally a golden copy will have to be relabel to represent the actual system name and correctly
identifying the volume serial accordingly. Copy the golden copy to another set of LUNs. In this
case 7 LUNs need to copy to another 7 LUNs. IPL the target LUNs in another z/VM LPARs
because the LUN-id used are the same for this installation.
IPL the target system. Use the browser to connect to the HMC and logon as SYSPROG. Select
Systems Management → Servers → the CPC → the target LPAR example ECMDBT1 (click the
ECMDBT1).
First click on the Daily → Operating System Messages
Select Recovery → Load
IPL using:
Load type = SCSI
Load address = 02400
Worldwide port name = 500507680c538b66
Logical unit number = 0003000000000000
Boot program selector =0
Boot record logical block address = C8
Confirm the input data is correct then click OK → Click Yes and enter password for SYSPROG
and click YES.
Before start doing any changes, please confirm the system IPL and DASD information.
➢ Q IPL
FN=SYSTEM FT=CONFIG PDNUM=4 PDVOL=5C53
➢ Q DASD
5C51 – V1COM1
5C52 – V1R641
5C53 – V11RES
5C54 – V11S01
5C55 – V11P01
Page 5 of 50
5C56 – V11W01
5C57 – V1SMD1
Update AUTOLOG2’s 191 disk to avoid automatic staring DIRMAINT and other products.
➢ LINK AUTOLOG2 191 991 MR
➢ ACC 991 P
➢ FILEL * * P
Update the DIRMAINT password using dirmaint facility because the initial password is
AUTOONLY which do not allow to logon using DIRMAINT userid.
➢ DIRM FOR DIRMAINT GET
➢ RECEIVE xx (REP
➢ FILEL DIRMAINT DIRECT A
Update the password and save
➢ DIRM FOR DIRMAINT REPLACE
Logon to DIRMAINT userid and backup the USER DIRECT. By default the USER DIRECT will be
created in disk 1DB as USER BACKUP (G-disk)
➢ BACKUP
➢ <>
➢ SHUTDOWN
➢ LOG
Logon to MAINT and copy the USER BACKUP in DIRMAINT 1DB disk to MAINT 191 A-disk as
USER DIRECT.
Logon to MAINT, make a backup of USER DIRECT A and SYSTEM CONFIG then change all the
volume serial number in USER DIRECT A and SYSTEM CONFIG to the target volume serial
number except RES volume serial number.
Page 6 of 50
➢ FILEL USER DIRECT A
➢ ====> LBLCHG
Ensure the volume serial are changed correctly except RES volume intact
Create the disk map and ensure the volume serial are correct
➢ DISKMAP USER DIRECT A
➢ FILEL USER DISKMAP A
Logon to MAINT of DRDEV1 and reformat the DASD volume serial number to the target
volume serial number. The target DASD must be define as edev and attached to MAINT.
User the sample SETEDEV EXEC A file to define the target DASD as edev as 9000-9005
➢ SETEDEV
➢ VARY ON 9000-9005
➢
➢ ATT 9000-9006 *
➢ CPFMTXA 9000 RT1CM1 LABEL
➢ CPFMTXA 9001 RT1RL1 LABEL
➢ CPFMTXA 9003 RT1S01 LABEL
➢ CPFMTXA 9004 RT1P01 LABEL
➢ CPFMTXA 9005 RT1W01 LABEL
➢ CPFMTXA 9006 RT1W02 LABEL
IPL using:
Load type = SCSI
Load address = 02400
Worldwide port name = 500507680c538b66
Logical unit number = 0003000000000000
Boot program selector =0
Boot record logical block address = C8
At the start (Warm | Force | COLD | CLEAN) Prompt, enter cold drain:
➢ FORCE
Page 7 of 50
At the Change TOD clock prompt, enter no:
➢ No
Run the DISKMAP utility to create USER DISKMAP to ensure all the volume are correctly assign.
➢ DISKMAP USER DIRECT A
Browse the USER DISKMAP to check the volume assignment
Backup the SYSTEM CONFIG F to SYSTEM CFGNEW F and update the RES volume in
SYSTEM CONFIG.
➢ LINK PMAINT CF0 CF0 MR
➢ ACC CF0 F
➢ COPY SYSTEM CONFIG F SYSTEM CFGNEW F
➢ FILEL SYSTEM CONFIG F
➢ C/V11RES/RT1RES/* *
➢ FILE
➢ ACC 193 G
➢ CPSYNTAX SYSTEM CONFIG F
Logon to MAINT and reformat the volume label to target RES volume. If MAINT has no write
access to 123 then logon to MAINT640.
➢ CPFMTXA 123 RT1RES LABEL
Issue DIRECTXA to put the source directory online with new RES volume serial number.
➢ DIRECTXA USER DIRECT A
Delete the USER DIRECT file in 1DF disk of DIRMAINT and copy the USER DIRECT from the
MAINT A-disk to DIRMAINT 1DF disk as USER INPUT. Copy the USER DIRECT from MAINT A-
disk to DIRMAINT 1DB disk as USER BACKUP. Then update the EXTENT CONTROL files in 1DB
and 1DF of DIRMAINT to the correct volume serial number ➔ RT1W02.
Page 8 of 50
IPL the target system DRTEST1
IPL using:
Load type = SCSI
Load address = 02400
Worldwide port name = 500507680c538b66
Logical unit number = 0003000000000000
Boot program selector =0
Boot record logical block address = C8
At the start (Warm | Force | COLD | CLEAN) Prompt, enter cold drain:
➢ <> - Just press Enter
Update the PROFILE EXEC in AUTOLOG2 191 disk back to it original statements.
➢ LINK AUTOLOG2 191 991 MR
➢ ACC 991 P
➢ FILEL * * P
Rename back the one without activate DIRMAINT as PROFILE OLD and the original back to
PROFILE EXEC.
Update VMSES/E Service inventory files with the target system name
➢ ACC 51D L
➢ FILEL * * L
➢ X VM SYSSUF (WIDTH 120
➢ ====> CHGSYSNM
Page 9 of 50
Update the System-Level Product Inventory table (VM SYSPINV file) with the target system name
➢ LINK PMAINT 41D 41D MR
➢ ACC 41D K
➢ FILEL * * K
➢ ====> X VM SYSPINV (WIDTH 120
➢ ====> CHGSYSNM
➢ FILE
Logoff MAINT
Logon to VMSERVR to update the recovery SFS server with new target system name.
➢ STOP
➢ X VMSERVR DMSPAREMS A (191 disk of VMSERVR)
Change the LUNAME to match the new target system name and save the file.
➢ PROFILE
➢ #CP DISC
IPL using:
Load type = SCSI
Load address = 02400
Worldwide port name = 500507680c538b66
Logical unit number = 0003000000000000
Boot program selector =0
Boot record logical block address = C8
At the start (Warm | Force | COLD | CLEAN) Prompt, enter cold drain:
➢ COLD -
Ensure Di
Page 10 of 50
4 Create Guest user in z/VM
Linux guest user need to be created in User Directory of the z/VM to be able to use the z/VM
resources. Use the Directory Maintenance Facility to assist on user creation and use RACF to add
the necessary permission authorization needed.
Logon to MAINT user and create the directoty file name called USERNM DIRECT A. Issue the
DIRM command to add the user directory information into the source directory and place the
directory online.
Example for user called CARDDBD1:
Logon to MAINT
➢ Logon MAINT
Create file called CARDDBD1 DIRECT in A disk of MAINT. Refer to the sample file below:
➢ FILEL * * A or X CARDDBD1 DIRECT A
====> file - to save the file
Create file called CARDDBD1 EXEC in A disk of MAINT. Refer to the sample file below:
➢ FILEL * * A or X CARDDBD1 EXEC A
Use the DIRM command to update the source directory and place it online
➢ DIRM ADD CARDDBD1
Optionally you might need to create minidisk using DIRM command:
➢ DIRM FOR CARDDBD1 AMDISK
Enter => 191, FB-512, 7720, RD1W02, MR, READ, WRITE, MULTIPLE
Page 11 of 50
Logon to the newly created user to ensure it is okay.
➢ LOGON CARDDBD1
/* REXX */
‘RAC ALU CARDDBD1 PASS(SYS1)
‘RAC PE CARDDBD1 CLASS(VMBATCH) ACCESS(ALTER) RESET’
‘RAC PE CARDDBD1 CLASS(VMRDR) ID(CARDDBD1) ACC(ALTER) RESET’
‘RAC PE LNXADMIN.191 CLASS(VMMDISK) ID(CARDDBD1) ACC(R)
‘RAC PE CARDDBD1 CLASS(VMRDR) ID(DIRMAINT) ACC(U) RESET’
‘RAC PE RDEV.8*.* CLASS(VMDEV) ID(CARDDBD1) ACC(A)’
‘RAC PE RDEV.B*.* CLASS(VMDEV) ID(CARDDBD1) ACC(A)’
‘RAC PE RDEV.14*.* CLASS(VMDEV) ID(CARDDBD1) ACC(A)’
‘RAC PE RDEV.24*.* CLASS(VMDEV) ID(CARDDBD1) ACC(A)’
RAC PE SYSTEM.VSW1G-10.0012 CLASS(VMLAN) ID(CARDDBD1) ACC(U)
Some time you might need to update the directory information or add any additional statements for
a user. The command for update directory information as below:
➢ DIRM FOR CARDDBD1 GET
➢ RECEIVE rl-id (REP
Update the necessary statement in CARDDBD1 DIRECT A
➢ DIRM FOR CARDDBD1 REPLACE
Page 12 of 50
4.1 Installation of Redhat Linux from z/VM Guest
Installation of Redhat Linux from z/VM guest after the guest user have been set up.
Logon to the guest user id, then acc 192 disk and copy from 192 disk the following files. Make
changes on the RHEL CONF file with the corrent hostname, IP address and network if necessary.
Execute REDHAT file after RHEL CONF has been change accordingly:
- RHEL70 CONF
- GENERIC PRM
- REDHAT EXEC
- PROFILE EXEC
- PROFILE XEDIT
➢ ACC 192 D
➢ FILEL * * D
➢ COPY / = = A
➢ REDHAT
Note: After the RHEL installation program been loaded, start VNC session with
password=12345678 to continue RHEL installation.
DASD=’8100’
HOSTNAME=’dr-card-db-test01’
NETTYPE=’qeht’
IPADDR=’10.101.5.132’
SUBCHANNELS=’0.0.0600,0.0.0601,0.0.0602’
Network=’10.101.5.0’
NETMASK=’255.255.255.0’
GATEWAY=’10.101.5.1’
MTU=’1500’
PORTNAME=’DONTCARE’
PORTNO=’0’
LAYER2=’1’
VSWITCH=’1’
Page 13 of 50
4.2 Clonning of RedHat Linux
Once the first RedHat linux has been successfully installed, it can be cloned to other linux guests
accordingly. Use the z/VM DDR (DASD Dump Restore) utility to copy the whole lun to another lun.
The source and target LUNs need to be attached to MAINT to run the DDR command.
➢ ATT 8100-8101 *
➢ DDR
➢ SYSPRINT CONS
➢ IN 8101 DASD
➢ OUT 8102 DASD
➢ COPY ALL
➢ YES
➢ YES
➢ <>
After successfully copy the from the source LUN to the target LUN, then logon to the target guest.
Example 8101 is for ECMDBT1. Logon to ECMDBT1 and the linux system will be boot up
automatically. Logon the linux system using PUTTY and change the hostname and IP Address to
the correct owner. Reboot the linux system to confirm the information change accordingly.
Example:
ftp the file SYS1-EXPORTED-IODF05-TCB.BIN to MAINT A as IODF05 PRODIODF
ftp 10.101.5.248
>bin
>quote site fix 4096
>get SYS1-EXPORETED-IODF05-TCB.BIN IODF05.PRODIODF
After successfully activated the new IODF, user has to update the SYSTEM CONFIG so that the
new IODF will activated if system Re-IPL. In addition, the new IODF also need to copy to all the
other LPARs in the same machine as well.
Page 14 of 50
Sample /etc/zfcp.conf
[root@ibmcc etc]# cat zfcp.conf
0.0.0200 0x500507630903c32c 0x4002400a00000000
0.0.0300 0x500507630908c32c 0x4002400a00000000
Unzip the z/VM installation CD770370.zip file into folder /CPDVD on the workstation
Burn the workstation folder /CPDVD onto DVD disk
Repeat the same for RSU zip file and burn into another DVD disk
Begin the installation process by selecting the Load from Removable Media or Server from the
same Recovery submenu
Page 15 of 50
Enter /CPDVD at File location and click OK
Confirm to load the RAMDISK by click Yes, when the directory containing the file 640VM.INS
appear on the screen.
The command should complete quickly and you should see the following messages:
Page 16 of 50
Run the INSTPLAN DVD command to set up the configuration for the installation process.
➢ Instplan dvd
Select a System Type: Non-SSI or SSI (SSI requires the SSI feature)
x Non-SSI Install: System Name ZVMCIBS
_ SSI Install : Number of Members _ SSI Cluster Name _____
Page 17 of 50
Keep the following in mind:
If you say YES, you should not attempt to manage your system in
Any other way.
Page 18 of 50
Continue with the following steps to fill in the Installation Volume Definition panel.
F5
Define the SCSI disk as emulated device and attached to the installation user ID:
➢ Set edev 8000 type fba attr 2145 fcp_dev 1000 wwpn 500507680c5168d2 lun
0000000000000000
➢ Set edev 8001 type fba attr 2145 fcp_dev 1001 wwpn 500507680c5168d2 lun
0001000000000000
➢ Set edev 8002 type fba attr 2145 fcp_dev 1002 wwpn 500507680c5168d2 lun
0002000000000000
➢ Set edev 8003 type fba attr 2145 fcp_dev 1003 wwpn 500507680c5168d2 lun
Page 19 of 50
0003000000000000
➢ Set edev 8004 type fba attr 2145 fcp_dev 1004 wwpn 500507680c5168d2 lun
0004000000000000
➢ Set edev 8005 type fba attr 2145 fcp_dev 1005 wwpn 500507680c5168d2 lun
0005000000000000
Where the wwpn is the target wwpn for storage and lun address is the SCSI-ID from storage
group
>att 8000-8005 *
>install
Start loading from DVD, wait until the following message appear
HCPIRU8484R PLEASE PLACE THE INSTALLATION RSU DVD IN THE DRIVE, THEN TYPE GO
TO CONTINUE OR TYPE EXIT TO QUIT.
Mount the RSU DVD and wait until the light fo off then type GO
Note: If the installation fails while loading the installation RSU DVD, issue INSTALL to try again.
When loading of RSU completed just press ENTER and logon as MAINT640/ wd5ju8qp
Issue shutdown and shutdown ibmvmram
➢ Shutdown
➢ Shutdown system ibmvmram
Page 20 of 50
Sample LOAD Screen from HMC
-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002
------------------------------------------------------------------COMMENTS-----------------------------------------------
At the start (Warm | Force | COLD | CLEAN) Prompt, enter cold drain:
➢ cold drain
To the message, to continue COLD start and delete files, enter go:
Page 21 of 50
➢ go
The z/VM system should IPL cleanly after about a minute. Disconnect from the OPERATOR virtual
machine by issuing DISCONNECT:
➢ disc
Invoke IPWIZARD
➢ Ipwizard
*** z/VM TCP/IP Configuration Wizard ***
DNS Addresses:
1) ________________
2) ________________
3) ________________
Press F8 to continue
Page 22 of 50
*** General Interface Configuration Panel ***
IP Address: 10.10.70.182
Subnet Mask: 255.255.255.0
PF1 = HELP PF3 = QUIT PF5 = Process PF7 = Backward ENTER = Refresh
Enter 1 to restart the TCP/IP stack. Watch for the message HCPINP8392I IPWIZARD EXEC
ENDED SUCCESSFULLY:
Page 23 of 50
At this point, your z/VM TCP/IP stack should be up. You should now be able to ping it from another
system. If the IPWIZARD fails, you must continue debugging it until succeeds. Log off from
MAINT640.
Page 24 of 50
Multithreading enable
/**********************************************************************/
/* System_Identifier Information */
/**********************************************************************/
System_Identifier * * ZVMICBS
/**********************************************************************/
/* Checkpoint and Warmstart Information */
/**********************************************************************/
System_Residence,
Checkpoint Volid V4IRS1 From PAGE 3150 For 2000,
Warmstart Volid V4IRS1 From PAGE 5150 For 2000
Page 25 of 50
/**********************************************************************/
/* CP_Owned Volume Statements */
/**********************************************************************/
/* SYSRES VOLUME */
/* The system residence volume is defined by IBM to be in slot 1 */
/* and to contain: */
/* o The stand-alone program loader (SAPL) so that the volume can */
/* be IPLed; */
/* o A PARM disk (CF1) to hold the CP nucleus, pointed to by */
/* parameters specified on the SAPL panel or SALIPL command. */
/* By default it is the first PARM disk on the volume */
/* o A PARM disk (CF0) to hold the SYSTEM CONFIG (this file), */
/* pointed to by the PDVOL and PDNUM IPL parameters specified on */
/* SAPL panel or the SALIPL command. By default it is the fourth */
/* PARM disk on the volume. */
/* o The object directory. Having the sysres as slot 1 ensures that */
/* there is no confusion as to which object directory will be used: */
/* the one and only directory allocation on the IPL volume; */
/* o The warm start and checkpoint areas; */
/**********************************************************************/
/**********************************************************************/
/* COMMON VOLUME */
/* The common volume is defined by IBM to be in slot 5 */
/* and to contain the source directory (USER DIRECT), service */
/* inventory files, and the VMPSFS filepool. */
/**********************************************************************/
/**********************************************************************/
/* DUMP & SPOOL VOLUMES */
/* Dump and spool volumes begin with slot 10 and are assigned in */
/* ascending order. */
/**********************************************************************/
/**********************************************************************/
/* PAGE & TDISK VOLUMES */
/* To avoid interference with spool volumes and to automatically */
/* have all unused slots defined as "Reserved", begin with slot 255 */
/* and assign them in descending order. */
/**********************************************************************/
/**********************************************************************/
/* User_Volume_List */
/**********************************************************************/
/* These volumes contain the minidisks for your guests, as well as */
/* the product disks for z/VM. */
/**********************************************************************/
Page 26 of 50
/**********************************************************************/
/* Shared User Volumes */
/**********************************************************************/
User_Volume_List V4IRL1
/**********************************************************************/
/* User volumes for local minidisks */
/**********************************************************************/
/**********************************************************************/
/* SCSI Definition Statements */
/**********************************************************************/
Page 27 of 50
/**** for V4ISP2 ************************************/
edevice 8007 type fba attr 2145,
fcp_dev 1007 wwpn 500507680C2168D2 lun 0007000000000000,
fcp_dev 1007 wwpn 500507680C216983 lun 0007000000000000,
fcp_dev 1107 wwpn 500507680C5268D2 lun 0007000000000000,
fcp_dev 1107 wwpn 500507680C526983 lun 0007000000000000
/**********************************************************************/
/* Set Privilege Classes */
/**********************************************************************/
Priv_Classes ,
Operator A ,
IOCP_Read CE ,
IOCP_Write C ,
HW_Service F ,
User_Default G
/**********************************************************************/
/* System Userids */
/**********************************************************************/
System_Userids ,
Operator OPERATOR ,
Account DISKACNT ,
Dump OPERATNS ,
Erep EREP
/*********************************************************************/
/* User Defaults */
Page 28 of 50
/*********************************************************************/
User_Defaults ,
CPLANG AMENG
/**********************************************************************/
/* Features Statement */
/**********************************************************************/
/* Vdisk Userlim 144000 blocks, Maximum vdisk allowed per user */
Features ,
Retrieve , /* Retrieve options */
Default 99 , /* Default.... default is 20 */
Maximum 255 , /* Maximum.... default is 255 */
MaxUsers noLimit , /* No limit on number of users */
Vdisk Syslim infinite, /* Maximum vdisk allowed per user */
Userlim infinite, /* Maximum vdisk allowed per user */
Disconnect_Timeout off, /* Can be OFF, default is 15 min */
/**********************************************************************/
/* Set Shutdown time periods */
/**********************************************************************/
/**********************************************************************/
/* Multithreading */
/**********************************************************************/
Multithreading enable
/**********************************************************************/
/* Vswitch */
/**********************************************************************/
/*--------------------IVL Switch definitions--------------------------*/
DEFINE VSWITCH IVL TYPE IVL DOMAIN A VLAN 4000 NATIVE NONE UPLINK ,
RDEV A400.P00 A500.P00
Page 29 of 50
VMLAN MACPREFIX 020001
/**********************************************************************/
/* The following RDEV statements are examples. They are NOT */
/* currently active. They have been commented out. */
/**********************************************************************/
/**********************************************************************/
/* Status of Devices */
/**********************************************************************/
Devices ,
Online_at_IPL 0000-FFFF,
Sensed 0000-FFFF
/**********************************************************************/
/* The following System_Alias statement is an example. */
/* Remove the comment delimiters to make the statment active. */
/**********************************************************************/
/* System_Alias 0000-FFFF */
/**********************************************************************/
/* Console Definitions */
/**********************************************************************/
/**********************************************************************/
/* Special characters for system set here */
/**********************************************************************/
Character_Defaults ,
Char_Delete OFF , /* System default was @ */
Escape '"' , /* System default ... " */
Line_Delete OFF , /* Default was cent sign */
Line_End '#' , /* System default ... # */
Tab OFF /* System default was ¨ */
Page 30 of 50
/**********************************************************************/
/* System Forms */
/**********************************************************************/
Form_Default ,
Console STANDARD, /* Find out if these are the defaults */
Printer STANDARD,
Punch STANDARD,
Reader STANDARD
/**********************************************************************/
/* Parmdisk Access */
/**********************************************************************/
/**********************************************************************/
/* Logo_Config */
/**********************************************************************/
/**********************************************************************/
/* Timezone Definitions */
/**********************************************************************/
/**********************************************************************/
/* PRODUCT ENABLE/DISABLE INFORMATION */
/**********************************************************************/
/* Ensure that you have the appropriate licenses before you enable */
/* any optional features. */
/**********************************************************************/
Page 31 of 50
PRODUCT PRODID 6VMRSC40 STATE DISABLED DESCRIPTION
'00/00/00.00:00:00.$BASEDDR R
SCS Networking'
Note: check the syntax of SYSTEM CONFIG file before Re-IPL z/VM to ensure the z/VM
environment is clean and okay
Page 32 of 50
5.7 Add Page, Spool and Work Volume
Set the new SCSI LUN as the emulated disk and attach to MAINT640:
➢ Logon as MAINT640
➢ SET EDEV 8006 TYPE FBA ATTR 2145 FCP_DEV 1006 WWPN 500507680c2168d2 LUN
0006000000000000
➢ SET EDEV 8007 TYPE FBA ATTR 2145 FCP_DEV 1007 WWPN 500507680c2168d2 LUN
0007000000000000
➢ SET EDEV 8008 TYPE FBA ATTR 2145 FCP_DEV 1008 WWPN 500507680c2168d2 LUN
0008000000000000
➢ SET EDEV 8009 TYPE FBA ATTR 2145 FCP_DEV 1009 WWPN 500507680c2168d2 LUN
0009000000000000
➢ Vary on 8006-8009
➢ Att 8006-8009 *
➢ CPFMTXA
- format
- 8009
- 0 end
Page 33 of 50
- v4iwo3
- perm 0 end
- end
Page 34 of 50
Load Address - 1002
Load Parameter - SYSG
-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002
------------------------------------------------------------------COMMENTS-----------------------------------------------
Page 35 of 50
MODULE NAME: CPLOAD LOAD ORIGIN: 1000
-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002
------------------------------------------------------------------COMMENTS-----------------------------------------------
Page 36 of 50
IPL information from HMC for zVMJURIS
Load – P00EB0C7: LPAR03
-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002
------------------------------------------------------------------COMMENTS-----------------------------------------------
Page 37 of 50
IPL information from HMC for zVMDEVP
Load – P00EB0C7: LPAR04
-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002
------------------------------------------------------------------COMMENTS-----------------------------------------------
Page 38 of 50
5.9 IPL information for DR at Jalan Ampang
IPL information from HMC for zVMICBS
Load – P00EBBB7: LPAR01
-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSDR ft=CONFIG pdnum=4 pdvol=8002
------------------------------------------------------------------COMMENTS-----------------------------------------------
Page 39 of 50
IPL information from HMC for zVMBI
Load – P00EBBB7: LPAR02
-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSDR ft=CONFIG pdnum=4 pdvol=8002
------------------------------------------------------------------COMMENTS-----------------------------------------------
Page 40 of 50
IPL information from HMC for zVMJURIS
Load – P00EBBB7: LPAR03
-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSDR ft=CONFIG pdnum=4 pdvol=8002
------------------------------------------------------------------COMMENTS-----------------------------------------------
Page 41 of 50
IPL information from HMC for zVMDRD1
Load – P00EBBB7: LPAR04
-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002
------------------------------------------------------------------COMMENTS-----------------------------------------------
Page 42 of 50
6 z/VM V6.4 RACF Configuration
z/VM User direct comes with the following default CP directory information:
6VMRAC40 Product owning virtual machine
RACFVM Production virtual machine
RACFSMF SMF virtual machine
RACMAINT Backup virtual machine
IBMUSER Initial RACF administrator
AUTOLOG1 System startup machine
AUTOLOG2 System startup machine
SYSADMIN Authorized RACF administrator
When running the RPIDIRCT EXEC, you must provide the file name and file type of the source
directory file. It searches for the file on all accessed disks. The default output file mode is A. When
the exec starts, it prompts you for the default group ID. We used the default, so we replied N to the
question.
Page 43 of 50
6.3 IPL your system with RACF in a test mode
When the SERVICE EXEC completes, shut down your system and then, IPL your system by select
extent 2 of your sysres volume CF2.
STAND ALONE PROGRAM LOADER: z/VM VERSION 6 RELEASE 4.0
-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002
------------------------------------------------------------------COMMENTS-----------------------------------------------
During IPL process you must perform a NOAUTOLOG start and change the time of day if required.
The NOAUTOLOG option tells system not to start the AUTOLOG1 virtual machine. Therefore, no
other virtual machines are started automatically. When the IPL completes, you start RACMAINT
virtual machine with the xautolog RACMAINT command. The reson for starting RACMAINT,
instead of RACFVM is that in a later step, you run the PUT2PROD exec. This exec copies files to
the RACFVM virtual machine disks. RACMAINT links to those disk to run in READ ONLY mode,
thus allowing MAINT and the PUT2PROD exec to gain write access to the disks owned by
RACFVM.
> noautolog
> no
> xautolog racmaint
> disc
Before yo can build the RACF database, you need to link to several of the product owners’ disk
and access them:
➢ 191 – Location of the RPIDIRCT SYSUT1 file
➢ 305 – Location of the RPIBLDDS EXEC
➢ 29E – Location of the RAC EXEC
➢ Link 6vmrac40 505 305 rr
➢ Acc 305 c
➢ Link 6vmrac40 191 192 rr
➢ Acc 192 b
➢ Link 6vmrac40 29e 293 rr
➢ Acc 29e d
➢ Rpibldds
Page 44 of 50
Figure – sample running rpibldds
Update AUTOLOG1 and AUTOLOG2, so that AUTOLOG1 only start RACFVM and the rest of
virtual machines start in AUTLOG2.
Re-IPL z/VM from HMC with EXTENT 1 and your RACF is ready.
Page 45 of 50
7 z/VM V6.4 Performance Toolkit Setup
Performance Toolkit for VM is pre-installed on z/VM Release 6.4 systems. Two VM users are
defined:
- The 6VMPTF40 user ID is used for installation and application of service
- The PERFSVM user ID is used to run the PERFKIT module
The control files that you need to get started are located on the 1CC disk. After the product has
been enabled, you can begin using Performance Toolkit for VM and then tailor it to your needs.
You can verify it by running the QUETY PRODUCT command, after the Performance Toolkit is
enabled.
q product
Page 46 of 50
➢ Netstat obey port 81 tcp perfsvm
Issue the NETSTAT CLIENTS command to verify your configuration. You want to see that the
service named PERFSVM is a client.
- Create a remore data retrieval authorization file with your z/VM system identifier (replace
zVM64A with your system identifier):
➢ x fconrmt authoriz a
Page 47 of 50
ZVMJURIS PERFSVM S&FSERV DATA
ZVMJURIS PERFSVM CMD DATA
ZVMJURIS MAINT CMD DATA EXCPMSG
ZVMJURIS MAINT640 CMD DATA EXCPMSG
ZVMJURIS * DATA
Log on to MAINT640 to run the SERVICE command to build the local modification:
➢ Log maint640
➢ Service perftk build
Ensure that the resource is defined to the PERFSVM user, and that the user is authorized to use
IUCV. Look for the following lines in the PERFSVM directory entry:
- IUCV *IDENT FCXRES00 GLOBAL
- IUCV ALLOW
Page 48 of 50
General System Data I/O Data History Data (by Time)
1. CPU load and trans. 11. Channel load 31. Graphics selection
2. Storage utilization 12. Control units 32. History data files*
3. SSI data menu* 13. I/O device menu* 33. Benchmark displays*
4. Priv. operations 14. Reserved 34. Correlation coeff.
5. System counters 15. Cache extend. func.* 35. System summary*
6. CP IUCV services 16. Reserved 36. Auxiliary storage
7. SPOOL file display* 17. DASD seek distance* 37. CP communications*
8. LPAR data menu* 18. I/O prior. queueing* 38. DASD load
9. Shared segments 19. I/O configuration 39. Minidisk cache*
A. Shared data spaces 1A. I/O config. changes 3A. Storage mgmt. data*
B. Virt. disks in stor. 3B. Proc. load &
config*
C. Transact. statistics User Data 3C. LPAR logs menu*
D. Monitor data 21. User resource usage* 3D. Response time
(all)*
E. Monitor settings 22. User paging menu* 3E. RSK data menu*
F. System settings 23. User wait states* 3F. Scheduler queues
G. System configuration 24. User response time* 3G. Scheduler data
H. VM Resource Manager 25. Resources/transact.* 3H. SFS/BFS logs menu*
26. User communication* 3I. System log
Select performance screen with cursor and hit ENTER
Command ===>
F1=Help F4=Top F5=Bot F7=Bkwd F8=Fwd F12=Return
Or disconnect the PERFSVM virtual machine and use browser to go into Performance Screen
Selection:
➢ #cp disc
- http://10.10.70.182:81
Page 49 of 50
Update /opt/rmfpms/.rmfpms_config to point to /opt as the home directoyr
Change:
$HOME/rmfpms/.rmfpms ➔ /opt/rmfpms/.rmfpms
$HOME/rmfpms/bin/ ➔ /opt/rmfpms/bin/
Page 50 of 50