Which commands must you use to determine the cluster node type (role) of racdbnode2 and change the role to Leaf node of the same node?

You are tasked with managing an Oracle RAC 12cR1 installation, which is using Oracle Flex Cluster.
While analyzing the installation you realize that racdbnode2 should be configured as a Leaf node
instead of a Hub node.
Which commands must you use to determine the cluster node type (role) of racdbnode2 and change
the role to Leaf node of the same node?

You are tasked with managing an Oracle RAC 12cR1 installation, which is using Oracle Flex Cluster.
While analyzing the installation you realize that racdbnode2 should be configured as a Leaf node
instead of a Hub node.
Which commands must you use to determine the cluster node type (role) of racdbnode2 and change
the role to Leaf node of the same node?

A.
Option A

B.
Option B

C.
Option C

D.
Option D



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Prabhat

Prabhat

>>>> B >>>>>

Changing Hub Node to a Leaf Node

1. [root@rhel12c1 oracle]# crsctl get node role config
Node ‘rhel12c1’ configured role is ‘hub’

2. [root@rhel12c1 grid]# crsctl set node role leaf
CRS-4408: Node ‘rhel12c1’ configured role successfully changed; restart Oracle High Availability Services for new role to take effect.

3. # crsctl stop crs
4. # crsctl start crs -wait

5. Verify the node started as a leaf node.
[root@rhel12c1 grid]# crsctl get node role config
Node ‘rhel12c1’ configured role is ‘leaf’

BUT ***********
The database instance that was running while the rhel12c1 was a hub node will no longer be active and is in a shutdown state
There’s no resources running on the leaf node.
[root@rhel12c1 grid]# crsctl stat res -t -c rhel12c1
[root@rhel12c1 grid]#

[root@rhel12c2 grid]# crsctl get node role config -all
Node ‘rhel12c1’ configured role is ‘leaf’
Node ‘rhel12c2’ configured role is ‘hub’

SO **********
Run the update node list command on BOTH HUM & LEAF NODES

On the hub node
[grid@rhel12c2 ~]$ $GI_HOME/oui/bin/runInstaller -updateNodeList ORACLE_HOME=/opt/app/12.1.0/grid2 “CLUSTER_NODES={rhel12c2}” -silent -local

On the leaf node run the update node list containing only the leaf node in the cluster_nodes option
[grid@rhel12c1 ~]$ $GI_HOME/oui/bin/runInstaller -updateNodeList ORACLE_HOME=/opt/app/12.1.0/grid2 “CLUSTER_NODES={rhel12c1}” -silent -local

Prabhat

Prabhat

One thing to consider

Above command should be executed as “ROOT”