The port validator tool
The port validator tool verifies your WAS configuration to ensure that you do not have port conflicts between WAS instances and products. The port validator tool is one of the tools available with the servicetools script.
Syntax
The syntax to run the port validator tool is:
servicetools [ parameters ] -portconflict [ -products product_list ] [ -instances instance_list ] [ -ports port_list ] [ -comparetoproduct compare_prod ] [ -comparetoinstance compare_inst ] [ -xmloutput output_file ]
Parameters
The parameters for the port validator tool are:
parameters
Optional. 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 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 WAS50Base, WAS50ND, WAS50Express, WAS40Adv, WAS40AEs, and ALL.
The port validator tool uses the -products and -instances 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 instances.
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.
-instances
Optional. The value instance_list specifies the instance or instances for which you want to check for port conflicts. If you specify multiple instances, separate them with a colon (:).
The port validator tool uses the -products and -instances parameters to determine the default 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 instances.
If you do not specify this parameter, the port validator tool checks for port conflicts in the instances specified by the servicetools -instances parameter, instances within the products specified by the -products parameter.
If you specify this parameter and the -instances parameter for servicetools, the port validator tool checks only the instances that you specify for the -portconflict -instances parameter.
If you do not specify the -instances parameter for either the service tools script or the port validator tool, the tool checks for port conflicts in all instances in the specified products.
-ports
Optional. 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 -instances 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:13320If you do not specify this parameter, the port validator tool uses the values specified by the -products, -instances, -comparetoproduct, and -comparetoinstance parameters to check for conflicts.
Note: You cannot specify the -ports parameter with the -comparetoproduct parameter or with the -comparetoinstance parameter.
-comparetoproduct
Optional. The port validator tool compares port usage between the product specified by compare_prod and the products and instances specified by -products and -instances. 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 -instances parameters.
Note: You cannot specify the -comparetoproduct parameter with the -ports parameter.
-comparetoinstance
Optional. The port validator tool compares port usage between the instance specified by compare_inst and the products and instances specified by -products and -instances. If you specify this parameter, the port validator tool generates a set of ports based on the specified instance. The tool checks for conflicts between this set of ports and the default set that is generated based on the -products and -instances parameters.
Note: You cannot specify the -comparetoinstance parameter with the -ports parameter.
-xmloutput
Optional. 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.