mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-18 11:34:23 +01:00
118 lines
3.6 KiB
XML
118 lines
3.6 KiB
XML
<?xml version='1.0' encoding='utf-8' ?>
|
|
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % BOOK_ENTITIES SYSTEM "Release_Notes.ent">
|
|
%BOOK_ENTITIES;
|
|
]>
|
|
<section id="add-load-balancer-rule" lang="en-US">
|
|
<!-- Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
--> <title>Adding a Load Balancer Rule</title>
|
|
<orderedlist>
|
|
<listitem>
|
|
<para>
|
|
Log in to the &PRODUCT; UI as an administrator or end user.
|
|
</para>
|
|
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
In the left navigation, choose Network.
|
|
</para>
|
|
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Click the name of the network where you want to load balance the traffic.
|
|
</para>
|
|
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Click View IP Addresses.
|
|
</para>
|
|
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Click the IP address for which you want to create the rule, then click the Configuration tab.
|
|
</para>
|
|
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
In the Load Balancing node of the diagram, click View All.
|
|
</para>
|
|
<para>
|
|
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.
|
|
</para>
|
|
<para>
|
|
To do that, select the name of the network, then click Add Load Balancer tab. Continue with <xref linkend="config-lb" />.
|
|
</para>
|
|
|
|
</listitem>
|
|
<listitem id="config-lb">
|
|
<para>
|
|
Fill in the following:
|
|
</para>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<para>
|
|
<emphasis role="bold">Name</emphasis>: A name for the load balancer rule.
|
|
</para>
|
|
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
<emphasis role="bold">Public Port</emphasis>: The port receiving incoming traffic to be balanced.
|
|
</para>
|
|
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
<emphasis role="bold">Private Port</emphasis>: The port that the VMs will use to receive the traffic.
|
|
</para>
|
|
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
<emphasis role="bold">Algorithm</emphasis>: 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.
|
|
</para>
|
|
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
<emphasis role="bold">Stickiness</emphasis>: (Optional) Click Configure and choose the algorithm for the stickiness policy. See Sticky Session Policies for Load Balancer Rules.
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Click Add VMs, then select two or more VMs that will divide the load of incoming traffic, and click Apply.
|
|
</para>
|
|
<para>
|
|
The new load balancer rule appears in the list. You can repeat these steps to add more load balancer rules for this IP address.
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</orderedlist>
|
|
</section>
|
|
|
|
|