Blog Archives
vCD Upgrade or Patch after 10.1 :(
This story started when i gently f*ucked my vCD HA 3 nodes version upgrade from 10.1 to 10.2
My database availability mode was AUTOMATIC 😀
Because of it, i did not read prerequisites good enough, executed Guest OS Shutdown for vCD Primary node and I felt like perfect because i already got the backup and easy will take snapshot and continue to upgrade but after reboot saw that I have two primary, one is failed state (of course its my old primary db)
I expected that I have to do something to fix this with like re-register primary node as a secondary or/and use repmgr node rejoin (also saw something from Stack Overflow) but because of its in production and no need to take risk, i fallowed the way ;
Unregister vCD Node from repmgr : (Here because of this node remain primary use primary flag to remove)
/opt/vmware/vpostgres/current/bin/repmgr primary unregister –node-id=7590 -f /opt/vmware/vpostgres/current/etc/repmgr.conf
Then I deleted related vCD node and create new one as a standby and join to the cluster again, after looks like everything is fine, we are in game again …
Read the rest of this entry