documentation_publique:software:ssacli

Smart Storage Administrator CLI

ssacli is commandline-based disk configuration program that helps you configure, manage, diagnose, and monitor HPE ProLiant Smart Array Controllers and now other storage devices as well, such as host bus adapters (HBAs), HPE Storage controllers, and future devices such as SCSI Express drives, and SAS switch devices
  • Update repo (add /etc/yum.repos.d/mcp.repo file)
[mcp]
name=Management Component Pack
baseurl=http://downloads.linux.hpe.com/repo/mcp/centps/7.4Server/x86_64/current
enabled=1
gpgcheck=1
  • Install ssacli (you can fetch the gpg keys if you want) yum --nogpgcheck install ssacli

Note: il est possible d'utiliser un shell ssacli (en appelant simplement ssacli) ou d'envoyer des commandes au shell ssacli directement (ssacli <command>).

Les disques physiques (physicaldisk ou pd) sont organisé en disques logiques (logicaldisk ou ld) au sein d'array dans un controller (ou ctrl).

Un controler peut être identifié par un numéro de slot (ctrl slot=0)

  • Check available controllers ssacli controller all show
  • Show used bay for device
ssacli controller slot=<controller-number> physicaldrive all show

As we do not use the RAID array, each array contains a single disk. So to remove the physical disk, we remove the logical disk from an array. This will delete the array the disk belongs to.

:!: You remove a physical disk and you delete a logical disk.

# List the logical disks
ctrl slot=0 ld all show

# Delete the logical disk
ctrl slot=0 ld 3 delete
  • documentation_publique/software/ssacli.txt
  • Dernière modification : il y a 5 ans
  • de jdorel