oracle的安装规划方面不用多介绍了,只介绍NFS的配置和安装过程中的一些使用asm磁盘的不同点。
1、环境准备
2个rac节点,4台存储节点
计算节点:
10.160.36.64
10.160.36.76
存储节点:
10.160.36.33
10.160.36.60
10.160.36.62
10.160.36.70
2、NFS存储准备
nfs存储提供端安装nfs软件
yum install -y nfs-utils
yum install -y portmap
chkconfig nfs on
service rpcbind start
service nfs start
#lvcreate -L 7999G -n datalv1 -i 4 -I 64 datavg
lvcreate -n datalv11 -L 7990G datavg
mkfs.ext4 /dev/datavg/datalv1
mount /dev/datavg/datalv1 /oradata
vi /etc/fstab
/dev/datavg/datalv1 /oradata ext4 defaults 0 0
vi /etc/exports
每台存储分别设置
/oradata *(rw,sync,no_wdelay,insecure_locks,no_root_squash)
3、NFS客户端准备,也就是rac两个计算节点
计算节点:
/dev/vdb /u01 ext4 defaults 0 0
10.160.36.33:/oradata /oradata1 nfs rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0 0 0
10.160.36.60:/oradata /oradata2 nfs rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0 0 0
10.160.36.63:/oradata /oradata3 nfs rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0 0 0
10.160.36.70:/oradata /oradata4 nfs rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0 0 0
4、安装rac
注意ocr和votedisk 的文件路径和冗余的选择
附录、oracle的官方nfs挂载参数
Mount Options for Oracle files when used with NFS on NAS devices (文档 ID 359515.1)
Operating System
|
Mount options for
Binaries ##
|
Mount options for Oracle Datafiles |
Mount options for CRS Voting Disk and OCR (12.1 and lower)
In 12.2, both OCR and voting disks must reside in ASM.
Refer to
Document 2201844.1
|
Sun Solaris * |
rw,bg,hard,nointr,rsize=32768,
wsize=32768,proto=tcp,noac,
vers=3,suid
|
rw,bg,hard,nointr,rsize=32768,
wsize=32768,proto=tcp,noac,
forcedirectio, vers=3
|
rw,bg,hard,nointr,rsize=32768,
wsize=32768,proto=tcp,vers=3,
noac,forcedirectio
|
AIX (5L) ** |
rw,bg,hard,nointr,rsize=32768,
wsize=32768,proto=tcp,
vers=3,timeo=600
|
cio,rw,bg,hard,nointr,rsize=32768,
wsize=32768,proto=tcp,noac,
vers=3,timeo=600
|
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,
hard,nointr,timeo=600,
rsize=32768,wsize=32768,suid
|
rw,bg,vers=3,proto=tcp,noac,
forcedirectio,hard,nointr,timeo=600,
rsize=32768,wsize=32768
|
rw,bg,vers=3,proto=tcp,noac,
forcedirectio,hard,nointr,timeo=600
,rsize=32768,wsize=32768
|
Windows
(Use dNFS if needed.
Refer to
|
Not Supported | Not Supported | Not Supported |
Linux x86
#
****
|
rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp, vers=3,
timeo=600, actimeo=0
|
rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp,actimeo=0,
vers=3,timeo=600
|
rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp,noac,actimeo=0,
vers=3,timeo=600
|
Linux x86-64 #
****
|
rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp,vers=3,
timeo=600, actimeo=0
|
rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp,actimeo=0,
vers=3,timeo=600
|
rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp,noac,vers=3,
timeo=600,actimeo=0
|
Linux - Itanium |
rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp,vers=3,
timeo=600, actimeo=0
|
rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp,actimeo=0,
vers=3,timeo=600
|
rw,bg,hard,nointr,rsize=32768,
wsize=32768,tcp,noac,vers=3,
timeo=600,actimeo=0
|