Azure load balancers have external and internal load balancers, but for the purpose of this document, we will use an internal load balancer. The IP address of this internal load balancer is also used as a virtual IP address later, making it an access point for protected services.
- From Azure Home > Load balancers, select +Add and create a load balancer for this environment as shown in the following table.
|Subscription||Your subscrition ID||This is the subscription ID issued when subscribing to Azure services.|
|Region||(Asia Pacific) Southeast Asia|
|Configure virtual network|
|IP address assignment||Static|
|Private IP address||10.20.1.200||*Note 2|
*Note 1: Since this is an internal load balancer, you must select “Internal”.
*Note 2: This value is also used as a virtual IP address later, making it an access point for protected services.
- Click Review + Create, review the details and then click Create.
- Add the two virtual machines for the created cluster to the backend pool of the internal load balancer. Select Azure Home > Load balancers > Load balancer name > Backend pools > Add and configure the following:
|Add Backend Pool|
|Associated to||Virtual machine|
|IP address||ipconfig1 (10.20.1.11)||*Note|
|IP address||ipconfig1 (10.20.1.12)||*Note|
*Note: Link the backend pool with the primary (the first) network interface of the virtual machine you previously created.
- Click Add and verify that the backend pool has been created.
- Click Azure Home > Load balancers > Load balancer name > Health Probes > +Add and configure the following:
*Note: For probes, specify the protocol and port used by the application.
- Click OK and confirm that the probe has been created.
- Next, configure load balancing rules. From Azure Home > Load balancers > Load balancer name > Load balancing rules, click +Add and configure the following:
|Add load balancing rule|
|Frontend IP address||10.20.1.200 (LoadBalancerFrontEnd)|
|Port|| 1521 (Oracle)
|Backend port|| 1521 (Oracle)
|Backend pool||sios20backendpool (2 virtual machines)|
|Health probe||sios20probe (TCP:1521 / 5432)|
|Session persistence||None (default)|
|Idle timeout||4 (default)|
|Floating IP||Disabled (default)|
*Note: Specify the port used by the application as the load balancing port.
- Click OK and verify that the load balancing rule has been created.
- Open Azure Home > Virtual machines and start the following three virtual machines and log in as lkadmin via RDP. If you are using a domain, add all three to the domain and log in as an administrator of the domain. (Steps to add VMs to the domain are not described in this document. Here we add the machines to the sios20.local domain and log in with SIOS20\lkadmin.)