142 lines
4.0 KiB
Markdown
142 lines
4.0 KiB
Markdown
---
|
|
sidebar_label: " Manage Load Balancers"
|
|
sidebar_position: 1
|
|
---
|
|
|
|
<!-- truncate -->
|
|
|
|
import CodeBlock from '@site/src/components/CodeBloack';
|
|
import bal01 from '@site/static/img/in15.png';
|
|
import bal02 from '@site/static/img/bal01.png';
|
|
import bal03 from '@site/static/img/bal02.png';
|
|
import bal04 from '@site/static/img/bal03.png';
|
|
import bal05 from '@site/static/img/bal04.png';
|
|
import bal06 from '@site/static/img/bal05.png';
|
|
|
|
|
|
|
|
|
|
# Manage Load Balancers
|
|
|
|
<div className="head">Create Load Balancer</div>
|
|
<div className="text"><ol><li> Log in to the dashboard.</li><li>Select the appropriate project from the drop down menu at the top left</li></ol></div>
|
|
|
|
<img src={bal01} alt="Load Balancer " /><br/><br/>
|
|
|
|
<div className="text">3. Navigate to <span className="blue">Project</span> > <span className="blue">Network</span> > <span className="blue">Load Balancers</span> </div><br/>
|
|
|
|
<img src={bal02} alt="Load Balancer " /><br/><br/>
|
|
|
|
<div className="text">4. Click on <span className="blue"> Create Load Balancer</span> add following details in <span className="blue"> Load Balancer Details </span> tab, and click <span className="blue"> Next.</span></div><br/>
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Load Balancer Name</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Subnet</td>
|
|
<td>Select exiting private subnet</td>
|
|
</tr>
|
|
</tbody>
|
|
</table><br/>
|
|
|
|
<img src={bal03} alt="Load Balancer " /><br/><br/>
|
|
|
|
<div className="text">5. Add following details in <span className="blue">Listener Details</span> tab and click <span className="blue"> Next.</span></div><br/>
|
|
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Listener name</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Protocol </td>
|
|
<td>Listener protocol</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Port</td>
|
|
<td>If custom port is specified in Protocol field then we need to specify the listening port</td>
|
|
</tr>
|
|
</tbody>
|
|
</table><br/>
|
|
|
|
<img src={bal04} alt="Load Balancer " /><br/><br/>
|
|
|
|
<div className="text">6. Add following details in <span className="blue"> Pool Details </span> tab and click <span className="blue">Next. </span> </div><br/>
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Pool name</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Algorithm</td>
|
|
<td>Load balancing algorithm. Available algorithms are<span className="blue"> ROUND_ROBIN, LEAST_CONNECTIONS</span> and <span className="blue"> SOURCE_IP.</span></td>
|
|
</tr>
|
|
</tbody>
|
|
</table><br/>
|
|
|
|
<img src={bal05} alt="Load Balancer " /><br/><br/>
|
|
|
|
<div className="div">7. Select servers from the list below and add in the pool. Mention port for each member in Pool Members
|
|
tab and click <span className="blue">Next.</span></div> <br/>
|
|
|
|
<img src={bal06} alt="Load Balancer " /><br/><br/>
|
|
|
|
<div className="text">8. Add following details in <span className="blue"> Monitor Details</span> tab and click <span className="blue">Create Load Balancer</span></div><br/>
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Listener name</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Type</td>
|
|
<td>Monitor type</td>
|
|
</tr>
|
|
</tbody>
|
|
</table><br/>
|
|
|
|
|
|
|
|
<!-- <image need to add> -->
|
|
|
|
<div className="text">9. Load Balancer wil take couple of minutes to provision and transition from Pending Create to Active
|
|
state.</div>
|
|
|
|
|
|
|
|
<!-- <image need to add> -->
|
|
|
|
|
|
|
|
|
|
<!-- <image need to add> -->
|
|
|
|
|
|
|
|
<div className="text">10. If load balancer needs to be accessed over internet, then we need assign floating ip. Open the
|
|
dropdown of the loadbalancer and click on Associate Floating IP.</div>
|
|
|
|
<!-- <image need to add> -->
|
|
|
|
<div className="text">11. Select the floating IP already reserved to the project. If none are available select public IP subnet, it will
|
|
automatically allocate a floating IP</div>
|
|
|
|
|
|
|
|
<!-- <image need to add> -->
|
|
|
|
<div className="text">12. Click on the dropdown beside load balancer name to view the details. We can find the Public IP
|
|
assigned to the load balancer in the details.</div>
|
|
|
|
|
|
<!-- <image need to add> -->
|
|
|
|
<div className="text">13.Following is a script to check if LB is functioning properly</div> |