RHEL 6.8 + Oracle 11g RAC multipath 配置

Oracle 11g RAC + RHEL 6.8 多路径配置如下,仅供参考。


<roidb1:+ASM1:/etc/udev/rules.d>$ls
12-dm-permissions.rules      60-pcmcia.rules          90-alsa.rules              98-kexec.rules
55-usm.rules                 60-raw.rules             90-hal.rules               99-fuse.rules
60-fprint-autosuspend.rules  70-persistent-net.rules  97-bluetooth-serial.rules

由于配置文件中使用了别名,所以这里也需要使用别名
<roidb1:+ASM1:/etc/udev/rules.d>$more 12-dm-permissions.rules
ENV{DM_NAME}=="data*", OWNER:="grid", GROUP:="asmadmin", MODE:="660"
ENV{DM_NAME}=="vot*", OWNER:="grid", GROUP:="asmadmin", MODE:="660"
<roidb1:+ASM1:/etc/udev/rules.d>$

<roidb1:+ASM1:/etc/udev/rules.d>$more /etc/multipath.conf
# multipath.conf written by anaconda

defaults {
        user_friendly_names yes
}
# blacklist {
#       devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
#       devnode "^hd[a-z]"
#       devnode "^dcssblk[0-9]*"
#       device {
#               vendor "DGC"
#               product "LUNZ"
#       }
#       device {
#               vendor "IBM"
#               product "S/390.*"
#       }
#       # don‘t count normal SATA devices as multipaths
#       device {
#               vendor  "ATA"
#       }
#       # don‘t count 3ware devices as multipaths
#       device {
#               vendor  "3ware"
#       }
#       device {
#               vendor  "AMCC"
#       }
#       # nor highpoint devices
#       device {
#               vendor  "HPT"
#       }
#       wwid "3620000905a7a7f6c226b3ebe0488ea70"
#       device {
#               vendor Virtual
#               product DVD-ROM_VM_1.1.0
#       }
#       wwid "*"
# }
# blacklist_exceptions {
#       wwid "360060e801232b400504032b400000b0c"
#       wwid "360060e801232b400504032b400000b0d"
#       wwid "360060e801232b400504032b400000b0e"
#       wwid "360060e801232b400504032b400000b23"
#       wwid "360060e801232b400504032b400000b24"
#       wwid "360060e801232b400504032b400000b25"
# }
multipaths {
#       multipath {
#               uid 0
#               gid 0
#               wwid "360060e801232b400504032b400000b0c"
#               mode 0600
#       }
#       multipath {
#               uid 0
#               gid 0
#               wwid "360060e801232b400504032b400000b0d"
#               mode 0600
#       }
#       multipath {
#               uid 0
#               gid 0
#               wwid "360060e801232b400504032b400000b0e"
#               mode 0600
#       }
#       multipath {
#               uid 0
#               gid 0
#               wwid "360060e801232b400504032b400000b23"
#               mode 0600
#       }
#       multipath {
#               uid 0
#               gid 0
#               wwid "360060e801232b400504032b400000b24"
#               mode 0600
#       }
#       multipath {
#               uid 0
#               gid 0
#               wwid "360060e801232b400504032b400000b25"
#               mode 0600
#       }
        multipath {
                wwid "360060e801232b400504032b400000b23"
                alias vot1
        }
        multipath {
                wwid "360060e801232b400504032b400000b24"
                alias vot2
        }
        multipath {
                wwid "360060e801232b400504032b400000b25"
                alias vot3
        }
        multipath {
                wwid "360060e801232b400504032b400000b0c"
                alias data01
        }
        multipath {
                wwid "360060e801232b400504032b400000b0d"
                alias data02
        }
        multipath {
                wwid "360060e801232b400504032b400000b0e"
                alias data03
        }

}
<roidb1:+ASM1:/etc/udev/rules.d>$

[[email protected] ~]# multipath -ll
data01 (360060e801232b400504032b400000b0c) dm-2 HITACHI,OPEN-V
size=2.0T features=‘1 queue_if_no_path‘ hwhandler=‘0‘ wp=rw
`-+- policy=‘round-robin 0‘ prio=1 status=active
  |- 7:0:0:0 sdb 8:16   active ready running
  |- 8:0:0:0 sdn 8:208  active ready running
  |- 7:0:1:0 sdh 8:112  active ready running
  `- 8:0:1:0 sdt 65:48  active ready running
vot1 (360060e801232b400504032b400000b23) dm-5 HITACHI,OPEN-V
size=10G features=‘1 queue_if_no_path‘ hwhandler=‘0‘ wp=rw
`-+- policy=‘round-robin 0‘ prio=1 status=active
  |- 7:0:0:3 sde 8:64   active ready running
  |- 8:0:0:3 sdq 65:0   active ready running
  |- 7:0:1:3 sdk 8:160  active ready running
  `- 8:0:1:3 sdw 65:96  active ready running
data03 (360060e801232b400504032b400000b0e) dm-4 HITACHI,OPEN-V
size=2.0T features=‘1 queue_if_no_path‘ hwhandler=‘0‘ wp=rw
`-+- policy=‘round-robin 0‘ prio=1 status=active
  |- 7:0:0:2 sdd 8:48   active ready running
  |- 8:0:0:2 sdp 8:240  active ready running
  |- 7:0:1:2 sdj 8:144  active ready running
  `- 8:0:1:2 sdv 65:80  active ready running
vot3 (360060e801232b400504032b400000b25) dm-7 HITACHI,OPEN-V
size=10G features=‘1 queue_if_no_path‘ hwhandler=‘0‘ wp=rw
`-+- policy=‘round-robin 0‘ prio=1 status=active
  |- 7:0:0:5 sdg 8:96   active ready running
  |- 8:0:0:5 sds 65:32  active ready running
  |- 7:0:1:5 sdm 8:192  active ready running
  `- 8:0:1:5 sdy 65:128 active ready running
data02 (360060e801232b400504032b400000b0d) dm-3 HITACHI,OPEN-V
size=2.0T features=‘1 queue_if_no_path‘ hwhandler=‘0‘ wp=rw
`-+- policy=‘round-robin 0‘ prio=1 status=active
  |- 7:0:0:1 sdc 8:32   active ready running
  |- 8:0:0:1 sdo 8:224  active ready running
  |- 7:0:1:1 sdi 8:128  active ready running
  `- 8:0:1:1 sdu 65:64  active ready running
vot2 (360060e801232b400504032b400000b24) dm-6 HITACHI,OPEN-V
size=10G features=‘1 queue_if_no_path‘ hwhandler=‘0‘ wp=rw
`-+- policy=‘round-robin 0‘ prio=1 status=active
  |- 7:0:0:4 sdf 8:80   active ready running
  |- 8:0:0:4 sdr 65:16  active ready running
  |- 7:0:1:4 sdl 8:176  active ready running
  `- 8:0:1:4 sdx 65:112 active ready running
[[email protected] ~]# 

原文地址:http://blog.51cto.com/roidba/2349130

时间: 2024-10-14 09:11:53

RHEL 6.8 + Oracle 11g RAC multipath 配置的相关文章

阿里云上Oracle 11g RAC安装配置手册

有印象的用户可能发现,阿里云早在2016年深圳云栖大会就官方发布了对Oracle RAC的支持,但是相关产品却一直没能同步推出,相信大家都翘首以盼了许久许久.一个好消息是,近期阿里云将紧密推出两款新产品:共享块存储和ECS多网卡.这两款产品将打通众多关键云下应用上云的最后一公里,为用户提供更多的便利.在我们能正式体验到新产品之前,阿里云技术服务团队也将云上的Oracle RAC安装配置手册放出,希望能给大家提供更多不同的体验和选择. 一.安装说明 阿里云上Oracle RAC的安装部署,重点需要

安装Oracle 11g RAC R2 之Linux DNS 配置

Oracle 11g RAC 集群中引入了SCAN(Single Client Access Name)的概念,也就是指集群的单客户端访问名称.SCAN 这个特性为客户端提供了单一的主机名,用于访问集群中运行的 Oracle 数据库.如果您在集群中添加或删除节点,使用 SCAN 的客户端无需更改自己的 TNS 配置.无论集群包含哪些节点,SCAN 资源及其关联的 IP 地址提供了一个稳定的名称供客户端进行连接使用.在Oracle 11g grid 安装时即要求为该特性配置DNS解析方式或GNS解

[转]Oracle 11g RAC SCAN ip的原理及配置

原文地址:http://tiany.blog.51cto.com/513694/1421917/ Oracle 11g RAC SCAN ip的原理及配置   Oracle 11g RAC网格即插即用(GPnP)工作原理: SCAN概念:   先介绍一下什么叫SCAN,SCAN(Single Client Access Name)是Oracle从11g R2开始推出的,客户端可以通过SCAN特性负载均衡地连接到RAC数据库.SCAN提供一个域名来访问RAC,域名可以解析1个到3个(注意,最多3个

Oracle 11g rac 生产环境部署详录

作者:田逸([email protected]) 基本规划 ◎设备选型 1.服务器:Dell R620 两台.cpu 8 core,内存64G,600G 15000转sas硬盘,双电源,hba卡一块,连接存储线缆一根(连接hba卡和共享存储). 2.存储:dell MD3200 一台.双控制器,12块600G 15000转sas硬盘.为追求最高可用性,使用的raid级别是raid10. 3.交换机:华为3com两台,型号为h3c S5048E.注意:网络端口最好是全千兆. 4.网线:2-3米机制

管理oracle 11g RAC 常用命令

1).检查集群状态: [[email protected] ~]$ crsctl check cluster CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online 2).所有 Oracle 实例 —(数据库状态): [[email protected] ~]$ srvctl status da

oracle 11g RAC安装节点二执行结果错误CRS-5005: IP Address: 192.168.1.24 is already in use in the network

[[email protected] ~]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /u01/app/oraInventory to oins

oracle 11g RAC 的一些基本概念(四)

RAC 在Grid Infrastructure安装完以后,我们把注意力转移到集群上的Oracle软件的安装上来.我们看到,Grid Infrasctructure提供了运行RAC的框架,包括集群通讯链接.节点分离.节点成员关系等服务.ASM是Oracle存储数据库的首选方式.RAC利用这些概念并扩展了需要的基本服务. 安装选项 成功安装了Grid Infrastructure/Clusterware以后,Oracle Universal Installer检测到集群环境的建立,然后提供安装整个

oracle 11g RAC 的一些基本概念(三)

Grid Infrastructure共享组件 Grid Infrastructure使用两种类型的共享设备来管理集群资源和节点:OCR(Oracle Cluster Registry)和表决磁盘.Oracle 11.2引入一个新的文件,称作Oracle Local Registry(OLR),它只允许存放在本地. OCR和OLR OCR为所有节点所共享,包含了集群资源的所有信息和 Grid Infrastructure需要的操作许可.为了实现共享,OCR需要存放在裸设备.共享块设备.类似OCF

oracle 11g rac 笔记(VMware 和esxi主机都可以使用)

这个只是笔记,防止丢失,没事见整理 在vmware安装目录 创建磁盘: vmware-vdiskmanager.exe -c -s 1000Mb -a lsilogic -t 2 D:\VMWARE\racsharedisk\ocr.vmdk vmware-vdiskmanager.exe -c -s 1000Mb -a lsilogic -t 2 D:\VMWARE\racsharedisk\ocr2.vmdk vmware-vdiskmanager.exe -c -s 1000Mb -a l