bptestnetconn

bptestnetconn — test and analyze various configurations and connections

SYNOPSIS

<nbu_dir_path>bptestnetconn [-v] -h | -b | -l

<nbu_dir_path>bptestnetconn [-v] [-i | -fra] [-s | -H hostname]

<nbu_dir_path>bptestnetconn [-v] [-c[service_name] [-o time_value] [-t time_value]] [ -H hostname | -s ]

On Windows systems, <nbu_dir_path> is <install_path>NetBackup\bin\

DESCRIPTION

bptestnetconn performs several tasks that help you analyze DNS and connectivity problems with any specified list of hosts, including the server list in the NetBackup configuration. To help troubleshoot connectivity problems between the services that use CORBA communications, bptestnetconn can perform and report on CORBA connections to named services. It sends VxUL log messages to OID 112 for easy perusal. The vxlogcfg command controls the log verbosity.

OPTIONS

-a or --all

Reports all times. This option has the same effect as -fr. This condition is the default.

-b or --confchecker

Verifies that bp.conf (UNIX) or the NetBackup registry entry (Windows) exists.

-c or --connect service_name

Reports connectToObject times to service. Some CORBA service examples are EMM/EMMServer, NBFSMCLIENT/FSM.ClientClusterMgr, nbrmms/DiskPollingService.DPS nbrmms/STSEventService, and nbsvcmon/NBSvcMon (default). Type this option with no spaces between -c and service_name.

-f or --flkup

Reports all forward DNS lookup times for the specified host or hosts.

-h or --help

Displays this help message.

-H hostname

Specifies a single host name of the system, the IPv4 address, or the name of a file containing a list of such names, one per line.

-i or --ipservers

Directs the utility to list the IP addresses of all servers in the NetBackup configuration.

-l or --listservers

Directs the utility to list all servers in the NetBackup configuration.

-o or --objconntimeout time_value

Specifies the timeout for NetBackup level retries in case of CORBA errors.

-r or --rlkup

Reports all reverse DNS lookup times for the specified host or hosts.

-s or --servers

Directs the utility to look up all NetBackup servers in the configuration.

-t or --orbconntimeout time_value

Specifies the TCP timeout, the socket level timeout for establishing the TCP/IP connection. Specify -t larger than -o to distinguish between TCP/IP and CORBA errors; otherwise, all failures time out after retries_timeout seconds (-o time value).

-v or --verbose

Reports in verbose mode. The reverse lookup report shows which servers are media servers, EMMSERVER (if not local), and if any server is also the REQUIRED_INTERFACE or CLUSTERNAME.

EXAMPLES

EXAMPLE 1

This example lists all the servers in the NetBackup configuration.

# bptestnetconn -l
			 knothead.min.veritas.com
						 www.google.com
			 r2d2.starwars.galaxy.com
					whoknows.what.com
								zebra
						 lawndartsvm2
						 lawndartsvm1

EXAMPLE 2

This example lists all the non-default settings.

# bptestnetconn -b
CLIENT_PORT_WINDOW (min)			 = 2024		 [0]
CLIENT_PORT_WINDOW (max)			 = 4048		 [0]
CLIENT_CONNECT_TIMEOUT				 = 30			 [300]
SERVER_CONNECT_TIMEOUT				 = 10			 [30]
DEFAULT_CONNECT_OPTIONS (daemon port)  = vnetd		[Automatic]
CONNECT_OPTIONS						= [configured] 
REQUIRED_INTERFACE					 = knothead	 [NULL]
FIREWALL_IN							= [configured]
REVERSE_NAME_LOOKUP					= PROHIBITED	 [ALLOWED]  

EXAMPLE 3

This example reports all forward DNS lookup times for all NetBackup servers in the configuration.

# bptestnetconn -f -s
----------------------------------------------------------------------
FL:			 knothead.min.veritas.com -> 10.80.73.101	 :	0 ms [local]
FL:						 www.google.com -> 74.125.19.106	:	0 ms
FL:			 r2d2.starwars.galaxy.com -> 0.0.0.0		:	4 ms
FL:					whoknows.what.com -> 209.139.193.224  :	0 ms [cluster/ri]
FL:								zebra -> 10.80.120.103	:	0 ms
FL:						 lawndartsvm2 -> 10.80.74.153	 :	0 ms
FL:						 lawndartsvm1 -> 10.80.74.154	 :	0 ms
----------------------------------------------------------------------
Slow (>5 sec) or/and failed forward lookups:
						r2d2.starwars.galaxy.com :	0 sec [FAILED]
----------------------------------------------------------------------
Total elapsed time: 0 sec

EXAMPLE 4

This example reports all reverse DNS lookup times for all NetBackup servers in the configuration.

# bptestnetconn -r -s
----------------------------------------------------------------
RL:	 10.80.73.101 -> knothead.min.veritas.com				 :	0 ms
RL:	74.125.19.106 -> nuq04s01-in-f106.1e100.net			 :	156 ms MISMATCH
RL:	**LKUP FAIL** -> r2d2.starwars.galaxy.com				 :	0 ms
RL:  209.139.193.224 -> **LKUP FAIL**							:	739 ms
RL:	10.80.120.103 -> zebra.min.veritas.com					:	0 ms
RL:	 10.80.74.153 -> lawndartsvm2.min.veritas.com			 :	0 ms
RL:	 10.80.74.154 -> lawndartsvm1.min.veritas.com			 :	0 ms
----------------------------------------------------------------
Slow (>5 sec) or/and failed/mismatched reverse lookups:
				 www.google.com :	0 sec [MISMATCH] -> nuq04s01-in-f106.1e100.net
	 r2d2.starwars.galaxy.com :	0 sec [FAILED]
			whoknows.what.com :	0 sec [FAILED]
----------------------------------------------------------------
Total elapsed time: 1 sec

EXAMPLE 5

This example reports all reverse DNS lookup times for all NetBackup servers in the configuration.

# bptestnetconn -s -c -t 10 -o 5
------------------------------------------------------------------------
CN:						 knothead.min.veritas.com :	 49 ms  [SUCCESS]
CN:								 www.google.com :	4 sec [TRANSIENT]
CN:						 r2d2.starwars.galaxy.com :	4 sec [TRANSIENT]
CN:								whoknows.what.com :	4 sec [TRANSIENT]
CN:											zebra :	4 sec [TRANSIENT]
CN:									 lawndartsvm2 :	4 sec [NO_PERMISSION]
CN:									 lawndartsvm1 :	 20 sec [TRANSIENT]
------------------------------------------------------------------------
Total elapsed time: 40 sec