本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
常見問答集
尋找有關容錯移轉和容錯回復的 DR Orchestrator 架構問題的答案。
使用此方法可以達到什麼 RPO 和 RTO?
如需有關復原時間目標 (RTO) 和復原點目標 (RPO) 的資訊,請參閱 資料庫的策略災難復原策略 AWS。
是否必須使用 AWS CloudFormation 匯出變數?
否,您可以直接以 JSON 格式傳遞 Amazon Aurora 全域資料庫或 Amazon RDS 資料庫執行個體的值 (例如:- "RDSInstanceIdentifier": "rds-mysql-instance")。
我可以使用 DR Orchestrator FAILOVER 工作流程來容錯移轉多個 AWS 資料庫嗎?
是,您可以在輸入參數檔案中傳遞多個資源,以容錯移轉多個 AWS 資料庫。下列程式碼範例顯示平行容錯移轉 Amazon RDS for MySQL 僅供讀取複本和 Amazon ElastiCache (Redis OSS) 全域資料存放區:
{ "StatePayload": [ { "layer": 1, "resources": [ { "resourceType": "PromoteRDSReadReplica", "resourceName": "Promote RDS MySQL Read Replica", "parameters": { "RDSInstanceIdentifier": "!Import rds-mysql-instance-identifier", "TargetClusterIdentifier": "!Import rds-mysql-instance-global-arn" } }, { "resourceType": "FailoverElastiCacheCluster", "resourceName": "Failover ElastiCache Cluster", "parameters": { "GlobalReplicationGroupId": "!Import demo-redis-cluster-global-replication-group-id", "TargetRegion": "!Import demo-redis-cluster-target-region", "TargetReplicationGroupId": "!Import demo-redis-cluster-target-replication-group-id" } } ] } ] }
執行 Amazon RDS 的 DR Orchestrator FAILBACK 狀態機器時,如何避免 InvalidParameterCombination 錯誤?
錯誤的完整文字為:
"errorMessage": "An error occurred (InvalidParameterCombination) when calling the
DeleteDBInstance operation: Cannot delete protected DB Instance, please disable deletion
protection and try again."
若要避免錯誤,請在執行狀態機器之前停用 來修改 RDS 執行個體。 DeletionProtection DR Orchestrator FAILBACK