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!

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
답변함 한 달 전
profile pictureAWS
전문가
검토됨 한 달 전
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
답변함 한 달 전
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

답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠