SAP HANA High Availability on Amazon EC2
The following example shows a component configuration in JSON format for SAP HANA High Availability on Amazon EC2.
{ "subComponents": [ { "subComponentType": "AWS::EC2::Instance", "alarmMetrics": [ { "alarmMetricName": "hanadb_server_startup_time_variations_seconds", "monitor": true }, { "alarmMetricName": "hanadb_level_5_alerts_count", "monitor": true }, { "alarmMetricName": "hanadb_level_4_alerts_count", "monitor": true }, { "alarmMetricName": "hanadb_out_of_memory_events_count", "monitor": true }, { "alarmMetricName": "ha_cluster_pacemaker_stonith_enabled", "monitor": true } ], "logs": [ { "logGroupName": "SAP_HANA_TRACE-my-resourge-group", "logPath": "/usr/sap/HDB/HDB00/*/trace/*.trc", "logType": "SAP_HANA_TRACE", "monitor": true, "encoding": "utf-8" }, { "logGroupName": "SAP_HANA_HIGH_AVAILABILITY-my-resource-group", "logPath": "/var/log/pacemaker/pacemaker.log", "logType": "SAP_HANA_HIGH_AVAILABILITY", "monitor": true, "encoding": "utf-8" } ] } ], "hanaPrometheusExporter": { "hanaSid": "HDB", "hanaPort": "30013", "hanaSecretName": "HANA_DB_CREDS", "prometheusPort": "9668" }, "haClusterPrometheusExporter": { "prometheusPort": "9664" } }