Configure load balancing for the analytics cluster on the dedicated NSX Edge services gateway for Region B. Load balancing must be available if a failover of the analytics cluster from Region A occurs.

The remote collector cluster for Region B does not require load balancing.

Procedure

  1. Log in to vCenter Server by using the vSphere Web Client.
    1. Open a Web browser and go to https://lax01m01vc01.lax01.rainpole.local/vsphere-client.
    2. Log in using the following credentials.
      Setting Value
      User name administrator@vsphere.local
      Password vsphere_admin_password
  2. From the Home menu, select Networking & Security.
    The vSphere Web Client displays the NSX Home page.
  3. On the NSX Home page, click NSX Edges and select 172.17.11.65 from the NSX Manager drop-down menu at the top of the NSX Edges page.
  4. On the NSX Edges page, double-click the lax01m01lb01 NSX Edge.
  5. Configure the load balancing VIP address for the analytics cluster.
    1. On the Manage tab, click the Settings tab and click Interfaces.
    2. Select the interface OneArmLB and click the Edit.
    3. In the Edit NSX Edge Interface dialog box, click the Edit and in the Secondary IP Addresses text box enter the 192.168.11.35 VIP address.
    4. Click OK to save the configuration. 
  6. Create an application profile.
    1. On the Manage tab of the lax01m01lb01 device, click the Load Balancer tab.
    2. Click Application Profiles, and click Add.
    3. In the New Profile dialog box, configure the profile using the following configuration settings, and click OK.
      Setting Value
      Name vrops-https
      Type HTTPS
      Enable SSL Passthrough Selected
      Persistence Source IP
      Expires in (Seconds) 1800
  7. Create a service monitoring entry.
    1. On the Load Balancer tab of the lax01m01lb01 device, click Service Monitoring and click Add.
    2. In the New Service Monitor dialog box, configure the health check parameters using the following configuration settings, and click OK.
      Setting Value
      Name vrops-443-monitor
      Interval 3
      Timeout 5
      Max Retries 2
      Type HTTPS
      Method GET
      URL /suite-api/api/deployment/node/status
      Receive ONLINE (must be upper case)
  8. Add a server pool. 
    1. On the Load Balancer tab of the lax01m01lb01 device, select Pools, and click Add
    2. In the New Pool dialog box, configure the load balancing profile using the following configuration settings.
      Setting Value
      Name vrops-svr-443
      Algorithm LEASTCONN
      Monitors vrops-443-monitor
    3. Under Members, click Add to add the pool members.
    4. In the New Member dialog box, add one member for each node of the analytics cluster and click OK.
      Setting Value
      Name
      • vrops01svr01a
      • vrops01svr01b
      • vrops01svr01c
      IP Address
      • 192.168.11.31
      • 192.168.11.32
      • 192.168.11.33
      State Enable
      Port 443
      Monitor Port 443
      Weight 1
      Max Connections 8
      Min Connections 8
    5. In the New Pool dialog box, click OK.
  9. Add a virtual server.
    1. On the Load Balancer tab of the lax01m01lb01 device, select Virtual Servers and click Add
    2. In the New Virtual Server dialog box, configure the settings of the virtual server for the analytics cluster and click OK.
      Setting Value
      Enable Virtual Server Selected
      Application Profile vrops-https
      Name vrops-svr-443
      Description vRealize Operations Manager Cluster
      IP Address 192.168.11.35
      Protocol HTTPS
      Port 443
      Default Pool vrops-svr-443
      Connection Limit 0
      Connection Rate Limit 0
  10. Configure auto-redirect from HTTP to HTTPS requests.
    The NSX Edge can redirect users from HTTP to HTTPS without entering another URL in the browser.
    1. On the Load Balancer tab of the lax01m01lb01 device, select Application Profiles and click Add.
    2. In the New Profile dialog box, configure the application profile settings and click OK.
      Setting Value
      Name vrops-http-redirect
      Type HTTP
      HTTP Redirect URL https://vrops01svr01.rainpole.local/vcops-web-ent/login.action
      Persistence Source IP
      Expires in (Seconds) 1800
    3. On the Load Balancer tab of the lax01m01lb01 device, select Virtual Servers and click Add.
    4. Configure the settings of the virtual server for HTTP redirects and click OK.
      Setting Value
      Enable Virtual Server Selected
      Application Profile vrops-http-redirect
      Name vrops-svr-80-redirect
      Description HTTP Redirect for vRealize Operations Manager
      IP Address 192.168.11.35
      Protocol HTTP
      Port 80
      Default Pool None
      Connection Limit 0
      Connection Rate Limit 0