Add on-premises servers to the vServer group
Overview
This topic describes how to create a vServer group and then add on-premises servers to the vServer group. A vServer group is a group of Elastic Compute Service (ECS) instances or on-premises servers. If you associate a vServer group with a listener, the listener distributes requests only to backend servers in the vServer group.
Prerequisites
Before you create a vServer group, make sure that applications are deployed on the on-premises servers and the servers are ready to receive requests.
Procedure
- On the SLB management console interface, select the target SLB instance, click the instance to enter the instance details, and click the vServer Group tab.
- On the Create VServer Group page, set the parameters and click Create.
In the VServer Group Name field, enter a name for the vServer group. - Click Add On-premises Server.
- In the My Servers panel, click Add.
Select a virtual private cloud (VPC) fromthe VPC Connected to IDC drop-down list, enter a name for the on-premises server that you want to add, and then specify the IP address of the server, and then click Next.
On the Configure Port s and Weight s wizard page, specify the weight of each on-premises server, and then click Add. - Click OK to create on-premises servers successfully.