Check kernel-uek-devel package
# rpm -qa| grep kernel-uek-devel
kernel-uek-devel-2.6.39-400.17.2.el6uek.x86_64
RDAC driver homepage
Compile driver:
make
make install
Use mpp-2.6.39-400.17.2.el6uek.x86_64.img in catalog /boot
or
Make initramfs(before make backup of original initramfs):
dracut -f
Check it.
/boot/efi/EFI/redhat/grub.conf:
title Oracle Linux Server (2.6.39-400.17.2.el6uek.x86_64)
root (hd0,1)
kernel /vmlinuz-2.6.39-400.17.2.el6uek.x86_64 ro root=/dev/mapper/vg_db06-lv_root rd_NO_LUKS rd_LVM_LV=vg_db06/lv_root LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=u
s rd_NO_DM rhgb quiet
initrd /mpp-2.6.39-400.17.2.el6uek.x86_64.img
title Oracle Linux Server (2.6.39-400.17.2.el6uek.x86_64)
root (hd0,1)
kernel /vmlinuz-2.6.39-400.17.2.el6uek.x86_64 ro root=/dev/mapper/vg_db06-lv_root rd_NO_LUKS rd_LVM_LV=vg_db06/lv_root LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=u
s rd_NO_DM rhgb quiet
initrd /initramfs-2.6.39-400.17.2.el6uek.x86_64.img
Note: Modifying the /etc/modprobe.conf file to configure the HBA driver to be a
non-failover driver as explained previously is not necessary if you plan to use RDAC as the
multipathing driver. The reason is that RDAC will put and activate the same parameter into
the file /opt/mpp/modprobe.conf.mppappend during the RDAC installation to force the
QLogic driver to load the non-failover mode.
If any changes are made to the MPP configuration file (/etc/mpp.conf) or persistent binding
file (/var/mpp/devicemapping), then the mppUpdate executable can be used to rebuild the
RAMdisk.
After reboot:
[root@db06 ~]# lsmod| grep mpp
mppVhba 139668 3
mppUpper 157843 1 mppVhba
[root@db06 ~]# modinfo mppVhba
filename: /lib/modules/2.6.39-400.17.2.el6uek.x86_64/kernel/drivers/scsi/mppVhba.ko
supported: yes
version: 09.03.0C05.0642
license: GPL
description: MPP Virtual HBA Driver
author: NetApp, Inc.
srcversion: 8FA0CDD56E4F43D69A5FB7A
depends: mppUpper
vermagic: 2.6.39-400.17.2.el6uek.x86_64 SMP mod_unload modversions
[root@db06 ~]# modinfo mppUpper
filename: /lib/modules/2.6.39-400.17.2.el6uek.x86_64/kernel/drivers/scsi/mppUpper.ko
supported: yes
version: 09.03.0C05.0642
license: GPL
description: MPP Upper Level Driver
author: NetApp, Inc.
srcversion: A44FFC021138064A26E1CC7
depends:
vermagic: 2.6.39-400.17.2.el6uek.x86_64 SMP mod_unload modversions
[root@db06 /]# ls -lR /proc/mpp
/proc/mpp:
total 0
dr-xr-xr-x 4 root root 0 Mar 28 16:12 ds3524
/proc/mpp/ds3524:
total 0
dr-xr-xr-x 3 root root 0 Mar 28 16:12 controllerA
dr-xr-xr-x 3 root root 0 Mar 28 16:12 controllerB
-rw-r--r-- 1 root root 0 Mar 28 16:12 virtualLun0
-rw-r--r-- 1 root root 0 Mar 28 16:12 virtualLun1
/proc/mpp/ds3524/controllerA:
total 0
dr-xr-xr-x 2 root root 0 Mar 28 16:12 qla2xxx_h1c0t0
/proc/mpp/ds3524/controllerA/qla2xxx_h1c0t0:
total 0
-rw-r--r-- 1 root root 0 Mar 28 16:12 LUN0
-rw-r--r-- 1 root root 0 Mar 28 16:12 LUN1
/proc/mpp/ds3524/controllerB:
total 0
dr-xr-xr-x 2 root root 0 Mar 28 16:12 qla2xxx_h0c0t0
/proc/mpp/ds3524/controllerB/qla2xxx_h0c0t0:
total 0
-rw-r--r-- 1 root root 0 Mar 28 16:12 LUN0
-rw-r--r-- 1 root root 0 Mar 28 16:12 LUN1
[root@db06 /]# mppUtil -a
Hostname = db06.core.kran
Domainname = (none)
Time = GMT 03/28/2013 08:20:49
---------------------------------------------------------------
Info of Array Module's seen by this Host.
---------------------------------------------------------------
ID WWN Type Name
---------------------------------------------------------------
0 60080e50002f084800000000510057b6 FC ds3524
---------------------------------------------------------------
[root@db06 /]# /opt/mpp/lsvdev
Array Name Lun sd device
-------------------------------------
ds3524 0 -> /dev/sda
ds3524 1 -> /dev/sdb
Комментариев нет:
Отправить комментарий