Skip to content

helsecert/hpe-toolkit

Repository files navigation

HPE Toolkit

This repository contains a container image and script for maintaining HPE servers, specifically the ProLiant Gen10 series.

The container image contains:

  • ssacli (HP's storage controller management tool)
  • ssaducli (HP's diagnostics utility)
  • hponcfg (HP's remote iLO configuration tool)
  • smartupdate (HP's firmware staging tool)
  • DNF repository for firmware packages
    • requires FWPP_TOKEN environment variable to be set
  • script to iterate through the host's inventory and perform firmware upgrade staging

Usage

Upgrade firmware:

# upgrade firmware
kubectl run hpe-toolkit --rm -it --privileged --image ghcr.io/helsecert/hpe-toolkit \
                        --env FWPP_TOKEN=myfwpptoken
                        --overrides='{"spec":{"nodeSelector":{"kubernetes.io/hostname":"my-hpe-node"}}}'
                        -- upgrade

Generate diagnostic reports:

kubectl run hpe-toolkit -it --privileged --image ghcr.io/helsecert/hpe-toolkit \
                        --overrides='{"spec":{"nodeSelector":{"kubernetes.io/hostname":"my-hpe-node"}}}'
                        -- ssaducli -f adu-report.zip
kubectl cp hpe-toolkit:adu-report.zip adu-report.zip
kubectl delete hpe-toolkit

Disk/RAID management:

kubectl run hpe-toolkit --rm -it --privileged --image ghcr.io/helsecert/hpe-toolkit \
                       --overrides='{"spec":{"nodeSelector":{"kubernetes.io/hostname":"my-hpe-node"}}}'
                       -- ssacli
If you don't see a command prompt, try pressing enter.

=> ctrl all show config