Watch4Net/SRM Suite :How to encrypt the APG database password
book
Article ID: 333403
calendar_today
Updated On:
Products
VMware
Issue/Introduction
Symptoms:
Watch4Net/SRM Suite 6.3::How to encrypt the APG database password
This is a draft work in progress doc, will update with correct procedure once done
Ran the crypted password (created with crypt-password.sh) from opt/APG/bin Changed the APG user password in the following xml files with encrypted password: Portal server: APG/Web-Servers/Tomcat/Default/conf/server.xml APG/Tools/Frontend-Search/Default/conf/frontend-search.xml APG/Web-Servers/Tomcat/Default/conf/Catalina/localhost/alerting-frontend.xml
Stopped the services MySQL login: mysql-client.sh username = root database = mysql password = watch4net use mysql; UPDATE mysql.user SET password=password('encryptedpassword') WHERE User='apg'; flush privileges;
grant all privileges on *.* to 'apg'@PBE' identified by '{ENCRYPTEDPASSWORD}';
This should log you into mysql If any issues take a look at catalina log for todays date within programfiles/APG/Web-Servers/Tomcat/Default/logs Ie you may need to grant priveleges to other hosts
restart services
Environment
VMware Smart Assurance - Watch4Net/M&R
Cause
need for encrypted security password for watch4net db
Resolution
In server.xml on frontend host within /opt/APG/Web-Servers/Tomcat/Default/conf you have 2 choices
1)Either you enter the clear-text password 2)or you use crypt-password against the clear text (and not the encrypted db password)
Option 2 is only available with APG 6.4 or ViPR SRM 3.5 1. add the following in opt/APG/Web-Servers/Tomcat/Default/conf/unix-service.properties