To resolve the issue, update the script and provide the Cassandra username and password.
- Download the attached li-reset-admin-passwd.sh script.
- Copy li-reset-admin-passwd.sh to /opt/vmware/bin on each node using an SCP utility; overwriting the existing li-reset-admin-passwd.sh in that directory.
- Log into the vRealize Log Insight Primary node as root via SSH or Console.
- Run the following command to set permissions on the script:
chmod 755 /opt/vmware/bin/li-reset-admin-passwd.sh
- Repeat steps 3-4 on all nodes in the vRealize Log Insight cluster.
- Run the following command to get the Cassandra credentials and note the user and password values:
/usr/lib/loginsight/application/lib/apache-cassandra-3.11.2/bin/credentials-look-up
Note: You will see output similar to:
<cassandra-user value="lisuper" />
<cassandra-password value="######" />
- Run the following command to reset the admin password:
li-reset-admin-passwd.sh user password
Note: Replace user and password with the values noted in step 6 respectively.
Example: li-reset-admin-passwd.sh lisuper ######