Alta disponibilidad de SAP ASE en Amazon EC2 - Amazon CloudWatch

Alta disponibilidad de SAP ASE en Amazon EC2

En el ejemplo siguiente se muestra una configuración de componentes en formato JSON para una alta disponibilidad de SAP ASE en Amazon EC2.

{ "subComponents": [ { "subComponentType": "AWS::EC2::Instance", "alarmMetrics": [ { "alarmMetricName": "asedb_database_availability", "monitor": true }, { "alarmMetricName": "asedb_trunc_log_on_chkpt_enabled", "monitor": true }, { "alarmMetricName": "asedb_last_db_backup_age_in_days", "monitor": true }, { "alarmMetricName": "asedb_last_transaction_log_backup_age_in_hours", "monitor": true }, { "alarmMetricName": "asedb_suspected_database", "monitor": true }, { "alarmMetricName": "asedb_db_space_usage_percent", "monitor": true }, { "alarmMetricName": "asedb_ha_replication_state", "monitor": true }, { "alarmMetricName": "asedb_ha_replication_mode", "monitor": true }, { "alarmMetricName": "asedb_ha_replication_latency_in_minutes", "monitor": true } ], "logs": [ { "logGroupName": "SAP_ASE_SERVER_LOGS-my-resource-group", "logPath": "/sybase/SY2/ASE-*/install/SY2.log", "logType": "SAP_ASE_SERVER_LOGS", "monitor": true, "encoding": "utf-8" }, { "logGroupName": "SAP_ASE_BACKUP_SERVER_LOGS-my-resource-group", "logPath": "/sybase/SY2/ASE-*/install/SY2_BS.log", "logType": "SAP_ASE_BACKUP_SERVER_LOGS", "monitor": true, "encoding": "utf-8" }, { "logGroupName": "SAP_ASE_REP_SERVER_LOGS-my-resource-group", "logPath": "/sybase/SY2/DM/repservername/repservername.log", "logType": "SAP_ASE_REP_SERVER_LOGS", "monitor": true, "encoding": "utf-8" }, { "logGroupName": "SAP_ASE_RMA_AGENT_LOGS-my-resource-group", "logPath": "/sybase/SY2/DM/RMA-*/instances/AgentContainer/logs/", "logType": "SAP_ASE_RMA_AGENT_LOGS", "monitor": true, "encoding": "utf-8" }, { "logGroupName": "SAP_ASE_FAULT_MANAGER_LOGS-my-resource-group", "logPath": "/opt/sap/FaultManager/dev_sybdbfm", "logType": "SAP_ASE_FAULT_MANAGER_LOGS", "monitor": true, "encoding": "utf-8" } ], "sapAsePrometheusExporter": { "sapAseSid": "ASE", "sapAsePort": "4901", "sapAseSecretName": "ASE_DB_CREDS", "prometheusPort": "9399", "agreeToEnableASEMonitoring": true }