Changing Hostnames in Oracle RACPosted: 19/11/2010
Posted by Alex Gorbachev on Jun 11, 2007
Update: this procedure is for Linux and should work on any UNIX OS. Ron supplied how he did this on Windows in the commentbelow. Thanks Ron.
Sometimes there is a desperate need to change hostnames for one or all nodes of an Oracle RAC cluster. However, this operation is not officially supported. From Metalink Note 220970.1 RAC Frequently Asked Questions:
Can I change the public hostname in my Oracle Database 10g Cluster using Oracle Clusterware?
Hostname changes are not supported in Oracle Clusterware (CRS), unless you want to perform a deletenode followed by a new addnode operation.
The hostname is used to store among other things the flag files and CRS stack will not start if hostname is changed.
One way to do it is to remove a node from a cluster, change its hostname, and then add it back to the cluster as a new node. You will need to make sure that
ORACLE_HOME is also added to this node as well as the database instance configuration.