Redhat 5.3 安裝hba卡,配置emc powerpath,配置LVM
- 下載HBA卡的驅動,下面以QLOGIC QLE2460為例.
去
2.6核心驅動的SANsurfer Linux Driver Installer (x86/x64/IA64) ;QLE2460的驅動下載網址:
[@more@]- 在redhat伺服器上安裝QLOGIC HBA 卡驅動
檔名稱為:qlafc-linux-8.02.23-3-install.tgz
Ftp 到redhat5.3伺服器上.
解壓縮並執行qlinstall安裝驅動
#tar -xvf qlafc-linux-8.02.23-3-install.tgz
#cd qlafc-linux-8.02.23-3-install
#./qlinstall
- 檢視HBA的資訊,包括WWN
#cd /proc/scsi
#ls -lt
device_info qla2xxx scsi sg
#cd qla2xxx
#ls -lt
0 1
# more 0
QLogic PCI to Fibre Channel Host Adapter for HPAE311A:
Firmware version 4.06.03 [IP] [84XX] , Driver version 8.02.23
。。。。。。
SCSI Device Information:
scsi-qla0-adapter-node=500110a00016bff5;
scsi-qla0-adapter-port=503310a00016bff4;
。。。。。。
# more 1
QLogic PCI to Fibre Channel Host Adapter for HPAE311A:
Firmware version 4.06.03 [IP] [84XX] , Driver version 8.02.23
。。。。。。
SCSI Device Information:
scsi-qla1-adapter-node=500110a000168995;
scsi-qla1-adapter-port=503310a000168994;
。。。。。。
- 安裝emc powerpath for linux
EMC 的POWERPATH 軟體不是免費的,在,我是跟別人要的驅動程式。
驅動程式的名稱為EMCpower.LINUX-5.1.2.00.00-021.tar.gz,該檔案包括了多個作業系統的驅動,解壓縮for REDHAT 5.3的驅動,名稱為:EMCpower.LINUX-5.1.2.00.00-021.rhel5.x86_64.rpm。
#rpm -Uvh EMCpower.LINUX-5.1.2.00.00-021.rhel5.x86_64.rpm
- 配置光纖交換機的ZONE
將HBA卡的WWN資訊告知光纖交換機管理員,建立該主機訪問儲存的ZONE.
- 配置儲存,建立LUN,並做相關的MAPPING操作
儲存管理員根據要求,建立LUN,並定義HOST,最後進行MAPPING操作
- 重新啟動OS,識別到SAN儲存的盤,進行LVM管理,建立PV,VG,LV
#reboot
#fdisk -l
Disk /dev/sda: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdd: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
。。。。。。
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 17844 143227507+ 8e Linux LVM
Disk /dev/emcpowera: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/emcpowera doesn't contain a valid partition table
因為SAN盤是多路徑的,所以/dev/sda,/dev/sdd等 都是一個盤的多個路徑,安裝了powerpath後,我們可以看到/dev/emcpowera 盤,這個盤是多個路徑的集合盤(/dev/sda,/dev/sdd等),使用這個裝置來建立PV.
#pvcreate /dev/emcpowera
#vgcreate datavg /dev/emcpowera
#lvcreate -L10g -n lv_oracle datavg
#mke2fs /dev/datavg/lv_oracle
#mkdir /oracle
#mount /dev/datavg/lv_oracle /oracle
#vi /etc/rc.local #保證下次系統啟動是自動掛載該目錄
增加:
mount /dev/datavg/lv_oracle /oracle
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/32980/viewspace-1034775/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Redhat 5.3 安裝hba卡,配置emc powerpath,配置LVM-轉RedhatLVM
- Redhat Linux下安裝HBA卡並檢視WWN號RedhatLinux
- redhat linux 6.2 安裝配置GUIRedhatLinuxGUI
- install emc powerpath on redhat linux and 'Found duplicate PV' 問題解決RedhatLinux
- redhat配置yum環境安裝rpm包Redhat
- EMC CLARiiON CX4-120 簡單安裝配置
- EMC CLARiiON CX4-120簡單安裝配置教程
- CENTOS5.3 64位 VNC遠端控制Centos 安裝配置CentOSVNC
- How to Install EMC PowerPath on Oracle VM 3.4Oracle
- emc powerpath的powermt命令使用方法
- oracle 10G RAC for redhat as5.3 安裝說明Oracle 10gRedhat
- redhat linux 5 之配置YUM源並安裝包RedhatLinux
- Oracle10gRAC在Linux AS5.3上的安裝配置OracleLinux
- redhat linux系統下檢視Emulex HBA卡基本命令RedhatLinux
- HP-UNIX安裝powerpath
- redhat-linux 5.3 64位安裝oracle10gRedhatLinuxOracle
- 本地windows搭建spark環境,安裝與詳細配置(jdk安裝與配置,scala安裝與配置,hadoop安裝與配置,spark安裝與配置)WindowsSparkJDKHadoop
- RedHat配置IPRedhat
- 關於3650M4安裝HBA卡PCI報警解決方法
- EMC powerpath: 安裝第三個Node掛載共享磁碟時LUN名稱變化的問題
- Redhat 5 中裸裝置(raw) 的配置Redhat
- how to add a hba adapter on redhatAPTRedhat
- Zookeeper 安裝配置
- 【mongodb安裝配置】MongoDB
- ceph安裝配置
- ELK 安裝配置
- Prometheus安裝配置Prometheus
- MySQL安裝配置MySql
- SwitchOmega 安裝配置
- Hive安裝配置Hive
- JWT安裝配置JWT
- oracle安裝配置Oracle
- VNC安裝配置VNC
- rlwrap 安裝配置
- otrs安裝配置
- Sybase安裝配置
- memcache安裝配置
- mfs安裝配置