Configure the NSX Edge to perform load balancing for vRealize Automation and vRealize Operations Manager when those applications are running in Region B.

Prerequisites

Ensure that SSL passthrough for vRealize Operations Manager is configured on the NSX Load balancer in Region A. See Configure SSL Passthrough for vRealize Operations Manager in the VMware Cloud Foundation Operations and Administration Guide.

Procedure

  1. In a Web browser, log in to vCenter Server by using the vSphere Client.
    Setting Value
    URL https://sfo01m01vc01.sfo01.rainpole.local/ui
    User name administrator@vsphere.local
    Password vsphere_admin_password
  2. Get the edge-id for the sfo01m01lb01 load balancer in Region A.
    1. In the Networking and security inventory, click NSX Edges.
    2. From the NSX Manager drop-down menu, select 172.16.11.65.
    3. Copy the ID listed in the ID field for the sfo01m01lb01 Edge device.
  3. Retrieve the load balancer configuration from the load balancer in Region A run by using a REST client to run the command.
    GET https://172.16.11.65/api/4.0/edges/edge-id/loadbalancer/config
    Sample load balancer configuration.
    <?xml version="1.0" encoding="UTF-8"?>
    <loadBalancer>
        <version>168</version>
        <enabled>true</enabled>
        <enableServiceInsertion>false</enableServiceInsertion>
        <accelerationEnabled>true</accelerationEnabled>
        <virtualServer>
            <virtualServerId>virtualServer-1</virtualServerId>
            <name>vrops-svr-443</name>
            <enabled>true</enabled>
            <ipAddress>192.168.11.35</ipAddress>
            <protocol>https</protocol>
            <port>443</port>
            <connectionLimit>0</connectionLimit>
            <defaultPoolId>pool-1</defaultPoolId>
            <applicationProfileId>applicationProfile-2</applicationProfileId>
            <enableServiceInsertion>false</enableServiceInsertion>
            <accelerationEnabled>true</accelerationEnabled>
        </virtualServer>
        <virtualServer>
            <virtualServerId>virtualServer-2</virtualServerId>
            <name>vrops-svr-80-redirect</name>
            <enabled>true</enabled>
            <ipAddress>192.168.11.35</ipAddress>
            <protocol>http</protocol>
            <port>80</port>
            <connectionLimit>0</connectionLimit>
            <applicationProfileId>applicationProfile-1</applicationProfileId>
            <enableServiceInsertion>false</enableServiceInsertion>
            <accelerationEnabled>true</accelerationEnabled>
        </virtualServer>
        <virtualServer>
            <virtualServerId>virtualServer-23</virtualServerId>
            <name>vra-svr-443</name>
            <description>vRealize Automation Appliance UI</description>
            <enabled>true</enabled>
            <ipAddress>192.168.11.53</ipAddress>
            <protocol>https</protocol>
            <port>443</port>
            <connectionLimit>0</connectionLimit>
            <defaultPoolId>pool-22</defaultPoolId>
            <applicationProfileId>applicationProfile-11</applicationProfileId>
            <enableServiceInsertion>false</enableServiceInsertion>
            <accelerationEnabled>false</accelerationEnabled>
        </virtualServer>
        <virtualServer>
            <virtualServerId>virtualServer-24</virtualServerId>
            <name>vra-svr-8444</name>
            <description>vRealize Automation Remote Console Proxy</description>
            <enabled>true</enabled>
            <ipAddress>192.168.11.53</ipAddress>
            <protocol>https</protocol>
            <port>8444</port>
            <connectionLimit>0</connectionLimit>
            <defaultPoolId>pool-23</defaultPoolId>
            <applicationProfileId>applicationProfile-11</applicationProfileId>
            <enableServiceInsertion>false</enableServiceInsertion>
            <accelerationEnabled>false</accelerationEnabled>
        </virtualServer>
        <virtualServer>
            <virtualServerId>virtualServer-25</virtualServerId>
            <name>vra-vro-8283</name>
            <description>vRealize Orchestrator Control Center</description>
            <enabled>true</enabled>
            <ipAddress>192.168.11.53</ipAddress>
            <protocol>https</protocol>
            <port>8283</port>
            <connectionLimit>0</connectionLimit>
            <defaultPoolId>pool-24</defaultPoolId>
            <applicationProfileId>applicationProfile-11</applicationProfileId>
            <enableServiceInsertion>false</enableServiceInsertion>
            <accelerationEnabled>false</accelerationEnabled>
        </virtualServer>
        <virtualServer>
            <virtualServerId>virtualServer-26</virtualServerId>
            <name>vra-iws-443</name>
            <description>vRealize Automation IaaS Web UI</description>
            <enabled>true</enabled>
            <ipAddress>192.168.11.56</ipAddress>
            <protocol>https</protocol>
            <port>443</port>
            <connectionLimit>0</connectionLimit>
            <defaultPoolId>pool-25</defaultPoolId>
            <applicationProfileId>applicationProfile-11</applicationProfileId>
            <enableServiceInsertion>false</enableServiceInsertion>
            <accelerationEnabled>false</accelerationEnabled>
        </virtualServer>
        <virtualServer>
            <virtualServerId>virtualServer-27</virtualServerId>
            <name>vra-ims-443</name>
            <description>vRealize Automation IaaS Manager</description>
            <enabled>true</enabled>
            <ipAddress>192.168.11.59</ipAddress>
            <protocol>https</protocol>
            <port>443</port>
            <connectionLimit>0</connectionLimit>
            <defaultPoolId>pool-26</defaultPoolId>
            <applicationProfileId>applicationProfile-12</applicationProfileId>
            <enableServiceInsertion>false</enableServiceInsertion>
            <accelerationEnabled>false</accelerationEnabled>
        </virtualServer>
        <pool>
            <poolId>pool-23</poolId>
            <name>vra-svr-8444</name>
            <algorithm>leastconn</algorithm>
            <transparent>false</transparent>
            <monitorId>monitor-23</monitorId>
            <member>
                <memberId>member-72</memberId>
                <ipAddress>192.168.11.51</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <port>8444</port>
                <maxConn>0</maxConn>
                <minConn>0</minConn>
                <condition>enabled</condition>
                <name>vra01svr01a</name>
            </member>
            <member>
                <memberId>member-73</memberId>
                <ipAddress>192.168.11.52</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <port>8444</port>
                <maxConn>0</maxConn>
                <minConn>0</minConn>
                <condition>enabled</condition>
                <name>vra01svr01b</name>
            </member>
            <member>
                <memberId>member-74</memberId>
                <ipAddress>192.168.11.50</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <port>8444</port>
                <maxConn>0</maxConn>
                <minConn>0</minConn>
                <condition>enabled</condition>
                <name>vra01svr01c</name>
            </member>
        </pool>
        <pool>
            <poolId>pool-24</poolId>
            <name>vra-vro-8283</name>
            <algorithm>leastconn</algorithm>
            <transparent>false</transparent>
            <monitorId>monitor-24</monitorId>
            <member>
                <memberId>member-75</memberId>
                <ipAddress>192.168.11.51</ipAddress>
                <weight>1</weight>
                <monitorPort>8283</monitorPort>
                <port>8283</port>
                <maxConn>0</maxConn>
                <minConn>0</minConn>
                <condition>enabled</condition>
                <name>vra01svr01a</name>
            </member>
            <member>
                <memberId>member-76</memberId>
                <ipAddress>192.168.11.52</ipAddress>
                <weight>1</weight>
                <monitorPort>8283</monitorPort>
                <port>8283</port>
                <maxConn>0</maxConn>
                <minConn>0</minConn>
                <condition>enabled</condition>
                <name>vra01svr01b</name>
            </member>
            <member>
                <memberId>member-77</memberId>
                <ipAddress>192.168.11.50</ipAddress>
                <weight>1</weight>
                <monitorPort>8283</monitorPort>
                <port>8283</port>
                <maxConn>0</maxConn>
                <minConn>0</minConn>
                <condition>enabled</condition>
                <name>vra01svr01c</name>
            </member>
        </pool>
        <pool>
            <poolId>pool-25</poolId>
            <name>vra-iws-443</name>
            <algorithm>leastconn</algorithm>
            <transparent>false</transparent>
            <monitorId>monitor-22</monitorId>
            <member>
                <memberId>member-78</memberId>
                <ipAddress>192.168.11.54</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <port>443</port>
                <maxConn>0</maxConn>
                <minConn>0</minConn>
                <condition>enabled</condition>
                <name>vra01iws01a</name>
            </member>
            <member>
                <memberId>member-79</memberId>
                <ipAddress>192.168.11.55</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <port>443</port>
                <maxConn>0</maxConn>
                <minConn>0</minConn>
                <condition>enabled</condition>
                <name>vra01iws01b</name>
            </member>
        </pool>
        <pool>
            <poolId>pool-26</poolId>
            <name>vra-ims-443</name>
            <algorithm>leastconn</algorithm>
            <transparent>false</transparent>
            <monitorId>monitor-21</monitorId>
            <member>
                <memberId>member-80</memberId>
                <ipAddress>192.168.11.57</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <port>443</port>
                <maxConn>0</maxConn>
                <minConn>0</minConn>
                <condition>enabled</condition>
                <name>vra01ims01a</name>
            </member>
            <member>
                <memberId>member-81</memberId>
                <ipAddress>192.168.11.58</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <port>443</port>
                <maxConn>0</maxConn>
                <minConn>0</minConn>
                <condition>enabled</condition>
                <name>vra01ims01b</name>
            </member>
        </pool>
        <pool>
            <poolId>pool-22</poolId>
            <name>vra-svr-443</name>
            <ipVersionFilter>any</ipVersionFilter>
            <algorithm>leastconn</algorithm>
            <transparent>false</transparent>
            <monitorId>monitor-23</monitorId>
            <member>
                <memberId>member-69</memberId>
                <ipAddress>192.168.11.51</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <maxConn>0</maxConn>
                <minConn>0</minConn>
                <condition>enabled</condition>
                <name>vra01svr01a</name>
            </member>
            <member>
                <memberId>member-82</memberId>
                <ipAddress>192.168.11.52</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <maxConn>0</maxConn>
                <minConn>0</minConn>
                <condition>enabled</condition>
                <name>vra01svr01b</name>
            </member>
            <member>
                <memberId>member-83</memberId>
                <ipAddress>192.168.11.50</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <maxConn>0</maxConn>
                <minConn>0</minConn>
                <condition>enabled</condition>
                <name>vra01svr01c</name>
            </member>
        </pool>
        <pool>
            <poolId>pool-1</poolId>
            <name>vrops-svr-443</name>
            <algorithm>leastconn</algorithm>
            <transparent>false</transparent>
            <monitorId>monitor-4</monitorId>
            <member>
                <memberId>member-84</memberId>
                <ipAddress>192.168.11.31</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <port>443</port>
                <maxConn>10</maxConn>
                <minConn>10</minConn>
                <condition>enabled</condition>
                <name>vrops01svr01a</name>
            </member>
            <member>
                <memberId>member-85</memberId>
                <ipAddress>192.168.11.32</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <port>443</port>
                <maxConn>10</maxConn>
                <minConn>10</minConn>
                <condition>enabled</condition>
                <name>vrops01svr01b</name>
            </member>
            <member>
                <memberId>member-86</memberId>
                <ipAddress>192.168.11.33</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <port>443</port>
                <maxConn>10</maxConn>
                <minConn>10</minConn>
                <condition>enabled</condition>
                <name>vrops01svr01c</name>
            </member>
            <member>
                <memberId>member-87</memberId>
                <ipAddress>192.168.11.34</ipAddress>
                <weight>1</weight>
                <monitorPort>443</monitorPort>
                <port>443</port>
                <maxConn>10</maxConn>
                <minConn>10</minConn>
                <condition>enabled</condition>
                <name>vrops01svr01d</name>
            </member>
        </pool>
        <applicationProfile>
            <applicationProfileId>applicationProfile-1</applicationProfileId>
            <persistence>
                <method>sourceip</method>
                <expire>1800</expire>
            </persistence>
            <name>vrops-http-redirect</name>
            <insertXForwardedFor>false</insertXForwardedFor>
            <sslPassthrough>false</sslPassthrough>
            <template>HTTP</template>
            <serverSslEnabled>false</serverSslEnabled>
            <httpRedirect>
                <to>https://192.168.11.35/vcops-web-ent/login.action</to>
            </httpRedirect>
        </applicationProfile>
        <applicationProfile>
            <applicationProfileId>applicationProfile-11</applicationProfileId>
            <persistence>
                <method>sourceip</method>
                <expire>1800</expire>
            </persistence>
            <name>vra-https-persist</name>
            <insertXForwardedFor>false</insertXForwardedFor>
            <sslPassthrough>true</sslPassthrough>
            <template>HTTPS</template>
            <serverSslEnabled>false</serverSslEnabled>
        </applicationProfile>
        <applicationProfile>
            <applicationProfileId>applicationProfile-12</applicationProfileId>
            <name>vra-https</name>
            <insertXForwardedFor>false</insertXForwardedFor>
            <sslPassthrough>true</sslPassthrough>
            <template>HTTPS</template>
            <serverSslEnabled>false</serverSslEnabled>
        </applicationProfile>
        <applicationProfile>
            <applicationProfileId>applicationProfile-2</applicationProfileId>
            <persistence>
                <method>sourceip</method>
                <expire>1800</expire>
            </persistence>
            <name>vrops-https</name>
            <insertXForwardedFor>false</insertXForwardedFor>
            <sslPassthrough>true</sslPassthrough>
            <template>HTTPS</template>
            <serverSslEnabled>false</serverSslEnabled>
        </applicationProfile>
        <monitor>
            <monitorId>monitor-1</monitorId>
            <type>tcp</type>
            <interval>5</interval>
            <timeout>15</timeout>
            <maxRetries>3</maxRetries>
            <name>default_tcp_monitor</name>
        </monitor>
        <monitor>
            <monitorId>monitor-2</monitorId>
            <type>http</type>
            <interval>5</interval>
            <timeout>15</timeout>
            <maxRetries>3</maxRetries>
            <method>GET</method>
            <url>/</url>
            <name>default_http_monitor</name>
        </monitor>
        <monitor>
            <monitorId>monitor-3</monitorId>
            <type>https</type>
            <interval>5</interval>
            <timeout>15</timeout>
            <maxRetries>3</maxRetries>
            <method>GET</method>
            <url>/</url>
            <name>default_https_monitor</name>
        </monitor>
        <monitor>
            <monitorId>monitor-4</monitorId>
            <type>https</type>
            <interval>5</interval>
            <timeout>16</timeout>
            <maxRetries>3</maxRetries>
            <method>GET</method>
            <url>/suite-api/api/deployment/node/status</url>
            <name>vrops-443-monitor</name>
            <receive>ONLINE</receive>
        </monitor>
        <monitor>
            <monitorId>monitor-21</monitorId>
            <type>https</type>
            <interval>3</interval>
            <timeout>10</timeout>
            <maxRetries>3</maxRetries>
            <method>GET</method>
            <url>/VMPSProvision</url>
            <name>vra-ims-443-monitor</name>
            <receive>ProvisionService</receive>
        </monitor>
        <monitor>
            <monitorId>monitor-22</monitorId>
            <type>https</type>
            <interval>3</interval>
            <timeout>10</timeout>
            <maxRetries>3</maxRetries>
            <method>GET</method>
            <url>/wapi/api/status/web</url>
            <name>vra-iws-443-monitor</name>
            <receive>REGISTERED</receive>
        </monitor>
        <monitor>
            <monitorId>monitor-23</monitorId>
            <type>https</type>
            <interval>3</interval>
            <timeout>10</timeout>
            <maxRetries>3</maxRetries>
            <method>GET</method>
            <url>/vcac/services/api/health</url>
            <expected>204</expected>
            <name>vra-svr-443-monitor</name>
        </monitor>
        <monitor>
            <monitorId>monitor-24</monitorId>
            <type>https</type>
            <interval>3</interval>
            <timeout>10</timeout>
            <maxRetries>3</maxRetries>
            <method>GET</method>
            <url>/vco-controlcenter/docs</url>
            <name>vra-vro-8283-monitor</name>
        </monitor>
        <logging>
            <enable>true</enable>
            <logLevel>info</logLevel>
        </logging>
    </loadBalancer>
  4. To later configure the load balancer in Region B, save the output to a file.
    1. Edit the file and remove the line that begins with <version>.
    2. Save the file.
  5. In a Web browser, log in to vCenter Server by using the vSphere Client.
    Settings Value
    URL https://lax01m01vc01.lax01.rainpole.local/ui
    User name administrator@vsphere.local
    Password vsphere_admin_password
  6. Get the edge-id for the lax01m01lb01 load balancer in Region A.
    1. In the Networking and security inventory, click NSX Edges.
    2. From the NSX Manager drop-down menu, select 172.17.11.65.
    3. Copy the ID listed in the ID field for the lax01m01lb01 Edge device.
  7. Use a REST client to configure the vRealize Edge load balancer in Region B.
    1. In a REST client, run the following command.
      PUT https://172.17.11.65/api/4.0/edges/edge-id/loadbalancer/config
    2. Paste the output that you saved in a file, from the load balancer configuration in Region A, in the body of the PUT request.
      You receive a status code of 204 No Content as confirmation the command was successful.