Article Original Creation Date: 2011-09-19
Overview
Despite multiple ACS (Auto-Configuration Server) online in production, only one is visible on the ServiceGateway GUI under, Administration > Servers > CWMP.
Environment
Service Gateway 4.x
Root Cause
The error occurs when the ACS and API names are not different in the ACS properties file.
Overview
To resolve the issue mentioned previously, update the server names in the ACS.properties files. The steps to update the names are listed below:
- Log in to the ACS server.
- Navigate to the folder:
apache-tomcat-x.x.xx/webapps-acs/ACS-server
- Back up and edit the file ACS.properties to update the field ACS_NAME="<acs_name>".
- Navigate to the folder
/apache-tomcat-x.x.xx/webapps-api/ACS-api
- Back up and edit the file ACS.properties to update the field API_NAME="<api_name>".
- Repeat the steps 1 to 5 for all the ACS servers. Make sure the field values are unique for each server. For example:
Server 1:ACS = SG41 ACSAPI = SG41 API
Server 2:ACS = SG42 ACSAPI = SG42 API
After executing the steps above, rebuild the ACS-server.war and ACS-api.war files and restart the tomcat services.
Follow the steps listed below to rebuild the ACS-server.war and ACS-api.war files:
- Navigate to the folder:
$apache-tomcat-home-dir/webapps-acs/ACS-server/
- Execute the command:
jar -uf ../ACS-server.war ACS.properties
- Navigate to the folder:
$apache-tomcat-home-dir/webapps-api/ACS-api/
- Execute the command:
jar -uf ../ACS-api.war ACS.properties
- Restart the apache-tomcat services.
Priyanka Bhotika
Comments