Skip to content

Commit 33cd8a0

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

File tree

3 files changed

+141
-3
lines changed

3 files changed

+141
-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: 136 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. When providing additional configuration settings for compute and control plane machines in the machine pool, the parameter is optional. 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 vCenter configuration objects.
2652+
2653+
|platform:
2654+
vsphere:
2655+
failureDomains:
2656+
name:
2657+
|The name of the vCenter server.
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,61 @@ 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+
|Optional. The absolute path of an existing resource pool where the installation program creates the virtual machines, for example, `/<datacenter_name>/host/<cluster_name>/Resources/<resource_pool_name>/<optional_nested_resource_pool_name>`.
2717+
If you do not specify a value, resources are installed in the root of the cluster, for example `/example_datacenter/host/example_cluster/Resources`.
2718+
|String
2719+
2720+
|platform:
2721+
vsphere:
2722+
failureDomains:
2723+
topology:
2724+
folder:
2725+
|Optional. The absolute path of an existing folder where the installation program creates the virtual machines, for example, `/<datacenter_name>/vm/<folder_name>/<subfolder_name>`.
2726+
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.
2727+
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.
2728+
|String
2729+
endif::agent[]
26452730

26462731
|platform:
26472732
vsphere:
@@ -2663,6 +2748,7 @@ Additional VMware vSphere configuration parameters are described in the followin
26632748
template:
26642749
|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.
26652750
|String
2751+
ifdef::vsphere[]
26662752

26672753
|platform:
26682754
vsphere:
@@ -2682,13 +2768,53 @@ Additional VMware vSphere configuration parameters are described in the followin
26822768
vcenters:
26832769
|Lists any fully-qualified hostname or IP address of a vCenter server.
26842770
|String
2771+
endif::vsphere[]
2772+
ifdef::agent[]
2773+
2774+
|platform:
2775+
vsphere:
2776+
vcenters:
2777+
|Configures the connection details for services to communicate with vCenter.
2778+
Currently only a single vCenter is supported.
2779+
|An array of vCenter configuration objects.
2780+
endif::agent[]
26852781

26862782
|platform:
26872783
vsphere:
26882784
vcenters:
26892785
datacenters:
26902786
|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.
26912787
|String
2788+
ifdef::agent[]
2789+
2790+
|platform:
2791+
vsphere:
2792+
vcenters:
2793+
password:
2794+
|The password associated with the vSphere user.
2795+
|String
2796+
2797+
|platform:
2798+
vsphere:
2799+
vcenters:
2800+
port:
2801+
|The port number used to communicate with the vCenter server.
2802+
|Integer
2803+
2804+
|platform:
2805+
vsphere:
2806+
vcenters:
2807+
server:
2808+
|The fully qualified host name (FQHN) or IP address of the vCenter server.
2809+
|String
2810+
2811+
|platform:
2812+
vsphere:
2813+
vcenters:
2814+
user:
2815+
|The username associated with the vSphere user.
2816+
|String
2817+
endif::agent[]
26922818
|====
26932819

26942820
[id="deprecated-parameters-vsphere_{context}"]
@@ -2702,6 +2828,7 @@ The following table lists each deprecated vSphere configuration parameter:
27022828
[cols=".^2l,.^4,.^2",options="header,word-wrap",subs="+quotes,+attributes"]
27032829
|====
27042830
|Parameter|Description|Values
2831+
ifdef::vsphere[]
27052832

27062833
|platform:
27072834
vsphere:
@@ -2710,6 +2837,7 @@ The following table lists each deprecated vSphere configuration parameter:
27102837

27112838
*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.
27122839
a|An IP address, for example `128.0.0.1`.
2840+
endif::vsphere[]
27132841

27142842
|platform:
27152843
vsphere:
@@ -2735,6 +2863,8 @@ a|An IP address, for example `128.0.0.1`.
27352863
|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.
27362864
|String, for example, `/<datacenter_name>/vm/<folder_name>/<subfolder_name>`.
27372865

2866+
ifdef::vsphere[]
2867+
27382868
|platform:
27392869
vsphere:
27402870
ingressVIP:
@@ -2748,6 +2878,7 @@ a|An IP address, for example `128.0.0.1`.
27482878
network:
27492879
|The network in the vCenter instance that contains the virtual IP addresses and DNS records that you configured.
27502880
|String
2881+
endif::vsphere[]
27512882

27522883
|platform:
27532884
vsphere:
@@ -2777,6 +2908,7 @@ in vSphere.
27772908
|String
27782909
|====
27792910

2911+
ifdef::vsphere[]
27802912
[id="installation-configuration-parameters-optional-vsphere_{context}"]
27812913
== Optional VMware vSphere machine pool configuration parameters
27822914

@@ -2819,6 +2951,7 @@ Optional VMware vSphere machine pool configuration parameters are described in t
28192951
|Integer
28202952
|====
28212953
endif::vsphere[]
2954+
endif::agent,vsphere[]
28222955

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

0 commit comments

Comments
 (0)