To provide load balancing services for the VMware Aria Suite components and the clustered Workspace ONE Access instance, you create and configure load balancing services for the recovery VMware Cloud Foundation instance. The PowerShell procedure gathers all required load balancing service settings from the protected instance and creates a fully configured standby load balancer in the recovery instance, including the standalone NSX Tier-1 gateway, the load balancer service, all service monitors, application profiles, server pools, and virtual servers. To avoid IP conflicts with the load balancer in the protected region, the load balancer in the recovery instance is in a disconnected state.
PowerShell Procedure
-
Start 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.
$sddcManagerAFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerAUser = "[email protected]" $sddcManagerAPass = "VMw@re1!" $sddcManagerBFqdn = "lax-vcf01.lax.rainpole.io" $sddcManagerBUser = "[email protected]" $sddcManagerBPass = "VMw@re1!" $serviceInterfaceIp = "192.168.11.3" $wsaCertName = "xint-wsa"
-
Perform the configuration by running the command in the PowerShell console.
Copy-vRealizeLoadBalancer -sddcManagerAFQDN $sddcManagerAFqdn -sddcManagerAUser $sddcManagerAUser -sddcManagerAPassword $sddcManagerAPass -sddcManagerBFQDN $sddcManagerBFQDN -sddcManagerBUser $sddcManagerBUser -sddcManagerBPassword $sddcManagerBPass -serviceInterfaceIP $serviceInterfaceIP -wsaCertName $wsaCertName
UI Procedure
As an alternative to the automated PowerShell method, you can follow the manual guidance to create a fully configured standby load balancer in the recovery VMware Cloud Foundation instance.