To uninstall an auxiliary database

Description
CAUTION 

CAUTION

Data Loss

Performing this procedure permanently erases all auxiliary database data.

Before you perform this procedure, ensure that you have a backup of the auxiliary database, if the data is of value.

The following steps describe how to delete an NFM-P auxiliary database and remove the auxiliary database software from all auxiliary database stations.

Note: You require the following user privileges on each auxiliary database station:

  • root

  • dba user

Note: A leading # character in a command line represents the root user prompt, and is not to be included in a typed command.

Steps
 
1 

Log in to an auxiliary database station as the root user.


2 

Open a console window.


3 

Enter the following:

# /opt/nsp/nfmp/auxdb/install/bin/auxdbAdmin.sh uninstall ↵

The script displays the following message and prompt:

THIS ACTION WILL ERASE YOUR DATABASE

Please type 'YES' to continue


4 

Enter YES. You are prompted for the dba password.


5 

Enter the password.

The following messages are displayed as the database is stopped and the database objects are removed from each station:

Stopping auxiliary database ...

Dropping auxiliary database ...

Removing data and catalog directories from all nodes


6 

Perform the following steps on each auxiliary database station.

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

  2. Open a console window.

  3. Enter the following to remove the auxiliary database packages:

    # dnf erase nspos-auxdb nspos-jre ↵

    The dnf utility resolves any package dependencies and displays the following prompt:

    Remove 2 Package(s)

    Installed size: nnn M

    Is this ok [y/N]:

  4. Enter y. The packages are removed.

  5. When all packages are removed, enter the following to reboot the station:

    # systemctl reboot ↵

    The station reboots:

  6. Remove the /opt/nsp/nfmp/auxdb directory and contents.

End of steps