How To Install resource-agents-sap-hana.x86_64 on Amazon Linux 2

In this tutorial we learn how to install resource-agents-sap-hana.x86_64 in Amazon Linux 2. resource-agents-sap-hana.x86_64 is SAP HANA cluster resource agents

Introduction

In this tutorial we learn how to install resource-agents-sap-hana.x86_64 on Amazon Linux 2.

What is resource-agents-sap-hana.x86_64

The SAP HANA resource agents interface with Pacemaker to allow SAP instances to be managed in a cluster environment.

We can use yum to install resource-agents-sap-hana.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install resource-agents-sap-hana.x86_64.

Install resource-agents-sap-hana.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install resource-agents-sap-hana.x86_64 using yum by running the following command:

sudo yum -y install resource-agents-sap-hana.x86_64

How To Uninstall resource-agents-sap-hana.x86_64 on Amazon Linux 2

To uninstall only the resource-agents-sap-hana.x86_64 package we can use the following command:

sudo yum remove resource-agents-sap-hana.x86_64

resource-agents-sap-hana.x86_64 Package Contents on Amazon Linux 2

/usr/lib/ocf/resource.d/heartbeat/SAPHana
/usr/lib/ocf/resource.d/heartbeat/SAPHanaTopology
/usr/share/man/man7/ocf_heartbeat_SAPHana.7.gz
/usr/share/man/man7/ocf_heartbeat_SAPHanaTopology.7.gz

References

Summary

In this tutorial we learn how to install resource-agents-sap-hana.x86_64 on Amazon Linux 2 using yum.