Configuração de RAID de um Módulo de Servidor Sun Blade X6270 M2

1

Um módulo de servidor Sun Blade X6270 M2 possui quatro discos de 146 GB , mas a execução RHEL5-x64 O.S. encontra apenas um disco de 146GB. Eu acho que dois dos quatro discos são um volume RAID 1 - aquele encontrado por O.S; e os dois discos restantes não são usados.

Eu preciso de uma ferramenta para (pelo menos) exibir a configuração RAID atual e configurar os outros dois discos para criar um novo volume RAID e torná-lo disponível para o O.S .

Você conhece alguma ferramenta para conseguir isso?

Eu tentei usar o ILOM-CMM, mas não encontrei nenhuma informação sobre a unidade de disco.

Thanx antecipadamente

    
por Jdamian 29.12.2015 / 17:10

1 resposta

0

O

sas2ircu é uma ferramenta Avago Technology para obter essa informação. Nenhuma instalação é necessária - a ferramenta é um único binário ( clique aqui para navegar em sua página de download ).

# ./sas2ircu
LSI Corporation SAS2 IR Configuration Utility.
Version 11.00.00.03 (2011.10.14) Copyright (c) 2009-2011
LSI Corporation. All rights reserved.

SAS2IRCU: No command specified.
  sas2ircu <controller #> <command> <parameters> ...
    where <controller #> is:
      Number between 0 and 255
    where <command> is:
      DISPLAY    - display controller, volume and physical device info
      LIST       - Lists all available LSI adapters (does not need ctlr #>
      CREATE     - create an IR volume
      DELETE     - Delete entire RAID configuration on the selected controller
      DELETEVOLUME  - Delete a specific RAID Volume on the selected controller
      HOTSPARE   - make drive a hot spare
      STATUS     - display current volume status info
      CONSTCHK   - Start Consistency Check operation on the specified IR Volume
      ACTIVATE   - Activate an Inactive IR volume
      LOCATE     - Locate a disk drive on an enclosure
      LOGIR      - Upload or Clear IR Log data
      BOOTIR     - Select an IR Boot Volume as primary boot device
      BOOTENCL   - Select an Enclosure/Bay as primary boot device
      HELP       - Display help information
    where <parameters> are:
      Command specific values; enter "sas2ircu <controller #> <command>"
      to get command specific help
Os comandos

sas2ircu precisam de um número de controlador (ou índice). Esse número do controlador é dado pelo comando list :

# ./sas2ircu list
LSI Corporation SAS2 IR Configuration Utility.
Version 11.00.00.03 (2011.10.14) 
Copyright (c) 2009-2011 LSI Corporation. All rights reserved. 


         Adapter      Vendor  Device                       SubSys  SubSys 
 Index    Type          ID      ID    Pci Address          Ven ID  Dev ID 
 -----  ------------  ------  ------  -----------------    ------  ------ 
   0       SAS2008     1000h    72h   00h:01h:00h:00h      1000h   3180h

Se você conhece o ID do controlador, pode usar o comando status para obter informações sobre o volume RAID:

# ./sas2ircu 0 status
LSI Corporation SAS2 IR Configuration Utility.
Version 11.00.00.03 (2011.10.14) 
Copyright (c) 2009-2011 LSI Corporation. All rights reserved. 

Background command progress status for controller 0...
IR Volume 1
  Volume ID                               : 902
  Current operation                       : None
  Volume status                           : Enabled
  Volume state                            : Optimal
  Volume wwid                             : 0c73f86fdc7305cf
  Physical disk I/Os                      : Not quiesced
SAS2IRCU: Command STATUS Completed Successfully.
SAS2IRCU: Utility Completed Successfully.

Ou use o comando display para obter todos os detalhes:

# ./sas2ircu 0 display
LSI Corporation SAS2 IR Configuration Utility.
Version 11.00.00.03 (2011.10.14) 
Copyright (c) 2009-2011 LSI Corporation. All rights reserved. 

Read configuration has been initiated for controller 0
------------------------------------------------------------------------
Controller information
------------------------------------------------------------------------
  Controller type                         : SAS2008
  BIOS version                            : 7.03.04.00
  Firmware version                        : 4.05.52.00
  Channel description                     : 1 Serial Attached SCSI
  Initiator ID                            : 0
  Maximum physical devices                : 831
  Concurrent commands supported           : 1775
  Slot                                    : 0
  Segment                                 : 0
  Bus                                     : 1
  Device                                  : 0
  Function                                : 0
  RAID Support                            : Yes
------------------------------------------------------------------------
IR Volume information
------------------------------------------------------------------------
IR volume 1
  Volume ID                               : 902
  Status of volume                        : Okay (OKY)
  Volume wwid                             : 0c73f86fdc7305cf
  RAID level                              : RAID1
  Size (in MB)                            : 139236
  Physical hard disks                     :
  PHY[0] Enclosure#/Slot#                 : 1:0
  PHY[1] Enclosure#/Slot#                 : 1:1
------------------------------------------------------------------------
Physical device information
------------------------------------------------------------------------
Initiator at ID #0

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 0
  SAS Address                             : 5000cca-0-0ad9-9d21
  State                                   : Optimal (OPT)
  Size (in MB)/(in sectors)               : 140009/286739328
  Manufacturer                            : HITACHI 
  Model Number                            : H103014SCSUN146G
  Firmware Revision                       : A2A8
  Serial No                               : 001039FVP2DE
  GUID                                    : 5000cca00ad99d20
  Protocol                                : SAS
  Drive Type                              : SAS_HDD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 1
  SAS Address                             : 5000cca-0-0ad9-6fd5
  State                                   : Optimal (OPT)
  Size (in MB)/(in sectors)               : 140009/286739328
  Manufacturer                            : HITACHI 
  Model Number                            : H103014SCSUN146G
  Firmware Revision                       : A2A8
  Serial No                               : 001039FVL1WE
  GUID                                    : 5000cca00ad96fd4
  Protocol                                : SAS
  Drive Type                              : SAS_HDD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 2
  SAS Address                             : 5000cca-0-0ad7-ed1d
  State                                   : Hot Spare (HSP)
  Size (in MB)/(in sectors)               : 140009/286739328
  Manufacturer                            : HITACHI 
  Model Number                            : H103014SCSUN146G
  Firmware Revision                       : A2A8
  Serial No                               : 001039FUS9HE
  GUID                                    : 5000cca00ad7ed1c
  Protocol                                : SAS
  Drive Type                              : SAS_HDD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 3
  SAS Address                             : 5000cca-0-0ad8-59d9
  State                                   : Hot Spare (HSP)
  Size (in MB)/(in sectors)               : 140009/286739328
  Manufacturer                            : HITACHI 
  Model Number                            : H103014SCSUN146G
  Firmware Revision                       : A2A8
  Serial No                               : 001039FUZJZE
  GUID                                    : 5000cca00ad859d8
  Protocol                                : SAS
  Drive Type                              : SAS_HDD
------------------------------------------------------------------------
Enclosure information
------------------------------------------------------------------------
  Enclosure#                              : 1
  Logical ID                              : 500605b0:028cd7c0
  Numslots                                : 8
  StartSlot                               : 0
------------------------------------------------------------------------
SAS2IRCU: Command DISPLAY Completed Successfully.
SAS2IRCU: Utility Completed Successfully.

Aqui você pode ver a configuração RAID dos discos SAS internos: 2 discos para o volume RAID-1 e os 2 discos hot spare .

Obrigado a Pascal Kreyer responder por sua ajuda.

    
por 07.01.2016 / 17:29