When the DR DB is restarted, through an upgrade or other maintenance activities like system patching, it may return the following symptoms.
DR DB fails to start with "Unable to read database catalogs" message due to expired password for dradmin user.
During a DR DB Vertica upgrade the dr_install.sh fails. In it's log file we see:
If we try to start vertica from adminTools, option 5, restart vertica on host, it may returns to screen with nothing happening.
If a multi-node cluster has only one node with dradmin user password expired, the other nodes may start while it waits for the remaining node to be started.
When using the cmd line force option:
./admintools -t restart_node -F -s IP-of-node -d drdata
We get an error to the CLI that states:
Info: no password specified, using none
*** Restarting nodes for database drdata ***
Restarting host [IP-address] with catalog [v_drdata_node0001_catalog]
Unable to read database catalogs - cannot start database.
Restart Nodes result: Unable to read database catalogs
If we look in the /opt/vertica/log/adminTools.log file we may see the following message:
<Date><Time> admintools/188457:0x7f3c0672f740 [AdapterConnectionPool_3.connect2_using_stored_auth] <WARNING> Unable to SSH as dradmin to <IP_ADDRESS>: UNEXPECTED EOF: Could not login with ssh. ssh output: Your account has expired; please contact your system administrator\nAuthentication failed.\n"
Running "ssh ls dradmin@<Node_IP>" from node to node reveals that select nodes are not able to successfully communicate with each other using the required passwordless SSH configurations that are set up and valid.
All supported DX NetOps Performance Management releases
The OS dradmin user, the DB admin user, has an expired password at the OS level.
To determine which nodes have a dradmin user that requires a password reset follow these steps.
For each user with an expired account due to an expired password reset the password to reenable the user account.
Make sure that passwordless ssh is enabled and working for the dradmin OS user to the local node and ALL other nodes in the vertica cluster.
See the KB article Changing dradmin OS user password in Performance Management for additional information on resetting the dradmin OS users password.