SOLARIS : Address resolution in Solaris 10 using ipnodes
Last updated on JULY 03, 2017
Applies to:Oracle TimesTen In-Memory Database - Version 5.1.0 to 22.214.171.124.0 [Release 5.x to 7.0]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)
From Solaris 8 onwards IPv4 addresses are looked up in /etc/inet/ipnodes before /etc/hosts.
The purpose of /etc/inet/ipnodes is to allow support for IPv6 style addresses. It serves as a local database that associates the names of hosts with their IPv4 and IPv6 addresses. IPv6-aware utilities use the new /etc/inet/ipnodes database exclusively. The existing /etc/hosts database, which contains only IPv4 addresses, remains as it is to facilitate existing applications. Any changes to /etc/hosts must also be made to /etc/inet/ipnodes.
# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
This means that if you have the following in /etc/nsswitch.conf
ipnodes: files dns
hosts: files dns
the IPv4 resolution order will be:
2. DNS (name servers in /etc/resolv.conf)
4. DNS (name servers in /etc/resolv.conf)
/etc/inet/ipnodes uses the same format as /etc/hosts. From the Solaris "man ipnodes" page the format of each line is:
IP-address official-node-name nicknames...
If this is not followed, or there are deviations between the ipnodes and hosts files this can also cause Create Replication to fail with unexpected errors like "TT8191: This store is not involved in a replication scheme"
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms