+

Search Tips   |   Advanced Search

Host name values

WebSphere Application Server requires a host name specification during installation, profile creation, and for some configuration activities. This article describes acceptable values for host name fields.

The host name is the network name for the physical machine on which the node is installed. The host name must resolve to a physical network node on the server. When multiple network cards exist in the server, the host name or IP address must resolve to one of the network cards. Remote nodes use the host name to connect to and to communicate with this node. The following guidelines can help in determining the appropriate host name for our machine:

If we define coexisting nodes on the same computer with unique IP addresses, define each IP address in a DNS look-up table. Configuration files for standalone application servers do not provide domain name resolution for multiple IP addresses on a machine with a single network address.

The value specified for the host name is used as the value of the hostName property in configuration documents for the standalone application server. Specify the host name value in one of the following formats:

The fully qualified DNS host name has the advantage of being totally unambiguous and also flexible. We have the flexibility of changing the actual IP address for the host system without having to change the Application Server configuration. This value for host name is particularly useful if we plan to change the IP address frequently when using Dynamic Host Configuration Protocol (DHCP) to assign IP addresses. A format disadvantage is being dependent on DNS. If DNS is not available, then connectivity is compromised.

The short host name is also dynamically resolvable. A short name format has the added ability of being redefined in the local hosts file so the system can run the Application Server even when disconnected from the network. Define the short name to 127.0.0.1 (local loopback) in the hosts file to run disconnected. A format disadvantage is being dependent on DNS for remote access. If DNS is not available, then connectivity is compromised.

A numeric IP address has the advantage of not requiring name resolution through DNS. A remote node can connect to the node you name with a numeric IP address without DNS being available. A format disadvantage is that the numeric IP address is fixed. Therefore, do not use a numeric IP address if we use DHCP, or if we change IP addresses regularly. Another format disadvantage is that we cannot use the node if the host is disconnected from the network.