Skip to main content

Configuring load balancer endpoints

Contributors netapp-lhalbert

You can create, edit, and remove load balancer endpoints.

Creating load balancer endpoints

Each load balancer endpoint specifies a port, a network protocol (HTTP or HTTPS), and a service type (S3 or Swift). If you create an HTTPS endpoint, you must upload or generate a server certificate.

What you'll need
  • You must have the Root Access permission.

  • You must be signed in to the Grid Manager using a supported browser.

  • If you have previously remapped ports you intend to use for the Load Balancer service, you must have removed the remaps.

    Important If you have remapped any ports, you cannot use the same ports to configure load balancer endpoints. You can create endpoints using remapped ports, but those endpoints will be remapped to the original CLB ports and service, not the Load Balancer service. Follow the steps in the recovery and maintenance instructions for removing port remaps.
    Note The CLB service is deprecated.
Steps
  1. Select Configuration > Network Settings > Load Balancer Endpoints.

    The Load Balancer Endpoints page appears.

    load balancer endpoints
  2. Select Add endpoint.

    The Create Endpoint dialog box appears.

    Create LB Endpoint
  3. Enter a display name for the endpoint, which will appear in the list on the Load Balancer Endpoints page.

  4. Enter a port number, or leave the pre-filled port number as is.

    If you enter port number 80 or 443, the endpoint is configured only on Gateway Nodes, since these ports are reserved on Admin Nodes.

    Note Ports used by other grid services are not permitted. See the networking guidelines for a list of ports used for internal and external communications.
  5. Select HTTP or HTTPS to specify the network protocol for this endpoint.

  6. Select an endpoint binding mode.

    • Global (default): The endpoint is accessible on all Gateway Nodes and Admin Nodes on the specified port number.

      Endpoint Global Binding Mode
    • HA Group VIPs: The endpoint is accessible only through the virtual IP addresses defined for the selected HA groups. Endpoints defined in this mode can reuse the same port number, as long as the HA groups defined by those endpoints do not overlap with each other.

      Select the HA groups with the virtual IP addresses where you want the endpoint to appear.

      Endpoint HA Group VIPs Binding Mode
    • Node Interfaces: The endpoint is accessible only on the designated nodes and network interfaces. Endpoints defined in this mode can reuse the same port number as long as those interfaces do not overlap with each other.

      Select the node interfaces where you want the endpoint to appear.

      Endpoint Node Interfaces Binding Mode
  7. Select Save.

    The Edit Endpoint dialog box appears.

  8. Select S3 or Swift to specify the type of traffic this endpoint will serve.

    Load Balancer Client
  9. If you selected HTTP, select Save.

    The unsecured endpoint is created. The table on the Load Balancer Endpoints page lists the endpoint's display name, port number, protocol, and endpoint ID.

  10. If you selected HTTPS and you want to upload a certificate, select Upload Certificate.

    Upload Cert
    1. Browse for the server certificate and the certificate private key.

      To enable S3 clients to connect using an S3 API endpoint domain name, use a multi-domain or wildcard certificate that matches all domain names that the client might use to connect to the grid. For example, the server certificate might use the domain name *.example.com.

    2. Optionally browse for a CA bundle.

    3. Select Save.

      The PEM-encoded certificate data for the endpoint appears.

  11. If you selected HTTPS and you want to generate a certificate, select Generate Certificate.

    Generate Cert
    1. Enter a domain name or an IP address.

      You can use wildcards to represent the fully qualified domain names of all Admin Nodes and Gateway Nodes running the Load Balancer service. For example, *.sgws.foo.com uses the * wildcard to represent gn1.sgws.foo.com and gn2.sgws.foo.com.

    2. Select Plus Sign to add any other domain names or IP addresses.

      If you are using high availability (HA) groups, add the domain names and IP addresses of the HA virtual IPs.

    3. Optionally, enter an X.509 subject, also referred to as the Distinguished Name (DN), to identify who owns the certificate.

    4. Optionally, select the number of days the certificate is valid. The default is 730 days.

    5. Select Generate.

      The certificate metadata and the PEM-encoded certificate data for the endpoint appear.

  12. Click Save.

    The endpoint is created. The table on the Load Balancer Endpoints page lists the endpoint's display name, port number, protocol, and endpoint ID.

Related information

Maintain & recover

Editing load balancer endpoints

For an unsecured (HTTP) endpoint, you can change the endpoint service type between S3 and Swift. For a secured (HTTPS) endpoint, you can edit the endpoint service type and view or change the security certificate.

What you'll need
  • You must have the Root Access permission.

  • You must be signed in to the Grid Manager using a supported browser.

Steps
  1. Select Configuration > Network Settings > Load Balancer Endpoints.

    The Load Balancer Endpoints page appears. The existing endpoints are listed in the table.

    Endpoints with certificates that will expire soon are identified in the table.

    Edit Endpoint
  2. Select the endpoint you want to edit.

  3. Click Edit endpoint.

    The Edit Endpoint dialog box appears.

    For an unsecured (HTTP) endpoint, only the Endpoint Service Configuration section of the dialog box appears. For a secured (HTTPS) endpoint, the Endpoint Service Configuration and the Certificates sections of the dialog box appear, as shown in the following example.

    Edit Load Balancer Endpoint
  4. Make the desired changes to the endpoint.

    For an unsecured (HTTP) endpoint, you can:

    • Change the endpoint service type between S3 and Swift.

    • Change the endpoint binding mode. For a secured (HTTPS) endpoint, you can:

    • Change the endpoint service type between S3 and Swift.

    • Change the endpoint binding mode.

    • View the security certificate.

    • Upload or generate a new security certificate when the current certificate is expired or about to expire.

      Select a tab to display detailed information about the default StorageGRID server certificate or a CA signed certificate that was uploaded.

    Note To change the protocol for an existing endpoint, for example from HTTP to HTTPS, you must create a new endpoint. Follow the instructions for creating load balancer endpoints, and select the desired protocol.
  5. Click Save.

Related information

Creating load balancer endpoints

Removing load balancer endpoints

If you no longer need a load balancer endpoint, you can remove it.

What you'll need
  • You must have the Root Access permission.

  • You must be signed in to the Grid Manager using a supported browser.

Steps
  1. Select Configuration > Network Settings > Load Balancer Endpoints.

    The Load Balancer Endpoints page appears. The existing endpoints are listed in the table.

    Edit Endpoint
  2. Select the radio button to the left of the endpoint you want to remove.

  3. Click Remove endpoint.

    A confirmation dialog box appears.

    Confirm Endpoint Removal
  4. Click OK.

    The endpoint is removed.