Skip to content

Commit 4e860cc

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

File tree

3 files changed

+143
-3
lines changed

3 files changed

+143
-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: 138 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 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,63 @@ 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 user has created the virtual machines, for example, `/<datacenter_name>/host/<cluster_name>/Resources/<resource_pool_name>/<optional_nested_resource_pool_name>`.
2717+
// 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.
2718+
// If you do not specify a value, resources are installed in the root of the cluster, for example `/example_datacenter/host/example_cluster/Resources`.
2719+
|String
2720+
2721+
|platform:
2722+
vsphere:
2723+
failureDomains:
2724+
topology:
2725+
folder:
2726+
|The absolute path of an existing folder where the user has created the virtual machines, for example, `/<datacenter_name>/vm/<folder_name>/<subfolder_name>`.
2727+
// 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.
2728+
// 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.
2729+
// 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.
2730+
|String
2731+
endif::agent[]
26452732

26462733
|platform:
26472734
vsphere:
@@ -2663,6 +2750,7 @@ Additional VMware vSphere configuration parameters are described in the followin
26632750
template:
26642751
|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.
26652752
|String
2753+
ifdef::vsphere[]
26662754

26672755
|platform:
26682756
vsphere:
@@ -2682,13 +2770,53 @@ Additional VMware vSphere configuration parameters are described in the followin
26822770
vcenters:
26832771
|Lists any fully-qualified hostname or IP address of a vCenter server.
26842772
|String
2773+
endif::vsphere[]
2774+
ifdef::agent[]
2775+
2776+
|platform:
2777+
vsphere:
2778+
vcenters:
2779+
|Configures the connection details for services to communicate with vCenter.
2780+
Currently only a single vCenter is supported.
2781+
|An array of vCenter configuration objects.
2782+
endif::agent[]
26852783

26862784
|platform:
26872785
vsphere:
26882786
vcenters:
26892787
datacenters:
26902788
|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.
26912789
|String
2790+
ifdef::agent[]
2791+
2792+
|platform:
2793+
vsphere:
2794+
vcenters:
2795+
password:
2796+
|The password associated with the vSphere user.
2797+
|String
2798+
2799+
|platform:
2800+
vsphere:
2801+
vcenters:
2802+
port:
2803+
|The port number used to communicate with the vCenter server.
2804+
|Integer
2805+
2806+
|platform:
2807+
vsphere:
2808+
vcenters:
2809+
server:
2810+
|The fully qualified host name (FQHN) or IP address of the vCenter server.
2811+
|String
2812+
2813+
|platform:
2814+
vsphere:
2815+
vcenters:
2816+
user:
2817+
|The username associated with the vSphere user.
2818+
|String
2819+
endif::agent[]
26922820
|====
26932821

26942822
[id="deprecated-parameters-vsphere_{context}"]
@@ -2702,6 +2830,7 @@ The following table lists each deprecated vSphere configuration parameter:
27022830
[cols=".^2l,.^4,.^2",options="header,word-wrap",subs="+quotes,+attributes"]
27032831
|====
27042832
|Parameter|Description|Values
2833+
ifdef::vsphere[]
27052834

27062835
|platform:
27072836
vsphere:
@@ -2710,6 +2839,7 @@ The following table lists each deprecated vSphere configuration parameter:
27102839

27112840
*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.
27122841
a|An IP address, for example `128.0.0.1`.
2842+
endif::vsphere[]
27132843

27142844
|platform:
27152845
vsphere:
@@ -2735,6 +2865,8 @@ a|An IP address, for example `128.0.0.1`.
27352865
|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.
27362866
|String, for example, `/<datacenter_name>/vm/<folder_name>/<subfolder_name>`.
27372867

2868+
ifdef::vsphere[]
2869+
27382870
|platform:
27392871
vsphere:
27402872
ingressVIP:
@@ -2748,6 +2880,7 @@ a|An IP address, for example `128.0.0.1`.
27482880
network:
27492881
|The network in the vCenter instance that contains the virtual IP addresses and DNS records that you configured.
27502882
|String
2883+
endif::vsphere[]
27512884

27522885
|platform:
27532886
vsphere:
@@ -2777,6 +2910,7 @@ in vSphere.
27772910
|String
27782911
|====
27792912

2913+
ifdef::vsphere[]
27802914
[id="installation-configuration-parameters-optional-vsphere_{context}"]
27812915
== Optional VMware vSphere machine pool configuration parameters
27822916

@@ -2819,6 +2953,7 @@ Optional VMware vSphere machine pool configuration parameters are described in t
28192953
|Integer
28202954
|====
28212955
endif::vsphere[]
2956+
endif::agent,vsphere[]
28222957

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

0 commit comments

Comments
 (0)