PowerEdge: Gerenciamento do controlador RAID PowerEdge com PERCCLI
Summary: Este artigo apresenta informações sobre como gerenciar o Dell PowerEdge RAID Controller (PERC) usando o utilitário PERCCLI.
Instructions
Gerenciando controladores PERC com PERCCLI
Gerenciamento de disco virtual (VD)
Controle verificações de consistência, cache preservado e discos virtuais usando os comandos abaixo:
- Pausar uma verificação de consistência
- Retomar uma verificação de consistência
- Mostrar status da verificação de consistência
- Iniciar uma verificação de consistência
- Interromper uma verificação de consistência
- Excluir cache preservado
- Mostrar cache preservado
- Excluir um disco virtual
- Criar um disco virtual
# Pause consistency check perccli /cX/vY pause cc # Resume consistency check perccli /cX/vY resume cc # Show consistency check status perccli /cX/vY show cc # Start consistency check (add "force" if required) perccli /cX/vY start cc [force] # Stop consistency check perccli /cX/vY stop cc # Delete preserved cache (add "force" if required) perccli /cX/vY delete preservedCache [force] # Show preserved cache perccli /cX show preservedCache # Delete a virtual disk (use "all" to delete all VDs) perccli /cX/vY|all del # Create a virtual disk (example) perccli /cX add vd r5 size=500GB name=VD1 drives=1:0-3 pdperarray=4 pdcache=on wt wb strip=128 force
force pode causar perda de dados. Verifique as unidades de destino antes da execução.
Gerenciamento de discos físicos
Use os seguintes comandos para visualizar, configurar, localizar e atribuir hot spares para discos físicos.
- Mostrar informações da unidade
- Definir estado da unidade (JBOD, bom, off-line, on-line)
- Iniciar/parar LED de localização da unidade
- Adicionar ou excluir uma unidade hot spare
- Gerenciar configurações externas
# Show a specific drive (controller X, enclosure Y, slot Z) perccli /cX/eY/sZ show # Show all drives on a controller perccli /cX/eall/sall show # Show all drives with detailed information perccli /cX/eY/sZ|sall show all # Show drives in JBOD mode perccli /cX/eY/sall show jbod perccli /cX/eY/sZ show jbod # Set a drive to JBOD perccli /cX/eY/sZ set jbod # Set a drive to GOOD (add "force" if required) perccli /cX/eY/sZ set good [force] # Set a drive OFFLINE perccli /cX/eY/sZ set offline # Set a drive ONLINE perccli /cX/eY/sZ set online # Start locate LED on a drive perccli /cX/eY/sZ start locate # Stop locate LED on a drive perccli /cX/eY/sZ stop locate # Add a hot‑spare drive (optional DG list, enclosure affinity, non‑revertible) perccli /cX/eY/sZ add hotsparedrive [DGs=0,1,2][enclaffinity][nonrevertible] # Delete a hot‑spare drive perccli /cX/eY/sZ delete hotsparedrive # Delete foreign configuration (add security key if required) perccli /cX/fx|fall del [securitykey=sssssssssss] # Import foreign configuration (preview optional) perccli /cX/fx|fall import [preview][securitykey=sssssssssss] # Show foreign configuration (add "all" to list all) perccli /cX/fx|fall show [all][securitykey=sssssssssss]
| Opção | Intervalo de valores | Descrição |
|---|---|---|
rXX |
RAID [0|1|5|6|10|50|60] |
Sets the RAID type of the configuration. |
size |
Maximum size based on the physical drives and RAID level. |
Sets the size of each virtual drive. Default is the capacity of all referenced disks. |
name |
15 characters |
Specifies the drive name for each virtual drive. |
drives |
Valid enclosure number and slot numbers (e:s|e:s-x|e:s-x,y) |
Defines which physical drives belong to the VD. e = enclosure ID, s = slot. |
pdperarray |
0‑15 |
Number of physical drives per array. Default is chosen automatically. |
sed |
— |
Creates security‑enabled drives. |
pdcache |
on|off|default |
Enables or disables physical‑drive cache. |
pi |
— |
Enables protection information. |
dimmerswitch |
default|automatic|none|maximum|maxnocache |
Specifies power‑saving policy for the logical device. |
wt|wb |
wt (write‑through) or wb (write‑back) |
Sets write policy. Write‑back is default. |
nora|ra |
ra (read‑ahead) or nora (no read‑ahead) |
Controls read‑ahead. Read‑ahead is default. |
cachedbadbbu|nocachedbadbbu |
— |
Enable/disable caching when BBU is faulty. Disabled by default. |
strip |
8,16,32,64,128,256,512,1024 |
Sets the strip size for the RAID configuration. |
aftervd |
Valid virtual drive number |
Creates the VD in the free slot next to the specified VD. |
spares |
List of physical drives |
Assigns spare drives to the disk group. |
force |
— |
Forces addition of a security‑capable drive without security. |
Para a instalação do PERCCLI, consulte: PowerEdge: Como instalar o utilitário PERCCLI no Red Hat Linux, Ubuntu Linux, VMware ESXi e Windows Server
Additional Information
Guia de linha de comando do PERC 9/10/11 - https://www.dell.com/support/manuals/en-in/perc-h750-sas/perc_cli_rg/Overview?guid=guid-85a3c53c-4b87-42be-a787-7ed23993297f⟨=en-us
Guia de linha de comando do PERC 11/12 - https://www.dell.com/support/manuals/en-us/perc-h965i-mx/perc12_cli_rg/working-with-the-perc-command-line-interface-tool?guid=guid-d44fef6f-7a59-4612-a65e-0bdc9e0dd842⟨=en-us