This section describes the following procedure.
How to change port number that is used by Express
How to change the IP address of the Management Server
This section describes how to change port number that is used by Express.
The port numbers are defined in the operating system's services file. The ports shown in the following table are used by Express. The default values for the port numbers are shown. If you have changed the value for these port numbers, please read the numbers to replace after the change in this section.
port number | service name | protocol | Note |
---|---|---|---|
9855 | esfmanagerweb | tcp | Port number used for the Web Console |
1226 | stgxfws | tcp | Port number used for configuration management and polling monitoring |
32004 | rdaswstf | tcp | Port numbers used inside Express |
9851 | rmiswstf | tcp | |
9852 | semswstf | tcp | |
24916 | sscruiserm | tcp |
Perform the following procedure to change the port numbers used by Express.
Open the file "/etc/services" with a notepad.
Pick out the entry of a service name to be changed to change its entry port number.
A port number can be entered between 1024 and 65535. However, a port number from 5001 to 32768 is recommended.
# <service name> <port number>/<protocol> [aliases...] [#<comment>] # rdaswstf 32004/tcp stgxfws 1226/tcp rmiswstf 9851/tcp semswstf 9852/tcp esfmanagerweb 9855/tcp sscruiserm 24916/tcp
Save the "/etc/services" file and close it.
Edit httpd.conf file if the port number used by Web Console is changed.
Open the "/etc/opt/FJSVesfcm/conf/apache/httpd.conf" file with text editor.
Change the port number listed immediately after the Listen directive.
Listen 0.0.0.0:9855
Save the "/etc/opt/FJSVesfcm/conf/apache/httpd.conf" file and close it.
Restart services.
Execute the following shell script on the Management Server to stop the ETERNUS SF Manager services.
/opt/FJSVesfcm/bin/stopesf.sh
Execute the following shell script on the Management Server to start the ETERNUS SF Manager services.
/opt/FJSVesfcm/bin/startesf.sh
Create a server information change instruction file on the Management Server, then execute the stgxfwcmmodsrv command with the -f option specified to change the port numbers.
[Example] In the case that name of the server information change instruction file is "/acm/modfile".
/opt/FJSVswstf/bin/stgxwcmmodsrv -f /acm/modfile
Restart the Management Server.
See
For details on the stgxfwcmmodsrv command and the server information change instruction file, refer to "stgxfwcmmodsrv (Server information change command)" in the "ETERNUS SF AdvancedCopy Manager Operation Guide" for the operating system of the Management Server.
The Web Console uses the following ports internally.
port number | protocol | Note |
---|---|---|
28005 | tcp | Port numbers used inside Web Console |
28009 | tcp | |
28443 | tcp | |
15432 | tcp | |
5441 | udp |
If the above port numbers are used by other applications, the Web Console cannot start. In this case, change the port numbers according to the following steps.
Execute the following shell script on the Management Server to stop the ETERNUS SF Manager services.
/opt/FJSVesfcm/bin/stopesf.sh
Open the following files with text editor.
/etc/opt/FJSVesfcm/conf/tomcat/server.xml
/etc/opt/FJSVesfcm/conf/apache/httpd.conf
/var/opt/FJSVesfcm/db/data/postgresql.conf
/opt/FJSVesfcm/tomcat/webapps/esfv15/WEB-INF/config/database.yml
/opt/FJSVssmgr/etc/properties/esccs_event.properties
Change the default port numbers (28005, 28009, 28443, 15432 and 5441) to other numbers.
server.xml
Change the port number of the Server tag.
<Server port="28005" shutdown="SHUTDOWN">
Change the port number listed in the port of the Connector tag and redirectPort.
<Connector port="28009" address="127.0.0.1" enableLookups="false" redirectPort="28443" protocol="AJP/1.3" />
httpd.conf
Change the port numbers of the ProxyPass and ProxyPassReverse directive.
ProxyPass / ajp://localhost:28009/ timeout=900 ProxyPassReverse / ajp://127.0.0.1:28009/
postgresql.conf
Change the port number of the port directive.
port = 15432
database.yml
Change the port number of the port directive to the same number as described in postgresql.conf.
port = 15432
esccs_event.properties
Change the port number of the ccs.event.port directive.
ccs.event.port = 5441
Save and close these files.
Execute the following shell script on the Management Server to start the ETERNUS SF Manager services.
/opt/FJSVesfcm/bin/startesf.sh
The following is the procedure to change the IP address of Management Server.
Execute the following batch file on the Management Server to stop the ETERNUS SF Manager services.
/opt/FJSVesfcm/bin/stopesf.sh
Change the IP address of the Management Server.
Execute the following shell script on the Management Server to start the ETERNUS SF Manager services.
/opt/FJSVesfcm/bin/startesf.sh
Create a server information change instruction file on the Management Server, then execute the stgxfwcmmodsrv command with the -f option specified to change the IP addresses.
[Example] In the case that name of the server information change instruction file is "c:/acm/modfile".
/opt/FJSVswstf/bin/stgxwcmmodsrv -f /acm/modfile
If the IP address of the Management Server is specified for SNMP Trap destination, change the specified IP address using the ETERNUS Web GUI.
For more information, refer to the ETERNUS Web GUI manuals.
Restart the Management Server.
Launch the Web Console and connect to Express's manager running on the Management Server whose IP address has been changed.
See
For details on the stgxfwcmmodsrv command and the server information change instruction file, refer to "stgxfwcmmodsrv (Server information change command)" in the "ETERNUS SF AdvancedCopy Manager Operation Guide" for the operating system of the Management Server.