Editing Load Balancer Health Check Properties
On Compute Cloud@Customer, you can change load balancer (LB) backend set health check configuration.
-
In the Compute Cloud@Customer Console navigation menu, select Networking, then select Load Balancers.
- At the top of the page, select the compartment that contains the load balancer.
-
Select the name of the LB for which you want to edit backend set health check parameters.
-
Under Resources, select Backend Sets.
-
For the backend set that you want to modify, select the Actions menu (
), and select Edit.
- Make changes.
-
Select Update Backend Set.
-
Use the oci lb health-checker update command and required parameters to change load balancer (LB) and backend server set health check properties, such as the health check interval.
Procedure
-
Gather the information you need to run the command:
-
LB OCID:
oci lb load-balancer list
-
Backend set name:
oci lb backend-set list
-
-
Update the health check policy for the specified load balancer and backend set.
Syntax:
ci lb health-checker update --load-balancer-id loadbalancer_OCID \ --backend-set-name backendset_name --interval-in-millis integer \ --port integer --protocol [HTTPS | TCP] --retries integer \ --return-code integer --timeout-in-millis integer
Example:
$ oci lb health-checker update --load-balancer-id ocid1.loadbalancer.uniqueID --backend-set-name BackendSet1 --interval-in-millis 10000 --port 8080 --protocol HTTPS --retries 3 --return-code 200 --timeout-in-millis 3000 --url-path /healthcheck
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
-
This task is not available in the API.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.