Skip to content

Commit 93df3df

Browse files
authored
Merge pull request #76918 from SNiemann15/ibmz_lpar_multiarch_compute
[OSDOCS-7500] Add multi-arch compute installation option IBM Z in an LPAR
2 parents e7e86f0 + 89f6237 commit 93df3df

File tree

4 files changed

+43
-16
lines changed

4 files changed

+43
-16
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,8 @@ Topics:
601601
File: creating-multi-arch-compute-nodes-bare-metal
602602
- Name: Creating a cluster with multi-architecture compute machines on IBM Z and IBM LinuxONE with z/VM
603603
File: creating-multi-arch-compute-nodes-ibm-z
604+
- Name: Creating a cluster with multi-architecture compute machines on IBM Z and IBM LinuxONE in an LPAR
605+
File: creating-multi-arch-compute-nodes-ibm-z-lpar
604606
- Name: Creating a cluster with multi-architecture compute machines on IBM Z and IBM LinuxONE with RHEL KVM
605607
File: creating-multi-arch-compute-nodes-ibm-z-kvm
606608
- Name: Creating a cluster with multi-architecture compute machines on IBM Power

modules/machine-user-infra-machines-ibm-z-kvm.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ $ virt-install \
8989
--connect qemu:///system \
9090
--name <vm_name> \
9191
--autostart \
92-
--os-variant rhel9.2 \ <1>
92+
--os-variant rhel9.4 \ <1>
9393
--cpu host \
9494
--vcpus <vcpus> \
9595
--memory <memory_mb> \
@@ -98,15 +98,15 @@ $ virt-install \
9898
--location <media_location>,kernel=<rhcos_kernel>,initrd=<rhcos_initrd> \ <2>
9999
--extra-args "rd.neednet=1" \
100100
--extra-args "coreos.inst.install_dev=/dev/vda" \
101-
--extra-args "coreos.inst.ignition_url=<worker_ign>" \ <3>
102-
--extra-args "coreos.live.rootfs_url=<rhcos_rootfs>" \ <4>
103-
--extra-args "ip=<ip>::<default_gateway>:<subnet_mask_length>:<hostname>::none:<MTU>" \ <5>
101+
--extra-args "coreos.inst.ignition_url=http://<http_server>/worker.ign " \ <3>
102+
--extra-args "coreos.live.rootfs_url=http://<http_server>/rhcos-<version>-live-rootfs.<architecture>.img" \ <4>
103+
--extra-args "ip=<ip>::<gateway>:<netmask>:<hostname>::none" \ <5>
104104
--extra-args "nameserver=<dns>" \
105105
--extra-args "console=ttysclp0" \
106106
--noautoconsole \
107107
--wait
108108
----
109-
<1> For `os-variant`, specify the {op-system-base} version for the {op-system} compute machine. `rhel9.2` is the recommended version. To query the supported {op-system-base} version of your operating system, run the following command:
109+
<1> For `os-variant`, specify the {op-system-base} version for the {op-system} compute machine. `rhel9.4` is the recommended version. To query the supported {op-system-base} version of your operating system, run the following command:
110110
+
111111
[source,terminal]
112112
----
@@ -119,8 +119,8 @@ The `os-variant` is case sensitive.
119119
====
120120
+
121121
<2> For `--location`, specify the location of the kernel/initrd on the HTTP or HTTPS server.
122-
<3> For `coreos.inst.ignition_url=`, specify the `worker.ign` Ignition file for the machine role. Only HTTP and HTTPS protocols are supported.
123-
<4> For `coreos.live.rootfs_url=`, specify the matching rootfs artifact for the `kernel` and `initramfs` you are booting. Only HTTP and HTTPS protocols are supported.
122+
<3> Specify the location of the `worker.ign` config file. Only HTTP and HTTPS protocols are supported.
123+
<4> Specify the location of the `rootfs` artifact for the `kernel` and `initramfs` you are booting. Only HTTP and HTTPS protocols are supported
124124
<5> Optional: For `hostname`, specify the fully qualified hostname of the client machine.
125125
--
126126
+

modules/machine-user-infra-machines-ibm-z.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $ oc extract -n openshift-machine-api secret/worker-user-data-managed --keys=use
5353
+
5454
[source,terminal]
5555
----
56-
$ curl -k http://<HTTP_server>/worker.ign
56+
$ curl -k http://<http_server>/worker.ign
5757
----
5858

5959
. Download the {op-system-base} live `kernel`, `initramfs`, and `rootfs` files by running the following commands:
@@ -93,7 +93,7 @@ $ curl -LO $(oc -n openshift-machine-config-operator get configmap/coreos-bootim
9393
** For installations on DASD-type disks, complete the following tasks:
9494
... For `coreos.inst.install_dev=`, specify `/dev/dasda`.
9595
... Use `rd.dasd=` to specify the DASD where {op-system} is to be installed.
96-
... Leave all other parameters unchanged.
96+
... You can adjust further parameters if required.
9797
+
9898
The following is an example parameter file, `additional-worker-dasd.parm`:
9999
+
@@ -102,9 +102,9 @@ The following is an example parameter file, `additional-worker-dasd.parm`:
102102
rd.neednet=1 \
103103
console=ttysclp0 \
104104
coreos.inst.install_dev=/dev/dasda \
105-
coreos.live.rootfs_url=http://cl1.provide.example.com:8080/assets/rhcos-live-rootfs.s390x.img \
106-
coreos.inst.ignition_url=http://cl1.provide.example.com:8080/ignition/worker.ign \
107-
ip=172.18.78.2::172.18.78.1:255.255.255.0:::none nameserver=172.18.78.1 \
105+
coreos.live.rootfs_url=http://<http_server>/rhcos-<version>-live-rootfs.<architecture>.img \
106+
coreos.inst.ignition_url=http://<http_server>/worker.ign \
107+
ip=<ip>::<gateway>:<netmask>:<hostname>::none nameserver=<dns> \
108108
rd.znet=qeth,0.0.bdf0,0.0.bdf1,0.0.bdf2,layer2=1,portno=0 \
109109
zfcp.allow_lun_scan=0 \
110110
rd.dasd=0.0.3490
@@ -125,7 +125,7 @@ When you install with multiple paths, you must enable multipathing directly afte
125125
====
126126
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.
127127
====
128-
... Leave all other parameters unchanged.
128+
... You can adjust further parameters if required.
129129
+
130130
[IMPORTANT]
131131
====
@@ -140,9 +140,9 @@ The following is an example parameter file, `additional-worker-fcp.parm` for a w
140140
rd.neednet=1 \
141141
console=ttysclp0 \
142142
coreos.inst.install_dev=/dev/sda \
143-
coreos.live.rootfs_url=http://cl1.provide.example.com:8080/assets/rhcos-live-rootfs.s390x.img \
144-
coreos.inst.ignition_url=http://cl1.provide.example.com:8080/ignition/worker.ign \
145-
ip=172.18.78.2::172.18.78.1:255.255.255.0:::none nameserver=172.18.78.1 \
143+
coreos.live.rootfs_url=http://<http_server>/rhcos-<version>-live-rootfs.<architecture>.img \
144+
coreos.inst.ignition_url=http://<http_server>/worker.ign \
145+
ip=<ip>::<gateway>:<netmask>:<hostname>::none nameserver=<dns> \
146146
rd.znet=qeth,0.0.bdf0,0.0.bdf1,0.0.bdf2,layer2=1,portno=0 \
147147
zfcp.allow_lun_scan=0 \
148148
rd.zfcp=0.0.1987,0x50050763070bc5e3,0x4008400B00000000 \
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
:context: creating-multi-arch-compute-nodes-ibm-z-lpar
3+
include::_attributes/common-attributes.adoc[]
4+
[id="creating-multi-arch-compute-nodes-ibm-z-lpar"]
5+
= Creating a cluster with multi-architecture compute machines on {ibm-z-title} and {ibm-linuxone-title} in an LPAR
6+
7+
toc::[]
8+
9+
To create a cluster with multi-architecture compute machines on {ibm-z-name} and {ibm-linuxone-name} (`s390x`) in an LPAR, you must have an existing single-architecture `x86_64` cluster. You can then add `s390x` compute machines to your {product-title} cluster.
10+
11+
Before you can add `s390x` nodes to your cluster, you must upgrade your cluster to one that uses the multi-architecture payload. For more information on migrating to the multi-architecture payload, see xref:../../updating/updating_a_cluster/migrating-to-multi-payload.adoc#migrating-to-multi-payload[Migrating to a cluster with multi-architecture compute machines].
12+
13+
The following procedures explain how to create a {op-system} compute machine using an LPAR instance. This will allow you to add `s390x` nodes to your cluster and deploy a cluster with multi-architecture compute machines.
14+
15+
[NOTE]
16+
====
17+
To create an {ibm-z-name} or {ibm-linuxone-name} (`s390x`) cluster with multi-architecture compute machines on `x86_64`, follow the instructions for
18+
xref:../../installing/installing_ibm_z/preparing-to-install-on-ibm-z.adoc#preparing-to-install-on-ibm-z[Installing a cluster on {ibm-z-name} and {ibm-linuxone-name}]. You can then add `x86_64` compute machines as described in xref:./creating-multi-arch-compute-nodes-bare-metal.adoc#creating-multi-arch-compute-nodes-bare-metal[Creating a cluster with multi-architecture compute machines on bare metal, {ibm-power-title}, or {ibm-z-title}].
19+
====
20+
21+
include::modules/multi-architecture-verifying-cluster-compatibility.adoc[leveloffset=+1]
22+
23+
include::modules/machine-user-infra-machines-ibm-z.adoc[leveloffset=+1]
24+
25+
include::modules/installation-approve-csrs.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)