Reprovisioning an Admin Server

If you have had to remove an admin server from the durable domain using the delete server command as described in either Removing an Unreachable Admin Server from the Durable Domain

or Re-establishing Admin Process Quorum and the condition that caused the admin server to be removed is resolved you may wish to re-provision an admin server using the same host and/or installation area. This involves removing the raft data for the server and possibly changing the server ID. If the server ID for this installation was listed in the initial membership for the domain the server ID will need to be modified.

To remove the raft data, ensure that the admin process is not running on the host to be re-provisioned and then remove the raftlog file from the $NUODB_VARDIR (/var/opt/nuodb) directory.

Note: Additional privileges might be needed to remove the file if owned by root or the nuodb user.

To determine whether the server ID needs to be modified, review the $NUODB_CFGDIR/nuoadmin.conf (/etc/nuodb/nuoadmin.conf) file for . When you have determined the server ID for this installation, look for it in initialMembership list in the same file. If the server ID is not listed in the initial membership you can restart the admin process at this time and it will re-peer with the domain. If the server ID is listed in the initial membership it will not be possible re-peer with the same server ID. Modify the name of the server set for ThisServerId in $NUODB_CFGDIR/nuoadmin.conf.

Do not modify the setting for initialMembership. The admin process can then be restarted and it will re-peer with a new server ID.