Changing the port number used for internal communications

Ops Center Installation and Configuration Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99OPS001-23
You can change the port number that Common Services uses for internal communications.
  1. Log in to the management server as the root user.
    If you log in as an ordinary user, use the sudo command to complete the following procedure as the root user.
  2. Change the port number.
    The procedure differs depending on the port number.
    Port number Change procedure
    20951
    1. In the following property file, specify the port number after the change, and then save the file.

      Property file location*
      /var/installation-directory-of-Common-Services/userconf/config_user.properties
      Settings
      CS_PORTAL_PORT=port-number-after-change
      CS_GW_PORTAL_PORT=port-number-after-change
    2. Restart the Common Services service.
    20952
    1. In the following property file, specify the port number after the change, and then save the file.

      Property file location*
      /var/installation-directory-of-Common-Services/userconf/config_user.properties
      Settings
      CS_PORTAL_IDP_PORT=port-number-after-change
      CS_IDP_OP_HTTP_PORT=port-number-after-change
      CS_GW_IDP_PORT=port-number-after-change
    2. Restart the Common Services service.
    20954
    1. In the following property file, specify the port number after the change, and then save the file.

      Property file location*
      /var/installation-directory-of-Common-Services/userconf/config_user.properties
      Setting
      CS_PORTAL_IDP_POSTGRESQL_PORT=port-number-after-change
    2. In the following configuration definitions file, specify the port number after the change, and then save the file.

      Definitions file location*
      /var/installation-directory-of-Common-Services/pgdata/csidp/data/postgresql.conf
      Setting
      port = port-number-after-change # (change requires restart)
    3. Stop the Common Services service.
    4. Run the systemctl command to restart postgresql-15@csidp.
    5. Start the Common Services service.
    20955
    1. In the following property file, specify the port number after the change, and then save the file.

      Property file location*
      /var/installation-directory-of-Common-Services/userconf/config_user.properties
      Setting
      CS_PORTAL_POSTGRESQL_PORT=port-number-after-change
    2. In the following configuration definitions file, specify the port number after the change, and then save the file.

      Definitions file location*
      /var/installation-directory-of-Common-Services/pgdata/csportal/data/postgresql.conf
      Setting
      port = port-number-after-change # (change requires restart)
    3. Stop the Common Services service.
    4. Run the systemctl command to restart postgresql-15@csportal.
    5. Start the Common Services service.
    20956
    1. In the following property file, specify the port number after the change, and then save the file.

      Property file location*
      /var/installation-directory-of-Common-Services/userconf/config_user.properties
      Setting
      CS_PORTAL_MANAGEMENT_PORT=port-number-after-change
    2. Restart the Common Services service.

    * If you performed installation by using an OVA, the file is located in the following directory:

    /var/opt/hitachi/CommonService/userconf/