Skip to content

Commit 216e99c

Browse files
authored
Merge pull request #92681 from SNiemann15/ibmz_lpar_install_improve
[OCPBUGS-43563] Improvements to LPAR installation
2 parents 5829112 + 9ef84ce commit 216e99c

File tree

1 file changed

+23
-16
lines changed

1 file changed

+23
-16
lines changed

modules/installation-ibm-z-user-infra-machines-iso.adoc

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The rootfs image is the same for FCP and DASD.
7676
** Optional: To enable secure boot, add `coreos.inst.secure_ipl`
7777

7878
** For installations on DASD-type disks, complete the following tasks:
79-
... For `coreos.inst.install_dev=`, specify `/dev/dasda`.
79+
... For `coreos.inst.install_dev=`, specify `/dev/disk/by-path/ccw-<device_id>`. For <device_id> specify, for example, `0.0.1000`.
8080
... Use `rd.dasd=` to specify the DASD where {op-system} is to be installed.
8181
... Leave all other parameters unchanged.
8282
+
@@ -86,20 +86,19 @@ Example parameter file, `bootstrap-0.parm`, for the bootstrap machine:
8686
----
8787
cio_ignore=all,!condev rd.neednet=1 \
8888
console=ttysclp0 \
89-
coreos.inst.install_dev=/dev/<block_device> \// <1>
89+
coreos.inst.install_dev=/dev/disk/by-id/scsi-<serial_number> \// <1>
9090
coreos.inst.ignition_url=http://<http_server>/bootstrap.ign \// <2>
9191
coreos.live.rootfs_url=http://<http_server>/rhcos-<version>-live-rootfs.<architecture>.img \// <3>
9292
coreos.inst.secure_ipl \// <4>
9393
ip=<ip>::<gateway>:<netmask>:<hostname>::none nameserver=<dns> \
9494
rd.znet=qeth,0.0.bdf0,0.0.bdf1,0.0.bdf2,layer2=1,portno=0 \
95-
rd.dasd=0.0.3490 \
96-
zfcp.allow_lun_scan=0
95+
rd.dasd=0.0.3490
9796
----
9897
ifdef::ibm-z[]
99-
<1> Specify the block device type. For installations on DASD-type disks, specify `/dev/dasda`. For installations on FCP-type disks, specify `/dev/sda`.
98+
<1> Specify a unique fully qualified path depending on disk type. This can be either DASD-type or FCP-type disks.
10099
endif::ibm-z[]
101100
ifdef::ibm-z-lpar[]
102-
<1> Specify the block device type. For installations on DASD-type disks, specify `/dev/dasda`. For installations on FCP-type disks, specify `/dev/sda`. For installations on NVMe-type disks, specify `/dev/nvme0n1`.
101+
<1> Specify a unique fully qualified path depending on disk type. This can be either DASD-type, FCP-type, or NVMe-type disks.
103102
endif::ibm-z-lpar[]
104103
<2> Specify the location of the Ignition config file. Use `bootstrap.ign`, `master.ign`, or `worker.ign`. Only HTTP and HTTPS protocols are supported.
105104
<3> Specify the location of the `rootfs` artifact for the `kernel` and `initramfs` you are booting. Only HTTP and HTTPS protocols are supported.
@@ -115,16 +114,25 @@ Write all options in the parameter file as a single line and make sure you have
115114
When you install with multiple paths, you must enable multipathing directly after the installation, not at a later point in time, as this can cause problems.
116115
====
117116
... Set the install device as: `coreos.inst.install_dev=/dev/disk/by-id/scsi-<serial_number>`.
117+
118+
. Optional: Create a `generic.ins` file:
118119
+
119-
[NOTE]
120-
====
121-
If additional LUNs are configured with NPIV, FCP requires `zfcp.allow_lun_scan=0`. If you must enable `zfcp.allow_lun_scan=1` because you use a CSI driver, for example, you must configure your NPIV so that each node cannot access the boot partition of another node.
122-
====
123-
... Leave all other parameters unchanged.
120+
Some installation methods also require a `generic.ins` file with a mapping of the location of the installation data in the file system of the Hardware Management Console (HMC), the DVD, or the FTP server and the memory locations where the data is to be copied. A sample `generic.ins` file is provided with the {op-system-base} installation media. The file contains file names for the initial RAM disk (`initrd.img`), the kernel image (`kernel.img`), and the parameter (`generic.prm`) files and a memory location for each file.
121+
+
122+
.Example `generic.ins` file
123+
[source,terminal]
124+
----
125+
images/kernel.img 0x00000000
126+
images/initrd.img 0x02000000
127+
images/genericdvd.prm 0x00010480
128+
images/initrd.addrsize 0x00010408
129+
----
130+
131+
. Leave all other parameters unchanged.
124132
+
125133
[IMPORTANT]
126134
====
127-
Additional postinstallation steps are required to fully enable multipathing. For more information, see “Enabling multipathing with kernel arguments on {op-system}" in _Postinstallation machine configuration tasks_.
135+
Additional postinstallation steps are required to fully enable multipathing. For more information, see “Enabling multipathing with kernel arguments on {op-system}" in _Machine configuration_.
128136
====
129137
// Add xref once it's allowed.
130138
+
@@ -142,8 +150,7 @@ rd.znet=qeth,0.0.bdf0,0.0.bdf1,0.0.bdf2,layer2=1,portno=0 \
142150
rd.zfcp=0.0.1987,0x50050763070bc5e3,0x4008400B00000000 \
143151
rd.zfcp=0.0.19C7,0x50050763070bc5e3,0x4008400B00000000 \
144152
rd.zfcp=0.0.1987,0x50050763071bc5e3,0x4008400B00000000 \
145-
rd.zfcp=0.0.19C7,0x50050763071bc5e3,0x4008400B00000000 \
146-
zfcp.allow_lun_scan=0
153+
rd.zfcp=0.0.19C7,0x50050763071bc5e3,0x4008400B00000000
147154
----
148155
+
149156
Write all options in the parameter file as a single line and make sure you have no newline characters.
@@ -152,7 +159,7 @@ ifdef::ibm-z[]
152159
. Transfer the initramfs, kernel, parameter files, and {op-system} images to z/VM, for example with FTP. For details about how to transfer the files with FTP and boot from the virtual reader, see link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/interactively_installing_rhel_over_the_network/index#installing-under-z-vm_booting-the-installation-media[Booting the installation on {ibm-z-name} to install {op-system-base} in z/VM].
153160
. Punch the files to the virtual reader of the z/VM guest virtual machine that is to become your bootstrap node.
154161
+
155-
See link:https://www.ibm.com/docs/en/zvm/latest?topic=commands-punch[PUNCH] in IBM Documentation.
162+
See link:https://www.ibm.com/docs/en/zvm/latest?topic=commands-punch[PUNCH] ({ibm-name} Documentation).
156163
+
157164
[TIP]
158165
====
@@ -166,7 +173,7 @@ You can use the CP PUNCH command or, if you use Linux, the **vmur** command to t
166173
$ ipl c
167174
----
168175
+
169-
See link:https://www.ibm.com/docs/en/zvm/latest?topic=commands-ipl[IPL] in IBM Documentation.
176+
See link:https://www.ibm.com/docs/en/zvm/latest?topic=commands-ipl[IPL] ({ibm-name} Documentation).
170177
+
171178
endif::ibm-z[]
172179
ifdef::ibm-z-lpar[]

0 commit comments

Comments
 (0)