[go: up one dir, main page]

0% found this document useful (0 votes)
93 views50 pages

Create Guest User in Z/VM: Techcom

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 50

TECHCOM BANK

Create Guest User in z/VM

Date created 15th Nov 2017


Version/ Date revised Version 1.0
Author IBM Team

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)

1.0 15 Nov 2017 Initial version Ooi Yee Fong

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.

➢ LINK DIRMAINT 1DB 1DB MR


➢ ACC 1DB K
➢ COPY USER BACKUP K USER DIRECT A (REP

3.1 Relabel DASD Volume Serial Number for Target System


Identify the target volume serial, example for target system DRTEST1:
Unit Address Current Volume Serial Number Target Volume Serial Number
8000 V1COM1 RT1CM1
8001 V1R641 RT1RL1
8002 V11RES RT1RES
8003 V11S01 RT1S01
8004 V11P01 RT1P01
8005 V11W01 RT1W01
8006 V1SMD1 RT1W02

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.

Create file called LBLCHG XEDIT A with the following entres:


/* change the vol-ser-noi */
‘C/V1COM1/RT1CM1/* *’
‘C/V1R641/RT1RL1/* *’
‘C/V11S01/RT1S01/* *’
‘C/V11P01/RT1P01/* *’
‘C/V11W01/RT1W01/* *’
‘C/V1SMD1/RT1W02/* *’

Page 6 of 50
➢ FILEL USER DIRECT A
➢ ====> LBLCHG
Ensure the volume serial are changed correctly except RES volume intact

➢ LINK PMAINT CF0 CF0 MR


➢ ACC CF0 F
➢ FILEL SYSTEM CONFIG F
➢ 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

Issue DIRECTXA to put the updated directory online.


➢ DIRECTXA USER DIRECT A

Issue CPSYNTAX for SYSTEM CONFIG F to ensure the syntax is okay


➢ ACC 193 h
➢ CPSYNTAX SYSTEM CONFIG F

Shutdown the target system (z/VM)

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

Rewrite the system ownership on you SPOOL and PAGE Volumes


➢ CPFMTXA 9003 RT1S01 OWNER NOSSI NOSYS
➢ CPFMTXA 9004 RT1P01 OWNER NOSSI NOSYS

IPL the target system DRTEST1 again

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

3.2 Changing the Label for Target RES Volume


For this example source RES volume is V11RES and will be changed to RT1RES. Logon to
MAINT and update USER DIRECT A and SYSTEM CONFIG for the RES volume.

➢ COPY USER DIRECT A USER DIRNEW A


➢ FILEL USER DIRECT A
➢ ====>C/V11RES/RT1RES/* *
➢ FILE

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.

➢ LINK DIRMAINT 1DB 1DB MR


➢ ACC 1DB K
➢ LINK DIRMAINT 1DF 1DF MR
➢ ACC 1DF L
➢ ERASE USER DIRECT L
➢ COPY USER DIRECT A USER INPUT L
➢ COPY USER DIRECT A USER BACKUP K (REP
➢ FILEL EXTENT CONTROL *
➢ C/V1SMD1/RT1W02/* *
➢ FILE
➢ SHUTDOWN SYSTEM TECVM1

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

At the Change TOD clock prompt, enter no:


➢ <> - Just press Enter

Logon to DIRMAINT to start the DIRMAINT function.


➢ DVHBEGIN
➢ #CP SET RUN ON
➢ #CP DISC

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.

3.3 Changing the System Name of the Target System


Update all the entries in SYSTEM CONFIG and some other file involved from TECVM1 to
DRTEST1 for this example.

Logon to MAINT and update SYSTEM CONFIG file.


Create CHGSYSNM XEDIT A in MAINT with the following entries:

/* chg system name */


‘C/TECVM1/DRTEST1/* *’

➢ LINK PMAINT CF0 CF0 MR


➢ ACC CF0 F
➢ FILEL SYSTEM CONFIG F
➢ ====>CHGSYSNM
➢ FILE
➢ ACC 193 G
➢ CPSYNTAX SYSTEM CONFIG F

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

➢ ====> X compname SRVPROD (WIDTH 120 - for all file * SRVPROD in K


➢ ====> CHGSYSNM
➢ FILE
Repeat this step for all file * SRVPROD in K (PMAINT 41D disk)

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

Logon to MAINT to shutdown the system.


RE-IPL the target to complete the this task.

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:
➢ COLD -

At the Change TOD clock prompt, enter no:


➢ NO
➢ GO
Ensure DIRMAINT is up

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

Sample AMDISK sceen:

Execute the RACF command to do the permission authorization:


➢ CARDDBD1

Page 11 of 50
Logon to the newly created user to ensure it is okay.
➢ LOGON CARDDBD1

Refer to HMC, Operating System Messages if there is any authorization problem

Sample CARDDBD1 DIRECT

USER CARDDBD1 passwd 32G 64G


INCLUDE IBMDFLT
CPU 00 BASE
CPU 01
IPL 8100
OPTION LNKNOPAS APPLMON
DEDICATE 8100 8104
DEDICATE 1000 1405
DEDICATE 2000 2405
NICDEF 0600 TYPE QDIO LAN SYSTEM VSW1G-10 MACID A00005
LINK TCPMAINT 0592 0592 RR
LINK LNXADMIN 0191 0192 RR
MDISK 0191 FB-512 AUTOV 7200 RD1W02 MR READ WRITE MULTIPLE

Sample RACF permission file


CARDDBD1 EXEC

/* 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)

➢ DIRM ADD CARDDBD1


➢ CARDDBD1

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.

Sample GENERIC PRM file


ro ramdisk_size=40000 cio_ignore=all,!condev
CMSDASD=191 CMSCONFFILE=RHEL70.CONF
Inst.repo=ftp://root:root@10.101.5.134//rhel74
Vnc vncpassword=12345678

Sample RHEL CONF file

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.

Hostname in /etc/hostname and IP address in /etc/sysconfig/network-scripts/0.0.0600enccw

4.3 Dynamica IOCDS Activation


Create the new IODF file in zOS system and upload it to z/VM as Binary fix record length 4096.
FTP the file into MAINT A disk with the file name IODFxx PRODIODF. Copy the file IODFxx
PRODIODF to A disk of CBDIODSP user and PMAINT CF0. Update SYSTEM CONFIG in CF0
with new IODFxx (Backup the current SYSTEM CONIG to SYSTEM CONIG1). Check in the
Support Element which IOCDS are you going to write to. (example A3)

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

Logon to MAINT and LINK to CBDIODSP A-disk and PMAINT CF0


>
> CBDSACT * * * (TEST
> FILEL to check message
>CBDSACT * * A2

Logon to MAINT of each system to online the channels or devices

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

Adding linux user with root permission


# sudo useradd -ou 0 -g 0 user-id
# sudo passwd user-id

5 z/VM V6.4 Installation Setup


This document constains an overview of the techniques for installing z/VM and guidelines for
subsystem customization that suit your needs.

5.1 Preparation for Installation


Download the installation and RSU zip files from shopz website

CD770370.ZIP SCSI(FBA) - z/VM Product Package


CD770380.ZIP 3390 & SCSI (FBA) - z/VM Stacked RSU

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

5.2 Loading z/VM Installation Disk


Select the target LPAR for z/VM installation then open an Integrated 3270 Console on the
Recovery submenu of Hardware Management Console (HMC).

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.

5.3 Installation of z/VM


Move to the Integrated 3270 Console window. The RAMdisk should IPL and you should see a
similar z/VM boot as shown in Figure 2.1.

Figure 2.1 First z/VM 6.4 installation window

Run the DVDPRIME command.


➢ dvdprime FBA (dvd

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

The installation planning panels are displayed

*** z/VM INSTALLATION PLANNING ****


Mark the product(s) selected to be installed into the filepool with an “F”
and those selected to be installed to minidisks with an “M”
m VM m DIRM m ICKDSF
m OSA m PERFTK m RACF
m RSCS m TCPIP m VMHCD

Select a System Default Language.


x AMENG _ UCENG _ KANJI

Select a System DASD model. FBA size can be changed.


_ 3390 Mod 3 _ 3390 Mod 9 _ 3390 Mod 27 x FBA DASD 6.0

Enter the name of the common service filepool.


Filepool Name: CIBSFL1

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 _____

F1 = HELP F3/F12 = QUIT F5 = Process ENTER = Refresh

Press F5 to process your selections.

*** z/VM INSTALLATION PLANNING PANEL 2 ***

n Would you like to have your system automatically configurated to be


Managed by a SMAPI client for system management, such as the
Cloud Manager Appliance (CMA) ? Enter Y or N

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.

If you’d like to manage your own system, or use a purchased


External security manager or a purchased directory manager, say NO.

F1 = HELP F3/F12 = QUIT F5 = Process ENTER = Refresh

Press F5 to process your selections.

Confirm your selection and enter Y to continue.

Page 18 of 50
Continue with the following steps to fill in the Installation Volume Definition panel.

*** z/VM INSTALLATION VOLUME DEFINITION ***


TYPE LABEL ADDRESS FORMAT(Y/N)
COMMON v4icm1 8000 Y
RELVOL v4irl1 8001

TYPE LABEL ADDRESS


Sysname
RES v4irs1 8002
SPOOL v4isp1 8003
PAGE v4ipg1 8004
MEMBER v4iwo1 8005

F1 = HELP F3/F12 = QUIT F5 = Process ENTER = Refresh


Press F5 to process

F5

IUGIIX8377R YOU HAVE SELECTED TO FORMAT YOUR DASD.


DASD SELECTED ARE:

IUGIIX8377R YOU HAVE SELECTED NOT TO FORMAT YOUR DASD.


THIS ASSUMES THEY HAVE ALREADY BEEN FORMATTED.
DASD SELECTED ARE:
V4ICM1 8000
V4IRL1 8001
V4IRS1 8002
V4ISP1 8003
V4IPG1 8004
V4IWO1 8005

IUGINP8392I INSTPLAN EXEC ENDED SUCCESSFULLY


Ready; T=n.nn/n.nn hh:mm:ss

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

Attach the edev to installation user

>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

HCPIRU8440I NOW LOADING MAINT640 500 DISK


HCPIRU8341I LOAD Of INSTALLATION RSU COMPLETED SUCCESSFULL

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

IPL the new z/VM from HMC

Page 20 of 50
Sample LOAD Screen from HMC

Loading z/VM on SYSG console


STAND ALONE PROGRAM LOADER: z/VM VERSION 6 RELEASE 4.0

DEVICE NUMBER: 01002 MINIDISK OFFSET: 57200 EXTENT: 1

MODULE NAME: CPLOAD LOAD ORIGIN: 1000

-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002

------------------------------------------------------------------COMMENTS-----------------------------------------------

9= FILELEST 10= LOAD 11= TOGGLE EXTENT / OFFSET

Figure – Stand Alone Program Loader


Press PF10 to LOAD

At the start (Warm | Force | COLD | CLEAN) Prompt, enter cold drain:
➢ cold drain

At the Change TOD clock prompt, enter no:


➢ no

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

5.4 Configure TCPIP using IPWIZARD tool


The IPWIZARD tool enables you to quickly get z/VM onto a Internet Protocol network.

Copy TCPIP SDATA from TCPMAINT id F disk to d disk as TCPIP DATA.


Logon to tcpmaint id and copy file:
➢ Copyfile tcpip sdata f tcpip data d

Logon to MAINT640 and access the MAINT 193 disk:


➢ Acc 193 g

Invoke IPWIZARD
➢ Ipwizard
*** z/VM TCP/IP Configuration Wizard ***

The items that follow describe your z/VM host

User ID of VM TCP/IP Stack Virtual Machine : TCPIP

Host Name: zVMICBS


Domain Name: MYBSN.COM.MY

Gateway IP Address: 10.10.70.1

DNS Addresses:
1) ________________
2) ________________
3) ________________

PF1 = HELP PF3 = QUIT PF8 = Continue ENTER = Refresh

Figure IPWIZARD panel 1

Press F8 to continue

Page 22 of 50
*** General Interface Configuration Panel ***

Interface Name: eth0 Device Numer: B00

IP Address: 10.10.70.182
Subnet Mask: 255.255.255.0

Path MTU Discovery (Optional): _ Enabled _ Disabled

Interface type (Select one) :

_ QDIO (layer 3) x QDIO (layer 2) _ LCS


_ HiperSockets _ CTC

PF1 = HELP PF3 = QUIT PF8 = Continue ENTER = Refresh

Figure – IPWIZARD panel 2

*** QDIO Interface Configuration Panel ***

VLAN ID (optional): _____

Maximum Transmission Unit (MTU) siza: 1500

Port Number (optional): __

PF1 = HELP PF3 = QUIT PF5 = Process PF7 = Backward ENTER = Refresh

Figure – IPWIZARD panel 3

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.

5.5 Customize the SYSTEM CONFIG file


The first configuration file read when z/VM IPLs is the SYSTEM CONFIG file.
The following changes are recommended:
- Increase retrieve key capacity
- Allow virtual disks (VDISKs) to be created
- Turn off the Disconnect Timeout feature (this prevent idle disconnected users from being
forced off the system)
- Define virtual switches to be used for Linux networking (optional)

To make thest changes, perform the following steps:


- Access the PMAINT CF0 disk as read/write, Use the LINK command with multi-read (MR)
parameter:
➢ Link pmaint cf0 cf0 mr

- Use the ACCESS command to access it as your F disk:


➢ Acc cf0 f
➢ Copy system config f = conforig = (oldd
➢ X system config f

Page 24 of 50
Multithreading enable

VMLAN MACPREFIX 020001

Sample SYSTEM CONFIG


/**********************************************************************/
/* SYSTEM CONFIG FILE */
/**********************************************************************/
/* */
/* Refer to CP Planning and Administration for SYSTEM CONFIG rules */
/* */
/* Warning - Always run CPSYNTAX after updating the SYSTEM CONFIG */
/* */
/**********************************************************************/

/**********************************************************************/
/* 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; */
/**********************************************************************/

CP_Owned Slot 1 V4IRS1

/**********************************************************************/
/* 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. */
/**********************************************************************/

CP_Owned Slot 5 V4ICM1

/**********************************************************************/
/* DUMP & SPOOL VOLUMES */
/* Dump and spool volumes begin with slot 10 and are assigned in */
/* ascending order. */
/**********************************************************************/

CP_Owned Slot 10 V4ISP1


CP_Owned Slot 11 V4ISP2

/**********************************************************************/
/* 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. */
/**********************************************************************/

CP_Owned Slot 254 V4IPG2


CP_Owned Slot 255 V4IPG1

/**********************************************************************/
/* 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 */
/**********************************************************************/

User_Volume_List V4IW01 V4IW02 V4IW03

/**********************************************************************/
/* SCSI Definition Statements */
/**********************************************************************/

edevice 8000 type fba attr 2145,


fcp_dev 1000 wwpn 500507680C5168D2 lun 0000000000000000,
fcp_dev 1000 wwpn 500507680C516983 lun 0000000000000000,
fcp_dev 1100 wwpn 500507680C2268D2 lun 0000000000000000,
fcp_dev 1100 wwpn 500507680C226983 lun 0000000000000000

edevice 8001 type fba attr 2145,


fcp_dev 1001 wwpn 500507680C2168D2 lun 0001000000000000,
fcp_dev 1001 wwpn 500507680C216983 lun 0001000000000000,
fcp_dev 1101 wwpn 500507680C5268D2 lun 0001000000000000,
fcp_dev 1101 wwpn 500507680C526983 lun 0001000000000000

edevice 8002 type fba attr 2145,


fcp_dev 1002 wwpn 500507680C5168D2 lun 0002000000000000,
fcp_dev 1002 wwpn 500507680C516983 lun 0002000000000000,
fcp_dev 1102 wwpn 500507680C2268D2 lun 0002000000000000,
fcp_dev 1102 wwpn 500507680C226983 lun 0002000000000000

edevice 8003 type fba attr 2145,


fcp_dev 1003 wwpn 500507680C2168D2 lun 0003000000000000,
fcp_dev 1003 wwpn 500507680C216983 lun 0003000000000000,
fcp_dev 1103 wwpn 500507680C5268D2 lun 0003000000000000,
fcp_dev 1103 wwpn 500507680C526983 lun 0003000000000000

edevice 8004 type fba attr 2145,


fcp_dev 1004 wwpn 500507680C5168D2 lun 0004000000000000,
fcp_dev 1004 wwpn 500507680C516983 lun 0004000000000000,
fcp_dev 1104 wwpn 500507680C2268D2 lun 0004000000000000,
fcp_dev 1104 wwpn 500507680C226983 lun 0004000000000000

edevice 8005 type fba attr 2145,


fcp_dev 1005 wwpn 500507680C2168D2 lun 0005000000000000,
fcp_dev 1005 wwpn 500507680C216983 lun 0005000000000000,
fcp_dev 1105 wwpn 500507680C5268D2 lun 0005000000000000,
fcp_dev 1105 wwpn 500507680C526983 lun 0005000000000000

/**** for V4IPG2 ************************************/


edevice 8006 type fba attr 2145,
fcp_dev 1006 wwpn 500507680C5168D2 lun 0006000000000000,
fcp_dev 1006 wwpn 500507680C516983 lun 0006000000000000,
fcp_dev 1106 wwpn 500507680C2268D2 lun 0006000000000000,
fcp_dev 1106 wwpn 500507680C226983 lun 0006000000000000

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

/**** for V4IW02 and V4IW03 ************************************/


edevice 8008 type fba attr 2145,
fcp_dev 1008 wwpn 500507680C5168D2 lun 0008000000000000,
fcp_dev 1008 wwpn 500507680C516983 lun 0008000000000000,
fcp_dev 1108 wwpn 500507680C2268D2 lun 0008000000000000,
fcp_dev 1108 wwpn 500507680C226983 lun 0008000000000000

edevice 8009 type fba attr 2145,


fcp_dev 1009 wwpn 500507680C2168D2 lun 0009000000000000,
fcp_dev 1009 wwpn 500507680C216983 lun 0009000000000000,
fcp_dev 1109 wwpn 500507680C5268D2 lun 0009000000000000,
fcp_dev 1109 wwpn 500507680C526983 lun 0009000000000000

/******** SUSE 320 GB ************************************/


edevice 800A type fba attr 2145,
fcp_dev 1200 wwpn 500507680c2168D2 lun 000A000000000000,
fcp_dev 1200 wwpn 500507680c216983 lun 000A000000000000,
fcp_dev 1300 wwpn 500507680c2268D2 lun 000A000000000000,
fcp_dev 1300 wwpn 500507680c226983 lun 000A000000000000,
fcp_dev 1400 wwpn 500507680c5168D2 lun 000A000000000000,
fcp_dev 1400 wwpn 500507680c516983 lun 000A000000000000,
fcp_dev 1500 wwpn 500507680c5268D2 lun 000A000000000000,
fcp_dev 1500 wwpn 500507680c526983 lun 000A000000000000

/**********************************************************************/
/* 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 */

Enable , /* Enable the following features */


New_Devices_Initialized_When_Added, /* Make new devices online */

Disable , /* Disable the following features */


Set_Privclass , /* Disallow SET PRIVCLASS command */
Auto_Warm_IPL , /* Prompt at IPL always */
Clear_TDisk , /* Don't clear TDisks at IPL time */
Validate_Shutdown , /* Don't require system name */
STP_Timezone /* STP feature is not used */

/**********************************************************************/
/* Set Shutdown time periods */
/**********************************************************************/

Set Shutdowntime 30 , /* Reserve 30 seconds for CP */


Signal Shutdowntime 0 /* Default guest time is 0 seconds*/

/**********************************************************************/
/* Multithreading */
/**********************************************************************/
Multithreading enable
/**********************************************************************/
/* Vswitch */
/**********************************************************************/
/*--------------------IVL Switch definitions--------------------------*/
DEFINE VSWITCH IVL TYPE IVL DOMAIN A VLAN 4000 NATIVE NONE UPLINK ,
RDEV A400.P00 A500.P00

MODIFY PORT GROUP LAG LACP ACTIVE SHARED


MODIFY PORT GROUP LAG JOIN A000 A100 A200 A300

DEFINE VSWITCH VSW1 GLOBAL CONTROLLER * ETHERNET GROUP LAG ,


PORTBASED VLAN AWARE NATIVE NONE
MODIFY VSWITCH VSW1 PORTNUMBER 1 USERID LNXICBS
MODIFY VSWITCH VSW1 PORTNUMBER 2 USERID LNXICBS
MODIFY VSWITCH VSW1 VLANID 0144 ADD 1
MODIFY VSWITCH VSW1 VLANID 1000 ADD 2

Page 29 of 50
VMLAN MACPREFIX 020001

/**********************************************************************/
/* The following RDEV statements are examples. They are NOT */
/* currently active. They have been commented out. */
/**********************************************************************/

/* Rdevice 0012 Type Reader, */


/* Class 6 */
/* Rdevice 0013 Type Punch, */
/* Classes 6 , */
/* Form PUNCH */
/* Rdevice 0040-004F Type Bsc_Adapter */
/* Rdevice 0050-005F Type Bsc_Adapter */
/* Rdevice 0AF0 Type Impact_Printer */
/* Rdevice 0AF3 Type Impact_Printer, */
/* Classes ACT */
/* Rdevice 1910 Type 3800, */
/* Model 3 */

/**********************************************************************/
/* 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 */
/**********************************************************************/

Operator_Consoles 0020 0021 0022 0023 0E20 03E0 0E21 1020 ,


System_3270 System_Console
Emergency_Message_Consoles 0020 0021 0022 0023 0E20 03E0 0E21 1020 ,
System_Console

/**********************************************************************/
/* 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 */
/**********************************************************************/

CP_Access MAINT CF1 A


CP_Access MAINT CF3 C

/**********************************************************************/
/* Logo_Config */
/**********************************************************************/

Logo_Config LOGO CONFIG

/**********************************************************************/
/* Timezone Definitions */
/**********************************************************************/

Timezone_Definition EDT West 04.00.00


Timezone_Definition EST West 05.00.00
Timezone_Definition CDT West 05.00.00
Timezone_Definition CST West 06.00.00
Timezone_Definition MDT West 06.00.00
Timezone_Definition MST West 07.00.00
Timezone_Definition PDT West 07.00.00
Timezone_Definition PST West 08.00.00
Timezone_Definition MYT East 08.00.00

Timezone_boundary on 2014-03-09 at 02:00:00 to EDT


Timezone_boundary on 2014-11-02 at 02:00:00 to EST

Timezone_boundary on 2015-03-08 at 02:00:00 to EDT


Timezone_boundary on 2015-11-01 at 02:00:00 to EST

Timezone_boundary on 2016-03-13 at 02:00:00 to EDT


Timezone_boundary on 2016-11-06 at 02:00:00 to MYT

/**********************************************************************/
/* 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'

PRODUCT PRODID 6VMDIR40 STATE DISABLED DESCRIPTION


'00/00/00.00:00:00.$BASEDDR D
IRECTORY MAINTENANCE FACILITY (DirMaint)'

PRODUCT PRODID 6VMRAC40 STATE DISABLED DESCRIPTION


'00/00/00.00:00:00.$BASEDDR R
ACF Security Server'

PRODUCT PRODID 6VMPTK40 STATE DISABLED DESCRIPTION


'00/00/00.00:00:00.$BASEDDR P
ERFORMANCE TOOLKIT FOR VM'

PRODUCT PRODID 6VMRAC40 STATE ENABLED DESCRIPTION


'02/28/17.02:00:39.MAINT640 RA
CF Feature of z/VM, FL640'
PRODUCT PRODID 6VMPTK40 STATE ENABLED DESCRIPTION
'03/15/17.10:41:09.MAINT640 PE
RFKIT Minidisk Install and Service'

Note: check the syntax of SYSTEM CONFIG file before Re-IPL z/VM to ensure the z/VM
environment is clean and okay

5.6 Rewrite Default IPLing System Information


The SYSTEM CONFIG file resides on the CF0 PARM disk,owned by PMAINT. The CPLOAD
MODULE resides on the CF1 PARM disk, owned by MAINT.
During installation, the system is set up to IPL the CPLOAD MODULE from MAINT’s CF1 PARM
disk (extent 1 on the M0xRES volume) and to read the SYSTEM CONFIG file from PMAINT’s CF0
PARM disk (for 3390, parm disk 1 on the VMCOM1 volume; for FBA, parm disk 4 on the M01RES
volume).

The following SAIPL record was written to the IPL volume:


• For 3390:
SALIPL m0xresaddr (EXTENT 1 IPLPARMS fn=SYSTEM ft=CONFIG pdnum=1 pdvol=vmcom1addr
• For FBA
SALIPL m0xresaddr (EXTENT 1 IPLPARMS fn=SYSTEM ft=CONFIG pdnum=4

Rewrite SALIPL record with the PDVOL=edevicenumber statement


➢ q v 123
DASD 0123 9336 V4IRS1 R/W 20971520 BLK ON DASD 8002 SUBCHANNEL = 0005
Ready; T=0.01/0.01 14:07:18

➢ salipl 123 (extent 1 iplparms fn=system ft=config pdnum=4 pdvol=8002

HCPSAL6798I VOLUME ID IS V4IRS1


HCPSAL6797I MINIDISK VOLID AT OFFSET 57200 IS MNTCF1
Ready; T=0.01/0.01 14:08:17

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 *

Format the volume 8006 as PAGE volume:


➢ CPFMTXA
- format
- 8006
- 0 end
- v4ipg2
- page 0 end
- end

Format the volume 8007 as SPOOL volume:


➢ CPFMTXA
- format
- 8007
- 0 end
- v4isp2
- SPOL 0 end
- end

Format the volume 8008-8009 as Work volumes:


➢ CPFMTXA
- format
- 8008
- 0 end
- v4iwo2
- perm 0 end
- end

➢ CPFMTXA
- format
- 8009
- 0 end

Page 33 of 50
- v4iwo3
- perm 0 end
- end

Update SYSTEM CONFIG:


➢ Link pmaint cf0 cf0 mr
➢ Acc cf0 f
➢ Filel system config f

Update SYSTEM CONFIG with:

edevice 8006 type fba attr 2145,


fcp_dev 1006 wwpn 500507680C5168D2 lun 0006000000000000

edevice 8007 type fba attr 2145,


fcp_dev 1007 wwpn 500507680C5168D2 lun 0007000000000000

edevice 8008 type fba attr 2145,


fcp_dev 1008 wwpn 500507680C5168D2 lun 0008000000000000

edevice 8009 type fba attr 2145,


fcp_dev 1009 wwpn 500507680C5168D2 lun 0009000000000000

CP Owned Slot 11 V4ISP2

CP Owned Slot 254 V4IPG2

User_Volume_List V4IW01 V4IW02 V4IW03

Update USER DIRECT


USER $PAGE$ NOLOG
MDISK A01 FB-512 000000 END V4IPG1 R
MDISK A02 FB-512 000000 END V4IPG2 R
*
USER $SPOOL$ NOLOG
MDISK A01 FB-512 000000 END V4ISP1 R
MDISK A02 FB-512 000000 END V4ISP2 R

MDISK A03 FB-512 000 1200 V4IW01 R


MDISK A04 FB-512 000 1200 V4IW02 R
MDISK A05 FB-512 000 1200 V4IW03 R

5.8 IPL Information for Production System


IPL information from HMC for zVMICBS
Load – P00EB0C7: LPAR01

Load Type - SCSI

Page 34 of 50
Load Address - 1002
Load Parameter - SYSG

Worldwide port name - 500507680C516983


Logical unit number - 0002000000000000
Boot program selector - 0
Boot record logical block address - C8

Loading z/VM on SYSG console


STAND ALONE PROGRAM LOADER: z/VM VERSION 6 RELEASE 4.0

DEVICE NUMBER: 01002 MINIDISK OFFSET: 57200 EXTENT: 1

MODULE NAME: CPLOAD LOAD ORIGIN: 1000

-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002

------------------------------------------------------------------COMMENTS-----------------------------------------------

9= FILELEST 10= LOAD 11= TOGGLE EXTENT / OFFSET

IPL information from HMC for zVMBI


Load – P00EB0C7: LPAR02

Load Type - SCSI

Load Address - 1002


Load Parameter - SYSG

Worldwide port name - 500507680C516983


Logical unit number - 0021000000000000
Boot program selector - 0
Boot record logical block address - C8

Loading z/VM on SYSG console


STAND ALONE PROGRAM LOADER: z/VM VERSION 6 RELEASE 4.0

DEVICE NUMBER: 01002 MINIDISK OFFSET: 57200 EXTENT: 1

Page 35 of 50
MODULE NAME: CPLOAD LOAD ORIGIN: 1000

-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002

------------------------------------------------------------------COMMENTS-----------------------------------------------

9= FILELEST 10= LOAD 11= TOGGLE EXTENT / OFFSET

Page 36 of 50
IPL information from HMC for zVMJURIS
Load – P00EB0C7: LPAR03

Load Type - SCSI

Load Address - 2002


Load Parameter - SYSG

Worldwide port name - 500507680B21F0E5


Logical unit number - 0002000000000000
Boot program selector - 0
Boot record logical block address - C8

Loading z/VM on SYSG console


STAND ALONE PROGRAM LOADER: z/VM VERSION 6 RELEASE 4.0

DEVICE NUMBER: 01002 MINIDISK OFFSET: 57200 EXTENT: 1

MODULE NAME: CPLOAD LOAD ORIGIN: 1000

-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002

------------------------------------------------------------------COMMENTS-----------------------------------------------

9= FILELEST 10= LOAD 11= TOGGLE EXTENT / OFFSET

Page 37 of 50
IPL information from HMC for zVMDEVP
Load – P00EB0C7: LPAR04

Load Type - SCSI

Load Address - 2002


Load Parameter - SYSG

Worldwide port name - 500507680B21F0E5


Logical unit number - 002d000000000000
Boot program selector - 0
Boot record logical block address - C8

Loading z/VM on SYSG console


STAND ALONE PROGRAM LOADER: z/VM VERSION 6 RELEASE 4.0

DEVICE NUMBER: 01002 MINIDISK OFFSET: 57200 EXTENT: 1

MODULE NAME: CPLOAD LOAD ORIGIN: 1000

-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002

------------------------------------------------------------------COMMENTS-----------------------------------------------

9= FILELEST 10= LOAD 11= TOGGLE EXTENT / OFFSET

Page 38 of 50
5.9 IPL information for DR at Jalan Ampang
IPL information from HMC for zVMICBS
Load – P00EBBB7: LPAR01

Load Type - SCSI

Load Address - 1002


Load Parameter - SYSG

Worldwide port name - 500507680C216861


Logical unit number - 0002000000000000
Boot program selector - 0
Boot record logical block address - C8

Loading z/VM on SYSG console for ZVMICBS


STAND ALONE PROGRAM LOADER: z/VM VERSION 6 RELEASE 4.0

DEVICE NUMBER: 01002 MINIDISK OFFSET: 57200 EXTENT: 1

MODULE NAME: CPLOAD LOAD ORIGIN: 1000

-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSDR ft=CONFIG pdnum=4 pdvol=8002

------------------------------------------------------------------COMMENTS-----------------------------------------------

9= FILELEST 10= LOAD 11= TOGGLE EXTENT / OFFSET

Page 39 of 50
IPL information from HMC for zVMBI
Load – P00EBBB7: LPAR02

Load Type - SCSI

Load Address - 1002


Load Parameter - SYSG

Worldwide port name - 500507680C216861


Logical unit number - 0021000000000000
Boot program selector - 0
Boot record logical block address - C8

Loading z/VM on SYSG console for ZVMBI


STAND ALONE PROGRAM LOADER: z/VM VERSION 6 RELEASE 4.0

DEVICE NUMBER: 01002 MINIDISK OFFSET: 57200 EXTENT: 1

MODULE NAME: CPLOAD LOAD ORIGIN: 1000

-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSDR ft=CONFIG pdnum=4 pdvol=8002

------------------------------------------------------------------COMMENTS-----------------------------------------------

9= FILELEST 10= LOAD 11= TOGGLE EXTENT / OFFSET

Page 40 of 50
IPL information from HMC for zVMJURIS
Load – P00EBBB7: LPAR03

Load Type - SCSI

Load Address - 1002


Load Parameter - SYSG

Worldwide port name - 500507680B21F253


Logical unit number - 0041000000000000
Boot program selector - 0
Boot record logical block address - C8

Loading z/VM on SYSG console ZVMJURIS


STAND ALONE PROGRAM LOADER: z/VM VERSION 6 RELEASE 4.0

DEVICE NUMBER: 01002 MINIDISK OFFSET: 57200 EXTENT: 1

MODULE NAME: CPLOAD LOAD ORIGIN: 1000

-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSDR ft=CONFIG pdnum=4 pdvol=8002

------------------------------------------------------------------COMMENTS-----------------------------------------------

9= FILELEST 10= LOAD 11= TOGGLE EXTENT / OFFSET

Page 41 of 50
IPL information from HMC for zVMDRD1
Load – P00EBBB7: LPAR04

Load Type - SCSI

Load Address - 1002


Load Parameter - SYSG

Worldwide port name - 500507630713c333


Logical unit number - 4000400200000000
Boot program selector - 0
Boot record logical block address - C8

Loading z/VM on SYSG console zVMDRD1


STAND ALONE PROGRAM LOADER: z/VM VERSION 6 RELEASE 4.0

DEVICE NUMBER: 01002 MINIDISK OFFSET: 57200 EXTENT: 1

MODULE NAME: CPLOAD LOAD ORIGIN: 1000

-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002

------------------------------------------------------------------COMMENTS-----------------------------------------------

9= FILELEST 10= LOAD 11= TOGGLE EXTENT / OFFSET

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

6.1 Create RPIDIRCT SYSUT


Create RPIDIRCT SYSUT in disk A for 6VMRAC40 by copied from the USER DIRECT
Create RPIDIRCT SYSUT A
- Copy USER DIRECT C to minidisk A of 6VMRAC40
- Update USER DIRECT A
- Run RPIDIRCT to create RPIDIRCT SYSUT A
➢ Log on as 6VMRAC40
➢ Link pmaint 2cc 2cc mr
➢ Acc 2cc C
➢ Copy user direct C = = A

Change NOLOG to UNLOG and add OPTION LNKNOPAS to USER 6VMRAC40


➢ RPIDIRCT USER DIRECT A A
➢ no

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.

Update RPIDIRCT SYSUT1 A


Edit RPIDIRCT SYSUT1 A to UACC(UPDATE)
- RDEF VMRDR MAINT UACC(UPDATE) OWNER(MAINT)
- RDEF VMRDR TCPMAINT UACC(UPDATE) OWNER(TCPMAINT)

6.2 Build the RACF enabled CPLOAD Module


The RACF product is shipped on the system in a disabled state. You need to logon to MAINT640
virtual machine to use CP command set product to enable this product to run and generate the
CPLOAD MODULE that enables RACF to CP.
Ensure you logon to MAINT640 virtuatl machine to set
Log on as MAINT640
➢ Link maint640 51d 51d mr
➢ Acc 51d d
➢ Service racf enable
➢ Vmfview service
➢ shutdown

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

DEVICE NUMBER: 01002 MINIDISK OFFSET: 57200 EXTENT: 2

MODULE NAME: CPLOAD LOAD ORIGIN: 1000

-------------------------------------------------------------IPL PARAMETERS--------------------------------------------
Fn=SYSTEM ft=CONFIG pdnum=4 pdvol=8002

------------------------------------------------------------------COMMENTS-----------------------------------------------

9= FILELEST 10= LOAD 11= TOGGLE EXTENT / OFFSET

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

6.4 Initialize RACF Database and plan RACF in Production


Log on to IBMUSER virtural machine. This virtual machine is defined to have RACF special and
operations authority in the intial RACF database that was shipped with the system. The password
for this virtual machine is SYS1, and you have to change the password the first time that you log
on.

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 RACF profiles:


➢ Rac alu sysadmin special
➢ Rac alu maint special operations
➢ Rac alu maint640 special operations
➢ Rac alu operator special operations
➢ Rac alu bldseg operations
➢ Rac alu bldracf operatioins
➢ Rac alu bldnuc operations
➢ Rac alu bldcms operations
➢ Rac alu migmaint operations
➢ Rac setr classact(vmmdisk vmrdr vmlan vmbatch vmxevent)
➢ Rac pe maint cl(vmbatch) id(ftpserve) acc(control) reset
➢ Log

Log on to MAINT640 and place RACF into production


➢ Log maint640
➢ Xautolog autolog1
➢ Put2prod racf
➢ Put2prod cp

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.

7.1 Enable IBM Performance Toolkit for VM


Log on to MAINT640 and enter the following command to enable Performance Toolkit:
➢ Service perftk enable

You can verify it by running the QUETY PRODUCT command, after the Performance Toolkit is
enabled.
q product

Product State Description


6VMDIR40 Disabled 00/00/00.00:00:00.$BASEDDR DIRECTORY MAINTENANCE FACILITY (Dir
Maint)
6VMPTK40 Enabled 03/13/17.21:44:50.MAINT640 PERFKIT Minidisk Install and Service
6VMRAC40 Enabled 02/25/17.16:56:55.MAINT640 RACF Feature of z/VM, FL640
6VMRSC40 Disabled 00/00/00.00:00:00.$BASEDDR RSCS Networking
Ready; T=0.01/0.01 17:58:13

7.2 Configure web browser support


After the product is enabled, the TCP/IP profile must be modified to enable web access to the
Performance Toolkit. The following example sets the port to 81, which is the default for a web
browser:

Log on to TCPMAINT and update TCPIP configuration file in disk D:

To change TCP/IP dynamically, use the OBEYFILE command:

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.

7.3 Configure PERFSVM


The PERFSVM virtual machine is the Performance Toolkit service machine. Below are the steps to
configure it:
- Log on to PERFSVM and you will enter a Performance Toolkit session and see the
following text at the top of the screen:

- Press F12 twice to get to a CMS prompt


- Copy the default configuration files, which are on PERFSVM’s D disk, to you’re A disk:
o Copy * * d = = a
- Update the maint configuration file, FCONX $PROFILE.:

➢ Filel fconx $profile a

- 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

Create FCONRMT SYSTEMS A with the following entry:


- ZVMICBS PERFSVM z/VM6.4 N FCXRES00

Create FCONX LINUXUSR A with the following entry:


- LNXICBS 10.10.70.152:8803

Edit the PROFILE EXEC A file:


➢ Filel PROFILE EXEC A

Log on to MAINT640 to run the SERVICE command to build the local modification:
➢ Log maint640
➢ Service perftk build

Place Performance Toolkit for VM into Production with MAINT640 ID


➢ Put2prod perftk

7.4 Implementing APPC/VM for a local system


The APPC/VM interface uses IUCV resources for communication. By default, Performance Toolkit
for VM uses the global resource name FCXRES00 for APPC/VM communications. The directory
entry for the PERFSVM user defines the FCXRES00 resource and authorizes IUCV
communications for the user.

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

7.5 Start Performance Toolkit for VM


Log on PERFSVM user ID, but WebServer interface deactivated. Issue the following command to
restart the WebServer interface:
➢ fc moncoll webserv on
➢ press f4 to go into Performance Screen Selection
FCX124 Performance Screen Selection (FL630 ) Perf.
Monitor

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

7.6 Configure Linux Performance Gatherer


Linux performance data must be made available to Performance Toolkit. You can use the Linux
performance gatherer, rmfpms and configure Performance Toolkit for VM to access this data.

Download the rmfpms_s390x_kernel26.tgz from website to zLinux /opt directory.


Unpack rmfpms_s390x_kernel26.tgz
 Cd /opt
 # tar xvfz ./rmfpms_s390x_kernel26.tgz

All the rmfpms files will be upzip onto /opt/rmspms directory

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/

Start rmfpms ➔ ./rmfpms start


Stop rmfpms ➔ ./rmfpms stop

Set rmfpms to start automatically at system startup:


➔./enable autostart

Page 50 of 50

You might also like