Difference: SC2012Documentation (2 vs. 3)

Revision 32012-10-24 - igable

Line: 1 to 1
 
META TOPICPARENT name="ColinLeavettBrown"
Added:
>
>

Supercomputing 2012 Documentation.

 
Added:
>
>
 
Added:
>
>

MegaRaid Upgrade

  • The following IBM provided software was saved on our repository for easy distribution:
    • ibm_fw_sraidmr_m5100-23.7.0-0037_linux_32-64.bin - M5100 series RAID firmware.
    • ibm_utl_sraidmr_megacli-8.04.07_linux_32-64.zip - MegaCli command
 
Deleted:
<
<
-- ColinLeavettBrown - 2012-10-24

Supercomputing 2012 Documentation.

 \ No newline at end of file
Added:
>
>
  • Install pre-regs (/lib/ld-linux.so.2, libncurses.so.5, libstdc++.so.6):
    • yum install compat-glibc.x86_64 ncurses-libs-5.7-3.20090208.el6.i686 libstdc++-4.4.6-4.el6.i686

  • Install and run MegaCli:
      mkdir -p /tmp/ibm_megacli
      cd /tmp/ibm_megacli
      wget http://vmrepo.heprc.uvic.ca/ibm_utl_sraidmr_megacli-8.04.07_linux_32-64.zip
      unzip ibm_utl_sraidmr_megacli-8.04.07_linux_32-64.zip
      yum localinstall Lib_Utils-1.00-09.noarch.rpm MegaCli-8.04.07-1.noarch.rpm
      cd /usr/local/sbin
      ln -s /opt/MegaRAID/MegaCli/MegaCli64 MegaCli

  • Try the MegaCli command:
      MegaCli -AdpAllInfo -aALL | less

Reconfigureing RAID 0 Virtua Drives

The SC2012 servers (IBM x3650 M4) servers contain two HDD enclosures each with eight drives. The first physical drive will be used to host the operating system and utilities. The remaining drives in each enclosure will be defined as two RAID 0 arrays; one with seven drives, and the other with eight.

  • List all virtual drives:
[root@sc03 sbin]# MegaCli -LDInfo -Lall -aALL
                                     

Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name                :root
RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
Size                : 237.486 GB
Parity Size         : 0
State               : Optimal
Strip Size          : 128 KB
Number Of Drives    : 1
Span Depth          : 1
Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Enabled
Encryption Type     : None
PI type: No PI

Is VD Cached: No


Virtual Drive: 1 (Target Id: 1)
Name                :
RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
Size                : 474.972 GB
Parity Size         : 0
State               : Optimal
Strip Size          : 1.0 MB
Number Of Drives    : 2
Span Depth          : 1
Default Cache Policy: WriteThrough, ReadAdaptive, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Enabled
Encryption Type     : None
PI type: No PI

Is VD Cached: No



Adapter 1 -- Virtual Drive Information:
Adapter 1: No Virtual Drive Configured.

Exit Code: 0x00
[root@sc03 sbin]#

  • Remove redundent virtual drive:
[root@sc03 sbin]# MegaCli -CfgLdDel -L1 -a0 
                                     
Adapter 0: Deleted Virtual Drive-1(target id-1)

Exit Code: 0x00
[root@sc03 sbin]#

  • Determine enclosure IDs:
[root@sc03 sbin]# MegaCli -EncInfo -aALL | awk '/Enclosure|Device ID/'
    Enclosure 0:
    Device ID                     : 252
    Enclosure type                : SGPIO
    Enclosure Serial Number       : N/A 
    Enclosure Zoning Mode         : N/A 
    Enclosure 0:
    Device ID                     : 62
    Enclosure type                : SGPIO
    Enclosure Serial Number       : N/A 
    Enclosure Zoning Mode         : N/A 
[root@sc03 sbin]# 

  • Determine enclosure IDs and used slots:
[root@sc03 sbin]# MegaCli -CfgDsply -aALL  |awk '/GROUP|Enclosure|Slot/'
Number of DISK GROUPS: 1
DISK GROUP: 0
Enclosure Device ID: 252
Slot Number: 0
Enclosure position: N/A
Number of DISK GROUPS: 0
[root@sc03 sbin]#

  • Define new RAID 0 virtual device on the seven free drives:
[root@sc03 sbin]# MegaCli -CfgLdAdd -r0 [252:1,252:2,252:3,252:4,252:5,252:6,252:7] -a0
                                     
Adapter 0: Created VD 1

Adapter 0: Configured the Adapter!!

Exit Code: 0x00
[root@sc03 sbin]#

  • Display virtual devices:
[root@sc03 sbin]# MegaCli -LDInfo -Lall -aALL
                                     

Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name                :root
RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
Size                : 237.486 GB
Parity Size         : 0
State               : Optimal
Strip Size          : 128 KB
Number Of Drives    : 1
Span Depth          : 1
Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Enabled
Encryption Type     : None
PI type: No PI

Is VD Cached: No


Virtual Drive: 1 (Target Id: 1)
Name                :
RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
Size                : 1.623 TB
Parity Size         : 0
State               : Optimal
Strip Size          : 128 KB
Number Of Drives    : 7
Span Depth          : 1
Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Enabled
Encryption Type     : None
PI type: No PI

Is VD Cached: No



Adapter 1 -- Virtual Drive Information:
Adapter 1: No Virtual Drive Configured.

Exit Code: 0x00
[root@sc03 sbin]#
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback