(iseries)port validator tool
The port validator tool verifies the WAS configuration to ensure that we do not have port conflicts between WebSphere Application Server profiles and products.
Supported configurations:
This article is about configuration migration, such as migrating deployment managers and federated nodes in a network deployment environment. The Application Migration Toolkit for WebSphere Application Server provides support for migrating applications from previous versions of WAS to the latest product version. For information about migrating applications, read more about the Application Migration Toolkit. sptcfg
The port validator tool is one of the tools available with the servicetools script.
Syntax
servicetools [ parameters ] -portconflict [ -products product_list ] [ -ports port_list ] [ -comparetoproduct compare_prod ] [ -comparetoprofile compare_inst ] [ -xmloutput output_file ]
Parameters
- parameters
- This optional parameter list specifies parameters for the servicetools script.
The servicetools parameters must be specified before the -portconflict parameter.
- -portconflict
- Specify this parameter to invoke the port validator tool.
- -products
- This is an optional parameter. The value product_list specifies the product or products for which to check for port conflicts. If we specify multiple products, separate them with a colon (:). Valid products are WAS61Base, WAS70ND, WAS70Express, WAS70Base, WAS61ND, WAS61Express, WAS60Base, WAS60ND, WAS60Express, WAS51Base, WAS51ND, WAS51Express, WAS51PME, WAS51PMEND, WAS50Base, WAS50ND, WAS50Express, WAS40Adv, WAS40AEs, and ALL.
The port validator tool uses the -products and -profiles parameters to determine the set of ports that it checks for conflicts. The tool generates a default set of ports that includes the ports used by the specified products and profiles. If not specified, the port validator tool checks for port conflicts in the products specified by the servicetools -products parameter.
If we specify this parameter and the -products parameter for servicetools, the port validator tool checks only the products specified for the -portconflict -products parameter. Specify the -product parameter for either the servicetools script or the port validator tool, or both.
- -ports
- This is an optional parameter. The value port_list is a list of ports to check for conflicts. If we specify this parameter, the tool generates a set of ports based on the value port_list. The tool checks for conflicts between this set of ports and the default set that is generated based on the -products and -profiles parameters.
We can specify individual ports, or port blocks. Separate ports or port blocks with a colon (:). For example, to check for conflicts on ports 6680, 7600-7610, and 13320, include specify this parameter: -ports 6680:7600-7610:13320 If not specified, the port validator tool uses the values specified by the -products, -profiles, -comparetoproduct, and -comparetoprofile parameters to check for conflicts. We cannot specify the -ports parameter with the -comparetoproduct parameter or with the -comparetoprofile parameter.
- -comparetoproduct
- This is an optional parameter. The port validator tool compares port usage between the product specified by compare_prod and the products and profiles specified by -products and -profiles. If we specify this parameter, the port validator tool generates a set of ports based on the specified product. The tool checks for conflicts between this set of ports and the default set that is generated based on the -products and -profiles parameters.
We cannot specify the -comparetoproduct parameter with the -ports parameter.
- -comparetoprofile
- This is an optional parameter. The port validator tool compares port usage between the profile specified by compare_inst and the products and profiles specified by -products and -profiles. If we specify this parameter, the port validator tool generates a set of ports based on the specified profile. The tool checks for conflicts between this set of ports and the default set that is generated based on the -products and -profiles parameters.
We cannot specify the -comparetoprofile parameter with the -ports parameter.
- -xmloutput
- This is an optional parameter. The value output_file is the fully qualified path of an XML file. If we specify this parameter, the port validator tool writes the output in XML format to the specified file, in addition to writing the output to the display.
Subtopics
- Directory conventions
References in product information to app_server_root, profile_root, and other directories imply specific default directory locations. Become familiar with the conventions in use for WebSphere Application Server.
Related tasks
Use command-line tools