Troubleshooting guide

General Test and Troubleshooting Procedures
36 NetBackup Troubleshooting Guide - UNIX
bpclntcmd options that are useful for testing the functionality of the host name and IP
address resolution are -ip, -hn, -sv and -pn. The following topics explain each of these
options:
bpclntcmd -ip IP_Address
The -ip option allows you to specify an IP address. bpclntcmd uses
gethostbyaddr() on the NetBackup node and gethostbyaddr() returns the host
name with the IP address as defined in the nodes DNS, WINS, NIS, or local hosts file
entries. No connection is established with the NetBackup server.
bpclntcmd -hn Hostname
The -hn option allows you to specify a host name. bpclntcmd uses gethostbyname()
on the NetBackup node to obtain the IP address associated with the host name defined in
the nodes DNS, WINS, NIS, or local hosts file entries. No connection is established with
the NetBackup server.
You can use the -ip and -hn options to verify the ability of a NetBackup node to resolve
the IP addresses and host names of other NetBackup nodes. For example, you can verify
that a NetBackup server can connect to a client. In this case, the steps are:
1. On the NetBackup server, use bpclntcmd -hn to verify that the operating system
can resolve the host name of the NetBackup client (as configured in the client list for
the class) to an IP address. The IP address is then used in the nodes routing tables to
route a network message from the NetBackup server.
2. On the NetBackup client, use bpclntcmd -ip to verify that the operating system
can resolve the IP address of the NetBackup server (the IP address is in the message
that arrives at the clients network interface).
bpclntcmd -pn
When run on a NetBackup client, the -pn option initiates an inquiry to the NetBackup
master server, and the server then returns information to the requesting client. First,
bpclntcmd identifies the server to which it is making the request, then it displays the
information that the server returns.
For example:
bpclntcmd -pn
expecting response from server rabbit.friendlyanimals.com
dove.friendlyanimals.com dove 123.145.167.3 57141
Where: