Constraints - SAP HANA on AWS

Constraints

Define two constraints, one for the Overlay IP address which helps with routing client traffic to active database host and the second one for the start order between the SAPHANA and SAPHANATopology resource agents.

Create a file called “crm-cs.txt” with following cluster bootstrap options for constraints:

prihana:~ # cat crm-cs.txt colocation col_IP_Primary 2000: res_AWS_IP:Started msl_SAPHana_HDB_HDB00:Master order ord_SAPHana 2000: cln_SAPHanaTopology_HDB_HDB00 msl_SAPHana_HDB_HDB00

Update the SID and Instance number referred in cln_SAPHanaTopology_<SID>_HDB<Instance Number> and msl_SAPHana_<SID>_HDB<Instance Number> configuration.

Add the constraints configuration file to the cluster with the following command:

prihana:~ # crm configure load update crm-cs.txt