Setting Up Load Balancer

  1. Open the navigation menu and select Networking. Then select Load Balancers.
  2. Select Create Load Balancer > Load Balancer > Create Load Balancer.
    See Changing a Load Balancer's Bandwidth Shape for additional information.
  3. Enter the following:
    Load Balancer Name
    Enter a name to identify the load balancer.
    Choose Visibility Type
    Select Private.
    Bandwidth
    Set according to usage. For initial setup you can leave the default values and change it later. See Changing a Load Balancer's Bandwidth Shape.
    Virtual Cloud Network
    Select the VCN used by the Big Data Service cluster.
    Subnet
    Select the subnet used by the Big Data Service subnet.
  4. Select Next.
  5. Under Choose Backends, Select appropriate policy based on the need. See Load Balancer Policies. For example, Weighted Round Robin. Don't add backends at this point, this is completed in later step.
  6. Under Specify Health Check Policy, enter the following:
    Port
    Set port used by the Ranger Admin. This value can be fetched using key ranger.service.https.port from ranger-admin-site.xml or through the Ambari UI. Default is 6080 for http protocol.
    URL Path
    Enter /login.jsp.
  7. Under Backend Set Name, enter a name. For example, Ranger-Admin-Backends.
  8. Select Session Persistence.
  9. Select Enable application cookie persistence.
  10. For Cookie Name, enter *.
  11. Next.
  12. Enter a Listener Name. For example, Ranger-Admin-HA-Listener.
  13. For Specify the type of traffic your listener handles, select HTTP and set port to 6080.
  14. Select Next.
  15. (Optional) Enable Error Logs.
  16. (Optional) Enable Access Logs.
  17. Select Submit.
  18. Under Resources, select Backend Sets.
  19. Select the newly created backend set. For example, Ranger-Admin-Backend.
  20. Under Resources, select Backends.
  21. Select Add Backend, and then select IP Addresses.
  22. In the IP Address field, enter the un0 subnet IP address. The IP address can be retrieved using any of the following methods:
    • From the OCI console.
      1. Open the navigation menu and select Analytics & AI. Under Data Lake, select Big Data Service.
      2. Select the cluster, and then under Resources, select Nodes.
      3. Look for the IP address with node names ending with un0.
    • Sign in to un0 node through a terminal and run ifconfig. Look for the IP that starts with same CIDR as customer subnet.
  23. In the Ports field, enter 6080 (the Ranger Admin port).
  24. Select Add.
  25. Complete steps 21-24 for additional Ranger Admin Hosts.
  26. Go to Load Balancer Details page and copy the private IP of the Load Balancer. This IP is used in later steps while configuring Ranger HA through the Ambari UI.