# Add a STENG to a cluster

To add a STENG to a cluster, follow these steps:

1. Select the Cluster clicking on it.
2. Click the **Add STENG** button.\
   \&#xNAN;*Note*: The Add STENG button is below the list of already created STENGs – if any.
3. In the dialog window, assign a **name** and a **description** to the STENG.
4. In the **Server info** section, enter the **Hostname** or address of the Server and the **Command Server** Port.
5. To add configuration parameters for **DMZ connection**, enable the toggle button in the **Connect to DMZ** section and fill in the fields:
   1. **Socket timeout**: (Default value: 30 seconds). DMZ Driver/DMZ Gateway tunnel socket read/write/connect timeout in seconds; -1 implies infinite timeout.
   2. **Idle timeout**: (Default value: 90 seconds). Keep alive, in seconds for, checking connection between DMZ Driver and DMZ Gateway.
   3. **Reconn interval**: (Default value: 10 seconds). Number of seconds after which a disconnected DMZ Driver will attempt a new connection to DMZ Gateway.
   4. **Reconn attempts**: (Default value: -1). Number of connection attempts before a DMZ Gateway is considered definitely unreachable. -1 means infinite attempts.
   5. **Reserved port range**: (Default value: 50100-51100). TCP-IP port ranges to be used to open tunnels between DMZ Driver and DMZ Gateway. For each incoming/outgoing connection, one port should be reserved (2 ports are needed for FTP protocol).
   6. **Local address**: (Default value: 0.0.0.0). Local IP address that the DMZ Driver will bind for incoming/outgoing connections.
6. To associate the STENG with a DMZ Cluster, enable the corresponding toggle button.\
   The DMZ clusters displayed in this section are configured in **Setup** → **DMZ Clusters**. If you need to add a new cluster, click **Add Cluster** in this dialog. The new cluster will also appear in **Setup** → **DMZ Clusters**.\
   You can change the order of clusters in the **Add STENG** window by dragging and dropping them into the desired position. The order of DMZ clusters determines their priority: the first cluster in the list has the highest priority. You can activate multiple DMZ clusters as needed; they will be listed in the order you define.\
   To reorder clusters, simply click the cluster name and drag it to the preferred position.
7. Click the **Save** button to add the STENG.

Each STENG has a card with useful information:

<figure><img src="https://files.readme.io/7a6a0a6-STENG_card_info.png" alt="" width="375"><figcaption></figcaption></figure>

An **Edit** option <img src="https://files.readme.io/6f0e965-pencil_icon.png" alt="" data-size="line"> is available in the top-right corner, together with a 3-dot icon allowing you to **Start**, **Stop** and **Delete** the STENG. After selecting the **Delete** menu entry, a confirmation message will appear so that you can confirm the action.

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

Note that the **Stop** action stops the STENG at function level but the JVM remains active.

The **Delete STENG** option is available only when the STENG does not have any server associated.


---

# 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.primeur.com/data-mover-1.21/infrastructure/steng-clusters-and-servers/add-a-steng-to-a-cluster.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.
