Pure Storage Flash Array CLI commands that I find useful.. Just for Reference.
pureversion -a
- Shows the current version of code on the controllerpureboot list
- Displays which version of Purity OS will load on boot.pureboot reboot --offline
- Reboots the current controllerpureboot reboot --primary
- Reboots the current controller, returns as Primarypureboot reboot --secondary
- Reboots the current controller, returns as Secondarypurearray list
- Displays the array name, serial no and firmware version details. purearray list --controller
- Lists all the controllers connected to the Pure array. Also displays the model, status & firmware details of each controller. purearray list --connect
- Display remotely connected arrays. purearray list --ntpserver
- Display configured NTP server to sync system time. purearray list --space
- Display the capacity usage information of the Pure device. puredb list mode
- Returns the name of the primary controller.puredb query firmware_upgrades
- Shows actively running firmware updates.puredb run giveback --safe
- Performs a manual failover to the secondary controller making it the primary and this controller the secondary. (must be ran from primary)purealert list
- List all the active alerts in the Pure device. purealert list --filter “severity=’critical'”
- List all the alerts with severity :critical. puredrive list
- List all the flash disks in the device. This will also display the capacity of each flash module. puredrive list --total
- List all flash disks with total capacity. puredrive list CH1.BAY5
- Display information about specific flash drive (CH1 & BAY5 is mentioned as an example). puredrive admit
- Admits unadmitted flash drives. purehgroup list
- List all hostgroups. purehgroup list --connect
- Lists all hostgroups with connected volumes. purehgroup list --connect HG01
- Lists connected volumes to the host group HG01 (HG01 is mentioned as an example). purehgroup list --space
- List all the hostgroups with the total capacity of connected volumes. purehost list
- List all hostspurehost list --connect
- List all hosts with connected volumespurehost list --connect HOST01
- Lists connected volumes to the host HOST01 (HOST01 is mentioned as an example)purehost monitor --balance
- Shows the current balance across hostspurehw list
- List hardware componentspurehw list --spec
- List hardware components with part number and serial numberpurehw list --type bay --spec
- List all the drive modules with part number & serial numberpureport list
- Display all the target ports within the device.pureport list –initiator
- lists all the host initiator WWNs & IQNs.purevol list
- List all virtual volumespurevol list –snap
- List all snapspurevol list –space
- List all virtual volumes with size