Oel6.x IBM v3500 storage multi-path Configuration

Source: Internet
Author: User

This article is a multi-path configuration process record of two IBM x240 installation oel6.5x64 connections to IBM v3500, which was then used to install the Oracle 11g RAC cluster environment.
Because the IBM v3500 series storage does not officially provide multi-path software, it is a little more difficult than the original DS series storage, so we have to use the device-mapper multi-path software package that comes with the release version. From: http://koumm.blog.51cto.com/

1. Local Environment

650) This. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-Right: 0px; "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201407/17/703525_1405613881wuBB.png "Height =" 91 "/>

Applicable to RHEL/centos 6. x systems.

2. Install the device-mapper package as follows.

[[Email protected] ~] # Rpm-Qa | grep device-mapper
Device-mapper-libs-1.02.79-8.el6.x86_64
Device-mapper-multipath-libs-0.4.9-72.0.1.el6.x86_64
Device-mapper-event-libs-1.02.79-8.el6.x86_64
Device-mapper-event-1.02.79-8.el6.x86_64
Device-mapper-persistent-data-0.2.8-2.el6.x86_64
Device-mapper-multipath-0.4.9-72.0.1.el6.x86_64
Device-mapper-1.02.79-8.el6.x86_64
[[Email protected] ~] #

3. The stored procedure is omitted.

Copy the WWN Number of the two hbas on the server and configure it on the storage. The storage can be divided into 2g, 450g, 450g, 450g, 450g, all others are multipath duplicates.

650) This. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-Right: 0px; "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201407/17/703525_14056138879PWZ.png "Height =" 424 "/>

 

4. Identify the disk udev number

For I in a B c d e f g h I j k l m n o p q; do echo "kernel = \" SD *\", bus = \ "SCSI \", program = \ "/sbin/scsi_id -- whitelisted -- replace-whitespace -- device =/dev/\ $ name \", result = \ "'/sbin/scsi_id -- whitelisted -- replace-whitespace -- device =/dev/SD $ I '\", name = \ "ASM-disk $ I \", owner = \ "Grid \", group = \ "asmadmin \", mode = \ "0660 \" "; done

Note: Numbers 8, 9, A, B, and C are repeated, and F is independent attaching disks. Find the disk udev number.

The above was originally intended to use the udev method to configure the Oracle grid disk, but it was not successful. Finally, the configuration was successful using the ASM disk.

650) This. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-Right: 0px; "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201407/17/703525_14056139008hpe.png "Height =" 270 "/>

You can collect numbers manually.

650) This. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-Right: 0px; "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201407/17/703525_1405613906HSAJ.png "Height =" 159 "/>

 

 

5. Create a Multipath configuration file based on the udev number.

The configuration file is as follows:

[[Email protected] ~] # Cat/etc/multipath. conf

Defaults {
User_friendly_names No
Queue_without_daemon No
Flush_on_last_del Yes
Max_fds Max
}
Blacklist {
Devnode "^ HD [A-Z]"
Devnode "^ (RAM | raw | loop | FD | MD | DM-| Sr | SCD | st) [0-9] *"
Devnode "^ CCISS .*"
}
Devices {
Device {
Vendor "IBM"
Product "Lun"
Path_grouping_policy group_by_prio
Features "3 queue_if_no_path pg_init_retries 50"
Getuid_callout "/sbin/scsi_id -- whitelisted -- replace-whitespace -- device =/dev/% N"
Path_checker tur
Path_selector "round-robin 0"
Hardware_handler "1 alua"
Failback immediate
Rr_weight uniform
Rr_min_io 128.
}
}
Multipaths {
Multipath {
Wwid 360050763008080cd2000000000000008
Alias CRS
UID 501
GID 504
}
Multipath {
Wwid 360050763008080cd2000000000000009
Alias data1
UID 501
GID 504
}
Multipath {
Wwid 360050763008080cd200000000000000a
Alias data2
UID 501
GID 504
}
Multipath {
Wwid 360050763008080cd200000000000000b
Alias data3
UID 501
GID 504
}

Multipath {
Wwid 360050763008080cd200000000000000c
Alias recovery
UID 501
GID 504
}

}

Configure the multipath service.

Chkconfig multipathd on
Chkconfig -- level 345 multipathd on
Modprobe DM-multipath
Service multipathd restart

Check the result. The configuration is successful.

650) This. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-Right: 0px; "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201407/17/703525_1405613908yo5w.png "Height =" 185 "/>

This article is from the "koumm Linux technology blog" blog, please be sure to keep this source http://koumm.blog.51cto.com/703525/1439760

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.