mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
65 lines
2.6 KiB
Plaintext
65 lines
2.6 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * hosted_control_planes/hcp-deploy/hcp-deploy-ibmz.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="hcp-ibm-z-lpar-agents_{context}"]
|
|
= Adding {ibm-z-title} LPAR as agents
|
|
|
|
You can add the Logical Partition (LPAR) on {ibm-z-title} or {ibm-linuxone-title} as a compute node to a hosted control plane.
|
|
|
|
.Procedure
|
|
|
|
. Create a boot parameter file for the agents:
|
|
+
|
|
.Example parameter file
|
|
[source,yaml]
|
|
----
|
|
rd.neednet=1 cio_ignore=all,!condev \
|
|
console=ttysclp0 \
|
|
ignition.firstboot ignition.platform.id=metal
|
|
coreos.live.rootfs_url=http://<http_server>/rhcos-<version>-live-rootfs.<architecture>.img \// <1>
|
|
coreos.inst.persistent-kargs=console=ttysclp0
|
|
ip=<ip>::<gateway>:<netmask>::<interface>:none nameserver=<dns> \// <2>
|
|
rd.znet=qeth,<network_adaptor_range>,layer2=1
|
|
rd.<disk_type>=<adapter> \// <3>
|
|
zfcp.allow_lun_scan=0
|
|
ai.ip_cfg_override=1 \// <4>
|
|
random.trust_cpu=on rd.luks.options=discard
|
|
----
|
|
+
|
|
<1> For the `coreos.live.rootfs_url` artifact, specify the matching `rootfs` artifact for the `kernel` and `initramfs` that you are starting. Only HTTP and HTTPS protocols are supported.
|
|
<2> For the `ip` parameter, manually assign the IP address, as described in _Installing a cluster with z/VM on {ibm-z-title} and {ibm-linuxone-title}_.
|
|
<3> For installations on DASD-type disks, use `rd.dasd` to specify the DASD where {op-system-first} is to be installed. For installations on FCP-type disks, use `rd.zfcp=<adapter>,<wwpn>,<lun>` to specify the FCP disk where {op-system} is to be installed.
|
|
<4> Specify this parameter when you use an Open Systems Adapter (OSA) or HiperSockets.
|
|
|
|
. Download the `.ins` and `initrd.img.addrsize` files from the `InfraEnv` resource.
|
|
+
|
|
By default, the URL for the `.ins` and `initrd.img.addrsize` files is not available in the `InfraEnv` resource. You must edit the URL to fetch those artifacts.
|
|
+
|
|
.. Update the kernel URL endpoint to include `ins-file` by running the followign command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ curl -k -L -o generic.ins "< url for ins-file >"
|
|
----
|
|
+
|
|
.Example URL
|
|
[source,yaml]
|
|
----
|
|
https://…/boot-artifacts/ins-file?arch=s390x&version=4.17.0
|
|
----
|
|
+
|
|
.. Update the `initrd` URL endpoint to include `s390x-initrd-addrsize`:
|
|
+
|
|
.Example URL
|
|
[source,yaml]
|
|
----
|
|
https://…./s390x-initrd-addrsize?api_key=<api-key>&arch=s390x&version=4.17.0
|
|
----
|
|
|
|
. Transfer the `initrd`, `kernel`, `generic.ins`, and `initrd.img.addrsize` parameter files to the file server. For more information about how to transfer the files with FTP and boot, see "Installing in an LPAR".
|
|
|
|
. Start the machine.
|
|
|
|
. Repeat the procedure for all other machines in the cluster. |