tencent cloud

Cloud Load Balancer

릴리스 정보 및 공지 사항
릴리스 노트
제품 공지
제품 소개
제품 개요
제품 장점
시나리오
기술 원리
Product Comparison
사용 제한
Service Regions and Service Providers
구매 가이드
과금 개요
비용 계산 항목
구매 방식
연체 안내
제품 속성 선택
시작하기
도메인 이름 기반 CLB 시작하기
CLB 시작하기
CentOS에서 Nginx 배포하기
CentOS에서 Java Web 배포하기
운영 가이드
CLB 인스턴스
CLB 리스너
리얼 서버
상태 확인
인증서 관리
로그 관리
모니터링 및 알람
액세스 관리
사례 튜토리얼
CLB에 인증서 배치(양방향 인증)
HTTPS 포워딩 구성
리얼 클라이언트 IP 가져오기
로드 밸런싱 구성 모니터링 및 알람에 대한 모범 사례
다중 가용존에서 HA 구현
로드 밸런싱 알고리즘 선택 및 가중치 구성 예시
CLB 수신 도메인 이름에 대한 WAF 보호 구성하기
OPS 가이드
과도한 TIME_WAIT 상태의 클라이언트에 대한 솔루션
CLB HTTPS 서비스 성능 테스트
스트레스 테스트 FAQ
CLB 인증서 작업 권한
문제 해결
UDP 상태 확인 예외 발생
API 참조
History
Introduction
API Category
Instance APIs
Listener APIs
Backend Service APIs
Target Group APIs
Redirection APIs
Other APIs
Classic CLB APIs
Load Balancing APIs
Making API Requests
Data Types
Error Codes
CLB API 2017
FAQ
과금 관련
CLB 구성
헬스체크 이상 점검
HTTPS
WS/WSS 프로토콜 지원
HTTP/2 프로토콜 지원
연락처
용어집
문서Cloud Load Balancer

Managing Real Servers of Classic CLB Instances

포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-01-04 14:34:05
Classic CLB routes requests to real server instances that are running normally. This document describes how to add or delete real servers as needed or when you use Classic CLB for the first time.

Prerequisites

You have created a Classic CLB instance and configured a listener. For more information, please see Getting Started with Classic CLB.

Directions

Adding real server to Classic CLB instance

Note
If a Classic CLB instance is associated with an auto scaling group, CVM instances in the group will be automatically added to the real servers of the Classic CLB instance. When a CVM instance is removed from the auto scaling group, it will be automatically deleted from the real servers of the Classic CLB instance.
If you need to use API to add real servers, please see the RegisterTargetsWithClassicalLB API.
1. Log in to the CLB Console.
2. On the "Instance Management" page, select the Classic Cloud Load Balancer tab.
3. Click Configure Listener in the "Operation" column on the right of the target Classic CLB instance.
4. In the listener configuration module, click Create.
5. In the "Create Listener" pop-up window, enter the "backend port" (for more information on port selection, please see Common Server Ports) and other related fields and click Next to complete the configuration. For more information, please see Configuring Classic CLB.
Note:
You need to specify the real server port for Classic CLB during listener creation.

6. After the listener is created, click Bind in the real server binding module.
7. In the Bind CVM pop-up window, select the CVM instance to be bound, enter the weight, and click OK.
Note:
The pop-up window only displays available CVM instances in the same region and same network environment that are not isolated and have not expired with peak bandwidth greater than 0.
When multiple real servers are bound, CLB will forward traffic according to the hash algorithm to balance the load.
The greater the weight of a server, the more the requests forwarded to it. The default value is 10, and the configurable value range is 0–100. If the weight is set to 0, the server will not accept new requests. If session persistence is enabled, it may cause uneven request distribution among real servers. For more information, please see Algorithms and Weight Configuration.




Modifying real server weight for Classic CLB instance

Note:
Currently, real server weight cannot be modified through APIs for Classic CLB.
1. Log in to the CLB Console.
2. On the "Instance Management" page, select the Classic Cloud Load Balancer tab.
3. Click Configure Listener in the "Operation" column on the right of the target Classic CLB instance.
4. In the real server binding module, modify the relevant server weight.
Note:
The greater the weight of a server, the more the requests forwarded to it. The default value is 10, and the configurable value range is 0–100. If the weight is set to 0, the server will not accept new requests. If session persistence is enabled, it may cause uneven request distribution among real servers. For more information, please see Algorithms and Weight Configuration.
Method 1. Modify the weight of one single server.
4.1.1 Find the server whose weight needs to be modified, hover over the corresponding weight, and click <img src="https://main.qcloudimg.com/raw/4aae0dbec227f8fc18b4a35acf560f62.png" style="margin:0;">.

4.1.2 In the "Modify Weight" pop-up window, enter the new weight value and click Submit.
Method 2. Modify the weight of multiple servers in batches.
Note:
After the batch modification, the servers will have the same weight.
4.1.3 Click the checkbox in front of the servers, select multiple servers, and click Modify Weight at the top of the list.

4.1.4 In the "Modify Weight" pop-up window, enter the new weight value and click Submit.

Unbinding real server from Classic CLB instance

Note:
Unbinding a real server will unbind the Classic CLB instance from the CVM instance, and Classic CLB will stop forwarding requests to it immediately.
Unbinding a real server will not affect the lifecycle of your CVM instance, which can be added to the real server cluster again when necessary.
If you need to use API to unbind real servers, please see the DeregisterTargetsFromClassicalLB API.
1. Log in to the CLB Console.
2. On the "Instance Management" page, select the Classic Cloud Load Balancer tab.
3. Click Configure Listener in the "Operation" column on the right of the target Classic CLB instance.
4. In the real server binding module, unbind the bound server.
Method 1. Unbind one single server.
4.1.1 Find the server that needs to be unbound and click Unbind in the Operation column on the right.

4.1.2 In the "Unbind Real Server" pop-up window, confirm the server to be unbound and click Submit.
Method 2. Unbind multiple servers in batches.
4.1.3 Click the checkbox in front of the servers, select multiple servers, and click Unbind at the top of the list.

4.1.4 In the "Unbind Real Server" pop-up window, confirm the servers to be unbound and click Submit.


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백