内容简介:©著作权归作者所有:来自51CTO博客作者roidba的原创作品,如需转载,请注明出处,否则将追究法律责任
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 ~]#
©著作权归作者所有:来自51CTO博客作者roidba的原创作品,如需转载,请注明出处,否则将追究法律责任
你的鼓励让我更有动力
赞赏
0人进行了赞赏支持
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- 6、如何获取配置中心的配置
- React降级配置及Ant Design配置
- vscode 配置eslint 开发vue的相关配置
- git commit 规范校验配置和版本发布配置
- hadoop地址配置、内存配置、守护进程设置、环境设置
- 在hibernate中配置事务级别与命名查询配置【原创】
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
深入理解C#(第3版)
斯基特 (Jon Skeet) / 姚琪琳 / 人民邮电出版社 / 2014-4-1 / 99.00元
本书是世界顶级技术专家“十年磨一剑”的经典之作,在C#和.NET领域享有盛誉。与其他泛泛介绍C#的书籍不同,本书深度探究C#的特性,并结合技术发展,引领读者深入C#的时空。作者从语言设计的动机出发,介绍支持这些特性的核心概念。作者将新的语言特性放在C#语言发展的背景之上,用极富实际意义的示例,向读者展示编写代码和设计解决方案的最佳方式。同时作者将多年的C#开发经验与读者分享,读者可咀其精华、免走弯......一起来看看 《深入理解C#(第3版)》 这本书的介绍吧!