How to modify blue/green switchover mapping

1

My MySQL 5.6 RDS cluster is reaching end of life. I've created a blue/green deployment, as suggested in the notification. When I attempt the switchover, it returns the message, "DB instance rl-dev-e1a has a different role than rl-dev-e1a-green-r0puam" the blue role is a writer instance and the green role is a reader instance. The blue e1b is a reader instance and the green e1b is a writer instance. It appears the mappings are crossed. How do I change the mappings, so that the blue writer is mapped to the green writer and the blue reader is mapped to the green reader?

EdTGuy
posta un anno fa819 visualizzazioni
1 Risposta
2

This error is because your green cluster has had a role change, the writer in that cluster switched frm one node to another node. In order to resolve this issue you can call failover-db-cluster on the green cluster to make rl-dev-e1a-green-r0puam the writer and then blue green deployment switchover will succeed.

Thanks,

AWS
MODERATORE
philaws
con risposta un anno fa
  • Thank you. The switchover is now progressing.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande