Maintenance and Troubleshooting
The following commands can help you to maintain the HA servers and make sure everything is working as correctly.
Database
Postgres
-
systemctl start postgresql-10
-
systemctl restart postgresql-10
-
systemctl status postgresql-10
-
Cluster show – use the following commands:
-
su - postgres
-
/usr/pgsql-10/bin/repmgr -f /etc/repmgr/10/repmgr.conf cluster show
-
*If the failover does not work use the following commands on the standby DB machine:
-
su - postgres
-
/usr/pgsql-10/bin/repmgr standby promote
Repmgr
-
systemctl start repmgr10
-
systemctl restart repmgr10
-
systemctl status repmgr10
APP
Pcs cluster
-
pcs status
-
pcs resource failcount reset
Siemplify Services
systemctl [command] Siemplify.Server.service
systemctl [command] Siemplify.Server.ETL.DataProcessingEngine.service
systemctl [command] Siemplify.Server.Indexer.service
systemctl [command] Siemplify.Server.PlaybookActions.service
systemctl [command] Siemplify.Server.PythonExecution.service
systemctl [command] Siemplify.Connectors.service
Commands: start \ stop \ restart \ status