# HA/DR Monitoring

SAP Adaptive Server Enterprise (ASE) High Availability and Disaster Recovery (HADR) system involves two ASE servers, one serving as the primary for transaction processing and the other as a standby with replicated databases.

For monitoring this setup, IT-Conductor's ASE HA/DR monitoring feature provides visibility into the primary and standby servers, along with the status of the HADR system, synchronization mode, and synchronization state.

In the event of a primary server failure and the promotion of the standby server to the primary role, IT-Conductor quickly identifies the new active primary server.

The servers are visually organized in a cluster grouping, distinguishing the standby server with an inactive status symbol, typically represented by a power icon. This enables teams to promptly identify the current state of the system and take necessary actions to ensure uninterrupted service.

### Prerequisites

[Configure ASE primary and secondary databases for monitoring](https://docs.itconductor.com/user-guide/monitoring/database/sap-ase) before configuring HA/DR monitoring in IT-Conductor.

<figure><img src="/files/Ps8OkaXrK83mOAxa5ksR" alt=""><figcaption><p>Figure 1: Existing ASE Databases</p></figcaption></figure>

### Configure HA/DR Monitoring in IT-Conductor <a href="#configure-ha-dr-monitoring-in-it-conductor" id="configure-ha-dr-monitoring-in-it-conductor"></a>

To configure ASE HA/DR monitoring in IT-Conductor, follow the instructions below.

#### Add New HA/DR Cluster <a href="#add-a-new-ha-dr-cluster" id="add-a-new-ha-dr-cluster"></a>

1. Navigate to the desired ASE databases and select **Retrievers**.

<figure><img src="/files/dXhOSMlzNeS1JO1JqRe3" alt=""><figcaption><p>Figure 2: ASE Database Menu</p></figcaption></figure>

2. Activate the following retrievers by clicking on the retriever’s object menu, then click **Activate**.
   1. ![](/files/cJe9dXGNLCEPWTzgctr9)HADR Path
   2. ![](/files/aarXoLY07zFE8lKMMT1T) HADR Resource Status
   3. ![](/files/qWkM6PVQSPoM4QBu6nDl) HADR Status

<figure><img src="/files/shFcXkprCZpita6Pvn9u" alt=""><figcaption><p>Figure 3: Available Retrievers</p></figcaption></figure>

4. Navigate to **Dashboards** → **Administrator**.

<figure><img src="/files/odiRsJF7F4qXMZTIC2Uj" alt=""><figcaption><p>Figure 4: Accessing the Administrator Menu</p></figcaption></figure>

5. In the Administrator dashboard, locate the “Clusters” panel. Then click ![](/files/GyE5mIvG5sbjOhzYdtwX) to create a new cluster.

<figure><img src="/files/GjqgqJkVmEbAszAdbpEE" alt=""><figcaption><p>Figure 5: Create a New Cluster Option</p></figcaption></figure>

5. In the "New Cluster" wizard, fill out all the necessary information. Then click ![](/files/QAu2ZChgCiTyiEJNtbvx) to add the cluster.

<figure><img src="/files/wQylFOlnAH1MkPcV8cSN" alt=""><figcaption><p>Figure 6a: New Cluster Wizard</p></figcaption></figure>

* **Name** - refers to the name of the cluster being added.
* **Description** - refers to any relevant information about the cluster being added.
* **Role** - refers to the specific function or responsibility assigned within the database system.
* **Member Class** - refers to the classification or category of a database user or group. Select **ASE** from the dropdown menu.
* **Controller Class** - refers to the type or level of control associated with a particular user or group. Select **ASEServerService** from the drop-down menu.
* **Active Condition** - refers to the current operational status or state of a specific aspect or component. Click ![](/files/BS6dZt9stLOb7NaBsgZu) to open the pop-up window and fill out the following fields:
  1. **Name**: Select **ASEServerService.ScriptVersion.HADRState** from the menu.
  2. **Operator**: Select **“=”.**
  3. **Value**: Type “Active”**.**
  4. Then click ![](/files/LUOVSRzK3IhJCqammHUM) to close and save.

<figure><img src="/files/MmrCDBzwOjMSa4VlmFo1" alt=""><figcaption><p>Figure 6b: New Cluster Wizard (Adding Active Condition)</p></figcaption></figure>

8. On the following screen, select the databases that you would like to configure for HA/DR monitoring. Then click ![](/files/6Kab8sFwhwzwL39TSRmv) to save.

<figure><img src="/files/MEcbWuVFhfOHXOIeFJRd" alt=""><figcaption><p>Figure 7: Selecting ASE Databases for HA/DR Monitoring</p></figcaption></figure>

After saving, please allow a few minutes for the clusters to appear in the IT-Conductor Service Grid.

<figure><img src="/files/orw8yYVJe9ANqKsbYOsj" alt=""><figcaption><p>Figure 8: Monitored Clusters</p></figcaption></figure>


---

# 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.itconductor.com/user-guide/monitoring/database/ha-dr-monitoring.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.
