%BOOK_ENTITIES; ]>
Adding a Load Balancer Rule Log in to the &PRODUCT; UI as an administrator or end user. In the left navigation, choose Network. Click the name of the network where you want to load balance the traffic. Click View IP Addresses. Click the IP address for which you want to create the rule, then click the Configuration tab. In the Load Balancing node of the diagram, click View All. In a Basic zone, you can also create a load balancing rule without acquiring or selecting an IP address. &PRODUCT; internally assign an IP when you create the load balancing rule, which is listed in the IP Addresses page when the rule is created. To do that, select the name of the network, then click Add Load Balancer tab. Continue with . Fill in the following: Name: A name for the load balancer rule. Public Port: The port receiving incoming traffic to be balanced. Private Port: The port that the VMs will use to receive the traffic. Algorithm: Choose the load balancing algorithm you want &PRODUCT; to use. &PRODUCT; supports a variety of well-known algorithms. If you are not familiar with these choices, you will find plenty of information about them on the Internet. Stickiness: (Optional) Click Configure and choose the algorithm for the stickiness policy. See . AutoScale: Click Configure and complete the AutoScale configuration as explained in . Health Check: (Optional; NetScaler load balancers only) Click Configure and fill in the characteristics of the health check policy. See . Ping path (Optional): Sequence of destinations to which to send health check queries. Default: / (all). Response time (Optional): How long to wait for a response from the health check (2 - 60 seconds). Default: 5 seconds. Interval time (Optional): Amount of time between health checks (1 second - 5 minutes). Default value is set in the global configuration parameter lbrule_health check_time_interval. Healthy threshold (Optional): Number of consecutive health check successes that are required before declaring an instance healthy. Default: 2. Unhealthy threshold (Optional): Number of consecutive health check failures that are required before declaring an instance unhealthy. Default: 10. Click Add VMs, then select two or more VMs that will divide the load of incoming traffic, and click Apply. The new load balancer rule appears in the list. You can repeat these steps to add more load balancer rules for this IP address.