linux安装oracle RAC的时候,挂载lun的时候,需要安装多路径软件RDAC,具体步骤如下:

下载package的地址为: http://support.netapp.com/NOW/public/apbu/oemcp/

1,安装需要的package:

tar -zxvf rdac-LINUX-09.03.0C05.0652-source.tar.gz

cd linuxrdac-09.03.0C05.0652/

若没有支持6.4的安装包,可以下载6.3的,能用

2,之后需要make,make install,但是缺少package,所以需要使用yum 安装kernel-devel,gcc之类的包

yum install kernel-devel

yum install gcc*



3,需要在rdac解压目录中执行如下步骤

make

make install



4,make install之后根据提示修改/boot/efi/EFI/redhat/grub.conf中的内容,redhat的版本不一样,

修改的文件也不一样,redhat6.4修改的是/boot/efi/EFI/redhat/grub.conf这个文件。

添加内容如下(粗体部分为新加或修改内容):

[root@wlcspdb1 ~]# more /boot/efi/EFI/redhat/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda1
device (hd0) HD(1,800,64000,a95fad7f-eb1f-4880-bc69-fb51af11b6bc)
default=1 #(原来是default=0,添加新的title之后,改为1)

timeout=5
splashp_w_picpath=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux (2.6.32-358.el6.x86_64)
root (hd0,1)
kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS rd_NO_MD rd_LVM_LV=VolGroup/lv_swap crashkernel=128M LANG=zh_CN.UTF-8 rd_LVM_LV=VolGr
oup/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /initramfs-2.6.32-358.el6.x86_64.img
title Red Hat Linux (2.6.32-358.el6.x86_64) with MPP support
root (hd0,1)
kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root rhgb quiet
initrd /mpp-2.6.32-358.el6.x86_64.img



5,

[root@wlcspdb1 ~]# lsmod
Module Size Used by
fuse 69253 2
oracleasm 53464 1
autofs4 26513 3
sunrpc 260521 1
cpufreq_ondemand 10544 32
acpi_cpufreq 7763 0
freq_table 4936 2 cpufreq_ondemand,acpi_cpufreq
mperf 1557 1 acpi_cpufreq
ip6t_REJECT 4628 2
nf_conntrack_ipv6 8748 2
nf_defrag_ipv6 11182 1 nf_conntrack_ipv6
xt_state 1492 2
nf_conntrack 79357 2 nf_conntrack_ipv6,xt_state
ip6table_filter 2889 1
ip6_tables 19458 1 ip6table_filter
ipv6 321422 268 ip6t_REJECT,nf_conntrack_ipv6,nf_defrag_ipv6
vfat 10552 1
fat 54992 1 vfat
uinput 7992 0
cdc_ether 8366 0
usbnet 19035 1 cdc_ether
mii 5376 1 usbnet
microcode 112653 0
i2c_i801 11167 0
i2c_core 31084 1 i2c_i801
iTCO_wdt 14990 0
iTCO_vendor_support 3088 1 iTCO_wdt
shpchp 32778 0
igb 177845 0
ptp 9447 1 igb
pps_core 10706 1 ptp
ioatdma 58226 80
dca 7101 2 igb,ioatdma
ext4 363408 3
mbcache 8193 1 ext4
jbd2 90230 1 ext4
wmi 6287 0
lpfc 665051 6
scsi_transport_fc 55299 1 lpfc
scsi_tgt 12077 1 scsi_transport_fc
megaraid_sas 77762 3
mppVhba 141461 3
dm_mirror 14133 0
dm_region_hash 12085 1 dm_mirror
dm_log 9930 2 dm_mirror,dm_region_hash
dm_mod 82839 11 dm_mirror,dm_log
mppUpper 157267 1 mppVhba
sg 29350 0
sd_mod 38976 10
crc_t10dif 1541 1 sd_mod



6.

[root@wlcspdb1 ~]# mppUtil -V
Linux MPP Driver Version: 09.03.0C05.0652