1. SSH to oracle-node1 and run the following commands:

# echo "- - -" > /sys/class/scsi_host/host3/scan
# echo "- - -" > /sys/class/scsi_host/host4/scan
# service multipathd reload
# multipath -ll

Look for output from the multipath -ll command similar to what is listed below:

mpath30 (360060e801038f270057f59f70000000e) dm-30 HITACHI,DF600F
mpath31 (360060e801038f270057f59f70000000d) dm-31 HITACHI,DF600F
mpath32 (360060e801038f270057f59f70000000e) dm-32 HITACHI,DF600F
mpath33 (360060e801038f270057f59f70000000e) dm-33 HITACHI,DF600F

2. Make a backup copy of the existing /etc/multipath.conf file by running the following command listed below:

# cp /etc/multipath.conf /etc/multipath.conf-backup

3. Edit /etc/multipath.conf and create a device mapper alias for the following LUN as listed below:

vol 0124 DG3_1
vol 0125 DG3_2
vol 0126 DG3_3
vol 0127 DG3_4

Example syntax:

multipath {
wwid 360060e80104b3ab004f322b300000001
alias DG3_1
}
multipath {
wwid 360060e80104b3ab004f322b300000001
alias DG3_2
}
multipath {
wwid 360060e80104b3ab004f322b300000001
alias DG3_3
}
multipath {
wwid 360060e80104b3ab004f322b300000001
alias DG3_4
}

Replace the WWID in the example syntax listed above with the correct WWID from the output of multipath -ll obtained in step 1.

4. Run the command 'service multipathd reload' and verify the new devices appear in the /dev/mapper directory (DG3_1, DG3_2, DG3_3, DG3_4)

# service multipathd reload
# ls /dev/mapper

5. Label and partition the disk for ASM use

# parted /dev/mapper/DG3_1
mklabel msdos
mkpart pri
63
25g
Exit

Repeat step 5 for /dev/mapper/DG3_2
Repeat step 5 for /dev/mapper/DG3_3
Repeat step 5 for /dev/mapper/DG3_4

6. We need to repeat step1-5 on oracle-node2
7. If necessary, run the command
partprobe /dev/mapper/DG3_1
partprobe /dev/mapper/DG3_2
partprobe /dev/mapper/DG3_3
partprobe /dev/mapper/DG3_4

Add 4 multipath LUNs into RHEL的更多相关文章

  1. iscsi与multipath

    2016-10-01/21:07:24 http://www.cnblogs.com/wuchanming/p/4019660.htmlhttp://czmmiao.iteye.com/blog/20 ...

  2. How To Configure VMware fencing using fence_vmware_soap in RHEL High Availability Add On(RHEL Pacemaker中配置STONITH)

    本文主要简单介绍一下如何在RHEL 7 Pacemaker中配置一个fence_vmware_soap类型的STONITH设备(仅供测试学习). STONITH是Shoot-The-Other-Nod ...

  3. How To Configure VMware fencing using fence_vmware_soap in RHEL High Availability Add On——RHEL Pacemaker中配置STONITH

    本文主要简单介绍一下如何在RHEL 7 Pacemaker中配置一个fence_vmware_soap类型的STONITH设备(仅供测试学习). STONITH是Shoot-The-Other-Nod ...

  4. rhel 7 multipath服务启动报错

    配置多路径服务,启动多路径multipathd.service的时候出现下面报错: [root@rac2 ~]# systemctl status multipathd.service multipa ...

  5. Centos/RHEL :How to add,delete and display LVM tags

    1. 什么是LVM标签? 在你想开机启动时让逻辑卷被激活可用时,添加lvm标签是一个不错的选择.lvm标签允许那些被预先标记的实现这样的效果. 2. 配置文件 配置文件/etc/lvm/lvm.con ...

  6. How to create Oracle ASM devices using device-mapper multipath devices in Red Hat Enterprise Linux 6

    How to create Oracle ASM devices using device-mapper multipath devices in Red Hat Enterprise Linux 6 ...

  7. Hot resize Multipath Disk – Linux

    This post is for the users of the great dm-multipath system in Linux, who encounter a major availabi ...

  8. 二十五 存储技术与应用 iSCSI技术应用 、 udev配置 NFS网络文件系统 、 Multipath多路径 、 NFS网络文件系统 、 udev配置

    1.配置iSCSI服务 服务器上要额外配置一块硬盘 服务端(proxy)安装target,并将新加的硬盘配置为iSCSI 的共享磁盘 在客户端(client)上安装initiator,挂载服务器iSC ...

  9. Cluster基础(一):配置iSCSI服务、编写udev规则、配置并访问NFS共享、部署Multipath多路径环境

    一.配置iSCSI服务 目标: 本案例要求先搭建好一台iSCSI服务器,并将整个磁盘共享给客户端: 虚拟机添加新的磁盘 将新添加的磁盘分区并创建两个逻辑卷 逻辑卷名称分别为:/dev/myvg/isc ...

随机推荐

  1. ueditor上传图片到七牛云存储(form api,java)

    转:http://my.oschina.net/duoduo3369/blog/174655 ueditor上传图片到七牛云存储 ueditor结合七牛传图片 七牛的试炼 开发前的准备与注意事项说明 ...

  2. ABAP 使用的字符类型

    1.ABAP基本数据类型 类型        描述                属性 C            字符类型           默认长度1,最大长度不限N            数字类 ...

  3. Sprint第二个冲刺(第六天)

    一.Sprint 计划会议: 因为这两天课程较多的原因,表面上进度可能可能没有太大的变化,其实组员们都有完善之前做的功能,正在做的功能也在抓紧时间完成.俗话说得好,慢工出细活 ,不能因为赶进度就随便做 ...

  4. 16年大连网络赛 1006 Football Games

    题目链接:http://acm.hdu.edu.cn/contests/contest_showproblem.php?cid=725&pid=1006 Football Games Time ...

  5. leetcode 118 Pascal's Triangle ----- java

    Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5,Retur ...

  6. hdu3861 强连通+最小路径覆盖

    题意:有 n 个点,m 条边的有向图,需要将这些点分成多个块,要求:如果两点之间有路径能够互相到达,那么这两个点必须分在同一块:在同一块内的任意两点相互之间至少要有一条路径到达,即 u 到达 v 或 ...

  7. Javascript高性能动画与页面渲染

    转自:http://www.infoq.com/cn/articles/javascript-high-performance-animation-and-page-rendering No setT ...

  8. SqlServer中quotename用法与实例

    语法 QUOTENAME ( 'character_string' [ , 'quote_character' ] ) 参数 'character_string' Unicode 字符数据构成的字符串 ...

  9. IE下必须点击一下页面空白的地方才可以激活onchange事件

    checkbox在IE下必须点击一下页面空白的地方才可以激活onchange事件. 解决办法把onchange换成onclick

  10. gcc、g++

    http://hi.baidu.com/zhangcunli8499/item/257e187360b48b2bd6a89cc6 g++ src/*.cpp -I include/ -I includ ...