What is the result and the reason for this result?

Your flex cluster has these attributes:
1. Hub nodes host01 and host02
2. Leaf nodes host03 and host04
3. Full Featured GNS is configured and running.
You attempt to run this command to add two more nodes to the cluster:
$ ./addnode.sh –silent “CLUSTER_NEW_NODES={host05,host06}”
“CLUSTER_NEW_NODE_ROLES={hub,leaf}”
What is the result and the reason for this result?

Your flex cluster has these attributes:
1. Hub nodes host01 and host02
2. Leaf nodes host03 and host04
3. Full Featured GNS is configured and running.
You attempt to run this command to add two more nodes to the cluster:
$ ./addnode.sh –silent “CLUSTER_NEW_NODES={host05,host06}”
“CLUSTER_NEW_NODE_ROLES={hub,leaf}”
What is the result and the reason for this result?

A.
It fails because no VIP was specified for the hub node host05.

B.
It fails because hub and leaf nodes may not be added by the same execution of addNode.sh.

C.
It fails because GNS doesn’t assign VIPs for leaf nodes and no VIP was specified in the command.

D.
It succeeds because no VIP specification is required for leaf nodes and none need to be specified for hub nodes when using full featured GNS.

Explanation:

Hub Nodes always have VIPs.
Incorrect Answers:
C: Hub Nodes always have VIPs but Leaf Nodes may not.
B: Use the CLUSTER_NEW_NODE_ROLES parameter to indicate, in an Oracle Flex Cluster, whether the node you are adding is a Hub Node or a Leaf Node.
You can add multiple nodes, as follows:
$ addnode.sh -silent -noCopy ORACLE_HOME=Grid_home “CLUSTER_NEW_NODES={node2,node3,node4}”
“CLUSTER_NEW_VIRTUAL_HOSTNAMES={node2-vip,node3-vip,}”
“CLUSTER_NEW_NODE_ROLES={HUB,HUB,LEAF}”
In the preceding syntax example, Node 4 is designated as a Leaf Node and does not require that a VIP be included.
https://docs.oracle.com/database/121/CWADD/clonecluster.htm#CWADD92139



Leave a Reply 5

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


ziad abuqasem

ziad abuqasem

A correct
If you are adding the new host to an Oracle Flex cluster, make sure you specify the node role when running addnode.sh. Remember that Hub Nodes always have VIPs but Leaf Nodes may not. If you want to add multiple nodes use the following syntax:
where host05 is a Hub Node and host06 is a Leaf Node:
$ ./addnode.sh -silent “CLUSTER_NEW_NODES={host05,host06}”
“CLUSTER_NEW_VIRTUAL_HOSTNAMES={host05-vip,}”
“CLUSTER_NEW_NODE_ROLES={hub,leaf}”

WGCM

WGCM

The docummentation says:

Note: “Hub Nodes always have VIPs” but Leaf Nodes may not. If you use the preceding syntax to add multiple nodes to the cluster, then you can use syntax similar to the following, where node3 is a Hub Node and node4 is a Leaf Node:

./addnode.sh -silent “CLUSTER_NEW_NODES={node3,node4}” “CLUSTER_NEW_VIRTUAL_HOSTNAMES={node3-vip,}” “CLUSTER_NEW_NODE_ROLES={hub,leaf}”

I think that is a interpretation error mine… so “Hub Nodes always NEED a VIP” but Leaf Nodes may not.

They put the VIP in the HUB, not in the LEAF!

Oracle® Clusterware Administration and Deployment Guide 12c Release 1 (12.1) – E48819-09
“Adding and Deleting Cluster Nodes on Linux and UNIX Systems”
http://docs.oracle.com/database/121/CWADD/adddelclusterware.htm#CWADD90988

Then, i think that the correct answer is “A”, because “i need to specify a VIP” to a hub node:

./addnode.sh -silent “CLUSTER_NEW_NODES={host05,host06}” “CLUSTER_NEW_VIRTUAL_HOSTNAMES={node5-vip,}” “CLUSTER_NEW_NODE_ROLES={hub,leaf}”

Tri Ho Quoc

Tri Ho Quoc

D is correct

if GNS used ,

./addNode.sh -silent “CLUSTER_NEW_NODES={new_node_name}”

If No GNS

cd $GI_HOME/oui/bin

./addNode.sh -silent “CLUSTER_NEW_NODES={New_node_name}” “CLUSTER_NEW_VIRUTAL_HOSTNAMES={NEW_VIP_HOSTNAME}”
-Silent — Means you will not get an installer screen(GUI)

https://digappsdba.wordpress.com/

Michael Z.

Michael Z.

ANSWER D – For GNS is implemented in the cluster – no need to specify the VIP