[IBM i]

port validator tool

The port validator tool verifies your WebSphere® Application Server configuration to ensure that you do not have port conflicts between WebSphere Application Server profiles and products.

Supported configurations:

This topic 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 WebSphere Application Server to the latest product version. For information about migrating applications, read more about the WebSphere Application Server Migration Toolkit.

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 you want to check for port conflicts. If you 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 you do not specify this parameter, the port validator tool checks for port conflicts in the products specified by the servicetools -products parameter.

If you specify this parameter and the -products parameter for servicetools, the port validator tool checks only the products that you specify for the -portconflict -products parameter. You must 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 that you want to check for conflicts. If you 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.

You 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 you do not specify this parameter, the port validator tool uses the values specified by the -products, -profiles, -comparetoproduct, and -comparetoprofile parameters to check for conflicts. You 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 you 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.

You 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 you 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.

You 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 you 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.