技术解析
现在需求性能效率的国外服务器不论是做虚拟机还是跑SQL数据库,RAID是非常不错的捷径能满足容量和IO的需求
MegaRAID系列管理套件安装
cd /tmp wget http://down.kvm.la/RAID/MegaCliLin.zip unzip MegaCliLin.zip rpm -Uvh *.rpm cp /opt/MegaRAID/MegaCli/MegaCli64 /usr/bin/MegaCli
MegaRAID系列的命令可以查看《MegaCli 常见用法》
3ware Inc系列的管理套件安装
cd /tmp wget http://down.kvm.la/RAID/CLI_linux-from_the_10.2.2.1_9.5.5.1_codesets.zip unzip CLI_linux-from_the_10.2.2.1_9.5.5.1_codesets.zip cp `uname -i`/tw_cli /usr/bin/ chmod 755 /usr/bin/tw_cli
安装完后可以运行tw_cli help查看说明
下面两个RAID10阵列的实例
# tw_cli show
Ctl Model (V)Ports Drives Units NotOpt RRate VRate BBU
------------------------------------------------------------------------
c0 9750-4i 4 4 1 0 1 1 -
# tw_cli info c0
Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-10 OK - - 256K 1862.62 RiW ON
VPort Status Unit Size Type Phy Encl-Slot Model
------------------------------------------------------------------------------
p0 OK u0 931.51 GB SATA 0 - ST1000NM0011
p1 OK u0 931.51 GB SATA 1 - ST1000NM0011
p2 OK u0 931.51 GB SATA 2 - ST1000NM0011
p3 OK u0 931.51 GB SATA 3 - ST1000NM0011