Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

OEL6.X IBM v3500 storage multipathing configuration

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article is a record of the storage multipath configuration process for installing an Oracle 11g rac cluster environment on two IBM x240 installations with an OEL 6.5x64 connection to an IBM V3500.

IBM v3500 series storage because the official no longer provides multi-path software, than the original DS series storage a little more trouble, had to use the distribution version of the device-mapper multi-path software package implementation. This article comes from: http://koumm.blog.51cto.com/

1. native environment

For RHEL/CentOS 6.x systems.

2. Install device-mapper package as follows, missing package to install.

[root@node1 ~]# 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

[root@node1 ~]#

3. The connection storage configuration process is omitted.

After copying the wwn number of the two HBA servers, configure it on the storage, and it can be adapted to the disk. The storage is divided into 2G, 450G, and the others are multipath duplicates.

4. Identify 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: The numbers are 8,9,a,b,c repeated, f is a separate mount disk does not need to be included. Find the disk UDEV number.

The above was originally intended to use udev mode to configure oracle grid disk, failed, and finally used asm disk to configure successfully.

You can collect numbers manually.

5. Create multipath profiles based on udev numbers

The configuration file is as follows:

[root@node1 ~]# 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 multipath services.

chkconfig multipathd on

chkconfig --level 345 multipathd on

modprobe dm-multipath

service multipathd restart

Check the results. Configuration successful.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report