WAS v8.0 > Migration and coexistence > Distributed operating systems
Configure port settings
When you configure WAS resources or assign port numbers to other applications, avoid conflicts with other assigned ports. In addition, explicitly enable access to particular port numbers when you configure a firewall.
Tip: Port conflicts might occur if you install WAS on multiple systems with dmgrs managing servers or clusters on different systems. The configuration-service port-resolution mechanism does not support cross profiles on different host machines.
- Example 1:
- On system A, create a cell profile that includes Dmgr and AppSrv01 (Node1).
- On system B, create AppSrv01 and federate AppSrv01 (Node2) to Dmgr on system A.
- Create server1 on Node1 and server2 on Node2.
- The server1 server and server2 server might contain duplicate server endpoint ports in the serverindex.xml file because Node1 and Node2 are located on different host systems.
- Example 2:
- On system A, create a cell profile that includes Dmgr and AppSrv01 (Node1).
- On system B, create AppSrv01 and federate AppSrv01 (Node2) to Dmgr on system A.
- On system B, create JobManager.
- Create a cluster and add two servers, server1 on Node1 and server2 on Node2.
- The server2 server and the JobManager server might contain duplicate server endpoint ports in the serverindex.xml file because server2 and JobManager are in cross profiles. The server2 server is under Dmgr, JobManager is under the JobManager profile. and the Dmgr and JobManager profiles are located on different machines.
Procedure
- Review the port number settings, especially when you are planning to coexist.
- Optional: Change the port number settings.
We can set port numbers when configuring the product after installation.
- During profile creation using the manageprofiles command, you can accept the default port values or you can specify your port settings. To specify ports, you can do so in any of the following ways:
- Use of a port file that contains the port values.
- Use of a starting port value.
- Use of the default port values.
Read the "manageprofiles command" article in the information center for more information.
- During profile creation using the Profile Management tool, you can accept the port settings recommended by the tool or you can specify your port settings.
Read the "Creating profiles using the graphical user interface" article in the information center for more information.
We can perform one of the following actions to change port settings after installation:
- Use the updatePorts tool to change port settings.
Read the "Updating ports in an existing profile" article in the information center for more information.
Read the "Port number settings in WAS versions" article in the information center for more information.
- Edit the PROFILE_ROOT/config/cells/cell_name/nodes/node_name/serverindex.xml file to change the port settings, or use scripting to change the values.