Publishing server optional configurations

This section presents optional configurations for publishing server environments.

Specifying a port for Service Model Manager

The Service Model Manager (smmgr) is a service that is started by the cell to assist in publishing. When the service starts, it selects an available ephemeral port. You can configure it to listen on a fixed port so that the connection is not prevented when a random port crosses a firewall. If you use more than one cell, each cell must specify a different port number.

To specify a fixed port for Service Model Manager

  1. Navigate to the installationDirectory/pw/server/etc/ cellName/smmgr.conf file.
  2. Change the parameter ServerPort to a specific port number.
    The default value is 0, which means that any port number can be used.

    Note

    If the specified port is not available when Service Model Manager is started, start up fails.

  3. Save and close the file.

Changing the Publishing Server Name

You can update the Publishing Server Name or psName manually if required. However, you cannot change the psName using the pw system change hostname command. Use the following procedure to update the psName:

To change the Publishing Server Name manually

  1. From the command prompt, run the penv close -e <EnvName> command to close the environment. The default <EnvName> is PROD.

    Running the penv close command removes all the published data from the cell, deletes all user defined filters, and removes all Published Data from the CMDB database.

  2. From the command prompt, run the pw p e pserver command to stop the Publishing Server.
  3. From the command prompt, run the pserverinstall.exe -d command to uninstall.
  4. Navigate to the installationDirectory/pw/custom/conf/pronet.conf file and update the pronet.ps.psName parameter with the new hostname.
  5. Save and close the file.

  6. From the command prompt, run the pserverinsall -i command to install.

  7. From the command prompt, run the pw p s pserver command to start the Publishing Server.
Was this page helpful? Yes No Submitting... Thank you

Comments

  1. Alexandre Papadopulos

    Can you please update step 6. It's not pserverinsall -i but instead pserverinstall -i

    C:\Windows\system32>pserverinsall -i 'pserverinsall' is not recognized as an internal or external command, operable program or batch file.

    C:\Windows\system32>pserverinstall -i

    Publishing Server Service Installed Successfully

    Thanks, Alex. Papadopulos

    Jul 30, 2021 04:19