Resetting the NuoDB Domain State

The NuoDB domain state keeps track of the current state of NuoDB Admin servers and databases under the management of NuoDB Admin (nuoadmin). There may be times that it is desirable to reset the domain state. To rest the domain state, delete the raft.log file(s) as follows:

1. Stop the NuoDB Admin process on each host.

Linux TAR installs

To stop NuoDB Admin in a environment where NuoDB was installed using a Linux tar file, run the following script:

$ nuoadmin stop                

Debian/RPM installs

To stop NuoDB Admin in a environment where NuoDB was installed using a Debian Package Utility or a RedHat Package Manager, run the following script:

$ systemctl nuoadmin stop

2. Delete the NuoDB Admin raft.log file from each host that was running a NuoDB Admin process.

$ rm -f /var/opt/nuodb/raftlog