# Create Pools on Load Balancing

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure" id="procedure"></a>

**Step 1:** Log in to the HI GIO PORTAL as an Organization Administrator and Navigate to &#x20;

**Networking** > **Edge Gateway** > **Load Balancer** > **Pool**.

**Step 2:** Press **ADD** to create and configure a load balancer pool.

{% tabs %}
{% tab title="1. Create a pool for non-encrypted application" %}
**General Settings Tab:**

* *<mark style="color:blue;">**Name:**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">type Pool name (example IIS-Web-Pool)</mark>*
* *<mark style="color:blue;">**Default Server Port:**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">The destination server port used by the traffic sent to the member (example 80)</mark>*
* *<mark style="color:blue;">**Load Balancer Algorithm:**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(example Round Robin)</mark>*

*<mark style="color:blue;">NSX ALB supports various Load-balancing methods:</mark>*

*<mark style="color:blue;">Consistent Hash</mark>*

*<mark style="color:blue;">Core Affinity</mark>*

*<mark style="color:blue;">Fastest Response</mark>*

*<mark style="color:blue;">Fewest Servers</mark>*

*<mark style="color:blue;">Least Connections</mark>*

*<mark style="color:blue;">Least Load</mark>*

*<mark style="color:blue;">Round Robin</mark>*

* ***Persistence:** The persistence profile will ensure that the same user sticks to the same server for a desired duration of time (e.g. Client IP)*

*<mark style="color:blue;">NSX ALB supports various</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Persistence types**</mark><mark style="color:blue;">:</mark>*

*<mark style="color:blue;">System-Persistence-App-Cookie</mark>*

*<mark style="color:blue;">System-Persistence-Client-IP</mark>*

*<mark style="color:blue;">System-Persistence-Custom-HTTP-Header</mark>*

*<mark style="color:blue;">System-Persistence-HTTP-Cookie</mark>*

*<mark style="color:blue;">System-Persistence-TLS</mark>*

* ***Active Health Monitor:** (example HTTP - This will send periodic HTTP HEAD requests to each server in the Pool to check the availability)*

  <figure><img src="/files/LPkToZEWfcYNOaDHSVdz" alt=""><figcaption></figcaption></figure>
* Add two/or more entries in the Members tab and enter the IP Addresses and Port from the Virtual Machines running the application Servers.

<figure><img src="/files/WcnuUSoqDLhWslubfmg5" alt=""><figcaption></figcaption></figure>

* Press **SAVE** to create a non-encrypted pool.
  {% endtab %}

{% tab title="2. Create a pool for encrypted application" %}
**General Settings Tab:**

* *<mark style="color:green;">**Name:**</mark> <mark style="color:green;"></mark><mark style="color:green;">type Pool name (example IIS-Web-Pool)</mark>*
* *<mark style="color:green;">**Default Server Port:**</mark> <mark style="color:green;"></mark><mark style="color:green;">The destination server port used by the traffic sent to the member (example 443)</mark>*
* *<mark style="color:green;">**Load Balancer Algorithm:**</mark> <mark style="color:green;"></mark><mark style="color:green;">(example Round Robin)</mark>*

*<mark style="color:green;">NSX ALB supports various Load-balancing methods:</mark>*

*<mark style="color:green;">Consistent Hash</mark>*

*<mark style="color:green;">Core Affinity</mark>*

*<mark style="color:green;">Fastest Response</mark>*

*<mark style="color:green;">Fewest Servers</mark>*

*<mark style="color:green;">Least Connections</mark>*

*<mark style="color:green;">Least Load</mark>*

*<mark style="color:green;">Round Robin</mark>*

* *<mark style="color:green;">**Persistence:**</mark> <mark style="color:green;"></mark><mark style="color:green;">The persistence profile will ensure that the same user sticks to the same server for a desired duration of time (e.g. Client IP)</mark>*

*<mark style="color:green;">NSX ALB supports various</mark> <mark style="color:green;"></mark><mark style="color:green;">**Persistence types**</mark><mark style="color:green;">:</mark>*

*<mark style="color:green;">System-Persistence-App-Cookie</mark>*

*<mark style="color:green;">System-Persistence-Client-IP</mark>*

*<mark style="color:green;">System-Persistence-Custom-HTTP-Header</mark>*

*<mark style="color:green;">System-Persistence-HTTP-Cookie</mark>*

*<mark style="color:green;">System-Persistence-TLS</mark>*

* *<mark style="color:green;">**Active Health Monitor:**</mark> <mark style="color:green;"></mark><mark style="color:green;">(example HTTPS - This will send periodic HTTPS HEAD requests to each server in the Pool to check the availability)</mark>*

<figure><img src="/files/k9Uu5HIEmY3oKt3dn4Pp" alt=""><figcaption></figcaption></figure>

* Add two/or more entries in the Members Tab and enter the IP Addresses and Port from the Virtual Machines running the application Servers.

<figure><img src="/files/knCBhybxNZr1wVtLvxjC" alt=""><figcaption></figcaption></figure>

In the SSL Settings **Tab**:

* *<mark style="color:green;">**SSL Enable:**</mark> <mark style="color:green;"></mark><mark style="color:green;">Enable</mark>*
* *<mark style="color:green;">**Hide Service Certificates:**</mark> <mark style="color:green;"></mark><mark style="color:green;">disable</mark>*
* *<mark style="color:green;">**Select one or more certificates to be used by the Load Balancer Pool:**</mark> <mark style="color:green;"></mark><mark style="color:green;">Select your Certificate</mark>*

<figure><img src="/files/FO5BAOB2adBmMnwEN6gP" alt=""><figcaption></figcaption></figure>

* Press **SAVE** to create an encrypted pool.
  {% endtab %}
  {% endtabs %}

{% hint style="success" %}

#### **Default Active Health Monitor:** <a href="#default-active-health-monitor" id="default-active-health-monitor"></a>

{% endhint %}

<figure><img src="/files/Fn1ykH6vSrKPOnq3cWOj" alt=""><figcaption><p>Active Health Monitor Flow</p></figcaption></figure>

* **HTTP/HTTPS:**
  * Send Interval: 10s
  * Receive Timeout: 4s
  * Successful Checks: 3
  * Failed Checks: 3
  * Health Monitor Port: use the Default Server Port of the pool.
  * HTTP request: HEAD / HTTP/1.0
  * Response Code: 2xx, 3xx
* **TCP**:
  * Send Interval: 10s
  * Receive Timeout: 4s
  * Successful Checks: 2
  * Failed Checks: 2
  * Health Monitor Port: use the Default Server Port of the pool.
* **UDP:**
  * Send Interval: 4s
  * Receive Timeout: 2s
  * Successful Checks: 2
  * Failed Checks: 2
  * Health Monitor Port: use the Default Server Port of the pool.
* **PING:**
  * Send Interval: 10s
  * Receive Timeout: 4s
  * Successful Checks: 2
  * Failed Checks: 2


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.higiocloud.vn/network/3.-load-balancer/create-pools-on-load-balancing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
