If Customer needs to change the Default Port number of the Authentication Service, due to compliance reasons or if another application is using the port 9090.
Perform the below steps:
1. Stop the NetWorker services on the NetWorker server.
2. Edit the server.xml file with a text editor.
The location of the file differs on Windows and Linux:
Access Control Settings
* Windows: C:\Program Files\EMC NetWorker\nsr\authc-server\tomcat\conf
* Linux: /nsr/authc/conf
3. Search for the string Connector port.
4. Modify the connector port value.
Ensure that you specify an unused port that is in the range of 1024-49151.
For example, to change the port to 9095, the connector port entry would appear as
follows:
<Connector port="9095"
protocol="org.apache.coyote.http11.Http11NioProtocol"
SSLEnabled="true"
5. Save the server.xml file.
6. Edit the authc-server-app.json file with a text editor.
The location of the file differs on Windows and Linux:
* Windows: C:\Program Files\EMC NetWorker\authc-server\conf
* Linux: /opt/nsr/authc-server/conf
7. Search for the string port.
8. Modify the port value.
For example, to change the port to 9095, the port entry would appear as follows:
"port" : "9095"
9. Save the authc-server-app.json file.
10. Start the NetWorker services on the NetWorker server.
Optional: If the NMC is installed on a different machine other then the NetWorker server or if you need the gstd service to use the New Authc Port number then perform the below steps
Step 1: Edit the gstd.conf file under
Location:
* Windows: Installed Networker Path/Management/GST/etc
* Linux: Installed Networker path/GST/etc
Search for the String "
int authsvc_port" and provide the new Authc Port Number
Step 2: Save the gstd.conf file
Step 3: Restart the gstd service.
Step 4: Launch the NMC.
Note: While running the nsrlogin command you need to manually specify the new port number
Syantax:
nsrlogin -u <User name> -p <password> -P <New port number>