+

Search Tips   |   Advanced Search

(iSeries)

port validator tool

The port validator tool verifies the WebSphere Application Server configuration to ensure that we do not have port conflicts between WAS profiles and products.

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

Optional. The value product_list specifies the product or products for which we want 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 specified 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

Optional. 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 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

Optional. 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 specified, 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 generated based on the -products and -profiles parameters.

We cannot specify the -comparetoproduct parameter with the -ports parameter.

-comparetoprofile

Optional. 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 specified, 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 generated based on the -products and -profiles parameters.

We cannot specify the -comparetoprofile parameter with the -ports parameter.

-xmloutput

Optional. The value output_file is the fully qualified path of an XML file. If specified, the port validator tool writes the output in XML format to the specified file, in addition to writing the output to the display.

  • Use command-line tools
  • Migration Toolkit on WASdev.