3PAR 命令行
Virtual Volumes/VLUN
- Display virtual volumes (VVs) in the system
showvv - Display virtual Luns in the system
showvlun - Display VV to LD mapping
showvvmap - Display VV distribution across PDs
showvvpd - Display sets of VVs in the system
showvvset - Perform validity checks of virtual volume administrative
checkvv
Drive Cage Management
- How to locate a particular drive cage
locatecage - How to set parameters for a drive cage
setcage - Displays drive cage information
showcage - Display block mapping info for vvs/lds/pds
showblock - Display logical disks (ld) information
showld - Perform validity checks of data on logical disks
checkld - Display LD to PD chunklet mapping
showldch - Display LD to VV mapping
showldmap
Physical Disk Management
- How to admit one or all physical disks to enable their use
admitpd - How to perform surface admit one or all physical disks to enable their use
checkpd - How to spin a physical disk up or down
controlpd - How to dismiss one or more physical disks from use
dismisspd - How to move data from specified PD to a temp location selected by the system
movepd - How to perform surface admit one or all physical disks to enable their use
setpd - How to perform surface admit one or all physical disks to enable their use
showpd - Show status of selected chunklets of physical disks
showpdch - Show PD to VV mapping
showpdvv - Display estimated free space
showspace - Display spare and relocated chunklets
showspare
Host related commands
To see hosts defined on the array
showhost
showhost loncdc2ce1234 - aTo see hostsets defined on the array
showhostset
showhostset lonce1234To see WWNs that are not assigned to any hosts yet
showhost - noname
Health/Alert/Event related commands
- How to remove one or more alerts
removealert - How to set the status of system alerts
setalert - How to display system alerts
showalert - How to display event logs
showeventlog - How to display the status of the system hardware and software components
checkhealth - How to set the status of system alerts
setalert
Licensing management commands
- How to set the license key
setlicense - How to display the license keys installed
showlicense
System related commands
- How to display firmware versions
showfirmwaredb - How to display date and time for all system nodes
showdate - How to set date and time for all system nodes
setdate - How to set the properties of node components such as serial number of power supply
setnode - How to display overview of the node specific properties
shownode - How to display node’s environment status
shownodeenv - How to display EEPROM information of nodes
showeeprom - How to locate a particular node compoment by blinking LEDs on the node
locatenode - How to locate a system by blinking its LEDs
locatesys - How to set the system - wide parameters such as the raw space alert
setsys - How to display system properties such as name, model, serial number, capacity
showsys - Display system manager start up state
showsysmgr - Display hardware inventory
showinventory - Display patches applied to the system
showpatch - Display software versions
showversion
Network Interface Configuration
- How to configure the network interface
setnet - How to display the network configuration
shownet
Port related commands
- How to perform loopback test on FC ports
checkport - How to control FC or Remote copy ports
controlport - How to set up the parameters and characteristics of an iSCSI port
controliscsiport - How to display the iSCSI active sessions per port
showiscsisession - How to display the iSCSI active sessions per port
showiscsisession - How to display system port information
showport - How to display ARP table for iSCSI ports in the system
showportarp - How to display details information about devices on a FC port
showportdev - How to display Link Error Status Block information about devices on a FC port
showportlesb - How to display unrecognized targets
showtarget - How to display iSCSI statistics
statiscsi - How to display iSCSI session statistics
statiscsisession
Battery management commands
- How to display battery status information
showbattery - How to set battery properties
setbattery
Performance Management Commands
- How to display histogram data for individual chunklets
histch - How to set statistics collection mode on chunklets
setstatch - How to set statistics collection mode on physical disk chunklets
setstatpdch - How to display statistics for individual chunklets
statch - How to display stats for cache memory pages
statcmp - How to display statistics for CPU use
statcpu - How to display histogram data for logical disks
histld - How to display stats for logical disks
statld - How to display stats for links
statlink - How to display histogram data for physical disks
histpd - How to display stats for physical disks
statpd - How to display histogram data for FC port
histport - How to display stats for FC ports
statport - How to display physical disks with high service times and optionally perform load balancing
tunepd - How to analyse disk usage and adjust resources
tunesys - How to display histogram data for VLUNs
histvlun - How to display stats for VLUNs
statvlun - How to display histogram data for virtual volumes
histvv - How to display stats for virtual volumes
statvv - How to display histogram data for remote copy volumes
histrcvv - How to display stats for Remote Copy volumes
statrcvv - How to display preserved data status
showpdata - How to check if I/O distribution is uniform across all disks of the same type (FC, NL).
statpd - d 10 - iter 5 - p - devtype FC(orNL) - How to check if volumes are uniformly tuned across all available PDs
showvvpd {volname} - How to check if PDs are uniformly used (have approximately the same number of free chunklets for PDs of the same type and capacity)
statpd - d 10 - iter 5 - p - devtype FC(orNL)
Replication related commands
- How to create consistent group physical copies of a list of virtual volumes
creategroupvvcopy - How to copy a virtual volume
createvvcopy - How to promote a physical copy back to a base volume
promotevvcopy - How to admit a network link for remote copy use
admitrcopylink - How to dismiss a network link for remote copy use
dismissrcopylink - How to add a target to a Remote Copy volume group
admitrcopytarget - How to dismiss a remote copy target from a remote copy volume group
dismissrcopytarget - How to admit virtual volume to a Remote Copy volume group
admitrcopyvv - How to dismiss virtual volume from a Remote Copy volume group
dismissrcopyvv - How to perform a latency and throughput test on a remote copy link
checkrclink - How to create a group for remote copy
creatercopygroup - How to remove a group used for remote copy
removercopygroup - How to create a target for remote copy
creatercopytarget - How to remove a target used for remote copy
removercopytarget - How to set the properties for remote copy group
setrcopygroup - How to set the remote copy target state
setrcopytarget - How to display the details of a remote copy configuration
showrcopy - How to display status and informaiton about end - to - end transport for remote copy in the system
showrctransport - How to start a remote copy subsystem
startrcopy - Set the IP address of RCIP port on array
controlport rcip add 10.10.0.1 255.255.255.0 0:3:1
Priority Optimization
- Check the statistics for QoS
statqos - Check available sample data for QoS
srstatqos - Check potential problems with health of the array
checkhealth - svc - Disable QoS policy
setqos - off vvset:LG5 - QoS - Modify the priority of QoS policy
setqos - pri low vvset:LG5 - QoS - Delete the QoS policy
setqos - clear vvset:LG5 - QoS
Adaptive Optimization
- Display the configuration of CPG
showvvcpg "LG5_AO" - Move the data using Adaptive Optimization
sraomoves - btsecs - 7200 (move between 7200 secs - 2 hrs) - Modify Optimization bias of AO config
setaocfg - mode Balanced LG5_AO - Rename AO configuration
setaocfg - name - Remove AO configuration from system
removeaocfg AO_NAME
System Reporter
Display System Reporter Details
showsr
srrgiodensity - cpg CPG_NAMEDisplay System Reporter Details
srrgiodensity - cpg CPG_NAME
srvvspace
srstatlink
srstatport
srstatqos
Misc
- Show authentication parameters
showauthparam - Display authentication and authorization details
checkpassword - Show CIM server information
showcim - Show cli environment parameters
showclienv - Display domains in the system
showdomain - Display domainset in the system
showdomainset - Display scheduled tasks in the system
showsched - Display information about tasks
showtask - Display snmp access passwords
showsnmppw - Display snmp trap managers
showsnmpmgr - Display SSH key information
showsshkey - Display templates defined on the system
showtemplate - Display system table of contents summary
showtoc - Display system table of contents generation number
showtocgen - Show user accounts and ssh keys
showuser - Show user access control list
showuseracl - Show user connections
showuserconn
HPE 3PAR Commands & Basic Function:
showalert – show status of system alerts
showauthparam – show authentication parameters
showbattery – show battery status information
showblock – show block mapping info for vvs, lds, pds
showcage – show disk cage information
showcim – show the CIM server information
showclienv – show CLI environment parameters
showcpg – show Common Provisioning Groups (CPGs)
showdate – show date and time on all system nodes
showdomain – show domains in the system
showdomainset – show sets of domains in the system
showeventlog – show event logs
showfirmwaredb – show current database of firmware levels
showhost – show host and host path information
showhostset – show sets of hosts in the system
showinventory – show hardware inventory
showiscsisession – show iscsi sessions
showld – show logical disks (LDs) in the system
showldch – show LD to PD chunklet mapping
showldmap – show LD to VV mapping
showlicense – show installed license key
shownet – show network configuration and status
shownode – show node and its component information
shownodeenv – show node environmental status
showpatch – show what patches have been applied to the system
showpd – show physical disks (PDs) in the system
showpdata – show preserved data status
showpdch – show status of selected chunklets of physical disks
showpdvv – show PD to VV mapping
showport – show FC and iSCSI ports in the system
showportarp – show ARP table for ports
showportdev – show detailed information about devices on FC port
showportisns – show iSNS host information for ports
showportlesb – show Link Error Status Block – devices on FC port
showrcopy – show remote copy configuration information
showrctransport – show info end - to - end transport for remote copy
showsched – show scheduled tasks in the system
showsnmppw – shows SNMP access passwords
showsnmpmgr – show SNMP trap managers
showspace – show estimated free space
showspare – show information about spare and relocated chunklets
showsshkey – show ssh public keys authorized by the current user
showsys – show system information (name, SN etc.)
showsysmgr – show system manager startup state
showtarget – show unrecognized targets
showtask – show information about tasks
showtemplate – show templates
showtoc – show system Table of Contents (TOC) summary
showtocgen – show system Table of Contents (TOC) generation number
showuser – show user accounts and SSH keys
showuseracl – show user access control list
showuserconn – show user connections
showversion – show software versions
showvlun – show virtual LUNs (VLUNs) in the system
showvv – show virtual volumes (VVs) in the system
showvvmap – show VV to LD mapping
showvvpd – show VV distribution across PDs
showvvset – show sets of VVs in the system
checkhealth – perform checks to determine overall state of the system
checkpassword – display authentication and authorization details
checkport – perform loopback test on fc ports
checkpd – perform surface scan or diagnostics on physical disks
checkld – perform validity checks of data on logical disks