Symptoms
This article describes how to set up the "pwpport" setting in the ucsrv.ini on a distributed system.
Cause
In case of an outage of the primary machine, the PWP needs to be taken over by a second machine which uses the same port.
Resolution
Adjust the INI file UCSRV.INI for each computer:
Enter the same system name (maximum 8 characters, no special characters) in all INI files.
Activate the SNMP connection (if used) with the parameter snmp=.
Enter the connection information to the Automic Database in the section [ODBC].
Enter the same port number for the primary work process in all INI files (parameter pwpport=).
Adjust the section [PORTS] in all INI files. The Server processes defined in this section participate in the Automic system's processing. The following rules apply:
Port numbers must be unique even if they are distributed among several computers.
The same guideline applies to Server-process names. Numbers must be used in ascending order; omitting numbers is not permitted. The following example illustrates a distributed Server environment with two communication processes and four work processes (cp1, cp2, wp1, wp2, wp3, wp4).
Leave the original list of Server processes in the INI file. Non-required entries can be commented with a semi-colon. This can be helpful if you use two INI files; one file can contain even Server-process numbers, the other one the uneven numbers.