Changing the port number used for management server communication with management clients

Ops Center Automator Installation and Configuration Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99AUT000-24

To change the port number used for communication between the Ops Center Automator management server and management clients (Web browsers), you must edit the definition file and configure exceptions in the firewall. For a cluster system, complete the same procedure on both the active server and standby server.

Note: For information on other ports used with Ops Center Automator, see the Port settings reference topic.

To change the port number between the Ops Center Automator management server and management clients:

  1. Stop Ops Center Automator.
  2. Change the port number settings by editing the keys in the definition files.
    • For HTTPS, go to Step 3.
    • For HTTP, change the port number settings by editing the keys in the definition files as follows:
    1. Modify the Listen key lines in the user_httpsd.conf file:

      Windows-based OS

      Common-Component-installation-folder\uCPSB11\httpsd\conf\user_httpsd.conf

      Linux OS

      Common-Component-installation-directory/uCPSB11/httpsd/conf/user_httpsd.conf
      Note: When you use Ops Center Automator in a cluster environment, you must edit the user_httpsd.conf file on both the active and standby nodes.

      Specify the new port number in place of 22015 in the following lines:

      Listen 22015

      Listen [::]:22015

      #Listen  127.0.0.1:22015

    2. Modify the command.http.port lines in the command_user.properties file.
      The folder that contains this definition file is different for cluster systems.

      Windows-based OS (non-cluster)

      Automation_software-installation-folder\conf

      Windows-based OS (cluster)

      shared-folder-name\Automation\conf

      Linux OS

      Automation_software-installation-directory/conf
    3. Modify the server.http.port lines in the config_user.properties file.
      The folder that contains this definition file is different for cluster systems.

      Windows-based OS (non-cluster)

      Automation_software-installation-folder\conf

      Windows-based OS (cluster)

      shared-folder-name\Automation\conf

      Linux OS

      Automation_software-installation-directory/conf
    4. Go to Step 4.
  3. For HTTPS, change the port number settings by editing the keys in the definition file as follows:
    1. Open the user_httpsd.conf file.

      Windows-based OS

      Common-Component-installation-folder\uCPSB11\httpsd\conf\user_httpsd.conf

      Linux OS

      Common-Component-installation-directory/uCPSB11/httpsd/conf/user_httpsd.conf
      Note: When you use Ops Center Automator in a cluster environment, you must edit the user_httpsd.conf file on both the active and standby nodes.
    2. Modify the Listen key lines by specifying the new port number in place of 22016 in the following lines:

      Listen 22016

      Listen [::]:22016

      VirtualHost *22016

  4. Configure firewall exceptions:
    • If the OS is Windows, run the hcmds64fwcancel command to configure exceptions in the firewall.
    • If the OS is Linux, configure exceptions according to the OS specifications. For details about the procedure, see the OS documentation.
  5. Start Ops Center Automator.
  6. Run the hcmds64chgurl command to update the URL for accessing Ops Center Automator.
  7. If you use Common Services, run the setupcommonservice command to apply the change.

    See setupcommonservice command for more information.