Home » Server Options » RAC & Failsafe » Oracle 10g RAC on RHEL 5 - OCR integrity results are inconsistent (Oracle 10.2.0.1 on RHEL5 32 bit)
Oracle 10g RAC on RHEL 5 - OCR integrity results are inconsistent [message #439494] Sun, 17 January 2010 16:06 Go to next message
kumarsz
Messages: 180
Registered: March 2005
Location: canada
Senior Member
Hi,

I am installing RAC using vmware server with Windows7 as Host Operating Sytem and Linux RHEL 5 as Guest Operating Systems

All the clusterware installation went well till vipca after which I got following error at the last step of clusterware installation and I am stuckup now

OCR integrity results are inconsistent amongst the nodes.
        OCR integrity found invalid for nodes: rac1
        OCR integrity found valid for nodes: rac2


to my surprise, precheck using 'runcluvfy' did not produce errors

also i can see the shared disks from both the nodes
(which i created using 'datastore')

Following is my vmx file with disk configuration details

.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "7"
floppy0.present = "FALSE"
mks.enable3d = "TRUE"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
nvram = "rac1.nvram"
virtualHW.productCompatibility = "hosted"
ft.secondary0.enabled = "TRUE"
tools.upgrade.policy = "useGlobal"
powerType.powerOff = "soft"
powerType.powerOn = "hard"
powerType.suspend = "hard"
powerType.reset = "soft"

displayName = "rac1"
extendedConfigFile = "rac1.vmxf"

scsi0.present = "TRUE"
scsi0.sharedBus = "none"
scsi0.virtualDev = "lsilogic"
memsize = "1024"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "rac1.vmdk"
scsi0:0.writeThrough = "TRUE"
scsi0:0.mode = "independent-persistent"
ide1:0.present = "TRUE"
ide1:0.fileName = "D:"
ide1:0.deviceType = "cdrom-raw"
ide1:0.allowGuestConnectionControl = "FALSE"
ethernet0.present = "TRUE"
ethernet0.allowGuestConnectionControl = "FALSE"
ethernet0.features = "1"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.networkName = "Bridged"
ethernet0.addressType = "generated"
ethernet1.present = "TRUE"
ethernet1.allowGuestConnectionControl = "FALSE"
ethernet1.features = "1"
ethernet1.wakeOnPcktRcv = "FALSE"
ethernet1.networkName = "Bridged"
ethernet1.addressType = "generated"
usb.present = "TRUE"
ehci.present = "TRUE"
guestOS = "rhel5"
uuid.location = "56 4d 06 fe e1 3a 74 f2-95 cb 5e ce 21 f5 5f f5"
uuid.bios = "56 4d 06 fe e1 3a 74 f2-95 cb 5e ce 21 f5 5f f5"
vc.uuid = "52 53 5a 15 47 db 9e ab-d7 a0 ee 15 b6 ae f1 28"

ide1:0.startConnected = "FALSE"
ide1:0.clientDevice = "FALSE"
ethernet0.generatedAddress = "00:0c:29:f5:5f:f5"
ethernet1.generatedAddress = "00:0c:29:f5:5f:ff"
tools.syncTime = "FALSE"
scsi0:0.redo = ""
vmotion.checkpointFBSize = "134217728"
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "33"
ethernet1.pciSlotNumber = "34"
ehci.pciSlotNumber = "35"
vmci0.pciSlotNumber = "36"
ethernet0.generatedAddressOffset = "0"
ethernet1.generatedAddressOffset = "10"
vmci0.id = "569729014"

disk.locking = "FALSE"
diskLib.dataCacheMaxSize = "0" 
diskLib.dataCacheMaxReadAheadSize = "0" 
diskLib.dataCacheMinReadAheadSize = "0" 
diskLib.dataCachePageSize = "4096" 
diskLib.maxUnsyncedWrites = "0"

scsi1.present = "TRUE"
scsi1.sharedBus = "none"
scsi1.virtualDev = "lsilogic"
scsi1:1.present = "TRUE"
scsi1:1.fileName = "\\PRATAP-PC\vm\ocr.vmdk"
scsi1:1.writeThrough = "TRUE"
scsi1:1.mode = "independent-persistent"
scsi1:1.deviceType = "disk"
scsi1:1.redo = ""
scsi1:2.present = "TRUE"
scsi1:2.fileName = "\\PRATAP-PC\vm\votingdisk.vmdk"
scsi1:2.writeThrough = "TRUE"
scsi1:2.mode = "independent-persistent"
scsi1:2.deviceType = "disk"
scsi1:2.redo = ""
scsi1:3.present = "TRUE"
scsi1:3.fileName = "\\PRATAP-PC\vm\asm1.vmdk"
scsi1:3.writeThrough = "TRUE"
scsi1:3.mode = "independent-persistent"
scsi1:3.deviceType = "disk"
scsi1:3.redo = ""
scsi1:4.present = "TRUE"
scsi1:4.fileName = "\\PRATAP-PC\vm\asm2.vmdk"
scsi1:4.writeThrough = "TRUE"
scsi1:4.mode = "independent-persistent"
scsi1:4.deviceType = "disk"
scsi1:4.redo = ""
scsi1:5.present = "TRUE"
scsi1:5.fileName = "\\PRATAP-PC\vm\asm3.vmdk"
scsi1:5.writeThrough = "TRUE"
scsi1:5.mode = "independent-persistent"
scsi1:5.deviceType = "disk"
scsi1:5.redo = ""
scsi1.pciSlotNumber = "37"


The vmx file for rac2 differs only in
1)displayname
2)ethernet0.generatedAddress
ethernet1.generatedAddress
3)uuid.location
uuid.bios
4)vmci0.id

Is there any workaround for this error?

Thanks and Regards,
Pratap
Re: Oracle 10g RAC on RHEL 5 - OCR integrity results are inconsistent [message #439555 is a reply to message #439494] Mon, 18 January 2010 05:49 Go to previous messageGo to next message
kumarsz
Messages: 180
Registered: March 2005
Location: canada
Senior Member
Hello,

Will anybody please suggest which files or configuration area I need to check

Thanks and Regards,
Pratap
Re: Oracle 10g RAC on RHEL 5 - OCR integrity results are inconsistent [message #439557 is a reply to message #439494] Mon, 18 January 2010 06:15 Go to previous messageGo to next message
kumarsz
Messages: 180
Registered: March 2005
Location: canada
Senior Member
Hi,

after googling I found 2 notes on this toic which say ocr needs to be owned by root

In my case I have configured following ownership and permissions

chown oracle:oinstall /dev/raw/raw1
chown oracle:oinstall /dev/raw/raw2
chown oracle:oinstall /dev/raw/raw3
chown oracle:oinstall /dev/raw/raw4
chown oracle:oinstall /dev/raw/raw5
chmod 640 /dev/raw/raw1
chmod 640 /dev/raw/raw2
chmod 640 /dev/raw/raw3
chmod 640 /dev/raw/raw4
chmod 640 /dev/raw/raw5


Also since I did not have /etc/sysconfig/rawdevices file I have created /etc/udev/rules.d/63-oracle-raw.rules as described in
http://arjudba.blogspot.com/2008/08/on-rhl5-rawdevices-unrecognized-service.html

Will it be causing the issue?

If yes, how come the error was produced only for node2?

Please let me know any workaround I am stuckup

Also please help me knowing where can I start with again, since I have left clusterware installation running and completed vipca and script execution by root. Do I need to cleanup before I start re-execution or I can run it again as it is?

Thanks and Regards,
Pratap
Re: Oracle 10g RAC on RHEL 5 - OCR integrity results are inconsistent [message #439635 is a reply to message #439557] Mon, 18 January 2010 13:52 Go to previous messageGo to next message
babuknb
Messages: 1736
Registered: December 2005
Location: NJ
Senior Member


>>to my surprise, precheck using 'runcluvfy' did not produce errors

Post the details.

I believe you already executed $CRS_HOME/root.sh script execute from both nodes.

Could you please post output the above script.

>>scsi1.sharedBus = "none"

Your using WRONG VM Cluster values. It's should be

Scsi1.sharedBus = "VIRTUAL"

- Babu
Re: Oracle 10g RAC on RHEL 5 - OCR integrity results are inconsistent [message #439732 is a reply to message #439494] Tue, 19 January 2010 05:05 Go to previous message
kumarsz
Messages: 180
Registered: March 2005
Location: canada
Senior Member
Hi gentlebabu,

Thanks for your reply

Unfortunately I have already started the setup again from scratch

However this time (since I am using RHEL5) I will mention /dev/sdb1 for ocr and /dev/sdc1 for voting disk etc. rather tha /dev/raw/raw1 and /dev/raw/raw2

Thanks for letting me know about the setting
Scsi1.sharedBus = "VIRTUAL"

I will keep this in mind during current installation

Thanks and Regards,
Pratap
Previous Topic: Need for separate instance in RAC database
Next Topic: RAC some queries
Goto Forum:
  


Current Time: Sat Dec 07 05:43:54 CST 2024