Configuring IP addresses and FQDNs in a non-DNS environment
When DNS is not configured for the cluster, you can add IP addresses and the corresponding FQDN entries to the /etc/hosts file of both the cluster nodes. Adding these entries is required when you configure AutoSupport for a cluster where DNS is not configured.
To add an IP address and FQDN entry to the /etc/hosts file:
- Enter the following command:
Network> host add ipaddr fqdn
ipaddr
Specify an IPv4 or an IPv6 address.
fqdn
Specify the Fully Qualified Domain Name (FQDN) of the IP address. The FQDN can include the following characters: a-z|A-Z|0-9 or a hyphen (-)
To delete an IP address and FQDN entry from the /etc/hosts file:
- Enter the following command:
Network> host del ipaddr fqdn
ipaddr
Specify the IP address that you want to delete.
fqdn
Specify the corresponding FQDN.
To display the entries in the /etc/hosts file:
- Enter the following command:
Network> host show