HPE 3PAR CLI Cheat Sheet: 50+ show and check Commands - 夜莺博客

HPE 3PAR CLI Cheat Sheet: 50+ show and check Commands

HPE 3PAR (StoreServ) storage arrays are administered primarily through the CLI, and with dozens of show* commands it is easy to lose track of which one answers which question. This cheat sheet — compiled from the spectra.com 3PAR CLI reference — groups the most commonly used commands by function: system health, provisioning (CPG/VV), host mapping (VLUN), physical disks, ports and diagnostics. Bookmark it for your next maintenance window.

System and Health

showalert        - show status of system alerts
showsys          - show system information (name, serial)
showversion      - show software versions
shownode         - show node and component information
shownodeenv      - show node environmental status
showeventlog     - show event logs
showlicense      - show installed license key
showdate         - show date and time on all system nodes
showpatch        - show applied patches
checkhealth      - perform checks on overall system state

Provisioning: CPG and VV

showcpg          - show Common Provisioning Groups (CPGs)
showvv           - show virtual volumes (VVs)
showvvmap        - show VV to LD mapping
showvvpd         - show VV distribution across PDs
showvvset        - show sets of VVs
showld           - show logical disks (LDs)
showldch         - show LD to PD chunklet mapping
showldmap        - show LD to VV mapping

Hosts and Mappings

showhost         - show host and host path information
showhostset      - show sets of hosts
showvlun         - show virtual LUNs (VLUNs) in the system
showblock        - show block mapping info for VVs, LDs, PDs

Physical Disks and Ports

showpd           - show physical disks (PDs)
showpdch         - show chunklet status of physical disks
showpdvv         - show PD to VV mapping
showspare        - show spare and relocated chunklets
showport         - show FC and iSCSI ports
showportdev      - show detailed device info on FC port
showportlesb     - show Link Error Status Block on FC port
showiscsisession - show iSCSI sessions
checkpd          - surface scan / diagnostics on physical disks
checkport        - loopback test on FC ports
checkld          - validity checks on logical disks

Network, Remote Copy and Misc

shownet          - show network configuration and status
showrcopy        - show remote copy configuration
showrctransport  - show end-to-end transport for remote copy
showtask         - show tasks
showsched        - show scheduled tasks
showinventory    - show hardware inventory
showcage         - show disk cage information
showbattery      - show battery status
showdomain       - show domains in the system
showuser         - show user accounts and SSH keys
showtoc          - show system Table of Contents summary

Related Storage Content on This Site

Pair this with HPE 3PAR error codes and checkhealth troubleshooting, 3PAR controller failure and replacement and FC vs iSCSI SAN comparison.

原文链接:https://www.spectra.com/hpe-3par-common-cli-command-line-interface-commands