

Arcserve RHA Troubleshooting › Unable to start listening on port/Ports › Changing the Engine Port
Changing the Engine Port
Arcserve RHA Engine is designed by default to listen on port 25000. However, the default port can be changed in environments where this port is already being used by another application. The configuration file that is responsible to the port configuration is ws_rep.cfg file. Therefore, if you want to change the Control Service port after you installed it, you need to change all the port values in the ws_rep.cfg file.
To change the port number used by the Replication Engine
- If there are running scenarios that are currently using the Engines you want to change, stop them through Arcserve RHA Manager.
- Log in to the Master host where the Engine is running. (Repeat for Replica)
- In the Services dialog, stop the Engine service. (Stop the engine on both Master and Replica servers.)
- Using Windows Explorer, browse to Engine installation directory, where the ws_rep.cfg file is located.
Note: The default installation directory is: "C:\Program Files\CA\Arcserve RHA\Engine".
- Open the ws_rep.cfg file with WordPad o another text editor.
Note: We do not recommend using Notepad, due to its limited View options.
- WS_REP.CFG file using WORDPAD or a 3rd party text edition. (don't use NOTEPAD).
- Find the "# Port = 25000" section (one of the first lines) in the WS_REP.CFG file.
- Change the Port = 25000 to a new port number (e.g. Port = 25002) and remove # sign at the beginning of the line.
- Save the WS_REP.CFG (Remember: the configuration files on the Master and Replica servers must be the same. Make sure whatever changes that are made to the WS_REP.CFG file on the Master are made on the Replica.
- Start the Engine Service on both the Master and Replica.
- Open the Manager and highlight the scenario.
- Click on the Active Server and then choose Properties. Under the connection section, you can see the port number and the value set to 25000. Change the port number to the new port number that is specified in the WS_REP.CFG file.
- Perform the same steps that are performed in step 10 for the Replica server also.
- If the Master and Replica servers have other scenario's running you will have to change the port number for those scenarios as well.
- Restart the scenario.
To change the default port of the Control Service from port 8088 to any other port
- Log in to the host where the Control Service is running.
- In the Services dialog, stop the Control Service.
- Using Windows Explorer, browse to Control Service installation directory, where the ws_man.exe.config file is located .
Notes:
- On a 32 bit host, the default location is:"C:\Program Files\CA\Arcserve RHA\Manager"
- On a 64 bit host, the default location is: "C:\Program Files (x86)\CA\Arcserve RHA\\Manager"
- Open the ws_man.exe.config file with a text editor.
- Change the value of all *_port entries, and instead of the default port of 8088 enter the port no. you want to use.
- Save and close the ws_man.exe.config file.
In the Services dialog, restart the Control Service.The Control Service now listens to the new port you defined for it.
Copyright © 2015 Arcserve.
All rights reserved.
 
|
|