API Connect - Switching the DataPower Peering Primary
In the event that a DataPower quorum is lost the remaining DataPowers can be forced into a working quorum.
Note: Please note that a human must decide when this takes place so there is reduced risk of split brain
-
SSH into thee DataPower pod that you wish to become master or connect to the pod
ssh <hotname> -p<configured ssh port>
orkubectl attach -ti <datapower pod name> -n <namespace>
If you attach to the pod do not usectl+d
to exit the session as this will end the DataPower process and cause the pod to restart. Instead usectl+p ctl+q
to quit without ending the process -
login with admin / admin (or whatever the user has changed it to previously)
-
Run the following command
sw apiconnect ; top ; co ; gateway-peering-switch-primary subs ; gateway-peering-switch-primary rate-limit ; gateway-peering-switch-primary gwd ; gateway-peering-switch-primary tms ; exit ; exit
Update 4/12/2019 - Added the two additional peering tables that need to be made primary for 418.