How to create Virtual load balancers
Login to your cloud dashboard with userid / password provided in an email.
(IMPORTANT: Dashboard uses features from HTML5, please use browser that fully supports HTML5. Some examples are Firefox, Google Chrome, Opera).
- In dashboard, expand “Network” from left navigation menu, and go to “Load Balancers” section.
- Go to “Pools” tab, click on “+ Add Pool“.
- Name: Provide a name for the pool (recommended name is XX-Pool-purpose-Y where XX are tenant initials, purpose can be web, app, app name, and Y is a unique numeric value in case you have multiple pools for same purpose).
- Subnet, select the subnet where this pool will reside.
- Protocol, select HTTP for plain web, HTTPS for SSL, or TCP for custom.
- Load Balancing Method (round robin is recommended).
- Click “Add“.
- Under “Actions” column click on “More” then “Add VIP” to create a virtual IP for load balanced pool.
- Name: Provide a name for VIP (recommended name is XX-VIP-purpose-Y).
- Specify a free IP, you can manually pick a IP from your subnet, or let DHCP provide one.
- Protocol Port, specify the port this VIP is listening on for incoming traffic.
- Select the Protocol to match the one from step 2.
- Session Persistence if needed.
- Connection Limit if needed.
- Click “Add“.
- Go to “Members” tab and click on “+ Add Member” to the Pools created earlier.
- Pool, select the Pool from drop down menu.
- Check the boxes next to the virtual machine names that should be part of this pool.
- Weight if you desire to not evenly distribute load across backend servers.
- Protocol Port, is the port number that backend servers are listening on.
- Go to “Monitors” tab and click on “+ Add Monitor” to create a monitor to check if back-end services are up or down.
- Type, select the type of monitor based on service being load-balanced.
- Delay, is how many seconds between every check.
- Timeout, is how many seconds before request times out.
- Max Retries, is number of failures before back-end is considered down.
- Click “Add“
- Go back to “Pools” tab and associate the newly created monitor to Pool.
- Click on “More” in “Actions” column.
- Select “Associate Monitor“
- Select a monitor template from drop down menu and click “Associate“
- You have successfully created a load balanced environment that is now accessible from your cloud. To make this visible to public, see “Assign floating IP addresses” tutorial.
PO Box 2383
Elk Grove, CA 95759-2383
Made in California, USA
Get in touch…
Phone: (916) 581-0101