centos 6/7版本下
1.两节点网卡名称必须一致
ip a检查
/etc/udev/rules.d/70-persistent-net.rules检查mac地址是否匹配/etc/sysconfig/network-scripts
[root@rac1 oraInventory]# cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device 0x1af4:0x1000 (virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="46:29:87:a4:d8:a3", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x1af4:0x1000 (virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="52:89:69:d5:c6:d1", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
2.nfs server配置
- [root@onas ~]# vi /etc/exports
- /u02 *(rw,sync,no_wdelay,insecure,no_root_squash)
- [root@onas ~]# systemctl restart nfs
- [root@onas ~]# showmount -e
- Export list for onas:
- /u02 *
注意/u02下目录需保持为空
- for i in {1..5};do dd if=/dev/zero of=/u02/asmdisk$i bs=1M count=10000;done
- chmod 660 /u02/asmdisk*
3.nfs client配置,rac节点:
RAC节点分别编辑/etc/fstab文件,加入以下内容:
- [root@odb01 ~]# vi /etc/fstab
- onas:/u02 /u02 nfs rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0 0 0
测试mount -a是否正常。
4.grid安装时选择:


相关参考: