To activate orchestration, management, and provisioning of workloads, you configure the connection to the VI workload domain vCenter Server instance by running the necessary workflows in vRealize Orchestrator.
UI Procedure
- Log in to the vRealize Automation cloud services console at https://<vra_cluster_fqdn>/csp/gateway/portal with a user assigned the Orchestrator administrator service role.
On the main navigation bar, click Services.
Under My services, click Orchestrator.
On the main navigation bar, click the Embedded-vRO tab.
In the left pane, select
.On the Workflows page, in the Filter text box, enter Add a vCenter Server instance and press Enter.
In the Add a vCenter Server instance workflow card, click Run.
-
On the Set the vCenter Server instance properties tab, enter the FQDN of the VI workload domain vCenter Server, and configure the following settings.
Setting
Value
HTTPS port of the vCenter Server instance
443
Location of SDK that you use to connect
/sdk
Do you want to ignore certificate warnings
Deselected
Click the Set connection properties tab, deselect the Do you want to use a session per user method to manage user access to the vCenter Server system? check-box, and enter the integration service account credentials according to your values in the VMware Cloud Foundation Planning and Preparation Workbook.
Click Run.
- In the Waiting for input: "Add a vCenter Server instance" panel that appears at the top, click Answer.
- In the Input request: Add a vCenter Server instance dialog box, click Answer.
Repeat the procedure for each VI workload domain vCenter Server in each VMware Cloud Foundation instance.
PowerShell Procedure
-
Start Windows PowerShell.
-
Replace the values in the sample code with values from your VMware Cloud Foundation Planning and Preparation Workbook and run the commands in the PowerShell console.
$sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerUser = "administrator@vsphere.local" $sddcManagerPass = "VMw@re1!" $sddcDomainName = "sfo-w01" $vraUser = "configadmin" $vraPass = "VMw@re1!" $vcUser = "svc-vro-vsphere@rainpole.io" $vcPass = "VMw@re1!"
-
Perform the configuration by running the command in the PowerShell console.
Add-vROvCenterServer -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -domain $sddcDomainName -vraUser $vraUser -vraPass $vraPass -vcUser $vcUser -vcPass $vcPass
What to do next
vRealize Orchestrator uses Administrator privileges to register a vCenter Server instance with vRealize Orchestrator. After the addition of the VI workload domains, you can update and reduce the privileges for the custom role.