# Premium High Availability setup for New Cluster

**URL:** <https://community.dynatrace.com/t/premium-high-availability-setup-for-new-cluster/54461>\
**Category:** Troubleshooting\
**Tags:** dynatrace-managed, managed-cluster\
**Created:** [January 15, 2026, 11:56am UTC](https://community.dynatrace.com/t/premium-high-availability-setup-for-new-cluster/54461 "2026-01-15T11:56:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chiranjitdutta](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chiranjitdutta/32/29757_2.png) [@chiranjitdutta](https://community.dynatrace.com/u/chiranjitdutta)\
**Post date:** [January 15, 2026, 11:56am UTC](https://community.dynatrace.com/t/premium-high-availability-setup-for-new-cluster/54461/1 "2026-01-15T11:56:49Z")

</div>

_Summary: This article provides a straightforward, step-by-step guide to setting up a new Premium High Availability (PHA) cluster. The official public document is available for reference. This guide is designed to simplify the installation process by including visual aids, such as screenshots, to make it easier to follow._

## Basic Steps for PHA Deployment

### Prerequisites for Premium HA (PHA) Deployment

Before setting up a Premium High Availability (PHA) cluster, it is essential to ensure that several prerequisites are met. The following checklist outlines the necessary steps and considerations to prepare your environment for a successful deployment:

#### 1. License Verification

Confirm that your Dynatrace license includes Premium HA (PHA) capabilities. If PHA is not enabled, contact your Customer Success Manager (CSM) or Customer Solutions Engineer (CSE) to arrange for this feature to be activated. Refer to [the documentation](https://docs.dynatrace.com/managed/shortlink/application-and-infrastructure-host-units#premium-ha) for more information.

#### 2. Hardware and System Requirements

Ensure that all hardware and system requirements are fulfilled before installation. This includes verifying that the servers and infrastructure meet or exceed the minimum specifications outlined in the [Managed hardware requirements](https://docs.dynatrace.com/managed/managed-cluster/installation/dynatrace-managed-hardware-and-system-requirements)&nbsp;documentation.

#### 3. Cluster Node Ports Configuration

It is critical to configure cluster node ports for bi-directional connectivity. Without proper bi-directional communication, cluster nodes won’t be able to interact as required, leading to failures during installation and operation. Refer to the&nbsp; [Managed Network Ports](https://docs.dynatrace.com/managed/shortlink/managed-network-ports)&nbsp;documentation for detailed configuration steps.

#### 4. Mission Control Connectivity

Verify that the cluster can establish a connection to Dynatrace Mission Control. This connection is necessary to validate the license, monitor cluster health, and perform other essential functions. Note that Premium HA clusters require an online connection to Mission Control and are available only for Managed online clusters. See [documentation](https://docs.dynatrace.com/managed/shortlink/managed-network-ports#outbound-to-mission-control).

#### 5. SELinux Status

Check whether SELinux is enabled or disabled on all nodes. If SELinux is enabled, it must be set to ENFORCING mode for managed services to function correctly. Consult the [Dynatrace Managed SELinux documentation](https://docs.dynatrace.com/managed/shortlink/managed-selinux) for guidance on configuring SELinux.

#### 6. Minimum and Maximum Cluster Node Requirements

A Premium HA cluster requires a minimum of six nodes, with three nodes located in each data center. The maximum supported configuration is thirty nodes, with up to fifteen nodes per data center. Ensure that your planned deployment meets these requirements to guarantee proper operation and high availability

### Installation steps

#### Step 1: Installation in Datacenter 1 (DC1)

Begin the installation process by deploying the first cluster in Datacenter 1. This example uses three nodes for DC1. Please follow the [standard installation procedure](https://docs.dynatrace.com/managed/managed-cluster/installation/set-up-a-cluster) as outlined for your specific environment.

Once all three cluster nodes are installed in DC1, proceed with setting up Premium High Availability (HA) as per the [documentation](https://docs.dynatrace.com/managed/shortlink/managed-add-data-center). During this stage, ensure that backup remains disabled, especially if it was previously enabled, until the entire setup process is fully completed.

#### Step 2: Inter-datacenter Communication Check

It is essential to confirm that nodes across both DC1 and DC2 can communicate with each other. To verify connectivity, execute the following command from a host in DC2, replacing with the appropriate IP address:

```javascript
curl -k https://<DC-1-node-IP>/rest/health

```

#### Step 3: Setting Environment Variables

Set the required environment variables on every node in both datacenters. Below is a template for the variables you need to configure:

- SEED\_IP=x.x.x.5 – (_IP address of the DC1 seed node_)
- DT\_DIR=/opt/dynatrace-managed – (_Directory where Dynatrace binaries are located_)
- NODES\_IPS=$(echo ‘[“x.x.x.14”, “x.x.x.15”, “x.x.x.16”]’) – (_List of DC2 node IPs_)
- API\_TOKEN=dt0c01.GJBLXR5JSOBAZZDND355S2R3.xxxxxxxx – (_API Token with ServiceProviderAPI scope from CMC_)
- DC1\_NAME=datacenter1 –&nbsp;_Consistent name for DC1_&nbsp;(_confirm using ./cassandra-nodetool.sh status_)
- DC2\_NAME=DC2 –&nbsp;_Name for DC2_&nbsp;(_can be any preferred value_)

 ![chiranjitdutta_19-1766398172823.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/7/273a62f0de7405c1cd9db21fec016e4b263e7722.png)

#### Step 4: Configuration File Verification

Check whether&nbsp;custom.settings&nbsp;exist for Cassandra and Elasticsearch. For new installations, this file may not be present. If it does exist, contact Dynatrace support for guidance on required changes.

#### Step 5: Reconfiguration in DC1

On the Datacenter 1 nodes, execute the following command to reconfigure Elasticsearch for Premium HA. You can monitor its progress using&nbsp;tail -f nohup.out

```markup
sudo nohup $DT_DIR/installer/reconfigure.sh --only els --premium-ha on &

```

#### &nbsp;Step 6: Installation in Datacenter 2 (DC2)

Copy the installer setup to all DC2 nodes. This can be done by navigating to the CMC, selecting ‘Deployment status’, then ‘Add cluster node’, and using the provided&nbsp; **wget** &nbsp;command to download the installer on each DC2 node.

Before proceeding, set the datacenter name for DC2. Run the following command from the DC1&nbsp; **SEED** &nbsp;node, ensuring variables $DC2\_NAME and $NODES\_IPS are correctly set as per step 3:

```javascript
curl -ikS -X POST -d "{\"newDatacenterName\" : \"$DC2_NAME\", \"nodesIp\" :$NODES_IPS}" https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/datacenterTopology?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json"

```

The command output will confirm the operation’s success.

![chiranjitdutta_20-1766398192804.png](https://global.discourse-cdn.com/dynatrace/optimized/3X/1/b/1be6382bd9f6259885b5c38c468c599affe006b0_2_690x76.png)

#### Step 7: Firewall Rule Configuration for DC2

Open the required firewall rules for DC2 nodes by executing the following command from the DC1 seed node:

```javascript
curl -ikS -X POST -d "$NODES_IPS" https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/clusterNodes/currentDc?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json"

```

 ![chiranjitdutta_21-1766398279136.png](https://global.discourse-cdn.com/dynatrace/original/1X/e5f07407e8d59712180f552157693fd982f65650.png)

Take note of the REQUEST ID generated by the above command, as it will be required in subsequent steps. Set this as an environment variable on the SEED node:

```javascript
export REQ_ID=<Generated REQUEST ID>

```

Verify that the firewall rule has been applied; the status should be 200

 ![chiranjitdutta_22-1766398279136.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/e/be513f9c1a29bce1408efe31cdb4387caea35eb9.png)

#### Step 8: Sequential Installation of DC2 Nodes

Install the DC2 nodes one at a time—don’t perform installations in parallel. Wait a few minutes after each node installation before proceeding to the next. Use the following command on each DC2 node:

```javascript
sudo /bin/sh ./managed-installer.sh --install-new-dc --premium-ha on --datacenter $DC2_NAME --seed-auth $API_TOKEN

```

After installing all DC2 nodes, check the nodekeeper status for DC2 by executing the following command from the Seed Node in DC1:

```javascript
curl -ikS https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/nodekeeper/healthCheck?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json"

```

 ![chiranjitdutta_23-1766398310766.png](https://global.discourse-cdn.com/dynatrace/original/2X/f/fcc0a91156e6385494da7551ab9b05c97187d0e5.png)

#### Step 9: Cassandra Replication

Initiate Cassandra replication from DC1 to DC2 by running the following command from the DC1 seed node. The response should include a status of 200 and will generate a Request ID, which should be set as an environment variable on the SEED node.

```javascript
curl -ikS -X POST https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/cassandra/currentDc?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json"

```

 ![chiranjitdutta_24-1766398364532.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/b415e4381778b5c30fc6950bcd70ef35928dc389.png)

Check the replication status from the DC1 Seed Node; the status should show as 200

 ![chiranjitdutta_25-1766398390463.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/d/4d89788d2f2bc0cbac7639eedba6beb6ed2c712b.png)

To initiate replication with DC2, use the command below from the SEED node. Set the new Request ID as an environment variable and check the replication status for DC2, ensuring a 200 response

```javascript
curl -ikS -X POST https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/cassandra/newDc?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json”

```

 ![chiranjitdutta_26-1766398409098.png](https://global.discourse-cdn.com/dynatrace/original/2X/9/90937d27c68b6799c32aa819617cc980eaf66c60.png)

Check the Replication status from the Seed node for DC2; this should be 200 status.

```javascript
curl -ikS -X GET https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/cassandra/newDc/$REQ_ID?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json"

```

 ![chiranjitdutta_27-1766398443438.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/b/2b6cad47a40fd4907f9d36e25c57bfe100c53756.png)

#### Step 10: Cassandra Rebuild in DC2

Rebuild Cassandra on the DC2 node by executing the following command from the SEED node. This rebuild might take a few minutes to hours, depending on the database size

```javascript
curl -ikS -X POST https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/cassandra/rebuild?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json"

```

 ![chiranjitdutta_28-1766398505370.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/a9e546b88b458e1ed5a6b8e41e636bab3e19eb6a.png)

Monitor the rebuild process using.&nbsp;The rebuild is complete when the response contains "error:false".

If&nbsp;“error:true”&nbsp;appears, consult Dynatrace support.

```javascript
curl -ikS -X GET https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/cassandra/rebuild?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json"

```

 ![chiranjitdutta_29-1766398505373.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/e/9e765539a9294beb7c5c703771e8c9ecc1ed017e.png)

#### Step 11: Elasticsearch Replication

Start Elasticsearch replication in DC2 nodes by running the following command from the SEED node. This will generate a REQUEST ID to be set as an environment variable

```javascript
curl -ikS -X POST https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/elasticsearch?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json"

```

 ![chiranjitdutta_30-1766398539498.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/01c101aa84ca1e63b68f591417ba488fdc35cfe7.png)

To monitor progress, run The replication should show 200 status and the response should look like the screenshot below

```javascript
curl -ikS -X GET https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/elasticsearch/$REQ_ID?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json"

```

 ![chiranjitdutta_31-1766398539500.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/8/d8ba5b9096d471cce227cee772fe505b19467d60.png)

To further verify data replication, execute it. It should return a 200 status and a message as “Elasticsearch Migration is finished…”

```javascript
curl -ikS -X GET https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/elasticsearch/indexMigrationStatus?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json”

```

 ![chiranjitdutta_32-1766398539488.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/7/a7c0645830db127b8f348ec32a34be6891eb8cbf.png)

#### Step 12: Server Migration and Service Startup in DC2

Begin the server migration by starting OneAgent and NGINX on the DC2 nodes. Run the following command from the SEED node to start the migration and generate a REQUEST ID, which must be set as an environment variable to verify cluster readiness:

```javascript
curl -ikS -X POST https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/server?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json"

```

 ![chiranjitdutta_33-1766398598789.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/2/b2ada42d23c43204d37498a7f066eb94c5588fe9.png)

To check cluster readiness, execute the command below.&nbsp;This will take some time to show 200 as it is starting the services in the DC2 nodes

```javascript
curl -ikS -X GET https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/server/$REQ_ID?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json”

```

 ![chiranjitdutta_34-1766398598774.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/e/9e3d7bf8aefa2cc1e4b2848b01bcc10fa4dc8033.png)

#### Step 13: Nodekeeper Migration

Finally, migrate nodekeeper by executing the following command from the DC1 Seed node.

```javascript
curl -ikS -X POST https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/nodekeeper/currentDc?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json”

```

 ![chiranjitdutta_35-1766398632301.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/0e5a36de825eed314cecdfbced915a26d836a3ea.png)

Check the migration status using.&nbsp;Allow some time for the status to update to 200, confirming successful migration

```javascript
curl -ikS -X GET https://$SEED_IP/api/v1.0/onpremise/multiDc/migration/nodekeeper/currentDc/status?Api-Token=$API_TOKEN -H "accept: application/json" -H "Content-Type: application/json”

```

 ![chiranjitdutta_36-1766398632299.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/5eb357ca2291b4741ee7636bee7dbe2aa4b73684.png)

 ![chiranjitdutta_37-1766398632303.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/6/76a2e90a7da37ad57b38c51f0425ab0ed3017379.png)

**Note:** All this activity needs a stable connection. If ports are not opened correctly, the setup will fail in the middle, and you may need to start again or [rebuild the datacenter](https://docs.dynatrace.com/managed/shortlink/managed-second-dc-recovery-from-dc).

## What’s next

If this article did not help, please open a support ticket, mention that this article was used, and provide the following:

- a link to the Managed Cluster (CMC → Licensing)
- a screenshot of the error that you see during deployment
- Managed Cluster logs ([here](https://docs.dynatrace.com/managed/managed-cluster/operation/diagnostic-archives-for-managed-installations))

**What to read next**

![HannahM_0-1769097109026.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/b/eb6d9d4379a236243b3b08861f33a5d309710d6d.png)  
[Premium High Availability](https://docs.dynatrace.com/managed/managed-cluster/fault-domain-awareness/premium-high-availability)

![HannahM_0-1769097109026.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/b/eb6d9d4379a236243b3b08861f33a5d309710d6d.png)  
[Managed Network Ports](https://docs.dynatrace.com/managed/shortlink/managed-network-ports)

![HannahM_0-1769097109026.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/b/eb6d9d4379a236243b3b08861f33a5d309710d6d.png)  
[Managed hardware requirements](https://docs.dynatrace.com/managed/managed-cluster/installation/dynatrace-managed-hardware-and-system-requirements)

![HannahM_0-1769097109026.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/b/eb6d9d4379a236243b3b08861f33a5d309710d6d.png)  
[Set up a cluster](https://docs.dynatrace.com/managed/shortlink/managed-cluster-setup)

![HannahM_0-1769097109026.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/b/eb6d9d4379a236243b3b08861f33a5d309710d6d.png)  
[Cluster node ports](https://docs.dynatrace.com/managed/shortlink/managed-network-ports)

![HannahM_0-1769097109026.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/b/eb6d9d4379a236243b3b08861f33a5d309710d6d.png)  
[Enable or disable SELinux](https://docs.dynatrace.com/managed/shortlink/managed-selinux)
