MegaRAID
Mega RAID Manager install [#v8ccee46]
参考手順 [#wf0cff23]
インストール手順 [#y3b5d29e]
+lsi社のサイトへアクセス +[support] > [Find Support Documents and Downloads] +[Storage] > [RAID controllers] > [Management Software and tools] +[1.09.13_StorCLI.zip All OS] > [Accept] +ローカルへダウンロードされる +サーバーへscp +サーバーへSSH
シェル作業 [#v84b7dd2]
# cd /usr/local/src
# mv /home/HOGEUSER/1.09.13_StorCLI.zip ./
# unzip 1.09.13_StorCLI.zip
# cd storcli_all_os/
# cd Linux
# rpm -ivh storcli-1.09.13-1.noarch.rpm
# /opt/MegaRAID/storcli/
表示 [#e06af2be]
# /opt/MegaRAID/storcli/storcli64 show
Status Code = 0
Status = Success
Description = None
Number of Controllers = 1
Host Name = HOGEHOSt01
Operating System = Linux2.6.32-431.11.2.el6.x86_64
System Overview :
===============
----------------------------------------------------------------------
Ctl Model Ports PDs DGs DNOpt VDs VNOpt BBU sPR DS EHS ASOs Hlth
----------------------------------------------------------------------
0 Controller 8 4 1 0 1 0 Opt On - N 0 Opt
----------------------------------------------------------------------
Ctl=Controller Index|DGs=Drive groups|VDs=Virtual drives|Fld=Failed
PDs=Physical drives|DNOpt=DG NotOptimal|VNOpt=VD NotOptimal|Opt=Optimal
Msng=Missing|Dgd=Degraded|NdAtn=Need Attention|Unkwn=Unknown
sPR=Scheduled Patrol Read|DS=DimmerSwitch|EHS=Emergency Hot Spare
Y=Yes|N=No|ASOs=Advanced Software Options|BBU=Battery backup unit
Hlth=Health|Safe=Safe-mode boot
Virtual Drive 追加 [#h50ebd3f]
# /opt/MegaRAID/storcli/storcli64 /c0 show
Physical Drives = 4
PD LIST :
=======
-----------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
-----------------------------------------------------------------------------
252:0 10 Onln 0 930.390 GB SATA HDD N N 512B HGST HTS721010A9E630 U
252:1 9 Onln 0 930.390 GB SATA HDD N N 512B HGST HTS721010A9E630 U
252:2 11 UGood - 930.390 GB SATA HDD N N 512B TOSHIBA MQ01ABD100H U
252:3 12 UGood - 930.390 GB SATA HDD N N 512B TOSHIBA MQ01ABD100H U
-----------------------------------------------------------------------------
Virtual Drives = 1
VD LIST :
=======
-----------------------------------------------------------
DG/VD TYPE State Access Consist Cache sCC Size Name
-----------------------------------------------------------
0/0 RAID1 Optl RW Yes RWBD - 930.390 GB
-----------------------------------------------------------
# /opt/MegaRAID/storcli/storcli64 /c0 add vd type=raid1 drives=252:2,252:3
Controller = 0
Status = Success
Description = Add VD Succeeded
# /opt/MegaRAID/storcli/storcli64 /c0 show
Virtual Drives = 2
VD LIST :
=======
-----------------------------------------------------------
DG/VD TYPE State Access Consist Cache sCC Size Name
-----------------------------------------------------------
0/0 RAID1 Optl RW Yes RWBD - 930.390 GB
1/1 RAID1 Optl RW No NRWBD - 930.390 GB
-----------------------------------------------------------
Physical Drives = 4
※↑VD LISTにVDが一つ追加されている。
PD LIST :
=======
-----------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
-----------------------------------------------------------------------------
252:0 10 Onln 0 930.390 GB SATA HDD N N 512B HGST HTS721010A9E630 U
252:1 9 Onln 0 930.390 GB SATA HDD N N 512B HGST HTS721010A9E630 U
252:2 11 Onln 1 930.390 GB SATA HDD N N 512B TOSHIBA MQ01ABD100H U
252:3 12 Onln 1 930.390 GB SATA HDD N N 512B TOSHIBA MQ01ABD100H U
-----------------------------------------------------------------------------
※↑StateがUGoodからOnln(Online)に変わっている。
設定追加ヘルプ [#vbea7836]
# /opt/MegaRAID/storcli/storcli64 /c0/v1 set help
storcli /cx/vx set ssdcaching=on|off
storcli /cx/vx set fshinting=<value>
storcli /cx/vx set emulationType=0|1
storcli /cx/vx set wrcache=WT|WB|AWB
storcli /cx/vx set rdcache=RA|NoRA
storcli /cx/vx set iopolicy=Cached|Direct
storcli /cx/vx set accesspolicy=RW|RO|Blocked|RmvBlkd
storcli /cx/vx set pdcache=On|Off|Default
storcli /cx/vx set name=<NameString>
storcli /cx/vx set HostAccess=ExclusiveAccess|SharedAccess
storcli /cx/vx set ds=Default|Auto|None|Max|MaxNoCache
storcli /cx/vx set autobgi=On|Off
storcli /cx/vx set pi=Off
storcli /cx/vx set bootdrive=<on|off>
設定変更 [#me665812]
# /opt/MegaRAID/storcli/storcli64 /c0/v1 show
-----------------------------------------------------------
DG/VD TYPE State Access Consist Cache sCC Size Name
-----------------------------------------------------------
1/1 RAID1 Optl RW No RWBD - 930.390 GB
-----------------------------------------------------------
Consist => set
Cache => set rdcache=RA or NoRA
Cache => set iopolicy=Cached or Direct
# /opt/MegaRAID/storcli/storcli64 /c0/d1 show
--------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type State BT Size PDC PI SED DS3 FSpace
--------------------------------------------------------------------------
1 - - - - RAID1 Optl N 930.390 GB enbl N N none N
1 0 - - - RAID1 Optl N 930.390 GB enbl N N none N
1 0 0 252:2 11 DRIVE Onln N 930.390 GB enbl N N none -
1 0 1 252:3 12 DRIVE Onln N 930.390 GB enbl N N none -
--------------------------------------------------------------------------
PDC => set pdcache=On or Off or Default
リファレンス・マニュアル [#od27e515]
http://www.lsi.com/downloads/Public/RAID%20Controllers/RAID%20Controllers%20Common%20Files/StorCLI_RefMan_revf_.pdf