Skip to content

Commit 71c0210

Browse files
committed
OSDOCS-9001: Adding vsphere credentials to agent
1 parent 891dd87 commit 71c0210

File tree

3 files changed

+145
-3
lines changed

3 files changed

+145
-3
lines changed

installing/installing_with_agent_based_installer/installation-config-parameters-agent.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ include::modules/installation-configuration-parameters.adoc[leveloffset=+1]
1414
[role="_additional-resources"]
1515
.Additional resources
1616
* xref:../../installing/installing_bare_metal_ipi/ipi-install-installation-workflow.adoc#bmc-addressing_ipi-install-installation-workflow[BMC addressing]
17+
* xref:../../installing/installing_vsphere/ipi/installing-vsphere-installer-provisioned-customizations.adoc#configuring-vsphere-regions-zones_installing-vsphere-installer-provisioned-customizations[Configuring regions and zones for a VMware vCenter]
1718
1819
include::modules/agent-configuration-parameters.adoc[leveloffset=+1]
1920

installing/installing_with_agent_based_installer/installing-with-agent-based-installer.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ include::modules/installing-ocp-agent-download.adoc[leveloffset=+2]
2828
// Creating the preferred configuration inputs
2929
include::modules/installing-ocp-agent-inputs.adoc[leveloffset=+2]
3030

31+
[role="_additional-resources"]
32+
.Additional resources
33+
* xref:../../installing/installing_vsphere/ipi/installing-vsphere-installer-provisioned-customizations.adoc#configuring-vsphere-regions-zones_installing-vsphere-installer-provisioned-customizations[Configuring regions and zones for a VMware vCenter]
34+
3135
[id="installing-ocp-agent-opt-manifests_{context}"]
3236
=== Optional: Creating additional manifest files
3337

modules/installation-configuration-parameters.adoc

Lines changed: 140 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2603,17 +2603,24 @@ Valid names include:
26032603
--
26042604
endif::ibm-cloud[]
26052605

2606-
ifdef::vsphere[]
2607-
2606+
ifdef::agent,vsphere[]
26082607
[id="installation-configuration-parameters-additional-vsphere_{context}"]
26092608
== Additional VMware vSphere configuration parameters
26102609

26112610
Additional VMware vSphere configuration parameters are described in the following table:
26122611

26132612
.Additional VMware vSphere cluster parameters
2614-
[cols=".^2l,.^4,.^2",options="header,word-wrap",subs="+quotes,+attributes"]
2613+
[cols=".^2l,.^3a,.^3",options="header,word-wrap",subs="+quotes,+attributes"]
26152614
|====
26162615
|Parameter|Description|Values
2616+
ifdef::agent[]
2617+
2618+
|platform:
2619+
vsphere:
2620+
| Describes your account on the cloud platform that hosts your cluster. You can use the parameter to customize the platform. If you provide additional configuration settings for compute and control plane machines in the machine pool, the parameter is not required. You can only specify one vCenter server for your {product-title} cluster.
2621+
|A dictionary of vSphere configuration objects
2622+
endif::agent[]
2623+
ifdef::vsphere[]
26172624

26182625
|platform:
26192626
vsphere:
@@ -2634,6 +2641,29 @@ Additional VMware vSphere configuration parameters are described in the followin
26342641
failureDomains:
26352642
|Establishes the relationships between a region and zone. You define a failure domain by using vCenter objects, such as a `datastore` object. A failure domain defines the vCenter location for {product-title} cluster nodes.
26362643
|String
2644+
endif::vsphere[]
2645+
ifdef::agent[]
2646+
2647+
|platform:
2648+
vsphere:
2649+
failureDomains:
2650+
|Establishes the relationships between a region and zone. You define a failure domain by using vCenter objects, such as a `datastore` object. A failure domain defines the vCenter location for {product-title} cluster nodes.
2651+
|An array of failure domain configuration objects.
2652+
2653+
|platform:
2654+
vsphere:
2655+
failureDomains:
2656+
name:
2657+
|The name of the failure domain.
2658+
|String
2659+
2660+
|platform:
2661+
vsphere:
2662+
failureDomains:
2663+
server:
2664+
|The fully qualified domain name (FQDN) of the vCenter server.
2665+
|An FQDN such as example.com
2666+
endif::agent[]
26372667

26382668
|platform:
26392669
vsphere:
@@ -2642,6 +2672,65 @@ Additional VMware vSphere configuration parameters are described in the followin
26422672
networks:
26432673
|Lists any network in the vCenter instance that contains the virtual IP addresses and DNS records that you configured.
26442674
|String
2675+
ifdef::agent[]
2676+
2677+
|platform:
2678+
vsphere:
2679+
failureDomains:
2680+
topology:
2681+
computeCluster:
2682+
|The path to the vSphere compute cluster.
2683+
|String
2684+
2685+
|platform:
2686+
vsphere:
2687+
failureDomains:
2688+
topology:
2689+
datacenter:
2690+
|Lists and defines the datacenters where {product-title} virtual machines (VMs) operate.
2691+
The list of datacenters must match the list of datacenters specified in the `vcenters` field.
2692+
|String
2693+
2694+
|platform:
2695+
vsphere:
2696+
failureDomains:
2697+
topology:
2698+
datastore:
2699+
|The path to the vSphere datastore that holds virtual machine files, templates, and ISO images.
2700+
[IMPORTANT]
2701+
====
2702+
You can specify the path of any datastore that exists in a datastore cluster.
2703+
By default, Storage vMotion is automatically enabled for a datastore cluster.
2704+
Red{nbsp}Hat does not support Storage vMotion, so you must disable Storage vMotion to avoid data loss issues for your {product-title} cluster.
2705+
2706+
If you must specify VMs across multiple datastores, use a `datastore` object to specify a failure domain in your cluster's `install-config.yaml` configuration file.
2707+
For more information, see "VMware vSphere region and zone enablement".
2708+
====
2709+
|String
2710+
2711+
|platform:
2712+
vsphere:
2713+
failureDomains:
2714+
topology:
2715+
resourcePool:
2716+
// When this content is added to vSphere docs, the line below should likely say "where the installation program creates the virtual machines".
2717+
|Optional: The absolute path of an existing resource pool where the user creates the virtual machines, for example, `/<datacenter_name>/host/<cluster_name>/Resources/<resource_pool_name>/<optional_nested_resource_pool_name>`.
2718+
// Commenting out the line below because it doesn't apply to Agent, but it may be needed when this content is brought into the regular vSphere docs.
2719+
// If you do not specify a value, resources are installed in the root of the cluster, for example `/example_datacenter/host/example_cluster/Resources`.
2720+
|String
2721+
2722+
|platform:
2723+
vsphere:
2724+
failureDomains:
2725+
topology:
2726+
folder:
2727+
// When this content is added to vSphere docs, the line below should likely say "where the installation program creates the virtual machines", and should be Optional.
2728+
|The absolute path of an existing folder where the user creates the virtual machines, for example, `/<datacenter_name>/vm/<folder_name>/<subfolder_name>`.
2729+
// Commenting out the two lines below because they don't apply to Agent, but they may be needed when this content is brought into the regular vSphere docs.
2730+
// If you do not provide this value, the installation program creates a top-level folder in the datacenter virtual machine folder that is named with the infrastructure ID.
2731+
// If you are providing the infrastructure for the cluster and you do not want to use the default `StorageClass` object, named `thin`, you can omit the `folder` parameter from the `install-config.yaml` file.
2732+
|String
2733+
endif::agent[]
26452734

26462735
|platform:
26472736
vsphere:
@@ -2663,6 +2752,7 @@ Additional VMware vSphere configuration parameters are described in the followin
26632752
template:
26642753
|Specify the absolute path to a pre-existing {op-system-first} image template or virtual machine. The installation program can use the image template or virtual machine to quickly install {op-system} on vSphere hosts. Consider using this parameter as an alternative to uploading an {op-system} image on vSphere hosts. The parameter is available for use only on installer-provisioned infrastructure.
26652754
|String
2755+
ifdef::vsphere[]
26662756

26672757
|platform:
26682758
vsphere:
@@ -2682,13 +2772,53 @@ Additional VMware vSphere configuration parameters are described in the followin
26822772
vcenters:
26832773
|Lists any fully-qualified hostname or IP address of a vCenter server.
26842774
|String
2775+
endif::vsphere[]
2776+
ifdef::agent[]
2777+
2778+
|platform:
2779+
vsphere:
2780+
vcenters:
2781+
|Configures the connection details so that services can communicate with vCenter.
2782+
Currently, only a single vCenter is supported.
2783+
|An array of vCenter configuration objects.
2784+
endif::agent[]
26852785

26862786
|platform:
26872787
vsphere:
26882788
vcenters:
26892789
datacenters:
26902790
|Lists and defines the datacenters where {product-title} virtual machines (VMs) operate. The list of datacenters must match the list of datacenters specified in the `failureDomains` field.
26912791
|String
2792+
ifdef::agent[]
2793+
2794+
|platform:
2795+
vsphere:
2796+
vcenters:
2797+
password:
2798+
|The password associated with the vSphere user.
2799+
|String
2800+
2801+
|platform:
2802+
vsphere:
2803+
vcenters:
2804+
port:
2805+
|The port number used to communicate with the vCenter server.
2806+
|Integer
2807+
2808+
|platform:
2809+
vsphere:
2810+
vcenters:
2811+
server:
2812+
|The fully qualified host name (FQHN) or IP address of the vCenter server.
2813+
|String
2814+
2815+
|platform:
2816+
vsphere:
2817+
vcenters:
2818+
user:
2819+
|The username associated with the vSphere user.
2820+
|String
2821+
endif::agent[]
26922822
|====
26932823

26942824
[id="deprecated-parameters-vsphere_{context}"]
@@ -2702,6 +2832,7 @@ The following table lists each deprecated vSphere configuration parameter:
27022832
[cols=".^2l,.^4,.^2",options="header,word-wrap",subs="+quotes,+attributes"]
27032833
|====
27042834
|Parameter|Description|Values
2835+
ifdef::vsphere[]
27052836

27062837
|platform:
27072838
vsphere:
@@ -2710,6 +2841,7 @@ The following table lists each deprecated vSphere configuration parameter:
27102841

27112842
*Note:* In {product-title} 4.12 and later, the `apiVIP` configuration setting is deprecated. Instead, use a `List` format to enter a value in the `apiVIPs` configuration setting.
27122843
a|An IP address, for example `128.0.0.1`.
2844+
endif::vsphere[]
27132845

27142846
|platform:
27152847
vsphere:
@@ -2735,6 +2867,8 @@ a|An IP address, for example `128.0.0.1`.
27352867
|Optional. The absolute path of an existing folder where the installation program creates the virtual machines. If you do not provide this value, the installation program creates a folder that is named with the infrastructure ID in the data center virtual machine folder.
27362868
|String, for example, `/<datacenter_name>/vm/<folder_name>/<subfolder_name>`.
27372869

2870+
ifdef::vsphere[]
2871+
27382872
|platform:
27392873
vsphere:
27402874
ingressVIP:
@@ -2748,6 +2882,7 @@ a|An IP address, for example `128.0.0.1`.
27482882
network:
27492883
|The network in the vCenter instance that contains the virtual IP addresses and DNS records that you configured.
27502884
|String
2885+
endif::vsphere[]
27512886

27522887
|platform:
27532888
vsphere:
@@ -2777,6 +2912,7 @@ in vSphere.
27772912
|String
27782913
|====
27792914

2915+
ifdef::vsphere[]
27802916
[id="installation-configuration-parameters-optional-vsphere_{context}"]
27812917
== Optional VMware vSphere machine pool configuration parameters
27822918

@@ -2819,6 +2955,7 @@ Optional VMware vSphere machine pool configuration parameters are described in t
28192955
|Integer
28202956
|====
28212957
endif::vsphere[]
2958+
endif::agent,vsphere[]
28222959

28232960
ifdef::ash[]
28242961
[id="installation-configuration-parameters-additional-azure-stack-hub_{context}"]

0 commit comments

Comments
 (0)