"srvctl add instance" Fails to Add pre-11.2 Database Instance in 11gR2 GI With PRKO-2006 : Invalid node name (Doc ID 1454446.1)

Last updated on OCTOBER 22, 2013

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.



A new node is added to a RAC cluster with Grid Infrastructure (upgraded from CRS) and database, addNodes.sh succeeded for both GI and RAC database home, however, while tried to extend the existing database to the new node, dbca or srvctl(from database home) fails with the following:

$ srvctl add instance -d racdb -i racdb3 -n racnode3
PRKO-2006 : Invalid node name: racnode3

SRVM trace (generated if environment variable SRVM_TRACE is set to true)
[main] [18:53:46:378] [has.ClusterUtilNative.Native]  prsr_trace: prsr_throwException: oracle/ops/mgmt/has/HASContextException[OCR Error--Native: getHostName]

oracle.ops.mgmt.cluster.ClusterException: PRKC-1056 : Failed to get the hostname for node racnode3
PRKH-1001 : HASContext Internal Error
 [OCR Error(Native: getHostName:[21])]
       at oracle.ops.mgmt.cluster.GetActiveNodes.getHostName(GetActiveNodes.java:471)
       at oracle.ops.mgmt.cluster.Cluster.getHostName(Cluster.java:1162)
       at oracle.ops.opsctl.CommandLineParser.isValidNodeName(CommandLineParser.java:1594)
       at oracle.ops.opsctl.CommandLineParser.parse2WordCommandOptions(CommandLineParser.java:1069)
       at oracle.ops.opsctl.CommandLineParser.parse(CommandLineParser.java:204)
       at oracle.ops.opsctl.OPSCTLDriver.main(OPSCTLDriver.java:123)
PRKO-2006 : Invalid node name: racnode3
$ srvctl config database -d racdb
racnode1 racdb1 /u01/app/oracle/product/11.1.0/db_1
racnode2 racdb2 /u01/app/oracle/product/11.1.0/db_1
$ srvctl config database -d racdb
PRKR-1001 : cluster database racdb does not exist
PRKO-2005 : Application error: Failure in getting Cluster Database Configuration for: racdb
$ srvctl add database -d racdb -o /u01/app/oracle/product/11.1.0/db_1
PRKH-1010 : Unable to communicate with CRS services.
  [OCR Error(Native: prsr_initCLSS:[21])]

SRVM trace:

[main] [21:6:11:790] [has.HASContextNative.Native]  prsr_trace: prsr_throwException: oracle/ops/mgmt/has/HASContextException[OCR Error--Native: prsr_initCLSS]

[main] [21:6:11:790] [ClusterLock.<init>:56]  ClusterLock Instance Allocation Failed: oracle.ops.mgmt.has.HASContextException: OCR Error(Native: prsr_initCLSS:[21])
PRKH-1010 : Unable to communicate with CRS services.
  [OCR Error(Native: prsr_initCLSS:[21])]

Note: srvctl from database home MUST be used to manage the database



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms