Amazon EC2 上的 SAP NetWeaver 高可用性
以下示例显示了适用于 Amazon EC2 上的 SAP NetWeaver 高可用性的 JSON 格式组件配置。
{ "subComponents": [ { "subComponentType": "AWS::EC2::Instance", "alarmMetrics": [ { "alarmMetricName": "ha_cluster_corosync_ring_errors", "monitor": true }, { "alarmMetricName": "ha_cluster_pacemaker_fail_count", "monitor": true }, { "alarmMetricName": "sap_HA_check_failover_config_state", "monitor": true }, { "alarmMetricName": "sap_HA_get_failover_config_HAActive", "monitor": true }, { "alarmMetricName": "sap_alerts_AbortedJobs", "monitor": true }, { "alarmMetricName": "sap_alerts_Availability", "monitor": true }, { "alarmMetricName": "sap_alerts_BasisSystem", "monitor": true }, { "alarmMetricName": "sap_alerts_DBRequestTime", "monitor": true }, { "alarmMetricName": "sap_alerts_Database", "monitor": true }, { "alarmMetricName": "sap_alerts_FrontendResponseTime", "monitor": true }, { "alarmMetricName": "sap_alerts_LongRunners", "monitor": true }, { "alarmMetricName": "sap_alerts_QueueTime", "monitor": true }, { "alarmMetricName": "sap_alerts_ResponseTime", "monitor": true }, { "alarmMetricName": "sap_alerts_ResponseTimeDialog", "monitor": true }, { "alarmMetricName": "sap_alerts_ResponseTimeDialogRFC", "monitor": true }, { "alarmMetricName": "sap_alerts_Security", "monitor": true }, { "alarmMetricName": "sap_alerts_Shortdumps", "monitor": true }, { "alarmMetricName": "sap_alerts_SqlError", "monitor": true }, { "alarmMetricName": "sap_alerts_System", "monitor": true }, { "alarmMetricName": "sap_enqueue_server_replication_state", "monitor": true }, { "alarmMetricName": "sap_start_service_processes", "monitor": true } ], "logs": [ { "logGroupName": "SAP_NETWEAVER_DEV_TRACE_LOGS-NetWeaver-PR1", "logPath": "/usr/sap/<SID>/D*/work/dev_w*", "logType": "SAP_NETWEAVER_DEV_TRACE_LOGS", "monitor": true, "encoding": "utf-8" } ] } ], "haClusterPrometheusExporter": { "prometheusPort": "9664" }, "netWeaverPrometheusExporter": { "sapSid": "PR1", "instanceNumbers": [ "11", "12" ], "prometheusPort": "9680" } }