Is passwordless ssh a requirement for root when installing the data repository

Document ID : KB000013983
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

Is passwordless ssh required for the data repository installation of a three node cluster?  Can the installation be done as a non-root user?

Environment:
Any CAPM environment
Answer:

When installing a three node cluster you would still need to be root in order to configure passwordless-ssh (publickey) between the nodes, or to itself in a single node setup. For a data repository cluster, passwordless ssh is a requirement when installing the vertica database.  After the installation of the vertica database, you can remove the root passwordless ssh config, but you would need to re-enable it when doing a subsequent vertica upgrade.  To remove passwordless ssh for root, you need to remove the ~root/.ssh/authorized_keys* files (if it only has entries for the 3 nodes), or remove the entries in the ~root/.ssh/authorized_keys* files for the nodes in the cluster.