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 auxiliary database 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 to any auxiliary database station in the cluster as the root user. |
5 |
Enter the following: # cd /opt/nsp/nfmp/auxdb/install/bin ↵ |
6 |
Enter the following to stop and disable the auxiliary database services: # ./auxdbAdmin.sh stopAndDisableServices ↵ |
7 |
Enter the following: # ./auxdbAdmin.sh stop ↵ The following prompt is displayed: Please enter auxiliary database dba password [if you are doing initial setup for auxiliary database, press enter]: |
8 |
Enter the dba password. Information like the following is displayed: Database samdb stopped successfully 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 Note: If the inital stop does not succeed, force_stop is attempted automatically until the auxiliary database is stopped. If the database does not stop, do not proceed to the next step and contact Nokia support for further assistance. |
9 |
Close the console windows. End of steps |