Skip to content

Commit 78cdfa4

Browse files
author
Bob Furu
authored
Merge pull request #33371 from bobfuru/BZ1970130
2 parents 5b83742 + 65862a7 commit 78cdfa4

File tree

3 files changed

+22
-9
lines changed

3 files changed

+22
-9
lines changed

modules/installation-vsphere-machines.adoc

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,30 +62,29 @@ endif::openshift-origin[]
6262
.. Click the *VMs and Templates* view.
6363
.. Right-click the name of your datacenter.
6464
.. Click *New Folder* -> *New VM and Template Folder*.
65-
.. In the window that is displayed, enter the folder name. If you did not specify an existing folder in the `install-config.yaml` file, then create a folder with the same name as the infrastructure ID.
65+
.. In the window that is displayed, enter the folder name. If you did not specify an existing folder in the `install-config.yaml` file, create a folder with the same name as the infrastructure ID.
6666

67-
. In the vSphere Client, create a template for the OVA image.
67+
. In the vSphere Client, create a template for the OVA image and then clone the template as needed.
6868
+
6969
[NOTE]
7070
====
71-
In the following steps, you use the same template for all of your cluster machines and provide the location for the Ignition config file for that machine type when you provision the VMs.
71+
In the following steps, you create a template and then clone the template for all of your cluster machines. You then provide the location for the Ignition config file for that cloned machine type when you provision the VMs.
7272
====
7373
.. From the *Hosts and Clusters* tab, right-click your cluster name and select *Deploy OVF Template*.
7474
.. On the *Select an OVF* tab, specify the name of the {op-system} OVA file that you downloaded.
75-
.. On the *Select a name and folder* tab, set a *Virtual machine name*, such as {op-system}. Click the name of your vSphere cluster and select the folder you created in the previous step.
75+
.. On the *Select a name and folder* tab, set a *Virtual machine name* for your template, such as `Template-{op-system}`. Click the name of your vSphere cluster and select the folder you created in the previous step.
7676
.. On the *Select a compute resource* tab, click the name of your vSphere cluster.
7777
.. On the *Select storage* tab, configure the storage options for your VM.
7878
*** Select *Thin Provision* or *Thick Provision*, based on your storage preferences.
7979
*** Select the datastore that you specified in your `install-config.yaml` file.
8080
.. On the *Select network* tab, specify the network that you configured for the cluster, if available.
81-
.. If you plan to use the same template for all cluster machine types, do not specify values on the *Customize template* tab.
81+
.. When creating the OVF template, do not specify values on the *Customize template* tab or configure the template any further.
8282
+
8383
[IMPORTANT]
8484
====
85-
If you plan to add more compute machines to your cluster after you finish
86-
installation, do not delete this template.
85+
Do not start the original VM template. The VM template must remain off and must be cloned for new {op-system} machines. Starting the VM template configures the VM template as a VM on the platform, which prevents it from being used as a template that machine sets can apply configurations to.
86+
//This admonition note also appears in `modules/installation-vsphere-machines.adoc` and `modules/windows-machineset-vsphere.adoc`.
8787
====
88-
8988
. After the template deploys, deploy a VM for a machine in the cluster.
9089
.. Right-click the template name and click *Clone* -> *Clone to Virtual Machine*.
9190
.. 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 `control-plane-0` or `compute-1`.

modules/machineset-yaml-vsphere.adoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,14 @@ $ oc get -o jsonpath='{.status.infrastructureName}{"\n"}' infrastructure cluster
7575
<2> Specify the infrastructure ID and node label.
7676
<3> Specify the node label to add.
7777
<4> Specify the vSphere VM network to deploy the machine set to.
78-
<5> Specify the vSphere VM template to use, such as `user-5ddjd-rhcos`.
78+
<5> Specify the vSphere VM clone of the template to use, such as `user-5ddjd-rhcos`.
79+
+
80+
[IMPORTANT]
81+
====
82+
Do not specify the original VM template. The VM template must remain off and must be cloned for new {op-system} machines. Starting the VM template configures the VM template as a VM on the platform, which prevents it from being used as a template that machine sets can apply configurations to.
83+
//This admonition note also appears in `modules/installation-vsphere-machines.adoc` and `modules/windows-machineset-vsphere.adoc`.
84+
====
85+
+
7986
<6> Specify the vCenter Datacenter to deploy the machine set on.
8087
<7> Specify the vCenter Datastore to deploy the machine set on.
8188
<8> Specify the path to the vSphere VM folder in vCenter, such as `/dc1/vm/user-inst-5ddjd`.

modules/windows-machineset-vsphere.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,13 @@ $ oc get -o jsonpath='{.status.infrastructureName}{"\n"}' infrastructure cluster
6969
<4> Configure the Windows node as a compute machine.
7070
<5> Specify the vSphere VM network to deploy the machine set to.
7171
<6> Specify the full path of the Windows vSphere VM template to use, such as `/Datacenter/vm/ocp4-llplx/windows-golden-image`. The name must be unique.
72+
+
73+
[IMPORTANT]
74+
====
75+
Do not specify the original VM template. The VM template must remain off and must be cloned for new {op-system} machines. Starting the VM template configures the VM template as a VM on the platform, which prevents it from being used as a template that machine sets can apply configurations to.
76+
//This admonition note also appears in `modules/installation-vsphere-machines.adoc`.
77+
====
78+
+
7279
<7> The `windows-user-data` is created by the WMCO when the first Windows machine is configured. After that, the `windows-user-data` is available for all subsequent machine sets to consume.
7380
<8> Specify the vCenter Datacenter to deploy the machine set on.
7481
<9> Specify the vCenter Datastore to deploy the machine set on.

0 commit comments

Comments
 (0)