Modifying a Listener
Scenarios
You can configure modification protection for a listener, modify the settings of a listener, change the backend server group of a listener, and delete a listener.
Prerequisites
- You have created a load balancer by referring to Creating a Dedicated Load Balancer.
- You have created a backend server group by referring to Creating a Backend Server Group.
- You have added a listener by referring to Listener Overview.
Configuring Modification Protection for a Listener
You can enable modification protection for a listener to prevent it from being modified or deleted by accident.
- Go to the load balancer list page.
- On the displayed page, locate the load balancer and click its name.
- Click Listeners tab, locate the listener, and click its name.
- On the Summary tab, click Configure next to Modification Protection.
- In the Configure Modification Protection dialog box, enable Modification Protection.
You need to disable Modification Protection if you want to modify or delete a listener.
Modifying Listener Settings
Frontend Protocol/Port and Backend Protocol cannot be modified. If you want to modify the protocol or port of the listener, add another listener to the load balancer.
- Go to the load balancer list page.
- On the displayed page, locate the load balancer and click its name.
- Modify the listener in either of the following ways:
- On the Listeners tab, locate the listener, and click Edit in the Operation column.
- Click the name of the target listener. On the Summary tab, click Edit on the top right corner.
- In the Edit dialog box, modify parameters, and click OK.
Modifying Timeout Durations
You can modify timeout durations (idle timeout, request timeout, and response timeout) for your listeners to meet varied demands. For example, if the size of a request from an HTTP or HTTPS client is large, you can prolong the request timeout duration to ensure that the request can be successfully routed.
- Go to the load balancer list page.
- On the displayed page, locate the load balancer and click its name.
- Click Listeners, locate the listener, and click the name of the listener.
- On the Summary tab, click Edit on the top right.
- In the Edit dialog box, expand Advanced Settings.
- Configure Idle Timeout (s), Request Timeout (s), or Response Timeout (s) as you need.
- Click OK.
Changing the Backend Server Group of a Listener
- Go to the load balancer list page.
- On the displayed page, locate the target load balancer and click its name.
- On the Listeners tab, locate the target listener and click its name.
- On the Summary tab, click Change Backend Server Group on the right of Default Backend Server Group area.
- In the displayed dialog box, click the server group name box.
Select a backend server group from the drop-down list or create a group.
- Click the name of the backend server group or enter the name in the search box to search for the target group.
- Click Create Backend Server Group. After the backend server group is created, click the refresh icon.
The backend protocol of the new backend server group must match the frontend protocol of the listener.
- Click OK.
Deleting a Listener
- Go to the load balancer list page.
- On the displayed page, locate the load balancer and click its name.
- Click the Listeners tab, locate the listener, and click Delete in the Operation column.
- In the displayed dialog box, enter DELETE.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot