Mysql RDS reboot with failover

0

Hello,

Our db instance was multi-az. Seems the db itself got corrupted judging by the logs available. Instance db identifier is "campayn-production-ca".

RDS instance got stuck into "rebooting" state. We can't reboot with failover when reboot is not available or anything else regarding this instance.

Please advice how to force second instance. Thank you!

已提问 1 个月前134 查看次数
3 回答
0

Hello there is already an article in repost, Please checking information here https://repost.aws/knowledge-center/rds-mysql-stuck-rebooting

Additional Information from Side,

Try Force Failover:

aws rds reboot-db-instance --db-instance-identifier campayn-production-ca --force-failover

Data Loss: Forced failover might lead to some data loss from the most recent transactions. Recovery Planning: After failover, carefully examine the state of the new primary (formerly the secondary) to determine if any data recovery steps are needed from the corrupted instance.

Another Alternatives:

  • Create New instance point in restore with name campayn-production-ca-new
  • Rename existing campayn-production to campayn-production-old
  • change the new db create with name campayn-production so this instance will be come NEW production.
profile picture
专家
GK
已回答 1 个月前
profile pictureAWS
专家
已审核 1 个月前
0

Hello ,

Alternative is to restore the Automated backup or use the last good snapshot ,

please see

Amazon RDS Backup and Restore https://aws.amazon.com/rds/features/backup/

Restoring from a DB snapshot https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_RestoreFromSnapshot.html

AWS
已回答 1 个月前
0

Hello,

When I tried to use cli force command I got:

An error occurred (InvalidDBInstanceState) when calling the RebootDBInstance operation: Can only reboot db instances with state in: available, storage-optimization, incompatible-credentials, incompatible-parameters. Instance campayn-production-ca has state: rebooting.

Thank you

已回答 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则