linux ibm多路径软件,如何安装配置IBM存储多路径软件
如何安装配置IBM存储多路径软件
在安装多路径软件之前需要确认系统版本及内核版本,根据系统的版本号与内核版本号下载对应版本的多路径软件安装设置。www.lsi.com/rdac站点可以下载到DS3000、DS4000 、 DS5000系统存储多路径软件。以下为DS5020存储为例进行配置,操作系统为RHEL5.6。
1.安装配置
1)、下载软件
查看系统内核版本
[root@jason1~]# uname -a
Linuxjason1 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44EST 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@jason1~]#
知道了系统内核版本可以登录www.lsi.com/rdac站点下载对应内核版本的多路径软件(DS5020、DS5040同属DS5000系列,可以下载DS5000系列版本多路径软件)。
上图可以看到对应的内核2.6.18-238.el5版本的多路径软件为09.03.0C05.0504版本
下载rdac-LINUX-09.03.0C05.0504-source.tar.gz。
譬如当前系统连接存储DS5020划有3个LUN。在没有安装多路径软件之前fdisk –l可以看到如下信息:
[root@jason1~]#fdisk -l
Disk/dev/sda: 298.9 GB, 298999349248 bytes
255heads, 63 sectors/track, 36351 cylinders
Units= cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 274 2096482+ 82 Linux swap / Solaris
/dev/sda3 275 36351 289788502+ 83 Linux
Disk/dev/sdb: 536.8 GB, 536870912000 bytes
255heads, 63 sectors/track, 65270 cylinders
Units= cylinders of 16065 * 512 = 8225280 bytes
Disk/dev/sdb doesn't contain a valid partition table
Disk/dev/sdd: 536.8 GB, 536870912000 bytes
255heads, 63 sectors/track, 65270 cylinders
Units= cylinders of 16065 * 512 = 8225280 bytes
Disk/dev/sdd doesn't contain a valid partition table
Disk/dev/sdj: 1861.4 GB, 1861481775616 bytes
255heads, 63 sectors/track, 226312 cylinders
Units= cylinders of 16065 * 512 = 8225280 bytes
Disk/dev/sdj doesn't contain a valid partition table
Disk/dev/sdk: 4998.3 GB, 4998330467328 bytes
255heads, 63 sectors/track, 607679 cylinders
Units= cylinders of 16065 * 512 = 8225280 bytes
Disk/dev/sdk doesn't contain a valid partition table
Disk/dev/sdl: 1861.4 GB, 1861481775616 bytes
255heads, 63 sectors/track, 226312 cylinders
Units= cylinders of 16065 * 512 = 8225280 bytes
Disk/dev/sdl doesn't contain a valid partition table
Disk/dev/sdm: 4998.3 GB, 4998330467328 bytes
255heads, 63 sectors/track, 607679 cylinders
Units= cylinders of 16065 * 512 = 8225280 bytes
Disk/dev/sdm doesn't contain a valid partition table
[root@jason1~]#
2)、编译安装
编译安装rdac-LINUX-09.03.0C05.0504-source.tar.gz
[root@JASON1mnt]#tar zxvf rdac-LINUX-09.03.0C05.0504-source.tar.gz
[root@JASON1mnt]#cd linuxrdac-09.03.0C05.0504/
[root@JASON1linuxrdac-09.03.0C05.0504]# make install
make[1]: Entering directory`/usr/src/kernels/2.6.18-238.el5-x86_64'
CC [M] /mnt/linuxrdac-09.03.0C05.0504/MPP_hba.o
CC [M] /mnt/linuxrdac-09.03.0C05.0504/mppLnx26p_upper.o
CC [M] /mnt/linuxrdac-09.03.0C05.0504/mppLnx26p_sysdep.o
CC [M] /mnt/linuxrdac-09.03.0C05.0504/mppCmn_s2tos3.o
CC [M] /mnt/linuxrdac-09.03.0C05.0504/mppCmn_SysInterface.o
CC [M] /mnt/linuxrdac-09.03.0C05.0504/mppLnx26p_vhbamisc.o
CC [M] /mnt/linuxrdac-09.03.0C05.0504/mppLnx26p_vhbatask.o
CC [M] /mnt/linuxrdac-09.03.0C05.0504/mppLnx26p_vhba.o
CC [M] /mnt/linuxrdac-09.03.0C05.0504/mppLnx26p_vhbaproc.o
CC [M] /mnt/linuxrdac-09.03.0C05.0504/mppLnx26p_vhbalib.o
CC [M] /mnt/linuxrdac-09.03.0C05.0504/mppLnx26p_vhbaio.o
LD [M] /mnt/linuxrdac-09.03.0C05.0504/mppUpper.o
LD [M] /mnt/linuxrdac-09.03.0C05.0504/mppVhba.o
Building modules, stage 2.
MODPOST
CC /mnt/linuxrdac-09.03.0C05.0504/mppUpper.mod.o
LD [M] /mnt/linuxrdac-09.03.0C05.0504/mppUpper.ko
CC /mnt/linuxrdac-09.03.0C05.0504/mppVhba.mod.o
LD [M] /mnt/linuxrdac-09.03.0C05.0504/mppVhba.ko
make[1]:Leaving directory `/usr/src/kernels/2.6.18-238.el5-x86_64'
make[1]:Entering directory `/usr/src/kernels/2.6.18-238.el5-x86_64'
Building modules, stage 2.
MODPOST
make[1]:Leaving directory `/usr/src/kernels/2.6.18-238.el5-x86_64'
gcc -I/mnt/linuxrdac-09.03.0C05.0504-I/mnt/linuxrdac-09.03.0C05.0504/mpp_linux_headers/-I/mnt/linuxrdac-09.03.0C05.0504/mpp_linux_sys_headers/-c ./utility/mppUtil.c -o mppUtil.o
/bin/bash./genfileattributes bld
gcc -I/mnt/linuxrdac-09.03.0C05.0504-I/mnt/linuxrdac-09.03.0C05.0504/mpp_linux_headers/-I/mnt/linuxrdac-09.03.0C05.0504/mpp_linux_sys_headers/-c ./utility/mppUtil26p_sysdep.c -o mppUtilSysdep.o
gccmppUtil.o mppUtilSysdep.o -o mppUtil
gcc-o genuniqueid genuniqueid.c
CheckingHost Adapter Configuration...
Detected2 Emulex Host Adapter Port(s) on the system
Detected1 LSI Host Adapter Port(s) on the system
HostAdapters from different supported vendors co-exists on your system.
Pleasewait while we modify the system configuration files.
Yourkernel version is 2.6.18-238.el5
Preparingto install MPP driver against this kernel version...
Generatingmodule dependencies...
Creatingnew MPP initrd p_w_picpath...
You must now edit your boot loaderconfiguration file, /boot/grub/menu.lst, to
add a new boot menu, which uses mpp-2.6.18-238.el5.imgas the initrd p_w_picpath.
Now Reboot the system for MPP to takeeffect.
The new boot menu entry should looksomething like this (note that it may
vary with different systemconfiguration):
...
title Red Hat Linux (2.6.18-238.el5)with MPP support
root (hd0,5)
kernel /vmlinuz-2.6.18-238.el5ro root=LABEL=RH9
initrd /mpp-2.6.18-238.el5.img
...
MPPdriver package has been successfully installed on your system.
[root@JASON1linuxrdac-09.03.0C05.0504]#
3)、配置grub
按照以上提示修改grub.conf文件,修改前grub.conf文件如下:
[root@JASON1 grub]# vi 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 relativeto /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version roroot=/dev/sda3
# initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashp_w_picpath=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
titleRed Hat Enterprise Linux Server (2.6.18-238.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-238.el5
module /vmlinuz-2.6.18-238.el5xenro root=LABEL=/ rhgb quiet
module /initrd-2.6.18-238.el5xen.img
titleRed Hat Enterprise Linux Server-base (2.6.18-238.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-238.el5ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-238.el5.img
修改后grub.conf配置文件内容如下:
[root@JASON1grub]# vi 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 arerelative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version roroot=/dev/sda3
# initrd /initrd-version.img
#boot=/dev/sda
default=2
timeout=5
splashp_w_picpath=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
titleRed Hat Enterprise Linux Server (2.6.18-238.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-238.el5
module /vmlinuz-2.6.18-238.el5xenro root=LABEL=/ rhgb quiet
module /initrd-2.6.18-238.el5xen.img
titleRed Hat Enterprise Linux Server-base (2.6.18-238.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-238.el5ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-238.el5.img
title Red Hat Linux (2.6.18-238.el5)with MPP support
root (hd0,0)
kernel/vmlinuz-2.6.18-238.el5 root=LABEL=/ rhgb quiet
initrd /mpp-2.6.18-238.el5.img
注:1、红色字体为修改内容。
2、修改grub.conf文件建议在原有文件后加入新的启动条目或修改文件之前对grub.conf进行备份。
修改成功保存之后重新启动系统,启动成功之后fdisk -l查看内容如下:
[root@jason1~]# fdisk -l
Disk/dev/sda: 298.9 GB, 298999349248 bytes
255heads, 63 sectors/track, 36351 cylinders
Units= cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 274 2096482+ 82 Linux swap / Solaris
/dev/sda3 275 36351 289788502+ 83 Linux
Disk/dev/sdb: 536.8 GB, 536870912000 bytes
255heads, 63 sectors/track, 65270 cylinders
Units= cylinders of 16065 * 512 = 8225280 bytes
Disk/dev/sdb doesn't contain a valid partition table
Disk/dev/sdc: 1861.4 GB, 1861481775616 bytes
255heads, 63 sectors/track, 226312 cylinders
Units= cylinders of 16065 * 512 = 8225280 bytes
Disk/dev/sdc doesn't contain a valid partition table
Disk/dev/sdd: 4998.3 GB, 4998330467328 bytes
255heads, 63 sectors/track, 607679 cylinders
Units= cylinders of 16065 * 512 = 8225280 bytes
Disk/dev/sdd doesn't contain a valid partition table
[root@jason1~]#
备注:修改grub.conf文件前,应对grub.conf配置文件进行备份。
2.常见问题
1)、问题一
[root@jason1 linuxrdac-09.03.0C05.0504]#make install
This Version of MPP build is not supported on this Version of Redhat Kernel2.6.18-238.el5.
make: *** [kernelvercheck.REDHAT] 错误 1
[root@jason1 linuxrdac-09.03.0C05.0504]#
解决方法:
/etc/redhat-release文件设置有系统的版本号,执行makeinstall操作会读取该文件来判定是否支持本系统内核。由于在安装oracle时,修改系统版本号为4所以出现以上错误,可以修改回系统版本号为5.6(使用时根据自己系统实际版本号进行修改。)
[root@jason1 ~]# vi /etc/redhat-release
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
2)、问题二
编译时报错如下:
[root@jason1 linuxrdac-09.03.0C05.0504]#make install
Kernel source is not installed
make: *** [kernelsrccheck] 错误 1
[root@jason1 linuxrdac-09.03.0C05.0504]#
解决方法:
执行make install 或make操作其实包括对该多路径软件进行编译,编译内核时需要链接Kernel source文件进行编译,所以需要安装kernel-devel-2.6.18-238.el5.x86_64.rpm
(本系统为64位系统,如果你的系统为32位请安装32为的包)
[root@jason1 mnt]# rpm -ivh kernel-devel-2.6.18-238.el5.x86_64.rpm
warning: kernel-devel-2.6.18-238.el5.x86_64.rpm:Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:kernel-devel ########################################### [100%]
[root@jason1 mnt]#
linux ibm多路径软件,如何安装配置IBM存储多路径软件相关推荐
- linux挂载多路径fc存储,CentOS 配置 FC 存储多路径
multipath 多路径冗余multipath多路径冗余I/O(Multipath I/O)是指服务器通过多条物理路径连接到块存储设备.多路径冗余I/O也可以实现I/O的负载均衡,提高系统性能,但主 ...
- 【转载】基于Linux命令行KVM虚拟机的安装配置与基本使用
基于Linux命令行KVM虚拟机的安装配置与基本使用 https://alex0227.github.io/2018/06/06/%E5%9F%BA%E4%BA%8ELinux%E5%91%BD%E4 ...
- Mac m1 python软件环境安装配置
Mac m1 python软件环境安装配置 一.安装miniconda 二.安装chrome浏览器 三.安装git 四.安装homebrew 五.安装vscode 选择python解释器 vscode ...
- 485地址测试软件,485测试软件的安装配置
软件的使用方法 一.电脑设置(以下步骤要全部做到,少一点都不行,到目前为止客户说打不开软件的都是因为有没做到的) 1.将MSCOMM控件文件夹下的4个文件拷贝到C:\windows\system32及 ...
- Oracle 11g RAC安装--基于openfiler存储+多路径+udev方式
Oracle 11g RAC安装--基于openfiler存储+多路径+udev方式 RAC安装部分视频(温馨提示:播放地址复制到浏览器可看超清版或下载原视频文件,云盘下载地址:https://sha ...
- 02.Kubernetes 和 KubeSphere 集群安装配置持久化存储(nfs)并通过StatefulSet动态为pod生成pv挂载
Kubernetes 和 KubeSphere 集群安装配置持久化存储(nfs)并通过StatefulSet动态为pod生成pv挂载 简介 1. 安装配置前置环境 1.1 安装nfs文件系统 1.1. ...
- python安装路径查看_查看python安装路径及pip安装的包列表及路径
一.Linux系统 查看Python路径 whereis python 此命令将会列出系统所安装的所有版本的Python的路径效果如下: 使用以下命令可分别查看Python2,Python3的安装路径 ...
- python查看包的安装路径_查看python安装路径及pip安装的包列表及路径
一.Linux系统 查看Python路径 whereis python 此命令将会列出系统所安装的所有版本的Python的路径效果如下: 使用以下命令可分别查看Python2,Python3的安装路径 ...
- Centos7下安装配置开源存储虚拟化QuadStor(4)----Vdisk Clone
操作环境 同< Centos7下安装配置开源存储虚拟化QuadStor(1)------初始化QuadStor> QuadStor Server:10.10.200.227 iSCSi I ...
- freescale imx6 编译 linux ltib,TQIMX6Q技术分享——LTIB安装配置(转)
TQIMX6Q_BASEC开发板是天嵌科技在2015年重磅推出的顶级开发平台,采用飞思卡尔的I.MX6Q芯片,真四核运行,1G Hz主频,2G DDR3内存,8G EMMC FALSH.TQIMX6Q ...
最新文章
- 最新!字节跳动再次扩招1000人,招聘要求令人窒息
- 阿里、拼多多P8面试分享!
- 【学习笔记】21、随机数模快
- ABAP和XML数据格式互相转换的两种方式
- python程序打包多个py文件_不使用setup.py,打包 Python 项目
- springboot判断有没有库_Springboot 使用JPA @Query 注解 查询语句条件 有可能为空,Oracle数据库...
- 编程语言对比 引用数据类型-字典
- 关于laravel报错Class 'Barryvdh\Debugbar\ServiceProvider' not found
- 宅男壁纸大全微信小程序源码-带动态壁纸支持多种流量主
- python的口算自动生成系统(GUI界面编程)
- sybase日志空间不足,增加日志空间步骤(有图有真相)
- MHA Failover测试-上
- uni-app学习路线与建议
- Java判断单个字符是否为空格
- qt中颜色对话框弹出时应用程序输出栏出现setGeometry: Unable to set geometry 152x30+682+300 on QWidgetWindow/‘QColorDialo
- Clickhouse基于物化引擎(MaterializedMySQL)来同步mysql
- 02-PS工具栏介绍
- 实战,积小胜为大胜,才是发大财的第一原理,
- Win11又有新的错误报告,某些用户笔记本电池充电竟能超过100%
- PPT技巧实例001——反光球体制作
热门文章
- Windows 7 极限精简 x86 x64 2018年度版
- 2022-2028年中国企业总部管理行业市场专项调查及投资前景分析报告
- DHCP报文分析及C/C++代码实现
- 编码解码 Base64 Base32 Base16
- python隐藏窗口_python怎么隐藏界面?
- PackageManager hasSystemFeature
- android云控开源,Android EasyClient 云台控制开源流媒体摄像机EasyCamera
- 计算机电子电路原理图,经典六款电路图集锦(图文)
- EXCEL VBA批量下载URL链接地址图片、URL链接地址图片转为图片
- oracle12c 查看库,12c 检查pdb数据库状态