You can control the assignment of ports to WebSphere clusters or servers during the installation of a WebSphere Configuration through the CLI. During the creation of the WebSphere clusters, the port numbers that you choose are applied instead of the standard WebSphere default port numbers.
<cluster name>=<port range>
The following text is from a sample propertiesfile named portrules.properties:
#Range of ports available to the entire cell. #If a dynamic cluster does not have a range defined or if the range runs out of available ports, it will default to the Cell range. cell=20000-40000 #Ranges for specific dynamic clusters by range. #In this example 2 dynamic cluster ranges are provided. Cluster1=20500-21500 Cluster2=25500-25510 #Range of ports to exclude excluded=20510-20520,20525-20530 #If set to true, ignores port rules for existing cluster members ignorePortRulesForExistingServers=false
Starting with BMC Middleware Automation version 8.6.00.002, if you want that Engines ignore the port rules for the existing cluster members, add the
ignorePortRulesForExistingServers property, and set its value to true. For IBM WebSphere Full Profile AS version 8.5 only.
PORT_RULES_FILEproperty and set its value to the full path and name of the properties file that you created in the previous steps.