When using "-d, --ignore-database" in warm standby configuration in standby node, the script completes. But the database is not streaming from primary to standby node.
Create warm standby in primary and standby node:
1.On the primary Splunk SOAR (on premises) instance, run the setup_warm_standby.pyc script:
phenv python /<$PHANTOM_HOME>/bin/setup_warm_standby.pyc --primary-mode --configure --primary-ip <IP address of the primary> --standby-ip <IP address of the warm standby>
2. On the standby Splunk SOAR (on premises) instance, run the setup_warm_standby.pyc script with --ignore-database flag:
phenv python /<$PHANTOM_HOME>/bin/setup_warm_standby.pyc --standby-mode --ignore-database --configure --primary-ip <IP address of the primary> --standby-ip <IP address of the warm standby>
The script completed. However when checking the status, the database is not streaming:
$ /opt/phantom/bin/phenv setup_warm_standby --status
Logs for this script run will be located at /opt/phantom/var/log/phantom/warm_standby.log
Instance looks like Primary
DB replication configured with Standby set to: <standby ip>
DB replication currently not streaming
Vault sync configured
========= Script Done =========
Logs for this script run will be located at /opt/phantom/var/log/phantom/warm_standby.log
According to the document Manage warm standby features and options | Platform (last updated 2026-04-16T19:45:59.574Z),
|
-d, --ignore-database |
Ignore the PostgreSQL database. Ignores the Postgres database during setup. Only backs up system files. |
The SOAR document needs more details. The -d, --ignore-database argument will skip all DB operations including backup and DB replication, which is typically only useful for users who are handling PostgreSQL replication themselves or if you are in AWS and using a multi-region/replicated DB.
Sometimes users would like to skip backup of the current database during the warm standby configuration in the standby node when there is a large DB, which requires extra disk space and time. SOAR currently does not have a dedicated feature to skip backing up the local DB and only copying the primary DB. You may use the workaround of first running the warm standby script with both the --recreate-local-db and --standby-mode --off arguments. This will essentially purge the contents of the database folder. After this you can upgrade as normal and then re-enable warm standby.
***Please note that the workaround needs to be tested successfully before applying it to the production environment.
Manage warm standby features and options | Platform (last updated 2026-04-16T19:45:59.574Z)
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |