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_urlartifact, specify the matchingrootfsartifact for thekernelandinitramfsthat you are starting. Only HTTP and HTTPS protocols are supported. -
For the
ipparameter, 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.dasdto 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.NoteFor FCP multipath configurations, provide available multiple paths to the disk instead of a single path, and add
rd.multipath=defaultto enable multipath during installation.Examplerd.zfcp=<adapter1>,<wwpn1>,<lun1> \ rd.zfcp=<adapter2>,<wwpn2>,<lun2> \ rd.multipath=default
-
To enable FIPS mode, specify
fips=1. This entry is required in addition to setting thefipsparameter totruein theinstall-config.yamlfile.NoteThe
.insandinitrd.img.addrsizefiles are automatically generated fors390xarchitecture 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
-
-
Rename the
boot-artifactsfile present in thegeneric.insparameter file to match the names of theboot-artifactsfile generated by the installation program. -
Transfer the
initrd,kernel,generic.ins, andinitrd.img.addrsizeparameter 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.