I've installed Oracle RAC (asm) on Red Hat Linux 4 and 5 with no issues using NFS and creating shared files and presented them to ASM as devices with no issues.
Now I'm encountering issues with Oracle 11gR2 ASM install on Red Hat Linux 6.1 and the install documentation is not clear about how can I use NFS shared presented empty files to ASM so that I can successfully install ASM. I understand that Oracle is not providing ASMLib for raw devices for Red Hat linux 6 going forward.
I understand that asmlib is not to be supported on Red Hat Linux 6 going forward however I would appreciate supporting information for ASM on Red Hat Linux 6 using NFS share and created empty files using dd. This has worked on Linux 5 and I'm trying to find a solution.
/sbin/scsi_id is used for which I understand. exm /sbin/scsi_id -g -u -d <device or dd empty file>
SCSI Devices Trusted configuration by adding entry to /etc/scsi_id.config
UDEV Rules advice would be appreciated.
Since I am using empty files to server to ASM, should I use partprobe <path of empty file ?> ?
UDEV SCSI Rules Configuration for ASM in Oracle for Redhat Linux 6 :
- udev supplies the system software with device events, manages permissions of device nodes and may create additional symlinks in the /dev directory, or renames network interfaces.
- udev rules are executed in enumerated order
- 10-* rules are run before 20-*
– device-mapper rules are 10-* rules therefore ours will be 20-*
1. Create an udev rule file
* Used the dd command to create 4 block device files which are exported and shared to two other servers.
* The two other servers are able to see the exported filesystems (block device files)
* During the install of Oracle 11gr2 ASM, I'm getting an error at the very end of the install indicating that the block files are not shared when in fact they are shared. On previous releases I was able to use Oracle ASMLib however now ASMLib is not supported for Red Hat Linux 6.1 and must now use UDEV. I've tried the above suggestion as far as I could however it does not address specifically block devices i.e., dd zero out files.
if this is cluvfy run in the installer telling you that your devices are not shared, disregard that (if you are personally sure they are shared).
This seems to be an annoying error with cluvfy, that the shared disk check only runs in special circumstances....
To be honest, I never saw it work correctly, so I am testing the "sharedness" of the devices always myself (dd in on one node, dd out on the other to see the expected results).
If the error however comes up at a later time (root.sh), then the devices are really not shared, or you have a permission problem.
I upgraded to the Red Hat Enterprise Linux 6.3 and was able to successfully install and configure Oracle Grid Infrastructure 188.8.131.52 ASM on a two node Citrix XenServer 6.1 without asmlib.
Verified that all of the required rpm's were installed.
After the successful install both ASM1 and ASM2 were configured to external storage.
It is clear to me now that You don't need asmlib to create the asm databases for Oracle Real Application Cluster.