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. pcr free library 介绍

    一句话:illumina的建库方法,建库时间段,质量还好... the adapters are different in the PCR-free kit compared to the stand ...

  2. jquery easyui datebox 时间控件默认显示当前日期的实现方法

    jquery easyui datebox 时间控件默认显示当前日期的实现方法 直接class easyui-datebox后添加一个value="true"就可以

  3. 225. Implement Stack using Queues

    代码如下: class MyStack { // Push element x onto stack. Queue<Integer> queue=new ArrayDeque<> ...

  4. 2016 ACM/ICPC Asia Regional Shenyang Online 1009/HDU 5900 区间dp

    QSC and Master Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) ...

  5. java for each 错误

    简而言之,for each 适用于不改变数组,容器元素的场合,如果改变,必须用索引或者iterator. 例如: A[] arrayA = new A[5]; for (A a : arrayA) { ...

  6. ARM体系的7种工作模式

    一.ARM体系的CPU有以下7种工作模式:   用户模式(usr)    大多数程序运行于用户模式 特权模式   系统模式(sys)   运行具有特权的操作系统任务 异常模式 中断模式(irq)   ...

  7. spring源码学习之【准备】cglib动态代理例子

    一:委托者 package com.yeepay.porxy.cglib.test; import java.util.HashMap; import java.util.Map; /** * 目标类 ...

  8. OSGi 的核心配置、动态化及问题

    一.OSGi的核心组件Bundle,与java中jar包的差别就是元数据配置:      常用的Bundle元数据定义:     a) Bundle-Activator:定义Activator的实现全 ...

  9. C# TextBox 只能输入数字

    private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { TextBox txt = sender as TextBox ...

  10. QQ登入(5)获取空间相册,新建相册,上传图片到空间相册

    ///////////////////////////////////////////////////////////////////// 获取相册列表:必须先授权登入 1.1.  String mA ...