# RAID Controller device 확인
[root@localhost ~]# lspci -v |grep LSI
03:00.0 RAID bus controller: LSI Logic / Symbios Logic LSI MegaSAS 9260 (rev 05)
# MegaCli 설치(srvadmin-storelib와 충돌나기에 강제로 설치)
Download : http://www.lsi.com/products/storagecomponents/Pages/MegaRAIDSAS9260-8i.aspx
[root@localhost ~]# rpm -ivh --nodeps --force Lib_Utils-1.00-09.noarch.rpm
Preparing... ########################################### [100%]
Installing....
1:Lib_Utils ########################################### [100%]
[root@localhost ~]# rpm -ivh MegaCli-8.02.21-1.noarch.rpm
Preparing... ########################################### [100%]
1:MegaCli ########################################### [100%]
# MegaCli로 컨트롤러 세부정보 확인
[root@localhost ~]# /opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL
Adapter #0
==============================================================================
Versions
================
Product Name : PERC H700 Integrated
Serial No : 16301CS
FW Package Build: 12.10.2-0004
Mfg. Data
================
Mfg. Date : 06/11/11
Rework Date : 06/11/11
Revision No : A04
Battery FRU : N/A
Image Versions in Flash:
================
BIOS Version : 3.18.00_4.09.05.00_0x0416A000
FW Version : 2.100.03-1405
Preboot CLI Version: 04.04-010:#008
Ctrl-R Version : 2.02-0025.1
NVDATA Version : 2.07.03-0003
Boot Block Version : 2.02.00.00-0000
BOOT Version : 01.250.04.219
Pending Images in Flash
================
None
:
[root@localhost ~]# lspci -v |grep LSI
03:00.0 RAID bus controller: LSI Logic / Symbios Logic LSI MegaSAS 9260 (rev 05)
# MegaCli 설치(srvadmin-storelib와 충돌나기에 강제로 설치)
Download : http://www.lsi.com/products/storagecomponents/Pages/MegaRAIDSAS9260-8i.aspx
[root@localhost ~]# rpm -ivh --nodeps --force Lib_Utils-1.00-09.noarch.rpm
Preparing... ########################################### [100%]
Installing....
1:Lib_Utils ########################################### [100%]
[root@localhost ~]# rpm -ivh MegaCli-8.02.21-1.noarch.rpm
Preparing... ########################################### [100%]
1:MegaCli ########################################### [100%]
# MegaCli로 컨트롤러 세부정보 확인
[root@localhost ~]# /opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL
Adapter #0
==============================================================================
Versions
================
Product Name : PERC H700 Integrated
Serial No : 16301CS
FW Package Build: 12.10.2-0004
Mfg. Data
================
Mfg. Date : 06/11/11
Rework Date : 06/11/11
Revision No : A04
Battery FRU : N/A
Image Versions in Flash:
================
BIOS Version : 3.18.00_4.09.05.00_0x0416A000
FW Version : 2.100.03-1405
Preboot CLI Version: 04.04-010:#008
Ctrl-R Version : 2.02-0025.1
NVDATA Version : 2.07.03-0003
Boot Block Version : 2.02.00.00-0000
BOOT Version : 01.250.04.219
Pending Images in Flash
================
None
:
:
:
:
:
Exit Code: 0x00
# MegaCli로 컨트롤러 간단정보 확인
[root@localhost ~]# /opt/MegaRAID/MegaCli/MegaCli64 -ShowSummary -aALL
System
Operating System: Linux version 2.6.18-238.el5
Driver Version: 00.00.04.31-RH1
CLI Version: 8.02.21
Hardware
Controller
ProductName : PERC H700 Integrated(Bus 0, Dev 0)
SAS Address : 5782bcb044716f00
FW Package Version: 12.10.2-0004
Status : Need Attention
BBU
BBU Type : BBU
Status : Pack Missing
Enclosure
Product Id : BACKPLANE
Type : SES
Status : OK
PD
Connector : 00<Internal><Encl Pos 0 >: Slot 0
Vendor Id : ATA
Product Id : FUJITSU MHZ2250B
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 232.375 GB
Power State : Active
Connector : 00<Internal><Encl Pos 0 >: Slot 2
Vendor Id : ATA
Product Id : TOSHIBA MK2561GS
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 232.375 GB
Power State : Active
Connector : 00<Internal><Encl Pos 0 >: Slot 3
Vendor Id : ATA
Product Id : TOSHIBA MK2561GS
State : Unconfigured Good
Disk Type : SATA,Hard Disk Device
Capacity : 232.375 GB
Power State : Active
Storage
Virtual Drives
Virtual drive : Target Id 0 ,VD name Virtual Disk 0
Size : 232.375 GB
State : Optimal
RAID Level : 0
Virtual drive : Target Id 1 ,VD name Virtual Disk 1
Size : 232.375 GB
State : Optimal
RAID Level : 0
Exit Code: 0x00
# Load Balance Mode 확인
[root@localhost ~]# /opt/MegaRAID/MegaCli/MegaCli64 -AdpGetProp -LoadBalanceMode -a0
Adapter 0: Load Balance Mode: Auto
Exit Code: 0x00
# Learn Cycle Disable 설정
[root@localhost ~]# vi h700_bbu_autolearn.sh
#!/bin/sh
TMPFILE=$(mktemp -p /tmp bbu.relearn.off.XXXXXXXXXX) || exit 1
echo "autoLearnMode=1" > $TMPFILE # or =0 to enable the bbu relearn
/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -SetBbuProperties -f$TMPFILE -a0
rm -f $TMPFILE
[root@localhost ~]# ./h700_bbu_autolearn.sh
Adapter 0: Set BBU Properties Succeeded.
Exit Code: 0x00
# Learn Cycle Disable 확인
[root@localhost ~]# /opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuProperties -a0
BBU Properties for Adapter: 0
Auto Learn Period: 7776000 Sec
Next Learn time: 395069866 Sec
Learn Delay Interval:0 Hours
Auto-Learn Mode: Disabled
Exit Code: 0x00
[root@localhost ~]# /opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuProperties -a0 | grep "Auto-Learn Mode: Disabled"
Auto-Learn Mode: Disabled
# cron job 설정
: off-peak time에 crontable 설정하여 learn을 강제로 start 시킴
Exit Code: 0x00
# MegaCli로 컨트롤러 간단정보 확인
[root@localhost ~]# /opt/MegaRAID/MegaCli/MegaCli64 -ShowSummary -aALL
System
Operating System: Linux version 2.6.18-238.el5
Driver Version: 00.00.04.31-RH1
CLI Version: 8.02.21
Hardware
Controller
ProductName : PERC H700 Integrated(Bus 0, Dev 0)
SAS Address : 5782bcb044716f00
FW Package Version: 12.10.2-0004
Status : Need Attention
BBU
BBU Type : BBU
Status : Pack Missing
Enclosure
Product Id : BACKPLANE
Type : SES
Status : OK
PD
Connector : 00<Internal><Encl Pos 0 >: Slot 0
Vendor Id : ATA
Product Id : FUJITSU MHZ2250B
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 232.375 GB
Power State : Active
Connector : 00<Internal><Encl Pos 0 >: Slot 2
Vendor Id : ATA
Product Id : TOSHIBA MK2561GS
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 232.375 GB
Power State : Active
Connector : 00<Internal><Encl Pos 0 >: Slot 3
Vendor Id : ATA
Product Id : TOSHIBA MK2561GS
State : Unconfigured Good
Disk Type : SATA,Hard Disk Device
Capacity : 232.375 GB
Power State : Active
Storage
Virtual Drives
Virtual drive : Target Id 0 ,VD name Virtual Disk 0
Size : 232.375 GB
State : Optimal
RAID Level : 0
Virtual drive : Target Id 1 ,VD name Virtual Disk 1
Size : 232.375 GB
State : Optimal
RAID Level : 0
Exit Code: 0x00
# Load Balance Mode 확인
[root@localhost ~]# /opt/MegaRAID/MegaCli/MegaCli64 -AdpGetProp -LoadBalanceMode -a0
Adapter 0: Load Balance Mode: Auto
Exit Code: 0x00
# Learn Cycle Disable 설정
[root@localhost ~]# vi h700_bbu_autolearn.sh
#!/bin/sh
TMPFILE=$(mktemp -p /tmp bbu.relearn.off.XXXXXXXXXX) || exit 1
echo "autoLearnMode=1" > $TMPFILE # or =0 to enable the bbu relearn
/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -SetBbuProperties -f$TMPFILE -a0
rm -f $TMPFILE
[root@localhost ~]# ./h700_bbu_autolearn.sh
Adapter 0: Set BBU Properties Succeeded.
Exit Code: 0x00
# Learn Cycle Disable 확인
[root@localhost ~]# /opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuProperties -a0
BBU Properties for Adapter: 0
Auto Learn Period: 7776000 Sec
Next Learn time: 395069866 Sec
Learn Delay Interval:0 Hours
Auto-Learn Mode: Disabled
Exit Code: 0x00
[root@localhost ~]# /opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuProperties -a0 | grep "Auto-Learn Mode: Disabled"
Auto-Learn Mode: Disabled
# cron job 설정
: off-peak time에 crontable 설정하여 learn을 강제로 start 시킴
공유하기 버튼
|
|




최근 덧글