Installation Configuration linux6 multipath

Source: Internet
Author: User

Installing Multipath Software

Yum-y Install Device-mapper-multipath

Start the daemon process

mpathconf--enable--with_multipath y

Start the multipath process

Service Multipath Start

View Multipath Devices

Multipath-v2

Multipath-ll


Configure MULTIPATHD to make it work, edit/etc/multipath.conf, open the following:


Defaults {

Udev_dir/dev

Polling_interval 10

Selector "Round-robin 0"

Path_grouping_policy Multibus

Getuid_callout "/sbin/scsi_id-g-u-s/block/%n"

Prio_callout None

Path_checker Readsector0

Rr_min_io 100

Max_fds 8192

Rr_weight Priorities

failback Immediate

No_path_retry fail

User_friendly_names Yes

}

Blacklist {

Wwid 26353900f02796769

Devnode "^ (ram|raw|loop|fd|md|dm-|sr|scd|st) [0-9]*"

Devnode "^hd[a-z]"

}


4, and close the following content


#blacklist {

# devnode "*"

#}

#defaults {

# User_friendly_names Yes

28 #}


5. After completion, execute the following command to discover Multipathing:


[Email protected] server]# modprobe Dm-multipath

[Email protected] server]# multipath-f

[Email protected] server]# multipath Dm-multipath

[Email protected] server]# multipath Dm-round-robin

[Email protected] server]# service MULTIPATHD restart

Shutting down MULTIPATHD port monitor: [OK]

Starting daemon MULTIPATHD: [OK]

[Email protected] server]# Multipath-v2

[Email protected] server]# Multipath-ll

Mpath1 (3600d02310000011b16a5d57c6a1bd99a) dm-0 toyou,netstor_isum510

[SIZE=3.3T] [Features=0] [Hwhandler=0] [RW]

\_ Round-robin 0 [Prio=2][ena Bled]

\_ 1:0:0:0 SDB 8:16 [Failed][ready]

\_ 1:0:1:0 SDC 8:32 [Failed][ready]


Installation Configuration linux6 multipath

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.