Skip to main content

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

  1. 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. fg-dc-slb-3.3.7-1
  2. 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. fg-dc-slb-3.3.7-2
  3. Click Add On-premises Server. fg-dc-slb-3.3.7-3
  4. In the My Servers panel, click Add. fg-dc-slb-3.3.7-4
    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.
    fg-dc-slb-3.3.7-5
    On the Configure Port s and Weight s wizard page, specify the weight of each on-premises server, and then click Add.
    fg-dc-slb-3.3.7-6
  5. Click OK to create on-premises servers successfully. fg-dc-slb-3.3.7-7