Solaris Cluster 4.x: 'scinstall' Command or Reboot Node/System/Server Removes Hostname from /etc/hosts (Doc ID 1404124.1)

Last updated on MAY 09, 2016

Applies to:

Solaris Cluster - Version OSC 4.0 to OSC 4.3 [Release 4.0 to 4.3]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)

Symptoms

The scinstall command of Solaris Cluster 4.x is removing a valid hostname from /etc/inet/hosts file. The same can happen when the cluster node is rebooted. Because in both cases the /usr/cluster/lib/sc/sc_update_hosts script is called.

before scinstall:
# cat /etc/hosts
#
# Internet host table
#
::1             node1 localhost
127.0.0.1       node1 localhost loghost
xxx.xxx.xxx.xxx node1 node1.mycompany.com loghost
xxx.xxx.xxx.xxx node2
#

after scinstall:
# cat etc/hosts
#
# Internet host table
#
::1             localhost                     ---> node1 is removed which is correct!
127.0.0.1       localhost loghost             ---> node1 is removed which is correct!
xxx.xxx.xxx.xxx node1.mycompany.com loghost   ---> node1 is removed which is wrong!
xxx.xxx.xxx.xxx node2
#



The following messages seen, when ftp server was already configured, on node shutdown:

 

Changes

Installation of Solaris Cluster 4.x to an already running host.
Or reboot of a Solaris Cluster node.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms