Skip to content

Commit 61202ef

Browse files
authored
Added steps to install ha cluster exporter
1 parent 6a34205 commit 61202ef

File tree

1 file changed

+23
-9
lines changed

1 file changed

+23
-9
lines changed

articles/virtual-machines/workloads/sap/configure-ha-cluster-azure-monitor-sap-solutions.md

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ ms.author: sujaj
1414

1515
[!INCLUDE [Azure Monitor for SAP solutions public preview notice](./includes/preview-azure-monitor.md)]
1616

17-
In this how-to guide, you'll learn to create a High Availability (HA) Pacemaker cluster provider for Azure Monitor for SAP solutions. You'll install the HA agent, then create the provider for Azure Monitor for SAP solutions.
17+
In this how-to guide, you'll learn to create a High Availability (HA) Pacemaker cluster provider for Azure Monitor for SAP solutions. You'll install the HA agent, then create the provider for Azure Monitor for SAP solutions.
1818

1919
This content applies to both Azure Monitor for SAP solutions and Azure Monitor for SAP solutions (classic) versions.
2020

2121
## Prerequisites
2222

23-
- An Azure subscription.
23+
- An Azure subscription.
2424
- An existing Azure Monitor for SAP solutions resource. To create an Azure Monitor for SAP solutions resource, see the [quickstart for the Azure portal](azure-monitor-sap-quickstart.md) or the [quickstart for PowerShell](azure-monitor-sap-quickstart-powershell.md).
2525

2626
## Install HA agent
@@ -33,28 +33,42 @@ For RHEL-based clusters, install **performance co-pilot (PCP)** and the **pcp-pm
3333

3434
For RHEL-based pacemaker clusters, also install [PMProxy](https://access.redhat.com/articles/6139852) in each node.
3535

36+
### Steps to install HA Cluster Exporter on RHEl system:
37+
1. Install the required packages on the system.
38+
1. yum install pcp pcp-pmda-hacluster
39+
1. Enable and start the required PCP Collector Services.
40+
1. systemctl enable pmcd
41+
1. systemctl start pmcd
42+
1. Install and enable the HA Cluster PMDA. (replace $PCP_PMDAS_DIR with the path where hacluster is installed, use find command in linux to find it)
43+
1. cd $PCP_PMDAS_DIR/hacluster
44+
1. ./install
45+
1. Enable and start the pmproxy service.
46+
1. sstemctl start pmproxy
47+
1. systemctl enable pmproxy
48+
1. Data will then be collected by PCP on the system and can be exported via pmproxy at the following address:
49+
1. http://<'servername or ip address'>:44322/metrics?names=ha_cluster
3650

3751
## Create provider for Azure Monitor for SAP solutions
3852

3953
1. Sign in to the [Azure portal](https://portal.azure.com).
40-
1. Go to the Azure Monitor for SAP solutions service.
54+
1. Go to the Azure Monitor for SAP solutions service.
4155
1. Open your Azure Monitor for SAP solutions resource.
4256
1. In the resource's menu, under **Settings**, select **Providers**.
4357
1. Select **Add** to add a new provider.
4458

45-
![Diagram of Azure Monitor for SAP solutions resource in the Azure portal, showing button to add a new provider.](./media/azure-monitor-sap/azure-monitor-providers-ha-cluster-start.png)
59+
![Diagram of Azure Monitor for SAP solutions resource in the Azure portal, showing button to add a new provider.](./media/azure-monitor-sap/azure-monitor-providers-ha-cluster-start.png)
4660

4761
1. For **Type**, select **High-availability cluster (Pacemaker)**.
48-
1. Configure providers for each node of the cluster by entering the endpoint URL for **HA Cluster Exporter Endpoint**.
62+
1. Configure providers for each node of the cluster by entering the endpoint URL for **HA Cluster Exporter Endpoint**.
4963

50-
1. For SUSE-based clusters, enter `http://<'IP address'> :9664/metrics`.
64+
1. For SUSE-based clusters, enter `http://<'IP address'> :9664/metrics`.
65+
66+
![Diagram of the setup for an Azure Monitor for SAP solutions resource, showing the fields for SUSE-based clusters.](./media/azure-monitor-sap/azure-monitor-providers-ha-cluster-suse.png)
5167

52-
![Diagram of the setup for an Azure Monitor for SAP solutions resource, showing the fields for SUSE-based clusters.](./media/azure-monitor-sap/azure-monitor-providers-ha-cluster-suse.png)
5368

54-
5569
1. For RHEL-based clusters, enter `http://<'IP address'>:44322/metrics?names=ha_cluster`.
5670

57-
![Diagram of the setup for an Azure Monitor for SAP solutions resource, showing the fields for RHEL-based clusters.](./media/azure-monitor-sap/azure-monitor-providers-ha-cluster-rhel.png)
71+
![Diagram of the setup for an Azure Monitor for SAP solutions resource, showing the fields for RHEL-based clusters.](./media/azure-monitor-sap/azure-monitor-providers-ha-cluster-rhel.png)
5872

5973

6074
1. Enter the system identifiers, host names, and cluster names. For the system identifier, enter a unique SAP system identifier for each cluster. For the hostname, the value refers to an actual hostname in the VM. Use `hostname -s` for SUSE- and RHEL-based clusters.

0 commit comments

Comments
 (0)