In the Multi-site High Availability (MSHA) console, you can add Classic Load Balancer (CLB) instances manually or by direct synchronization. You can add these instances to central units and regular units.
Prerequisites
You have created an instance. For more information, see Create an instance.
You have created a TCP listener on port 80 in the Server Load Balancer (SLB) console. For more information, see Add a TCP listener and Configure a load balancer instance.
Procedure
Log on to the MSHA console.
In the left-side navigation pane, choose .
The CLB page displays information about the CLB instances in each unit.
Click the target unit, and then add a CLB instance in one of the following ways:
Click Add CLB in the upper-right corner, configure the parameters for the new CLB instance, and then click OK.
Parameter
Description
Example
load balancer ID
The ID of the load balancer instance.
lb-bp12qubikxxxx
name
The name of the load balancer instance.
tenxxxx_pub_slb
service address
The public or private IP address of the load balancer instance.
121.40.XX.XX
address type
The address type. Valid values: public network and private network.
public network
network type
The network type. Valid values: VPC and Classic Network.
Classic Network
VPC ID
The ID of the VPC. This parameter is required if network type is set to VPC.
vpc-bp1idxqboudxxxx
vSwitch ID
The ID of the vSwitch.
vsw-m5ec87df22xxxx
extended attributes
The extended attributes in
key:valueformat. Enter one attribute per line.cpu:1
mem:24
Click Sync CLB, select the instances, and then click OK.