ZVM Load Dev

 

Home Up

 

The CP SET LOADDEV command

Abstract

This technote describes the new CP SET LOADDEV command used to IPL a Linux guest from FCP-attached SCSI.

For related information about this topic, refer to the following IBM Redbooks publication:

Linux on zSeries: Fibre Channel Protocol Implementation Guide, SG24-6344-00

Contents

The new CP SET LOADDEV command is used to provide the parameters that are needed to access a SCSI disk to the machine loader. Parameters to SET LOADDEV include the WWPN and LUN number of the SCSI disk on which Linux resides. For example, to IPL Linux on the SCSI disk that is located at WWPN 5005076300CD9589 and LUN 5303000000000000, use the command:

SET LOADDEV PORTNAME 50050763 00CD9589 LUN 53030000 00000000

The CP QUERY LOADDEV command reports parameters set for the machine loader:

Q LOADDEV

PORTNAME 50050763 00CD9589 LUN 53030000 00000000 BOOTPROG 0

BR_LBA 00000000 00000000

For details on the SET LOADDEV and QUERY LOADDEV commands, consult CP Command and Utility Reference, SC24-6008.

The LOADDEV user directory statement

It is possible to set the machine loader parameters in the user directory entry using the LOADDEV statement. 

Here, we set the LOADDEV WWPN and LUN parameters using DIRMAINT.

DIRM LOADDEV PORTNAME 5005076300CD9589

DVHXMT1191I Your LOADDEV request has been sent for processing.

Ready; T=0.04/0.05 09:41:48

DVHREQ2288I Your LOADDEV request for LNXSU5 at * has been accepted.

DVHBIU3450I The source for directory entry LNXSU5 has been updated.

DVHBIU3424I The next ONLINE will take place immediately.

DVHBIU3428I Changes made to directory entry LNXSU5 have been placed DVHBIU3428I online.

DVHREQ2289I Your LOADDEV request for LNXSU5 at * has completed; with RC = DVHREQ2289I 0.

DIRM LOADDEV LUN 5303000000000000

DVHXMT1191I Your LOADDEV request has been sent for processing.

Ready; T=0.04/0.05 09:42:14

DVHREQ2288I Your LOADDEV request for LNXSU5 at * has been accepted.

DVHBIU3450I The source for directory entry LNXSU5 has been updated.

DVHBIU3424I The next ONLINE will take place immediately.

DVHBIU3428I Changes made to directory entry LNXSU5 have been placed DVHBIU3428I online.

DVHREQ2289I Your LOADDEV request for LNXSU5 at * has completed; with RC = DVHREQ2289I 0.

The resulting directory entry is shown below.

USER LNXSU5 LNXSU5 128M 1G G

INCLUDE IBMDFLT

IPL 190 PARM AUTOCR

LOADDEV PORTNAME 5005076300CD9589

LOADDEV LUN 5303000000000000

MACHINE XA

DEDICATE 7104 7138

DEDICATE 7105 7139

DEDICATE 7106 713A

DEDICATE 1605 1605

LINK TCPIP 0592 0592 RR

MDISK 0191 3390 175 25 440U1R

For details on the LOADDEV user directory statement, consult CP Planning and Administration, SC24-6043. See

Directory Maintenance Facility Command Reference, SC24-6025, for details on using DIRMAINT.

 
  Home | Contact Tim | About | Links | My Books | Site Map | Archives | Fair Use

Order a book or two today - you can download an eBook today for only $1.99!

            

Just click on a book to learn more!