How do I stop an auxiliary database cluster?

Purpose
CAUTION 

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.

 

If the NSP deployment does not include the NFM-P, go to Step 4.


Perform the following steps on each NFM-P auxiliary server station to stop the server.

  1. Log in to the station as the nsp user.

  2. Open a console window.

  3. Enter the following:

    bash$ cd /opt/nsp/nfmp/auxserver/nms/bin ↵

  4. Enter the following:

    bash$ ./auxnmsserver.bash auxstop ↵

  5. Enter the following to display the auxiliary server status:

    bash$ ./auxnmsserver.bash auxappserver_status ↵

    The server status is displayed; the server is fully stopped if the status is the following:

    Auxiliary Server is stopped

    If the server is not fully stopped, wait five minutes and then repeat this step. Do not perform the next step until the server is fully stopped.


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.

  1. Log in to the station as the nsp user.

  2. Open a console window.

  3. Enter the following:

    bash$ cd /opt/nsp/nfmp/server/nms/bin ↵

  4. Enter the following

    bash$ ./nmsserver.bash stop ↵

  5. Enter the following to display the NFM-P server status:

    bash$ ./nmsserver.bash appserver_status ↵

    The server status is displayed; the server is fully stopped if the status is the following:

    Application Server is stopped

    If the server is not fully stopped, wait five minutes and then repeat this step. Do not perform the next step until the server is fully stopped.


Log in to any auxiliary database station in the cluster as the root user.


Enter the following:

cd /opt/nsp/nfmp/auxdb/install/bin ↵


Enter the following to stop and disable the auxiliary database services:

./auxdbAdmin.sh stopAndDisableServices ↵


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]:


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.


Close the console windows.

End of steps