Top
ETERNUS SF Express V15.0 Operation Guide

5.2.3 Changing Express's manager environment (Linux)

This section describes the following procedure.

5.2.3.1 Changing port numbers (Linux)

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.

  1. Open the file "/etc/services" with a notepad.

  2. 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
  3. Save the "/etc/services" file and close it.

  4. Edit httpd.conf file if the port number used by Web Console is changed.

    1. Open the "/etc/opt/FJSVesfcm/conf/apache/httpd.conf" file with text editor.

    2. Change the port number listed immediately after the Listen directive.

      Listen 0.0.0.0:9855
    3. Save the "/etc/opt/FJSVesfcm/conf/apache/httpd.conf" file and close it.

  5. Restart services.

    1. Execute the following shell script on the Management Server to stop the ETERNUS SF Manager services.

      /opt/FJSVesfcm/bin/stopesf.sh
    2. Execute the following shell script on the Management Server to start the ETERNUS SF Manager services.

      /opt/FJSVesfcm/bin/startesf.sh
  6. 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
  7. 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.

  1. Execute the following shell script on the Management Server to stop the ETERNUS SF Manager services.

    /opt/FJSVesfcm/bin/stopesf.sh
  2. 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

  3. 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
  4. Save and close these files.

  5. Execute the following shell script on the Management Server to start the ETERNUS SF Manager services.

    /opt/FJSVesfcm/bin/startesf.sh

5.2.3.2 Changing IP address (Linux)

The following is the procedure to change the IP address of Management Server.

  1. Execute the following batch file on the Management Server to stop the ETERNUS SF Manager services.

    /opt/FJSVesfcm/bin/stopesf.sh
  2. Change the IP address of the Management Server.

  3. Execute the following shell script on the Management Server to start the ETERNUS SF Manager services.

    /opt/FJSVesfcm/bin/startesf.sh
  4. 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
  5. 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.

  6. Restart the Management Server.

  7. 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.