Top
Systemwalker Runbook Automation Installation Guide
Systemwalker

9.2 How to Change Port Numbers

This section describes how to change port numbers.

In addition, in the following steps,

Changing the port number of the Web server (Interstage HTTP Server)

The port number for the Web server (Interstage HTTP Server) cannot be changed. Uninstall the product and then install it again. During the reinstallation, specify the port number for the Web server (Interstage HTTP Server).


Changing the port number of the Interstage Management Console

The port number used by the Interstage Management Console is changed via the Interstage Management Console. Refer to the Interstage Management Console help file for more details on this procedure.

Changing the port number for the HTTP listener for operation management

The port number for the HTTP listener for operation management can be changed using the "asadmin set" subcommand. Refer to the Interstage Application Server "System Design Guide" for information on the procedure for changing the port number.


Setting when the port number of the file transfer infrastructure overlaps

In the file transfer infrastructure, the port number: 9664 is used. If the overlap of the port number occurred in the Business Server environment, it is necessary to change the port number. Execute the changing to the Management Server that links with Business Server that is changed, or all of the Business Server that is link target of the relay server.

Changing the port number of the Business Server

[Windows]

The following port numbers that have been described to "Installation directory of Windows system\SYSTEM32\DRIVERS\ETC\SERVICES" are changed to an empty port number.

[Linux] [Solaris]

The following port numbers that have been described to "/etc/services" are changed to an empty port number.

dtranf02    9664/tcp            # FJSVlnkbs

The port number can be specified between 1-65535.

Changing the network definition of the Management Server or relay server

Specify the same value as the port number that has been described to the network definition file of the file transfer infrastructure and the port number that set to Business Server.

  1. Network definition file

    [Windows]

    • Management Server

      [Installation directory of Systemwalker Runbook Automation Management Server] \FJSVlnkbs\lnk02\gen\network_def.txt
    • Relay server

      [Installation directory of Systemwalker Runbook Automation relay server] \FJSVlnkbs\lnk02\gen\network_def.txt

    [Linux]

    /opt/FJSVlnkbs/lnk02/GEN/network_def.txt
  2. Reflect the definition information after the network definition file is changed.

    [Windows]

    • Management Server

      [Installation directory of Systemwalker Runbook Automation Management Server] \FJSVlnkbs\lnk02\bin\f3jtlxgentrn.exe -i 02 [Installation directory of Systemwalker Runbook Automation Management Server] \FJSVlnkbs\lnk02\gen\network_def.txt
    • Relay server

      [[Installation directory of Systemwalker Runbook Automation Relay Server] \FJSVlnkbs\lnk02\bin\f3jtlxgentrn.exe -i 02 [[Installation directory of Systemwalker Runbook Automation Relay Server] \FJSVlnkbs\lnk02\gen\network_def.txt

    [Linux]

    /opt/FJSVlnkbs/lnk02/bin/f3jtlxgentrn -i 02 /opt/FJSVlnkbs/lnk02/GEN/network_def.txt
  3. Restart the file transfer infrastructure

    [Windows]

    Restart the "Systemwalker File Transfer Library Control" service.

    [Linux]

    # service FJSVlnkbs stop
    # service FJSVlnkbs start

Changing the port number for the HTTP listener

The port number for the HTTP listener can be changed using the "asadmin set" subcommand. Refer to the Interstage Application Server "System Design Guide" for information on the procedure for changing the port number.


Changing the port number for IIOP

The port number for IIOP can be changed using the "asadmin set" subcommand. Refer to the Interstage Application Server "System Design Guide" for information on the procedure for changing the port number.


Changing the port number for IIOP_SSL

The port number for IIOP_SSL can be changed using the "asadmin set" subcommand. Refer to the Interstage Application Server "System Design Guide" for information on the procedure for changing the port number.


Changing the port number for IIOP_MUTUALAUTH

The port number for IIOP_MUTUALAUTH can be changed using the "asadmin set" subcommand. Refer to the Interstage Application Server "System Design Guide" for information on the procedure for changing the port number.


Changing the port number for JMX_ADMIN

The port number for JMX_ADMIN can be changed using the "asadmin set" subcommand. Refer to the Interstage Application Server "System Design Guide" for information on the procedure for changing the port number.

Changing the port number for Interstage data store

The port number for Interstage data store can be changed using the "omschangeport" command. Refer to the Interstage Application Server "Install Guide" for information on the procedure for changing the port number.

Changing the port number for schedules

The port number that Systemwalker Runbook Automation uses with schedules can be specified at installation. To change the port number after the installation, use the following procedure:

  1. Stop Systemwalker Runbook Automation.
    Execute the following command.

    <Systemwalker Runbook Automation Management Server installation directory>\bin\swrba_stop
  2. [Windows]

    Change the following port number in the "<installation directory for the Windows system>\SYSTEM32\DRIVERS\ETC\SERVICES" file to a free port number.

    [Linux]

    Change the following port number in the "/etc/services" file to a free port number.

    jobsch_winn (*1)    9690/tcp   #SWRBA Jobsch subsystem
    mjsnetn (*1)        9691/tcp   #SWRBA MpMjes subsystem

*1: Here "n" is the subsystem number used by Systemwalker Runbook Automation (which is "9" by default).

*1: Here "n" is the subsystem number used by Systemwalker Runbook Automation (which is "9" by default).

  1. Start Systemwalker Runbook Automation.
    Execute the following command.

    <Systemwalker Runbook Automation Management Server installation directory>\bin\swrba_start

Changing the port number for the JMX service

The port number for the JMX service can be changed by editing the environment definition file shown below (refer to the Interstage Application Server System Design Guide for details) .

[Windows]

<Interstage Application Server installation directory>\jmx\etc\isjmx.xml

Note: The default Interstage Application Server installation directory is "C:\Fujitsu\Systemwalker\IAPS".

[Linux]

/etc/opt/FJSVisjmx/isjmx.xml

Changing the port number for the communications infrastructure

To change the port number for the communications infrastructure, follow the steps below.

  1. In the case of the Management Server, stop Systemwalker Runbook Automation.

    [Windows]

    <Systemwalker Runbook Automation Management Server installation directory>\bin\swrba_stop

    [Linux]

    /opt/FJSVswrbam/bin/swrba_stop
  2. Stop the agent.

    [Windows]

    "%F4AN_INSTALL_PATH%\F4ANswnc\bin\swncctrl" stop

    [Linux]

    /opt/FJSVswnc/bin/swncctrl stop
  3. Change the port number.

    • To change the default value of 18005 to 19005:

      [Windows]

      "%F4AN_INSTALL_PATH%\F4ANswnc\bin\swncconf" --dtrans -a 19005

      [Linux]

      /opt/FJSVswnc/bin/swncconf --dtrans -a 19005
    • To change the default value of 18009 to 19009:

      [Windows]

      "%F4AN_INSTALL_PATH%\F4ANswnc\bin\swncconf" --dtrans -c 19009

      [Linux]

      /opt/FJSVswnc/bin/swncconf --dtrans -c 19009
  4. Check the results.

    [Windows]

    "%F4AN_INSTALL_PATH%\F4ANswnc\bin\swncconf" --dtrans -v

    [Linux]

    /opt/FJSVswnc/bin/swncconf --dtrans -v

    In the example below, the port numbers specified in step 3 are displayed.

    Example:

    >swncconf --dtrans -v
    Port number (HTTP server)        : 18444
    Port number (JServlet)           : 19005
    Port number (connector)          : 19009
    ...
    (omitted)
    ...
  5. Start the agent.

    [Windows]

    "%F4AN_INSTALL_PATH%\F4ANswnc\bin\swncctrl" start

    [Linux]

    /opt/FJSVswnc/bin/swncctrl start
  6. In the case of the Management Server, restart Systemwalker Runbook Automation.

    [Windows]

    <Systemwalker Runbook Automation  Management Server installation directory>\bin\swrba_start

    [Linux]

    /opt/FJSVswrbam/bin/swrba_start