Adding node failed with syntax error with clscfg -localadd
(Doc ID 2825278.1)
Last updated on APRIL 17, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
Adding node failed with the following errors
CASE 1:
2021-11-29 17:23:34: Executing cmd: /u01/app/19.0.0.0/grid/bin/clscfg -localadd -z <GUID> -y mgdm-mgmall:<GUID> -p CLUSTER_CLASS:Standalone,NODE_LIST:<node1name>~<node2name>~,NODE_PRIVIP_LIST:Authorized only. All activity will be monitored and reported,MULTICAST:
2021-11-29 17:23:34: Command output:
> clscfg -localadd -z <site guid> [-avlookup]
> -p property1:value1,property2:value2...
>
> -avlookup - Specify if the operation is during clusterware upgrade
> -z <site guid> - Specify the site GUID for this node
> -p propertylist - list of cluster properties and its value pairs
>
> Adds keys in OLR for the HASD.
> WARNING: Using this tool may corrupt your cluster configuration. Do not
> use unless you positively know what you are doing.
>
>End Command output
2021-11-29 17:23:34: Command output:
> clscfg -localadd -z <site guid> [-avlookup]
> -p property1:value1,property2:value2...
>
> -avlookup - Specify if the operation is during clusterware upgrade
> -z <site guid> - Specify the site GUID for this node
> -p propertylist - list of cluster properties and its value pairs
>
> Adds keys in OLR for the HASD.
> WARNING: Using this tool may corrupt your cluster configuration. Do not
> use unless you positively know what you are doing.
>
>End Command output
2021-11-29 17:23:34: Failed to create keys in the OLR, rc = 100, Message:
clscfg -localadd -z <site guid> [-avlookup] -p property1:value1,property2:value2... -avlookup - Specify if the operation is during clusterware upgrade -z <site guid> - Specify the site GUID for this node -p propertylist - list of cluster properties and its value pairs Adds keys in OLR for the HASD. WARNING: Using this tool may corrupt your cluster configuration. Do not use unless you positively know what you are doing.
clscfg -localadd -z <site guid> [-avlookup] -p property1:value1,property2:value2... -avlookup - Specify if the operation is during clusterware upgrade -z <site guid> - Specify the site GUID for this node -p propertylist - list of cluster properties and its value pairs Adds keys in OLR for the HASD. WARNING: Using this tool may corrupt your cluster configuration. Do not use unless you positively know what you are doing.
CASE 2:
Adding a new node and root.sh is failed.
<ORACLE_BASE>/crsdata/<hostname>/crsconfig/rootcrs*.log
-----------------------------------------------------------------------
Line 7394: 2020-03-26 17:30:26: Status: 0 Command output: Unauthorized use of or access to the system is prohibited.
Line 7397: 2020-03-26 17:30:26: output of clscfg command for node <hostname1>: Unauthorized use of or access to the system is prohibited.
<> Repeated in the logs
Line 7400: 2020-03-26 17:30:26: Node private ip list retrieved from OCR is [Unauthorized use of or access to the system is prohibited.]
Line 7403: 2020-03-26 17:30:26: clscfg_clsprop_olr_arg_p: -p CLUSTER_CLASS:Standalone,NODE_LIST:<hostname1>~hostname2~,NODE_PRIVIP_LIST:Unauthorized use of or access to the system is prohibited.,MULTICAST:
Line 7560: 2020-03-26 17:30:27: Executing cmd: <GRID_HOME>/bin/clscfg -localadd -z a636076f264c6f5cbf90fe2f00f3c211 -y crs-ppltdb38w7:a636076f264c6f5cbf90fe2f00f3c211 -p CLUSTER_CLASS:Standalone,NODE_LIST:<hostname1>~hostname2~,NODE_PRIVIP_LIST:Unauthorized use of or access to the system is prohibited.,MULTICAST:
2020-03-26 17:30:28: Removing file /tmp/xgqEmCs7XO
2020-03-26 17:30:28: Successfully removed file: /tmp/xgqEmCs7XO
2020-03-26 17:30:28: pipe exit code: 0
2020-03-26 17:30:28: /bin/su successfully executed
2020-03-26 17:30:28:
2020-03-26 17:30:28: Succeeded in writing the checkpoint:'ROOTCRS_OLR' with status:FAIL
2020-03-26 17:30:28: Install node: <hostname1>
2020-03-26 17:30:28: Local node is neither installer node, nor a forced first node.
2020-03-26 17:30:28: Local node: hostname2 is not the first node.
2020-03-26 17:30:28: Executing cmd: <GRID_HOME>/bin/clsecho -p has -f clsrsc -m 188
2020-03-26 17:30:28: Executing cmd: <GRID_HOME>/bin/clsecho -p has -f clsrsc -m 188
2020-03-26 17:30:28: Command output:
> CLSRSC-188: Failed to create keys in Oracle Local Registry <<< OLR Error>>>
Line 7397: 2020-03-26 17:30:26: output of clscfg command for node <hostname1>: Unauthorized use of or access to the system is prohibited.
<
Line 7400: 2020-03-26 17:30:26: Node private ip list retrieved from OCR is [Unauthorized use of or access to the system is prohibited.]
Line 7403: 2020-03-26 17:30:26: clscfg_clsprop_olr_arg_p: -p CLUSTER_CLASS:Standalone,NODE_LIST:<hostname1>~hostname2~,NODE_PRIVIP_LIST:Unauthorized use of or access to the system is prohibited.,MULTICAST:
Line 7560: 2020-03-26 17:30:27: Executing cmd: <GRID_HOME>/bin/clscfg -localadd -z a636076f264c6f5cbf90fe2f00f3c211 -y crs-ppltdb38w7:a636076f264c6f5cbf90fe2f00f3c211 -p CLUSTER_CLASS:Standalone,NODE_LIST:<hostname1>~hostname2~,NODE_PRIVIP_LIST:Unauthorized use of or access to the system is prohibited.,MULTICAST:
2020-03-26 17:30:28: Removing file /tmp/xgqEmCs7XO
2020-03-26 17:30:28: Successfully removed file: /tmp/xgqEmCs7XO
2020-03-26 17:30:28: pipe exit code: 0
2020-03-26 17:30:28: /bin/su successfully executed
2020-03-26 17:30:28:
2020-03-26 17:30:28: Succeeded in writing the checkpoint:'ROOTCRS_OLR' with status:FAIL
2020-03-26 17:30:28: Install node: <hostname1>
2020-03-26 17:30:28: Local node is neither installer node, nor a forced first node.
2020-03-26 17:30:28: Local node: hostname2 is not the first node.
2020-03-26 17:30:28: Executing cmd: <GRID_HOME>/bin/clsecho -p has -f clsrsc -m 188
2020-03-26 17:30:28: Executing cmd: <GRID_HOME>/bin/clsecho -p has -f clsrsc -m 188
2020-03-26 17:30:28: Command output:
> CLSRSC-188: Failed to create keys in Oracle Local Registry <<< OLR Error>>>
Changes
Adding node to cluster.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |