I have recently configured oracle grid infrastructure standalone (restart) 11.2.0.1 in a linux x86-64. I want to configure additional OLR (local), but I am getting error while trying to do so. Any help please?
[root@db101 oracle]# cat ocr.loc
ocrconfig_loc=/u02/app/11.2.0/grid/cdata/localhost/local.ocr
local_only=TRUE
[grid@db101 ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
1 ONLINE ONLINE db101
ora.diskmon
1 ONLINE ONLINE db101
Now I try to add another local, but the errors are below ( i tried with local option too, but syntax error..)
[root@db101 ~]# /u02/app/11.2.0/grid/bin/ocrconfig -add /u02/app/11.2.0/grid/cdata/localhost/test.ocr
PROT-1: Failed to initialize ocrconfig
[root@db101 client]# cat ocrconfig_2686.log
Oracle Database 11g Clusterware Release 11.2.0.1.0 - Production Copyright 1996, 2009 Oracle. All rights reserved.
2014-06-17 17:22:44.459: [ OCRCONF][3597385328]ocrconfig starts...
2014-06-17 17:22:44.468: [ OCRCONF][3597385328]Failure in initializing ocr in DEFAULT level. error:[PROC-32: Cluster Ready Services on the local node is not running Messaging error [9]]
2014-06-17 17:22:44.468: [ OCRCONF][3597385328]Exiting [status=failed]...
[root@db101 client]# /u02/app/11.2.0/grid/bin/ocrconfig -local -add /u02/app/11.2.0/grid/cdata/localhost/test.ocr
Name:
ocrconfig - Configuration tool for Oracle Cluster/Local Registry.
Synopsis:
ocrconfig [option]
option:
[-local] -export <filename>
- Export OCR/OLR contents to a file
[-local] -import <filename> - Import OCR/OLR contents from a file
[-local] -upgrade [<user> [<group>]]
- Upgrade OCR from previous version