Chinaunix首页 | 论坛 | 博客
  • 博客访问: 527080
  • 博文数量: 159
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 1264
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-20 14:15
个人简介

LoveMoney

文章存档

2016年(2)

2015年(8)

2014年(148)

2011年(1)

分类: Oracle

2014-06-12 16:27:21

环境:P550*2,DS4500,AIX 5306,Oracle 10G R2 RAC
背景:客户需要备份RAC数据库,因使用了祼设备存放数据库文件,故决定采取NFS的方式来实现归档文件的共享存取。
配置好NFS后,Oracle用户的读写权限正常,但在进行日志切换时,Oracle hang住无法登录,费了好大劲才强行关闭。
经查alert*.log,有关于nfs mount options的警告信息,经查,对不同的Oracle文件内容,如果要使用NFS且正常工作,需要不同的mount选项,如下:
This document is relevant to all environments using 10g CRS along with 10gRAC.

Mount Options for Oracle files when used with NAS devices
--------------------------
Mount options for Binaries:
Sun Solaris *        rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,vers=3,suid
AIX (5L) **        rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600
HPUX 11.23 ****        rw,bg,vers=3,proto=tcp,noac,hard,nointr,timeo=600,rsize=32768,wsize=32768,suid
Windows            Not Supported
Linux x86        rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actime=0
Linux x86-64        rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actime=0
Linux - Itanium        rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actime=0

-----------
Mount options for Oracle Datafiles:
Sun Solaris *        rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,forcedirectio,vers=3,suid
AIX (5L) **        cio,rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,vers=3,timeo=600
HPUX 11.23 ****        rw,bg,vers=3,proto=tcp,noac,forcedirectio,hard,nointr,timeo=600,rsize=32768,wsize=32768,suid
Windows            Not Supported
Linux x86        rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,vers=3,timeo=600
Linux x86-64        rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,vers=3,timeo=600
Linux - Itanium        rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,vers=3,timeo=600

-----------
Mount options for CRS Voting Disk and OCR:
Sun Solaris *        rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,noac,forcedirectio
AIX (5L) **        cio,rw,bg,hard,intr,rsize=32768,wsize=32768,tcp,noac,vers=3,timeo=600
HPUX 11.23 ****        rw,bg,vers=3,proto=tcp,noac,forcedirectio,hard,nointr,timeo=600,rsize=32768,wsize=32768,suid
Windows            Not Supported
Linux x86        rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,vers=3,timeo=600
Linux x86-64        rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,vers=3,timeo=600
Linux - Itanium        rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,vers=3,timeo=600

-------------
The NFS mount option “forcedirectio” is required on Solaris platforms when mounting the OCR/CRS files when using

Oracle 10.1.0.4 or 10.2.0.2 or later (Oracle bug 4466428)

AIX is only supported with NAS on AIX 5.3 TL04 and higher with Oracle 10.2.0.1 and later (NetApp)

NAS devices are only supported with HPUX 11.23 ONLY

-------
使用linux as3u3作NFS server, hp 11.23作nfs client对oracle 10g是不可以的.

最终处理办法:
在/etc/filesystems中将NFS文件系统的mount选项修改为cio,rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,vers=3,timeo=600,mount时报TCP选项无效,看来跟AIX版本有关,不用理会。启动CRS和数据库,切换日志归档正常。

阅读(3073) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

cxmfyl2014-06-12 16:30:41

[root@RACB arch1]# cat /etc/redhat-release 
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
[root@RACB arch1]# uname -a
Linux RACB 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 athlon i386 GNU/Linux

使用Mount options for Oracle Datafiles:内的参数来设置nfs路径的:
[root@RACB arch1]# cat /etc/fstab
RACA:/archa