Quantcast
Viewing all articles
Browse latest Browse all 647

Oracle 2nd node fails to start in cluster due to locking

Greetings,

 

I’m attempting to setup an oracle cluster (ASM) with shared disks on elinux 5.8. I modified the vmx file with the parameters below to supposedly allow disk sharing between the nodes:

 

 

disk.locking = "FALSE"

diskLib.dataCacheMaxSize = "0"

diskLib.dataCacheMaxReadAheadSize = "0"

diskLib.dataCacheMinReadAheadSize = "0"

diskLib.dataCachePageSize = "4096"

diskLib.maxUnsyncedWrites = "0"

 

scsi1.present = "TRUE"

scsi1.virtualDev = "lsilogic"

scsi1.sharedBus = "VIRTUAL"

 

scsi1:1.present = "TRUE"

scsi1:1.mode = "independent-persistent"

scsi1:1.fileName = "

/vmfs/volumes/4f709747-0ec9e0a0-219b-001e0bccdf5c/test1/test1_1.vmdk"

scsi1:1.deviceType = "scsi-hardDisk"

scsi1:1.redo = ""

 

 

I can start either node separately, however if I start them both, the second fails because the first has the file locked.

 

From the log:

 

Apr 13 13:00:45.313: vmx| DISK: OPEN '/vmfs/volumes/4f709747-0ec9e0a0-219b-001e0bccdf5c/test2_1/test2.vmdk' Geo (1958/255/63) BIOS Geo (0/0/0)

Apr 13 13:00:45.397: vmx| DISK: OPEN scsi0:1 '/vmfs/volumes/4f709747-0ec9e0a0-219b-001e0bccdf5c/test1/test1_1.vmdk' independent-persistent R[]

Apr 13 13:00:45.437: vmx| AIOGNRC: Failed to open '/vmfs/volumes/4f709747-0ec9e0a0-219b-001e0bccdf5c/test1/test1_1-flat.vmdk' : Failed to lock the file (67) (0x2017).

 

Does anyone out there know how to setup disks in VM that can be shared by multiple nodes?

 

Thanks!

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 647

Trending Articles