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
- Navigate to the installationDirectory/pw/server/etc/ cellName/smmgr.conf file.
Change the parameter ServerPort to a specific port number.
The default value is 0, which means that any port number can be used.- 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
From the command prompt, run the penv close -e <EnvName> command to close the environment. The default <EnvName> is PROD.
- From the command prompt, run the pw p e pserver command to stop the Publishing Server.
- From the command prompt, run the pserverinstall.exe -d command to uninstall.
- Navigate to the installationDirectory/pw/custom/conf/pronet.conf file and update the pronet.ps.psName parameter with the new hostname.
- Save and close the file.
- From the command prompt, run the pserverinsall -i command to install.
- From the command prompt, run the pw p s pserver command to start the Publishing Server.