Troubleshooting guide
272 NetBackup Troubleshooting Guide - UNIX
The comparison is first a simple string comparison which, if successful, is verified by
comparing hostnames and aliases retrieved by using the network function
gethostbyname().
If none of the comparisons succeed, a more brute force method is used, which compares
all names and aliases using gethostbyname().
The configured name is the first comparison that succeeds. Note that other comparisons
might also have succeeded if aliases or other “network names” are configured.
If the comparison fails, the client’s hostname as returned by the gethostname()
function on the client is used as the configured name. One example of why the
comparison could fail is the case where the client had changed its hostname but its new
hostname is not reflected in any classes yet.
These comparisons are logged in the bpdbm activity log if VERBOSE is set. You can
determine a client’s configured name by using the bpclntcmd command on the client.
For example:
# /usr/openv/netbackup/bin/bpclntcmd -pn (UNIX)
# install_path\NetBackup\bin\bpclntcmd -pn (Window NT/2000)
expecting response from server wind.abc.me.com
danr.abc.me.com danr 194.133.172.3 4823
Where the first output line identifies the server to which the request is directed and the
second output line is the server’s response in the following order:
◆ Peername of the connection to the server
◆ Configured name of the client
◆ IP address of the connection to the server
◆ Port number used in the connection
When the client connects to the server, it sends three names to the server:
◆ browse client
◆ requesting client
◆ destination client
The browse client name is used to identify the client files to list or restore from. The user
on the client can modify this name to restore files from another client. For example, on a
Windows NT/2000 client, the user can change the client name by using the client user
interface (see the user’s guide for instructions). For this to work, however, the
administrator must also have made a corresponding change on the server (see “Allowing
Alternate Client Restores” in the NetBackup System Administrator’s Guide - UNIX).
The requesting client is the value from the gethostname() function on the client.










