multipath多路徑配置
[root@localhost ~]# rpm -qa | grep device-mapper
device-mapper-1.02.95-3.el6_7.3.x86_64
device-mapper-multipath-0.4.9-87.el6.x86_64
[root@localhost ~]# vi /etc/multipath.conf
defaults {
user_friendly_names yes
udev_dir /dev
path_grouping_policy multibus
failback immediate
no_path_retry fail
}
[root@localhost ~]# service multipathd restart
ux_socket_connect: No such file or directory
Stopping multipathd daemon: [FAILED]
Starting multipathd daemon: [ OK ]
[root@localhost ~]# ll /dev/mapper/
control mpathb mpathc mpathd VolGroup-lv_root VolGroup-lv_swap
[root@localhost ~]# ll /dev/dm-*
/dev/dm-0 /dev/dm-1 /dev/dm-2 /dev/dm-3 /dev/dm-4
[root@localhost ~]# multipath -ll
mpathd (14f504e46494c4552666e546771342d4279354c2d4e306857) dm-4 OPNFILER,VIRTUAL-DISK
size=31G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 2:0:0:2 sdd 8:48 active ready running
`- 3:0:0:2 sdg 8:96 active ready running
mpathc (14f504e46494c45526e6d357631562d443350302d6c4e3365) dm-3 OPNFILER,VIRTUAL-DISK
size=1.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 2:0:0:1 sdc 8:32 active ready running
`- 3:0:0:1 sdf 8:80 active ready running
mpathb (14f504e46494c4552394a446839452d31514d792d64524e44) dm-2 OPNFILER,VIRTUAL-DISK
size=1.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 2:0:0:0 sdb 8:16 active ready running
`- 3:0:0:0 sde 8:64 active ready running
[root@localhost ~]# chkconfig --level 345 multipathd on
[root@localhost ~]# chkconfig --list | grep multipathd
他人的/etc/multipath.conf
defaults {
udev_dir /dev
polling_interval 10
selector "round-robin 0"
path_grouping_policy failover
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
prio_callout /bin/true
path_checker readsector0
rr_min_io 100
rr_weight priorities
failback immediate
#no_path_retry fail
#user_friendly_name yes
}
multipaths {
multipath {
wwid 3600601602d313800901aba9d7d0de411
alias crs
path_grouping_policy failover
}
multipath {
wwid 3600601602d313800000140cb7d0de411
alias data1
path_grouping_policy failover
}
multipath {
wwid 3600601602d3138005e17b6ef7d0de411
alias data2
path_grouping_policy failover
}
multipath {
wwid 3600601602d313800f449b27b7d0de411
alias data3
path_grouping_policy failover
}
}
centos6.5
dmsetup ls
vi /etc/udev/rules.d/12-dm-permissions.rules
ENV{DM_NAME}=="mpathb", OWNER:="grid", GROUP:="asmadmin", MODE:="660", SYMLINK+="oraasm-$env{DM_NAME}"
ENV{DM_NAME}=="mpathc", OWNER:="grid", GROUP:="asmadmin", MODE:="660", SYMLINK+="oraasm-$env{DM_NAME}"
ENV{DM_NAME}=="mpathd", OWNER:="grid", GROUP:="asmadmin", MODE:="660", SYMLINK+="oraasm-$env{DM_NAME}"
service multipathd restart
#ls -l /dev/dm*
ll /dev/oraasm*
vi /etc/rc.local
chown -R grid:asmadmin /dev/oraasm-*
chmod 666 /dev/oraasm-*
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28572479/viewspace-2123962/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- linux多路徑multipath配置Linux
- Linux Multipath多路徑配置與使用案例Linux
- redhat multipath多路徑 DMRedhat
- linux之 multipath 多路徑Linux
- rhel 6 對映多路徑(DM Multipath)配置及管理
- Linux配置和管理裝置對映多路徑multipathLinux
- linux iscsi multipath多路徑及名稱持久化配置Linux持久化
- centos上iscsi+multipath多路徑儲存配置手冊CentOS
- Oracle Linux 7.8 多路徑(Multipath)+Udev繫結磁碟OracleLinuxdev
- 【多路徑】EMC儲存多路徑軟體配置
- LINUX 多路徑對映Multipath與正規表示式Linux
- Redhat7 Udev繫結(DM multipath)多路徑裝置Redhatdev
- 儲存-配置多路徑
- RedHat 5.4上iscsi+multipath多路徑儲存配置獲取裝置的wwidRedhat
- Linux平臺的多路徑軟體multipath的使用案例Linux
- Linux 下配置多路徑Linux
- 使用OpenFiler來模擬儲存配置RAC中ASM共享盤及多路徑(multipath)的測試ASM
- linux redhat 6.5 多路徑配置LinuxRedhat
- Redhat5.4 Linux多路徑dm-multipath之multi-path詳解RedhatLinux
- 多路徑時99-oracle-asmdevices.rules的配置OracleASMdev
- 記錄下物理機bond配置及物理機多路徑配置
- 華為儲存多路徑
- LINUX LOG(多路徑)Linux
- Linux環境iSCSI儲存及多路徑功能配置Linux
- linux_unix_aix_hp_solaris multi path多路徑配置LinuxAI
- Linux平臺上配置Oracle ASMLib和磁碟多路徑LinuxOracleASM
- 多路徑軟體介紹
- multipath配置詳細參考
- UDEV掛載EMC多路徑盤dev
- 多路徑重用歸檔日誌
- IBM儲存多路徑軟體IBM
- linux 儲存多路徑軟體Linux
- linux多路徑下線上新增磁碟Linux
- RHEL5 multipath多路徑聚合到RAC的RAW裝置繫結中不能用raw raw1 /dev/dm-*來實現dev
- linux配置multipath 並安裝racLinux
- 【備份恢復】 控制檔案多路徑
- 新增控制檔案成員形成多路徑
- 多路徑軟體安裝使用方法