Editing a Network Load Balancer Backend Server

Update backend server's configuration for a network load balancer.

    1. On the Network load balancers list page, select the network load balancer that you want to work with. If you need help finding the list page or the network load balancer, see Listing Network Load Balancers.
    2. On the details page, select Backend sets.
    3. On the details page for the backend set, select Backends.

      All backend servers in the selected backend set are displayed in a table.

    4. On the details page for the backend set, select Backends.
    5. In the Backends section, select the backend server and select Edit.
      You can select multiple backend servers and update them all at the same time.
    6. Update the settings as needed. Avoid entering confidential information.
      • Weight: Change the load balancing policy weight number assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic.

      • Drain: If you set the server's drain status to True, the load balancer stops forwarding new TCP connections and new non-sticky HTTP requests to this backend server. This setting lets administrators take the server out of rotation for maintenance purposes.

      • Offline: If you set the server's offline status to True, the load balance forwards no ingress traffic to this backend server.

      • Backup: If you set the server's backup status to True, the load balancer forwards ingress traffic to this backend server only when all other backend servers not marked as backup fail the health check policy. This configuration is useful for handling disaster recovery scenarios.

    7. Select Save changes.
  • Use the oci nlb backend update command and required parameters to edit a network load balancer's backend server:

    oci nlb backend update --backend-name backend_server_name --backend-set-name backend_set_name --network-load-balancer-id network_load_balancer_ocid [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the UpdateBackend operation to edit a backend server for a backend set for a network load balancer.