How To: Using the HALNetCheck Utility for CommandCentral Storage 5.0 MP1

Article:TECH57141  |  Created: 2008-01-29  |  Updated: 2009-01-28  |  Article URL http://www.symantec.com/docs/TECH57141
Article Type
Technical Solution


Environment

Issue



How To: Using the HALNetCheck Utility for CommandCentral Storage 5.0 MP1

Solution




                       HAL Network Checker

HAL Network Checker is a utility program to use as a tool to verify bi-direction connectivity of two systems, query the pbx registered services state, list the network IP and Hostname, and display VxAT Fully Qualified Host Name(FQHN). It has dual mode. When running in server mode as a service, it registers itself to the pbx_exchange if the pbx service is available or directly opens the port 1556, if not, to be contacted. When running in client mode as a command, it sends its local network IP and Hostname to the network checker service. It then switches itself to be a server waiting for responses back through those network IP and Hostname from the server program. When a response returned back through a network IP or a Hostname, it is considered two-way communication available over that network IP or Hostname with port 1556. The program can also run in standalone for listing local network IP and hostname, displaying local FQHN and querying pbx registered services state on a remote system.

Usage:
halnetcheck.exe check-connectivity [-h hostname] [-t timeout]
   This operation runs as a client to contact its counterpart server
   program. It initiates a two-way communication check between local
   system and remote system where the server program is running. The
   remote system is specified in the -h option. Default it's localhost.
   The maximum time wait before timeout for response back is specified in
   -t option. The default value is 30 seconds.
   Output messages will be logged in netcheckC.txt local directory.

halnetcheck run-server-mode [-t timeout]
   This operation puts program in Server mode. It responses call-back to
   the client program. The maximum time wait before timeout for sending
   call-back to the client program is specified in -t option. The default
   is 30 seconds.
   Output messages will be logged in netcheckS.txt local directory.

halnetcheck query-services [-s service_id] [-h hostname] [-q]
   This operation queries the state of pbx registered services.
   If service_id is not specified in the -s option, a list of pre-defined
   services in the host specified -h option will be queried. By default,
   the hostname is localhost. When quiet options, -q, is specified, no
   message be printed in the standard output. Exit value, however, can
   indicate the result.
   Exit vales:
   0: Operation succeeded and service is UP.
   1: Service is not registered or DOWN.
   2: PBX service is not available or connection to pbx failed.
   3: Others
   Output messages will be logged in netcheckC.txt local directory.

halnetcheck show-fqhn
   This operation displays local FQHN.
   Output messages will be logged in netcheckC.txt local directory.

halnetcheck list-ip-host
   This operation lists local network IP and Hostname.
   Output messages will be logged in netcheckC.txt local directory.

halnetcheck show-version
   This operation shows the version number of this halnetcheck program.

Attachments

halnetcheck_utils.tar_297132.gz (317 kBytes)

Legacy ID



297132


Article URL http://www.symantec.com/docs/TECH57141


Terms of use for this information are found in Legal Notices