This section describes the steps to override standard ALB at SE Group level.

When setting up an Azure cloud, the Azure load balancing (ALB) type is chosen using the use_standard_alb option under the cloud configuration mode. Migrating an existing setup from the basic ALB to the standard ALB is challenging as it requires all the virtual services and Service Engines to be deleted and recreated. NSX Advanced Load Balancer supports overriding standard ALB through changes in the SE group configuration. This activates customers to migrate one SE group to standard ALB with fewer configuration changes.

Configuring Override Option for Standard ALB at SE Group Level

Follow the below steps to configure a SE group and the virtual service with the standard ALB flag override.

Note:

This configuration is supported only using NSX Advanced Load Balancer CLI and NSX Advanced Load Balancer REST API.

Configuring SE group

[admin:10-52-0-71]: > configure serviceenginegroup Default-Group

[admin:10-52-0-71]: serviceenginegroup> use_standard_alb

[admin:10-52-0-71]: serviceenginegroup> save

Creating Virtual Service

The virtual service creation includes the following two steps:

  1. Configuring virtual service IP address — The use_standard_alb flag needs to be set here too.

  2. Configuring virtual service.

To configuring virtual service IP address,

Login to the NSX Advanced Load Balancer CLI and use the configure vsvip <virtual service name> command for IP address assignment.

[admin:10-10-0-1]: > configure vsvip vsviptest

[admin:10-10-0-1]: vsvip> cloud_ref azure
[admin:10-10-0-1]: vsvip> use_standard_alb
[admin:10-10-0-1]: vsvip> vip
New object being created
[admin:10-10-0-1]: vsvip:vip> auto_allocate_ip
[admin:10-10-0-1]: vsvip:vip> subnet_uuid dev-subnet
[admin:10-10-0-1]: vsvip:vip> auto_allocate_ip_type v4_only

[admin:10-10-0-1]: vsvip> where
Tenant: admin
Cloud: Default-Cloud
+-------------------------+---------------+
| Field | Value |
+-------------------------+---------------+
| name | vsviptest |
| vip[1] | |
| subnet_uuid | dev-subnet |
| auto_allocate_ip | True |
| auto_allocate_ip_type | V4_ONLY |
| use_standard_alb | True |
| cloud_ref | azure |
+-------------------------+---------------+

To configure a virtual service,

Associate the virtual service IP address (configured in the previous step) and SE group with the virtual service. Login to the NSX Advanced Load Balancer CLI and use the configured virtual service <virtual service name> to perform the following steps:

[admin:10-52-0-71]: > configure virtualservice vstest

[admin:10-52-0-71]: virtualservice> cloud_ref azure

[admin:10-52-0-71]: virtualservice> se_group_ref Default-Group

[admin:10-52-0-71]: virtualservice> vsvip_ref vsviptest

Configure the remaining entities for example, pool, services etc.