0% found this document useful (0 votes)
8 views

Sanspire.com 3PAR CLI

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Sanspire.com 3PAR CLI

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

3PAR CLI

sanspire.com/3par-cli/

By sanaswati

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

1/5
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-a*

To see hostsets defined on the array

# showhostset
# showhostset *lonce1234*

To 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

2/5
# 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

3/5
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

# statvlun
How
# histvlun
to display stats for VLUNs

How
# toto
histvv
How display
display
# histrcvv
How
# statvv
to display histogram
statsdata
histogram forforvirtual data
volumes
remote copy for
volumes virtual volumes

How to display stats for Remote Copy volumes


# showpdata
How
#
How
How
#
How
# statrcvv
tocheck
to
statpddisplay
showvvpd
toto
statpd if I/Opreserved
-dcheck
check -d
10
if distributiondata
{volname}
10
-iter
PDs if
5 -iter
are volumes
-p 5 used
uniformly
-devtype -pstatusacross all disks of the same type (FC, NL).
is uniform
are-devtype
uniformly
FC(orNL)
(have FC(orNL)
tuned
approximately across
the same number ofall
free available PDsof the same type and capacity)
chunklets for PDs

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
#
How
# totodisplay
display
showrcopy
showrctransport the
status anddetails of
informaiton a remote
about copytransport
end-to-end configuration
for remote copy in the system

How to start a remote copy subsystem


# controlport
Set
# startrcopy
the IP address of RCIP 255.255.255.0
rcip add 10.10.0.1 port on array0: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

4/5
Display System Reporter Details
# showsr
# srrgiodensity -cpg CPG_NAME

Display 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

# showuserconn
showuseracl
Show
# user connections

SANSPIRE © 2024. All Rights Reserved.

5/5

You might also like