# Service Nodes

## Adding service nodes

After the VServer listener is created, it is necessary to add service nodes to the VServer in order for the load balancer to officially provide services to the public. 

### Operating steps

Navigate to the **VServer Management Page**, click **Service Nodes**, and manage the service nodes.

1. On the VServer Management-Service Nodes page, click **Add Node**.

<!-- image-todo -->

2. Make the following choices in the pop-up window.

<!-- image-todo -->

| Configuration | Description |
| --- | --- |
| Resource Type | The resource type of the service node. Including cloud host, physical cloud host, container, hybrid cloud host, and managed Hadoop cluster. |
| Belonging VPC | If the service node type is a hybrid cloud host, select the hybrid cloud VPC that has already been connected to the current CLB's VPC. |
| Subnet | The subnet the service node belongs to. All subnets or specified subnets can be selected. |
| Listening Port | The listening port of the service node. The service node port has the following restrictions: If the CLB is in the request proxy mode, the same backend service node can add different ports to implement the same IP and different service instances; if the mode is packet forwarding, the port of the backend service node must be consistent with the VServer listening port. |
| Optional Resources | Display the current service node resources that can be added according to the selected information. If the resource type is hybrid cloud host, the private IP of the hybrid cloud host needs to be filled in. |

> When adding hybrid cloud (managed cloud) resources, the managed cloud VPC should be connected to the CLB's VPC.

3. In the list of optional resources, select the **Checkbox** of the resources to be added, and move it to the list of nodes to be added on the right.

Adding Cloud Hosts/Physical Cloud Hosts/Containers/Managed Hadoop Clusters, enter the port before selecting resources:
<!-- image-todo -->

Adding hybrid cloud hosts:
<!-- image-todo -->

4. Click **OK** to complete node addition.

<!-- image-todo -->

## Deleting service nodes

### Operating steps

Navigate to the **VServer Management Page** and click **Service Nodes** to manage service nodes.

#### Deleting a single service node

1. Choose the service node that you want to delete and click on **Delete** on the right.

2. A pop-up window displays the information of the selected service node, confirm if it is the service node you want to delete.

3. Click **OK** to complete the deletion of the service node.

<!-- image-todo -->

#### Batch delete service nodes

1. Batch select the **Checkbox** on the left of the nodes to be deleted, click **Delete** on the top.

<!-- image-todo -->

2. A pop-up window will display the information of the selected service nodes, confirm if these are the service nodes you want to delete.

3. Click **Delete** to complete the batch deletion.

## Disabling service nodes

After the node is added, the default state is the service enable state.

When the service node needs to be maintained, you can stop the service node external service by disabling the service node, making the overall update and maintenance of the service smoother.

> After disabling the service node, the existing long connections will not be disconnected.

### Operational steps

Navigate to the **VServer Management page**, click **Service Nodes**, and manage the service nodes.

#### Disabling a single service node

1. Choose the service node that you need to disable, click the **Disable** button.

<!-- image-todo -->

2. A pop-up window will display the information of the selected service nodes, confirm if these are the service nodes you want to disable.

3. Click **OK** to disable the node.

#### Batch disable service nodes

1. Batch select the **Checkbox** on the left of the nodes to be disabled, click **Disable** on the top.

<!-- image-todo -->