HA Slave per CLI managen
Zitat von mpca am 26. Februar 2021, 21:01 UhrStep 1: login to master node, su to root
Step 2: open a new ssh window, login to master again, su to root
Step 3: on 2nd window, enter: ha_utils ssh (nicht als root)
Step 4: in the 2nd window, login to slave as loginuser, then su to rootDatenbank auf HA Geräte rebuilden.
Step 5: on both ssh windows, enter: killall repctl
Step 6: on both ssh windows, enter: /etc/init.d/postgresql92 rebuild
Step 7: after database rebuilds, enter on both ssh windows: repctl
Step 1: login to master node, su to root
Step 2: open a new ssh window, login to master again, su to root
Step 3: on 2nd window, enter: ha_utils ssh (nicht als root)
Step 4: in the 2nd window, login to slave as loginuser, then su to root
Datenbank auf HA Geräte rebuilden.
Step 5: on both ssh windows, enter: killall repctl
Step 6: on both ssh windows, enter: /etc/init.d/postgresql92 rebuild
Step 7: after database rebuilds, enter on both ssh windows: repctl