Renaming a RAC cluster

Cyrille Modiano

OCP Oracle DBA in Montreal at DBSoft

Latest posts by Cyrille Modiano (see all)

rename RAC cluster

Introduction

Renaming an Oracle RAC cluster is not an easy thing, unfortunately for me I had to do this today because the name chosen for the newly installed cluster was wrong.
Oracle does not provide a simple command to do this and you have to go through a deconfiguration/reconfiguration of the whole cluster.

Changing the cluster name

Deconfigure RAC (root user)

On each node except the last one as user root:

On the last node as root:

Cleanup the ASM disks (grid user)

You need to cleanup the ASM disks used for the OCR diskgroup because the diskgroup cannot be reused.

Reconfigure RAC (grid user)

To reconfigure the cluster you just restart the setup of the grid installation, either config.sh for 11g or gridSetup.sh for 12c. I used the responsefile from my first installation and just edited the response file to change my cluster name.

Execute root.sh scripts once installation completes as instructed by the installer.

Check if the change is effective

Additionnal Steps

if you already had created a database on the cluster before changing its name, here are the additionnal steps you need to perform.

Mount the ASM diskgroups

Add back the database to the cluster

Add instances to the database

Start the database

Reference: Doc ID 1967916.1

One thought on “Renaming a RAC cluster

  1. What a funny idea to rename a RAC. Like always, thank you for this very original procedure.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.