Skip to content

Commit d12fb29

Browse files
authored
Merge pull request #64010 from dfitzmau/OCPBUGS-18100-New
OCPBUGS#18100-New: Revert optional step in vSphere docs
2 parents 8e02314 + df056be commit d12fb29

File tree

2 files changed

+50
-23
lines changed

2 files changed

+50
-23
lines changed

modules/installation-vsphere-machines.adoc

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -141,20 +141,20 @@ Ensure that all virtual machine names across a vSphere installation are unique.
141141
142142
.. On the *Select a compute resource* tab, select the name of a host in your datacenter.
143143
+
144-
.. On the *Select clone options*, select
145-
*Customize this virtual machine's hardware*.
144+
.. On the *Select clone options* tab, select *Customize this virtual machine's hardware*.
146145
147-
.. Optional: On the *Customize hardware* tab, click *VM Options* -> *Advanced*.
146+
.. On the *Customize hardware* tab, click *Advanced Parameters*.
148147
+
149148
[IMPORTANT]
150149
====
151150
The following configuration suggestions are for example purposes only. As a cluster administrator, you must configure resources according to the resource demands placed on your cluster. To best manage cluster resources, consider creating a resource pool from the cluster's root resource pool.
152151
====
153152
+
154-
*** Override default DHCP networking in vSphere. To enable static IP networking:
153+
*** Optional: Override default DHCP networking in vSphere. To enable static IP networking:
155154
+
156155
**** Set your static IP configuration:
157156
+
157+
.Example command
158158
[source,terminal]
159159
----
160160
$ export IPCFG="ip=<ip>::<gateway>:<netmask>:<hostname>:<iface>:none nameserver=srv1 [nameserver=srv2 [nameserver=srv3 [...]]]"
@@ -166,16 +166,26 @@ $ export IPCFG="ip=<ip>::<gateway>:<netmask>:<hostname>:<iface>:none nameserver=
166166
$ export IPCFG="ip=192.168.100.101::192.168.100.254:255.255.255.0:::none nameserver=8.8.8.8"
167167
----
168168
+
169-
*** Click *Edit Configuration*, and on the *Configuration Parameters* window, search the list of available parameters for steal clock accounting (`stealclock.enable`). Set the parameter to the value of `TRUE`. Enabling steal clock accounting can help with troubleshooting cluster issues.
170-
*** Click *Add Configuration Params*. Define the following parameter names and values:
169+
**** Set the `guestinfo.afterburn.initrd.network-kargs` property before you boot a VM from an OVA in vSphere:
170+
+
171+
.Example command
172+
[source,terminal]
173+
----
174+
$ govc vm.change -vm "<vm_name>" -e "guestinfo.afterburn.initrd.network-kargs=${IPCFG}"
175+
----
176+
+
177+
*** Add the following configuration parameter names and values by specifying data in the *Attribute* and *Values* fields. Ensure that you select the *Add* button for each parameter that you create.
178+
**** `guestinfo.ignition.config.data`: Locate the base-64 encoded files that you created previously in this procedure, and paste the contents of the base64-encoded Ignition config file for this machine type.
179+
**** `guestinfo.ignition.config.data.encoding`: Specify `base64`.
171180
**** `disk.EnableUUID`: Specify `TRUE`.
172181
**** `stealclock.enable`: If this parameter was not defined, add it and specify `TRUE`.
173182
**** Create a child resource pool from the cluster's root resource pool. Perform resource allocation in this child resource pool.
174183

175184
.. In the *Virtual Hardware* panel of the *Customize hardware* tab, modify the specified values as required. Ensure that the amount of RAM, CPU, and disk storage meets the minimum requirements for the
176185
machine type.
177186

178-
.. Complete the configuration and power on the VM.
187+
.. Complete the remaining configuration steps. On clicking the *Finish* button, you have completed the cloning operation.
188+
.. From the *Virtual Machines* tab, right-click on your VM and then select *Power* -> *Power On*.
179189

180190
.. Check the console output to verify that Ignition ran.
181191
+
@@ -185,7 +195,10 @@ machine type.
185195
Ignition: ran on 2022/03/14 14:48:33 UTC (this boot)
186196
Ignition: user-provided config was applied
187197
----
188-
. Create the rest of the machines for your cluster by following the preceding steps for each machine.
198+
199+
.Next steps
200+
201+
* Create the rest of the machines for your cluster by following the preceding steps for each machine.
189202
+
190203
[IMPORTANT]
191204
====

modules/machine-vsphere-machines.adoc

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ endif::[]
1515

1616
You can add more compute machines to a user-provisioned {product-title} cluster on VMware vSphere.
1717

18+
After your vSphere template deploys in your {product-title} cluster, you can deploy a virtual machine (VM) for a machine in that cluster.
19+
1820
ifdef::three-node-cluster[]
1921
[NOTE]
2022
====
@@ -29,26 +31,38 @@ endif::three-node-cluster[]
2931
3032
.Procedure
3133

32-
. After the template deploys, deploy a VM for a machine in the cluster.
33-
.. Right-click the template's name and click *Clone* -> *Clone to Virtual Machine*.
34-
.. On the *Select a name and folder* tab, specify a name for the VM. You might include the machine type in the name, such as `compute-1`.
34+
. Right-click the template's name and click *Clone* -> *Clone to Virtual Machine*.
35+
36+
. On the *Select a name and folder* tab, specify a name for the VM. You might include the machine type in the name, such as `compute-1`.
3537
+
3638
[NOTE]
3739
====
3840
Ensure that all virtual machine names across a vSphere installation are unique.
3941
====
40-
.. On the *Select a name and folder* tab, select the name of the folder that you created for the cluster.
41-
.. On the *Select a compute resource* tab, select the name of a host in your datacenter.
42-
.. On the *Select clone options*, select *Customize this virtual machine's hardware*.
43-
.. On the *Customize hardware* tab, click *VM Options* -> *Advanced*.
44-
*** Click *Edit Configuration*, and on the *Configuration Parameters* window, click *Add Configuration Params*. Define the following parameter names and values:
45-
**** `guestinfo.ignition.config.data`: Paste the contents of the base64-encoded compute Ignition config file for this machine type.
46-
**** `guestinfo.ignition.config.data.encoding`: Specify `base64`.
47-
**** `disk.EnableUUID`: Specify `TRUE`.
48-
.. In the *Virtual Hardware* panel of the *Customize hardware* tab, modify the specified values as required. Ensure that the amount of RAM, CPU, and disk storage meets the minimum requirements for the machine type. Also, make sure to select the correct network under *Add network adapter* if there are multiple networks available.
49-
.. Complete the configuration and power on the VM.
50-
51-
. Continue to create more compute machines for your cluster.
42+
43+
. On the *Select a name and folder* tab, select the name of the folder that you created for the cluster.
44+
45+
. On the *Select a compute resource* tab, select the name of a host in your datacenter.
46+
47+
. On the *Select storage* tab, select storage for your configuration and disk files.
48+
49+
. On the *Select clone options* tab, select *Customize this virtual machine's hardware*.
50+
51+
. On the *Customize hardware* tab, click *Advanced Parameters*.
52+
** Add the following configuration parameter names and values by specifying data in the *Attribute* and *Values* fields. Ensure that you select the *Add* button for each parameter that you create.
53+
*** `guestinfo.ignition.config.data`: Paste the contents of the base64-encoded compute Ignition config file for this machine type.
54+
*** `guestinfo.ignition.config.data.encoding`: Specify `base64`.
55+
*** `disk.EnableUUID`: Specify `TRUE`.
56+
57+
. In the *Virtual Hardware* panel of the *Customize hardware* tab, modify the specified values as required. Ensure that the amount of RAM, CPU, and disk storage meets the minimum requirements for the machine type. If many networks exist, select *Add New Device* > *Network Adapter*, and then enter your network information in the fields provided by the *New Network* menu item.
58+
59+
. Complete the remaining configuration steps. On clicking the *Finish* button, you have completed the cloning operation.
60+
61+
. From the *Virtual Machines* tab, right-click on your VM and then select *Power* -> *Power On*.
62+
63+
.Next steps
64+
65+
* Continue to create more compute machines for your cluster.
5266
5367
ifeval::["{context}" == "installing-vsphere"]
5468
:!three-node-cluster:

0 commit comments

Comments
 (0)