HP Global Workload Manager 7.0 User Guide

Incorrectly configured host name or IP address
You might see the following message in a log file (gwlmagent.log.0 or gwlmcmsd.log.0):
Unable to determine the network address and/or hostname
of the current host. This indicates a mis-configured network and/or a host
name resolution issue for this host. For troubleshooting information, see the
HP Matrix Operating Environment Release Notes and search for this message.
The most common cause for this error is a problem in the host name configuration file in /etc/
hosts (or equivalent on Windows) or incorrect settings of the /etc/nsswitch.conf file (HP-UX
only).
Background information
gWLM is not a simple client/server application. It involves:
Multiple managed-node servers” (the set of gWLM agents in an SRD are all peer servers that
cooperatively manage the SRD)
The CMS management server handling configuration and monitoring
Under normal operation, all of these components need complete connectivity. At a minimum,
gWLM requires that each host have a primary IP address/host name that is reachable from every
other interacting gWLM component--the CMS and all gWLM agents in a single SRD. (gWLM agents
in multiple SRDs need not have connectivity within undeployed SRDs.)
By default, gWLM uses the primary IP address/host name for a given host. However, you can set
up a management LAN. To use other IP addresses/host names, see “Using gWLM with Hosts on
Multiple LANs (page 40).
Workaround
Correct the configuration of the host so that:
The primary fully qualified domain name can be properly resolved (by DNS or by configuration
files)
The IP address and primary fully qualified domain name are consistent for the host—and do
not resolve to a local-host address (for example, 127.0.0.1)
The procedure below explores one way to check the host's configuration.
1. Run the vseassist tool to perform initial network configuration checks.
2. To validate proper configuration on HP-UX, try the following steps:
a. Get the current host name using the hostname command:
[mysystem#1] > hostname
mysystem
b. Get the IP address configured for the host using nslookup:
[mysystem#2] > nslookup mysystem
Trying DNS
Name: mysystem.mydomain.com
Address: 15.11.100.17
c. Verify that /etc/hosts has the same name configured for the address. Note that the
first name should be the fully qualified domain name, and any aliases are listed afterward.
[mysystem#3] > grep 15.11.100.17 /etc/hosts
15.11.100.17 mysystem.mydomain.com mysystem
d. Verify that the reverse lookup of the IP address returns the same fully qualified domain
name as configured in /etc/hosts.
[mysystem#4] > nslookup 15.11.100.17
Incorrectly configured host name or IP address 43