linux 儲存多路徑軟體
redhat linux儲存多路徑,目前我瞭解的有兩種方式:
(1)EMC powerpath
(2) HP securepath (沒用過不做介紹)
(3)device-mapper-multipath
但要註冊,如果不註冊,只有基本的failover功能,沒有負責均衡功能,每次重啟都要 powermt config 來使多路徑生效。
備註: CLARiiON AX 系列陣列自動識別,不需要許可證註冊
以下是一整套 PowerPath 文件集;所有手冊均由 EMC Corporation 提供,
可以自己去百度或EMC官方網找:
◆PowerPath Product Guide
◆PowerPath Quick Reference
◆PowerPath for AIX Installation and Administration Guide
◆PowerPath for HP-UX Installation and Administration Guide
◆《PowerPath for Linux 安裝指南》
◆PowerPath for Solaris Installation and Administration Guide
◆《PowerPath for Windows 安裝和管理指南》
◆EMC PowerPath for AIX Release Notes
◆EMC PowerPath for HP-UX Release Notes
◆EMC PowerPath for Solaris Release Notes
◆EMC PowerPath for Linux Release Notes
◆EMC PowerPath for Windows Release Notes
yum install -y device-mapper device-mapper-multipath
cp /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf /etc/
/etc/multipath.conf 建議配置檔案:
service multipathd start
chkconfig multipathd on
備註:
檢視HBA卡:
cat /sys/class/fc_host/host*/node_name
重新掃描
echo "1" > /sys/class/fc_host/host1/issue_lip
echo "- - -" > /sys/class/scsi_host/host1/scan
(1)EMC powerpath
(2) HP securepath (沒用過不做介紹)
(3)device-mapper-multipath
EMC powerpath
優勢在於能夠實現負載均衡,而其他廠家僅支援基本故障切換。但要註冊,如果不註冊,只有基本的failover功能,沒有負責均衡功能,每次重啟都要 powermt config 來使多路徑生效。
備註: CLARiiON AX 系列陣列自動識別,不需要許可證註冊
以下是一整套 PowerPath 文件集;所有手冊均由 EMC Corporation 提供,
可以自己去百度或EMC官方網找:
◆PowerPath Product Guide
◆PowerPath Quick Reference
◆PowerPath for AIX Installation and Administration Guide
◆PowerPath for HP-UX Installation and Administration Guide
◆《PowerPath for Linux 安裝指南》
◆PowerPath for Solaris Installation and Administration Guide
◆《PowerPath for Windows 安裝和管理指南》
◆EMC PowerPath for AIX Release Notes
◆EMC PowerPath for HP-UX Release Notes
◆EMC PowerPath for Solaris Release Notes
◆EMC PowerPath for Linux Release Notes
◆EMC PowerPath for Windows Release Notes
device-mapper-multipath
linux 自帶的多路徑軟體yum install -y device-mapper device-mapper-multipath
cp /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf /etc/
/etc/multipath.conf 建議配置檔案:
點選(此處)摺疊或開啟
- # This is a basic configuration file with some examples, for device mapper
- # multipath.
- # For a complete list of the default configuration values, see
- # /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf.defaults
- # For a list of configuration options with descriptions, see
- # /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf.annotated
- #
- # REMEMBER: After updating multipath.conf, you must run
- #
- # service multipathd reload
- #
- # for the changes to take effect in multipathd
- ## By default, devices with vendor = "IBM" and product = "S/390.*" are
- ## blacklisted. To enable mulitpathing on these devies, uncomment the
- ## following lines.
- #blacklist_exceptions {
- # device {
- # vendor "IBM"
- # product "S/390.*"
- # }
- #}
- ## Use user friendly names, instead of using WWIDs as names.
- defaults {
- user_friendly_names yes
- }
- ##
- ## Here is an example of how to configure some standard options.
- ##
- #
- #defaults {
- # udev_dir /dev
- # polling_interval 10
- # path_selector "round-robin 0"
- # path_grouping_policy multibus
- # getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
- # prio alua
- # path_checker readsector0
- # rr_min_io 100
- # max_fds 8192
- # rr_weight priorities
- # failback immediate
- # no_path_retry fail
- # user_friendly_names yes
- #}
- ##
- ## The wwid line in the following blacklist section is shown as an example
- ## of how to blacklist devices by wwid. The 2 devnode lines are the
- ## compiled in default blacklist. If you want to blacklist entire types
- ## of devices, such as all scsi devices, you should use a devnode line.
- ## However, if you want to blacklist specific devices, you should use
- ## a wwid line. Since there is no guarantee that a specific device will
- ## not change names on reboot (from /dev/sda to /dev/sdb for example)
- ## devnode lines are not recommended for blacklisting specific devices.
- ##
- #blacklist {
- # wwid 26353900f02796769
- # devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
- # devnode "^hd[a-z]"
- #}
- blacklist {
- devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
- devnode "^hd[a-z]"
- devnode "^cciss!c[0-9]d[0-9]*"
- }
- #multipaths {
- # multipath {
- # wwid 3600508b4000156d700012000000b0000
- # alias yellow
- # path_grouping_policy multibus
- # path_checker readsector0
- # path_selector "round-robin 0"
- # failback manual
- # rr_weight priorities
- # no_path_retry 5
- # }
- # multipath {
- # wwid 1DEC_____321816758474
- # alias red
- # }
- #}
- devices {
- # device {
- # vendor "COMPAQ "
- # product "HSV110 (C)COMPAQ"
- # path_grouping_policy multibus
- # getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
- # path_checker readsector0
- # path_selector "round-robin 0"
- # hardware_handler "0"
- # failback 15
- # rr_weight priorities
- # no_path_retry queue
- # }
- # device {
- # vendor "COMPAQ "
- # product "MSA1000 "
- # path_grouping_policy multibus
- # }
- # Device attributed for EMC CLARiiON and VNX series ALUA
- device {
- vendor "DGC"
- product "*"
- prio_callout "/sbin/mpath_prio_alua /dev/%n"
- path_grouping_policy group_by_prio
- features "1 queue_if_no_path"
- failback immediate
- hardware_handler "1 alua"
- }
- }
service multipathd start
chkconfig multipathd on
備註:
檢視HBA卡:
cat /sys/class/fc_host/host*/node_name
重新掃描
echo "1" > /sys/class/fc_host/host1/issue_lip
echo "- - -" > /sys/class/scsi_host/host1/scan
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10995764/viewspace-2124556/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【多路徑】EMC儲存多路徑軟體配置
- IBM儲存多路徑軟體IBM
- 華為儲存多路徑
- 儲存-配置多路徑
- Linux環境iSCSI儲存及多路徑功能配置Linux
- 多路徑軟體介紹
- Redhat 5.3掛載IBM DS4800儲存並安裝RDAC多路徑軟體RedhatIBM
- Linux平臺的多路徑軟體multipath的使用案例Linux
- 批量修改vsphere共享儲存多路徑選擇策略
- 獲取在oracleasmlib上hds儲存的多路徑OracleASM
- centos上iscsi+multipath多路徑儲存配置手冊CentOS
- 儲存多路徑故障導致資料庫死掉案例資料庫
- 多路徑軟體安裝使用方法
- LINUX LOG(多路徑)Linux
- hds 多路徑軟體failover,failback測試AI
- 獲取在oracleasmlib上emc儲存的多路徑問題OracleASM
- 關於儲存控制器的多路徑機制(轉載)
- linux之 multipath 多路徑Linux
- linux多路徑multipath配置Linux
- Linux 下配置多路徑Linux
- Oracle ASM和多路徑軟體的相容性【轉】OracleASM
- linux redhat 6.5 多路徑配置LinuxRedhat
- Oracle 11g RAC安裝--基於openfiler儲存+多路徑+udev方式Oracledev
- linux多路徑下線上新增磁碟Linux
- 儲存學習之開源儲存軟體
- RedHat 5.4上iscsi+multipath多路徑儲存配置獲取裝置的wwidRedhat
- Linux Multipath多路徑配置與使用案例Linux
- multipath多路徑配置
- 使用OpenFiler來模擬儲存配置RAC中ASM共享盤及多路徑(multipath)的測試ASM
- Oracle Linux 7.8 多路徑(Multipath)+Udev繫結磁碟OracleLinuxdev
- redhat multipath多路徑 DMRedhat
- TSM 6.1儲存管理軟體新特性
- LINUX 多路徑對映Multipath與正規表示式Linux
- Linux配置和管理裝置對映多路徑multipathLinux
- linux iscsi multipath多路徑及名稱持久化配置Linux持久化
- linux_unix_aix_hp_solaris multi path多路徑配置LinuxAI
- MySQL修改預設儲存路徑MySql
- 一張圖讀懂軟體定義儲存