If you convert a Hub Node to a Leaf Node, then run the following command on all remaining Hub Nodes:
$ Grid_home/oui/bin/runInstaller -updateNodeList ORACLE_HOME=Oracle_home
"CLUSTER_NODES={comma_separated_Hub_Node_list}" -silent -local CRS=TRUE
On the newly converted Leaf Node, run the following command:
$ Grid_home/oui/bin/runInstaller -updateNodeList ORACLE_HOME=Oracle_home
"CLUSTER_NODES={Leaf_Node_name}" -silent -local CRS=TRUE
If you convert a Leaf Node to a Hub Node, then run the following command on all Hub Nodes:
$ Grid_home/oui/bin/runInstaller -updateNodeList ORACLE_HOME=Oracle_home
"CLUSTER_NODES={comma_separated_Hub_Node_list}" -silent -local CRS=TRUE