RHEL 6.4 NFS server VM Oracle archive logs fail to write
I have an Oracle DB on a Solaris 10 platform trying to write secondary archive logs to an NFS share hosted on a RH VM. The Oracle processes writes the file name and size but no data then hangs the DB. I successfully generated 256m files with mkfile from the Solaris box. This seem to be a problem only with the Oracle DB processes other applications are working fine. Currently configure for nfsv3.
Are there any specific RH NFS server configurations for exporting the share? Kernel parameters? Should I try to mimic an Oracle configuration in RH?
Responses
So the file gets created and the file size is set but no data written into the file? By no data do you mean the file is full of zeros or does it not have any extents allocated (ie it's a sparse file)? Since the problem only affects the Oracle DB are you sure it has any data to write out? Is the DB stuck trying to write data? We're going to need some supporting data to investigate this - would you mind opening a support case?
Check MOS (support.oracle.com) and look for metalink articles regarding NFS required parameters. There's a couple metalink articles on this. It might not be the fix to your problem but they are definitely worth reviewing and implementing.
Agree with Stephen McDonald (but I'm surprised neither Red Hat nor Oracle have this documented--or could find it for your support case--for using their own Linux server products with Oracle DBs).
We have Oracle DBs writing secondary archive logs to a 3rd-party NFS system (proprietary Unix/Linux derivative) which fails completely unless we use very specific NFS mount options (in our case, "nfsvers=3,tcp,intr,rsize=32768,wsize=32768,nolock"; I think the 'nolock' and rsize/wsize params were the key to getting it working).
Check your network health too (ie duplex mismatch errors, high runts/crc errors etc) I would try testing with dd with a large blocksize and perhaps simply copying an existing archive log file (time cp file /nfsmount) to the nfs mount and measure the throughput.
Check the following Oracle docs for NFS parameters needed for what types of Oracle files and situations etc.
Doc ID 359515.1
Doc ID 1117597.1
Doc ID 9115046.8
Good luck!
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
