RAC name [message #317477] |
Thu, 01 May 2008 09:17 |
mwansalovewell
Messages: 71 Registered: October 2007 Location: uk
|
Member |
|
|
Is there a way to change the cluster name.
Im creating a second database on the 2 node RAC 10.2.0.3
but the cluster name is used during the install was wrong. I need to change this. is there a way.
Your help appreciated
|
|
|
|
Re: RAC name [message #319146 is a reply to message #317485] |
Fri, 09 May 2008 02:54 |
mwansalovewell
Messages: 71 Registered: October 2007 Location: uk
|
Member |
|
|
what of rerun of the rootconfig.sh script after changing the paremeter like CRS_CLUSTERNAME= ( not sure what the name of this parameter is but i know it is there)
there is a file which you can edite to change config values assigned during install.
|
|
|
Re: RAC name [message #319148 is a reply to message #317485] |
Fri, 09 May 2008 02:58 |
mwansalovewell
Messages: 71 Registered: October 2007 Location: uk
|
Member |
|
|
Rename Hosts
I won’t discuss changing the hostname itself it here — it’s a straight-forward SA task.
A few things to pay special attention to:
Make sure that aliases in /etc/hosts are amended.
Don’t forget to change aliases for VIPs and private IPs. This is not strictly required but you are better off following the standard naming convention (-priv and -vip for interconnect and virtual IP respectively) unless you have really good reason not to. Note that at this stage you should be also able to change IP addresses as well. I didn’t try it, but it should work.
Also make sure DNS configuration is also changed by your SA, if your applications use DNS to resolve hostnames.
Modify $ORA_CRS_HOME/install/rootconfig
$ORA_CRS_HOME/install/rootconfig is called as part of the root.sh script run after Oracle Clusterware installation. We have to modify it so that it uses different host names.
Generally, you would simply change every appearance of the old hostnames to the new hostnames. If you want to do that in vi, use :%s/old_node/new_node/g. Be careful not to change existing non-relevant parts of the script matching your old hostname. The variables that should be changed are
CRS_HOST_NAME_LIST
CRS_NODE_NAME_LIST
CRS_PRIVATE_NAME_LIST
CRS_NODELIST
CRS_NODEVIPS
The latter might need modification if you also change IPs.
At this stage, you can also change your OCR and voting disks locations. The following lines should be changed:
CRS_OCR_LOCATIONS={OCR path},{OCR mirror path}
CRS_VOTING_DISKS={voting disk1 path},{voting disk2 path},{voting disk3 path}You can also change your cluster name via the variable CRS_CLUSTER_NAME.
|
|
|
|