文章详情

短信预约-IT技能 免费直播动态提醒

请输入下面的图形验证码

提交验证

短信预约提醒成功

RHEL 6.8 + Oracle 11g RAC multipath 配置

2024-04-02 19:55

关注

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>$

[root@roidb1 ~]# 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
[root@roidb1 ~]# 
阅读原文内容投诉

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

软考中级精品资料免费领

  • 历年真题答案解析
  • 备考技巧名师总结
  • 高频考点精准押题
  • 2024年上半年信息系统项目管理师第二批次真题及答案解析(完整版)

    难度     813人已做
    查看
  • 【考后总结】2024年5月26日信息系统项目管理师第2批次考情分析

    难度     354人已做
    查看
  • 【考后总结】2024年5月25日信息系统项目管理师第1批次考情分析

    难度     318人已做
    查看
  • 2024年上半年软考高项第一、二批次真题考点汇总(完整版)

    难度     435人已做
    查看
  • 2024年上半年系统架构设计师考试综合知识真题

    难度     224人已做
    查看

相关文章

发现更多好内容

猜你喜欢

AI推送时光机
位置:首页-资讯-数据库
咦!没有更多了?去看看其它编程学习网 内容吧
首页课程
资料下载
问答资讯