How do I stop an auxiliary database cluster?
Purpose
![]() |
CAUTION Service disruption |
Stopping an auxiliary database cluster may be service-affecting.
Perform the procedure only if required, and only during a scheduled maintenance period.
Note: In a geo-redundant auxiliary database, stopping the primary cluster will cause the standby cluster to be activated. If this behaviour is not desired, you must stop the proxy on the standby auxiliary database stations first.
If you do not know which cluster is currently the primary cluster, perform How do I check the auxiliary database status?.
Perform this procedure to stop the auxiliary database software on all stations in an auxiliary database cluster, for example, for maintenance purposes.
1 |
If the NSP deployment does not include the NFM-P, go to Step 4. |
2 |
Perform the following steps on each NFM-P auxiliary server station to stop the server.
|
3 |
Perform the following steps on each NFM-P main server station to stop the server. Note: In a redundant system, you must perform the steps on the standby main server first.
|
4 |
Log in as the root user on each auxiliary database station in the cluster. |
5 |
Enter the following to stop the auxiliary database proxy services: # systemctl stop nspos-auxdbproxy.service ↵ |
6 |
Log in to any auxiliary database station in the cluster as the root user. |
7 |
Enter the following to block external access to the auxiliary database ports: # /opt/nsp/nfmp/auxdb/install/bin/auxdbAdmin.sh shieldsUp ↵ |
8 |
Enter the following: # /opt/nsp/nfmp/auxdb/install/bin/auxdbAdmin.sh stop ↵ You are prompted to enter the database administrator user's password. |
9 |
Enter the password. |
10 |
Enter the following to display the auxiliary database status: # ./auxdbAdmin.sh status ↵ Information like the following is displayed: Database status Node | Host | State | Version | DB ------------+---------------+-------+---------+------- node_1 | internal_IP_1 | STATE | version | db_name node_2 | internal_IP_2 | STATE | version | db_name . . . node_n | internal_IP_n | STATE | version | db_name Output captured in log_file The cluster is stopped when each STATE entry reads DOWN. Note: If the cluster is not stopped, enter the following to force the auxiliary database to stop, entering the database administrator user's password when prompted. # ./auxdbAdmin.sh force_stop ↵ |
11 |
Close the console windows. End of steps |