What to do if parsing errors related to resource link updating occur
If you observe parsing errors related to resource link updating, follow this procedure.
- On the Frontend server, list the resources. Type the command:/opt/APG/bin/manage-resources.sh listFor example, the output looks like:"dba/ES-TF-ALLPORTS", "dba/ES-TF-APP", "dba/ES-TF-CONV", "dba/ES-TF-DATA", "dba/ES-TF-DSTADDR", "dba/ES-TF-HOSTS", "dba/ES-TF-INT", "dba/ES-TF-NOSNMP", "dba/ES-TF-PROTO", "dba/ES-TF-SRCADDR", "dba/APG-DB", "mgmt/APG-DB",
- For all of the resources in your list, use themanage-resources.sh updatecommand to change the password towatch4net. Here are two examples. For the dba/APG-DB resource, type:/opt/APG/bin/manage-resources.sh update dba/APG-DB '{ "type": "jdbc", "datasource": { "maxActive": "10", "maxIdle": "10", "validationQuery": "SELECT 1", "testOnBorrow": "false", "testWhileIdle": "true", "validationQueryTimeout": "5", "timeBetweenEvictionRunsMillis": "10000", "minEvictableIdleTimeMillis": "60000", "maxWait": "10000", "removeAbandoned": "true", "removeAbandonedTimeout": "60", "logAbandoned": "true", "driverClassName": "com.mysql.jdbc.Driver", "username": "apg", "password": "watch4net", "url": "jdbc:mysql://wp-dev-098.lss.emc.com:53306/apg?autoReconnect=true&connectTimeout=20000&maxReconnects=2" }, "settings": {"cachegrp": "DB"} }'For the mgmt/APG-DB resource, type:/opt/APG/bin/manage-resources.sh update mgmt/APG-DB '{ "type": "webservice", "connection": { "disableSSLValidation": true, "url": "https://wp-dev-098.lss.emc.com:48443/Backends/APG-Backend/Default", "user": "admin", "password": "watch4net" } }'TheInstallation and Configuration Guide for M&Rprovides detailed information about resources and themanage-resources.sh updatecommand.
- After you change the password for all of the resources, restart the Tomcat service. GUID-C2C89839-382A-4BF1-9A89-2E42D892830C-en