Use the following procedure to manually add {ibm-z-name} agents to your cluster that runs in an LPAR environment. Use this procedure only for {ibm-z-name} clusters running in an LPAR.
-
You have Python 3 installed.
-
A running file server with access to the Logical Partition (LPAR).
-
Create a boot parameter file for the agents.
Example parameter filerd.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>:<hostname>::none nameserver=<dns> \// (2) rd.znet=qeth,<network_adaptor_range>,layer2=1 rd.<disk_type>=<adapter> \// (3) fips=1 \// (4) zfcp.allow_lun_scan=0 \ ai.ip_cfg_override=1 \ random.trust_cpu=on rd.luks.options=discard
-
For the
coreos.live.rootfs_url
artifact, specify the matchingrootfs
artifact for thekernel
andinitramfs
that you are starting. Only HTTP and HTTPS protocols are supported. -
For the
ip
parameter, manually assign the IP address, as described in Installing a cluster with z/VM on IBM Z and IBM LinuxONE. -
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, userd.zfcp=<adapter>,<wwpn>,<lun>
to specify the FCP disk where {op-system} is to be installed. -
To enable FIPS mode, specify
fips=1
. This entry is required in addition to setting thefips
parameter totrue
in theinstall-config.yaml
file.NoteThe
.ins
andinitrd.img.addrsize
files are automatically generated fors390x
architecture as part of boot-artifacts from the installation program and are only used when booting in an LPAR environment.Example filesystem with LPAR bootboot-artifacts ├─ agent.s390x-generic.ins ├─ agent.s390x-initrd.addrsize ├─ agent.s390x-rootfs.img └─ agent.s390x-kernel.img └─ agent.s390x-rootfs.img
-
-
Transfer the
initrd
,kernel
,generic.ins
, andinitrd.img.addrsize
parameter files to the file server. For more information, see Booting Linux in LPAR mode (IBM documentation). -
Start the machine.
-
Repeat the procedure for all other machines in the cluster.