Skip to content

Commit e34bacd

Browse files
authored
Merge pull request #73204 from skopacz1/agent_pxe_cleanup
Cleaning up Agent docs 3/14/24
2 parents db6f32b + b30a195 commit e34bacd

File tree

5 files changed

+25
-20
lines changed

5 files changed

+25
-20
lines changed

installing/installing_with_agent_based_installer/prepare-pxe-assets-agent.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ include::modules/pxe-assets-ocp-agent.adoc[leveloffset=+1]
3434

3535
// Manually adding IBM Z agents
3636
include::modules/installing-ocp-agent-ibm-z.adoc[leveloffset=+1]
37+
38+
// Adding {ibm-z-title} agents with z/VM
3739
include::modules/installing-ocp-agent-ibm-z-zvm.adoc[leveloffset=+2]
40+
41+
// Adding {ibm-z-name} agents with {op-system-base} KVM
3842
include::modules/installing-ocp-agent-ibm-z-kvm.adoc[leveloffset=+2]
3943

4044
[role="_additional-resources"]

modules/installing-ocp-agent-ibm-z-kvm.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $ virt-install \
2222
--ram=16384 \
2323
--cpu host \
2424
--vcpus=8 \
25-
--location <path_to_kernel_initrd_image>,kernel=kernel.img,initrd=initrd.img \ <1>
25+
--location <path_to_kernel_initrd_image>,kernel=kernel.img,initrd=initrd.img \// <1>
2626
--disk <qcow_image_path> \
2727
--network network:macvtap ,mac=<mac_address> \
2828
--graphics none \

modules/installing-ocp-agent-ibm-z-zvm.adoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
[id="installing-ocp-agent-ibm-z-zvm_{context}"]
77
= Adding {ibm-z-title} agents with z/VM
88

9-
Use the following procedure to manually add {ibm-z-name} agents with z/VM
9+
Use the following procedure to manually add {ibm-z-name} agents with z/VM.
1010

1111
.Procedure
1212

1313
. Create a parameter file for the z/VM guest:
1414
+
1515
.Example parameter file
1616
+
17-
[source,terminal]
17+
[source,text]
1818
----
1919
rd.neednet=1 \
2020
console=ttysclp0 \
@@ -29,10 +29,10 @@ ignition.firstboot ignition.platform.id=metal \
2929
console=tty1 console=ttyS1,115200n8 \
3030
coreos.inst.persistent-kargs="console=tty1 console=ttyS1,115200n8"
3131
----
32-
<1> For the `coreos.live.rootfs_url=` artifact, specify the matching `rootfs` artifact for the `kernel` and `initramfs` that you are booting. Only HTTP and HTTPS protocols are supported.
33-
<2> For the `ip=` parameter, assign the IP address automatically using DHCP, or manually assign the IP address, as described in "Installing a cluster with z/VM on {ibm-z-name} and {ibm-linuxone-name}".
34-
<3> The default is '1'. Omit this entry when using an OSA network adapter.
35-
<4> For installations on DASD-type disks, use `rd.dasd=` to specify the DASD where {op-system} is to be installed. Omit this entry for FCP-type disks.
32+
<1> For the `coreos.live.rootfs_url` artifact, specify the matching `rootfs` artifact for the `kernel` and `initramfs` that you are booting. Only HTTP and HTTPS protocols are supported.
33+
<2> For the `ip` parameter, assign the IP address automatically using DHCP, or manually assign the IP address, as described in "Installing a cluster with z/VM on {ibm-z-name} and {ibm-linuxone-name}".
34+
<3> The default is `1`. Omit this entry when using an OSA network adapter.
35+
<4> For installations on DASD-type disks, use `rd.dasd` to specify the DASD where {op-system-first} is to be installed. Omit this entry for FCP-type disks.
3636
<5> For installations on FCP-type disks, use `rd.zfcp=<adapter>,<wwpn>,<lun>` to specify the FCP disk where {op-system} is to be installed. Omit this entry for DASD-type disks.
3737
+
3838
Leave all other parameters unchanged.
@@ -43,13 +43,14 @@ For more information, see link:https://www.ibm.com/docs/en/zvm/latest?topic=comm
4343
+
4444
[TIP]
4545
====
46-
You can use the CP PUNCH command or, if you use Linux, the **vmur** command, to transfer files between two z/VM guest virtual machines.
46+
You can use the `CP PUNCH` command or, if you use Linux, the `vmur` command, to transfer files between two z/VM guest virtual machines.
4747
====
4848
+
49-
. Log in to CMS on the bootstrap machine.
49+
. Log in to the conversational monitor system (CMS) on the bootstrap machine.
5050

5151
. IPL the bootstrap machine from the reader by running the following command:
5252
+
53+
[source,terminal]
5354
----
5455
$ ipl c
5556
----

modules/installing-ocp-agent-inputs.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ $ cat << EOF > ./my-cluster/install-config.yaml
5151
apiVersion: v1
5252
baseDomain: test.example.com
5353
compute:
54-
- architecture: amd64 <1>
54+
- architecture: amd64 // <1>
5555
hyperthreading: Enabled
5656
name: worker
5757
replicas: 0
@@ -61,20 +61,20 @@ controlPlane:
6161
name: master
6262
replicas: 1
6363
metadata:
64-
name: sno-cluster <2>
64+
name: sno-cluster // <2>
6565
networking:
6666
clusterNetwork:
6767
- cidr: 10.128.0.0/14
6868
hostPrefix: 23
6969
machineNetwork:
7070
- cidr: 192.168.0.0/16
71-
networkType: OVNKubernetes <3>
71+
networkType: OVNKubernetes // <3>
7272
serviceNetwork:
7373
- 172.30.0.0/16
7474
platform: <4>
7575
none: {}
76-
pullSecret: '<pull_secret>' <5>
77-
sshKey: '<ssh_pub_key>' <6>
76+
pullSecret: '<pull_secret>' // <5>
77+
sshKey: '<ssh_pub_key>' // <6>
7878
EOF
7979
----
8080
<1> Specify the system architecture, valid values are `amd64`, `arm64`, `ppc64le`, and `s390x`.
@@ -136,15 +136,15 @@ apiVersion: v1beta1
136136
kind: AgentConfig
137137
metadata:
138138
name: sno-cluster
139-
rendezvousIP: 192.168.111.80 <1>
140-
hosts: <2>
141-
- hostname: master-0 <3>
139+
rendezvousIP: 192.168.111.80 // <1>
140+
hosts: // <2>
141+
- hostname: master-0 // <3>
142142
interfaces:
143143
- name: eno1
144144
macAddress: 00:ef:44:21:e6:a5
145-
rootDeviceHints: <4>
145+
rootDeviceHints: // <4>
146146
deviceName: /dev/sdb
147-
networkConfig: <5>
147+
networkConfig: // <5>
148148
interfaces:
149149
- name: eno1
150150
type: ethernet

modules/installing-ocp-agent-verify.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Use the following procedure to track installation progress and to verify a succe
1919
+
2020
[source,terminal]
2121
----
22-
$ ./openshift-install --dir <install_directory> agent wait-for bootstrap-complete \ <1>
22+
$ ./openshift-install --dir <install_directory> agent wait-for bootstrap-complete \// <1>
2323
--log-level=info <2>
2424
----
2525
<1> For `<install_directory>`, specify the path to the directory where the agent ISO was generated.

0 commit comments

Comments
 (0)