How to change the password for vertica DB user in dbconnection.cfg file on the Data Aggregator (DA) Server as it is now encrypted ?
DX NetOps CAPM 20.2 or later
Following are the steps to change the vertica DB user password in the file:
/opt/IMDataAggregator/apache-karaf-<VERSION>/etc/dbconnection.cfg
These steps need to be implemented on the Data Aggregator Server.
/opt/IMDataAggregator/scripts/common.tools.encryption
./doEncryption.sh dradmin|dauser NEWPASSWORD
dbconnection.cfg
with new password provided by step 2 doEncryption.sh
script ./opt/verica/bin/vsql -U dauser -w <old password>
ALTER USER dauser IDENTIFIED BY 'NEWPASSWORD
';
ALTER USER dradmin IDENTIFIED BY 'NEWPASSWORD
'