Configure load balancing for the analytics cluster on the dedicated SFOMGMT-LB01 NSX Edge service gateway for Region A. Remote collector cluster for Region A does not require load balancing.

Verify that the NSX Manager for the management cluster has the management virtual application network for the analytics cluster configured.

Verify that the Load Balancer service is enabled on the NSX Edge service gateway.

1

Log in to vCenter Server by using the vSphere Web Client.

a

Open a Web browser and go to https://mgmt01vc01.sfo01.rainpole.local/vsphere-client.

b

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.16.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 SFOMGMT-LB01 NSX edge.

5

Configure the load balancing VIP address for analytics cluster.

a

On the Manage tab, click the Settings tab and click Interfaces.

b

Select the OneArmLB interface and click the Edit icon.

c

In the Edit NSX Edge Interface dialog box, click the Edit icon and in the Secondary IP Addresses text box enter the 192.168.11.35 VIP address.

d

Click OK to save the configuration.

6

Create an application profile.

a

On the Manage tab for the SFOMGMT-LB01 device, click the Load Balancer tab.

b

Click Application Profiles, and click the Add icon.

c

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

Client Authentication

Ignore


7

Create a service monitoring entry.

a

On the Load Balancer tab for the of the SFOMGMT-LB01 device, click Service Monitoring and click the Add icon.

b

In the New Service Monitor dialog box, configure the health check parameters using the following configuration settings, and click OK.

Setting

Value

Name

VROPS_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.

a

On the Load Balancer tab of the SFOMGMT-LB01 device, select Pools, and click the Add icon. 

b

In the New Pool dialog box, configure the load balancing profile using the following configuration settings. 

Setting

Value

Name

VROPS_POOL

Algorithm

LEASTCONN

Monitors

VROPS_MONITOR


c

Under Members, click the Add icon to add the pool members.

d

In the New Member dialog box, add one member for each node of the analytics cluster and click OK.

Setting

Value

Name

vrops-mstrn-01

vrops-repln-02

vrops-datan-03

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

e

In the New Pool dialog box, click OK.

9

Add a virtual server.

a

On the Load Balancer tab of the SFOMGMT-LB01 device, select Virtual Servers and click the Add icon. 

b

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_VIRTUAL_SERVER

IP Address

192.168.11.35

Click Select IP Address, select OneArmLB from the drop-down menu and select 192.168.11.35 IP for the virtual NIC.

Protocol

HTTPS

Port

443

Default Pool

VROPS_POOL

Connection Limit

0

Connection Rate Limit

0

You can connect to the analytics cluster at the public Virtual Server IP address over HTTPS at the https://vrops-cluster-01.rainpole.local address.

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. 

a

On the Load Balancer  tab of the SFOMGMT-LB01 device, select Application Profiles and click the Add icon.

b

In the New Profile dialog box, configure the application profile settings and click OK.

Setting

Value

Name

VROPS_REDIRECT

Type

HTTP

HTTP Redirect URL

https://vrops-cluster-01.rainpole.local/vcops-web-ent/login.action

Persistence

Source IP

Expires in (Seconds)

1800

c

On the Load Balancer tab of the SFOMGMT-LB01 device, select Virtual Servers and click the Add icon.

d

Configure the settings of the virtual server for HTTP redirects.

Setting

Value

Enable Virtual Server

Selected

Application Profile

VROPS_REDIRECT

Name

VROPS_REDIRECT

IP Address

192.168.11.35

Protocol

HTTP

Port

80

Default Pool

NONE

Connection Limit

0

Connection Rate Limit

0

You can connect to the analytics cluster at the public Virtual Server IP address over HTTP at the http://vrops-cluster-01.rainpole.local address.

11

Verify the pool configuration by examining the pool statistics that reflect the status of the components behind the load balancer.

a

Log out and log in again to the vSphere Web Client.

b

From the Home menu, select Networking & Security.

c

On the NSX Home page, click NSX Edges and select  172.16.11.65 from the NSX Manager drop-down menu at the top of the NSX Edges page.

d

On the NSX Edges page, double-click the SFOMGMT-LB01 NSX edge.

e

On the Manage tab, click the Load Balancer tab.

f

Select Pools and click Show Pool Statistics.

g

In the Pool and Member Status dialog box, select the VROPS_POOL pool.

Verify that the load balancer pool is up.