Summary: A description of the things you need to update after changing the "operator" user password and when using AIP Console.
Introduction
The "operator" user password is assumed to be set to "CastAIP". If this is not the case - i.e. you have manually changed it (see Changing the default operator and guest passwords for CAST Storage Service) - you will need to perform the actions listed below when using AIP Console.
Step 1 - update aip-node-app.properties
On each AIP Node which is using the CAST Storage Service/PostgreSQL instance for which you have changed the "operator" user password, you will need to update the aip-node-app.properties file and then action a node restart. First, locate the following file and open it with a text editor:
%PROGRAMDATA%/CAST/AipConsole/AipNode/aip-node-app.properties
Find the following lines:
# ============================= # CSS Server parameters # ----------------------------- database.server.name=my_css_server:2282 database.server.user=operator # to encrypt the password use aip-encryption-tool database.server.password=CRYPTED2:90B1A6EC1618661401B724DB5AC34595
The line database.server.password
contains the "operator" user password in encrypted format. You will need to first encrypt the new "operator" user password as explained in Using the aip-encryption-tool to encrypt credentials, then paste the encrypted password into aip-node-app.properties
replacing the existing encrypted password.
Finally restart all AIP Nodes where you have made this change.
Step 2 - perform a resync action on all relevant Applications
In AIP Console move to the Admin Center and choose the Applications tab. Perform a Resync operation on all Applications whose schemas are stored on the CAST Storage Service/PostgreSQL node where the "operator" user password has been changed:
Click to enlarge
Step 3 - update Measurement schema settings
If you have changed the "operator" user password for the CAST Storage Service/PostgreSQL instance used by your global Measurement schema, then you will also need to update the Measurement schema settings in the AIP Console Admin Center. Access the option via Global Configuration > Measurement:
Step 4 - update CAST Dashboards
If your CAST Dashboards access any applications stored on a CAST Storage Service/PostgreSQL instance for which you have changed the "operator" user password, you will need to update your configuration, depending on your environment. When you have updated the relevant file, save the file and then restart the web application or Apache Tomcat server.
Dashboards embedded in AIP Console ≥ 1.25 | application.properties file in the deployed CAST-RESTAPI-integrated ZIP | deployed_zip\configurations\application.properties | Change the following line (there may be multiple CAST Storage Service/PostgreSQL instances referenced): restapi.datasource[0].password=CastAIP |
---|---|---|---|
Dashboards embedded in AIP Console ≤ 1.24 | context.xml file in the deployed CAST-RESTAPI-integrated.war | CATALINA_HOME\webapps\CAST-RESTAPI-integrated\META-INF\context.xml | Change the following line (there may be multiple CAST Storage Service/PostgreSQL instances referenced): <Resource name="jdbc/domains/Resource1" url="jdbc:postgresql://my_css_server:2282/postgres" username="operator" password="CastAIP" |
Standalone 1.x dashboards | context.xml file in the deployed WAR | CATALINA_HOME\webapps\<dashboards>\META-INF\context.xml | |
Standalone ≥ 2.x dashboards | application.properties file in the deployed WAR/ZIP | WAR CATALINA_HOME\webapps\<dashboards>\WEB-INF\classes\application.properties ZIP deployed_zip\configurations\application.properties | Change the following line (there may be multiple CAST Storage Service/PostgreSQL instances referenced): restapi.datasource[0].password=CastAIP |
Step 5 - update CAST Imaging source code viewer
If you are uploading your applications direct to CAST Imaging, and you are using the CAST Imaging source code viewer, you will need to update the configuration to use the new password the relevant CAST Storage Service/PostgreSQL. You can find out more about this in Configure the source code viewer.