Users may need to test failover and rollback after they creating the warm standby pair.
How to failover is documented in FailoverToWarmStandby .
However, there is no document for rollback.
Instead of rollback, there is document RestoreYourOriginalConfigurationAfterFailover for how to re-create warm standby after a failover.
Here is the suggested test procedure for "failover" and "rollback":
Assuming A was primary, B was standby;
1. "failover"
Stop phantom service for A, and convert B to primary to test "failover". Detailed steps please refer to FailoverToWarmStandby
2. Recreate Warm Stand Pair: B should be primary, A should be standby. Because any latest change was done on B.
2.1) Start postgres and pgbouncer, and turn off primary mode for A, the original primary is online but Splunk SOAR (On-premises) services are not running.
SSH <username>@<instance_A_hostname>
/<PHANTOM_HOME>/bin/phsvc start postgresql-15
/<PHANTOM_HOME>/bin/phsvc start pgbouncer
phenv python /<PHANTOM_HOME>/bin/setup_warm_standby.pyc --primary-mode --off
2.2) Turn off primary mode for B, then B becomes a standalone instance; (You latest work on B won't be lost.)
SSH <username>@<instance_B_hostname>
phenv python /<PHANTOM_HOME>/bin/setup_warm_standby.pyc --primary-mode --off
2.3) Recreate Warm Stand Pair: B is primary, A is standby. Refer to detailed steps in CreateAWarmStandby
3. "failover" again
Stop phantom service for B, and convert A to primary because user want to rollback to original setup. Detailed steps please refer to FailoverToWarmStandby
4. Recreate Warm Stand Pair: A is primary, B is standby. It is the same to original setup.
4.1) Start postgres and pgbouncer, and turn off primary mode for B, which is online but Splunk SOAR (On-premises) services are not running.
SSH <username>@<instance_B_hostname>
/<PHANTOM_HOME>/bin/phsvc start postgresql-15
/<PHANTOM_HOME>/bin/phsvc start pgbouncer
phenv python /<PHANTOM_HOME>/bin/setup_warm_standby.pyc --primary-mode --off
4.2) Turn off primary mode for A, then A becomes a standalone instance; (You latest work on A won't be lost.)
SSH <username>@<instance_A_hostname>
phenv python /<PHANTOM_HOME>/bin/setup_warm_standby.pyc --primary-mode --off
4.3) Recreate Warm Stand Pair: A is primary, B is standby. Refer to detailed steps in CreateAWarmStandby
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |