Sei sulla pagina 1di 4

showalert

showauthparam
showbattery
showblock
showcage
showcim
showclienv
showcpg
showdate
showdomain
showdomainset
showeeprom
showeventlog
showfirmwaredb
showhost
showhostset
showinventory
showiscsisession
showld
showldch
showldmap
showlicense
shownet
shownode
shownodeenv
showpatch
showpd
showpdata
showpdch
showpdvv
showport
showportarp
showportdev
rt
showportisns
showportlesb
re Channel port
showrcopy
showrctransport

show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show
show

status of system alerts


authentication parameters
battery status information
block mapping info for vvs, lds, pds
disk cage information
the CIM server information
CLI environment parameters
Common Provisioning Groups (CPGs)
date and time on all system nodes
domains in the system
sets of domains in the system
node eeprom information
event logs
current database of firmware levels
host and host path information
sets of hosts in the system
hardware inventory
iscsi sessions
logical disks (LDs) in the system
LD to PD chunklet mapping
LD to VV mapping
installed license key
network configuration and status
node and its component information
node environmental status (voltages,temperatures)
what patches have been applied to the system
physical disks (PDs) in the system
preserved data status
status of selected chunklets of physical disks
PD to VV mapping
Fibre Channel and iSCSI ports in the system
ARP table for ports
detailed information about devices on a Fibre Channel po

- show iSNS host information for ports


- show Link Error Status Block information about devices on Fib
- show remote copy configuration information
- show information about end-to-end transport for remote copy

showrsv
- show information about reservation and registration of VLUNs
connected on a Fibre Channel port
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 (system name, serial number 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
showvvmap
showvvpd
showvvset
checkhealth
checkpassword
checkport
checkpd
checkld
checkvv
ormation.

show virtual volumes (VVs) in the system


show VV to LD mapping
show VV distribution across PDs
show sets of VVs in the system
- perform checks to determine overall state of the system
- display authentication and authorization details
- perform loopback test on fc ports
- perform surface scan or diagnostics on physical disks
- perform validity checks of data on logical disks
- perform validity checks of virtual volume administrative inf

================================================================================
==========
==================================================
Below are some common commands for 3PAR Storage provisioning
===================================================
Command to get the paths allocated in the servers
showvlun -v <vv name> -pathsum
showvlun -v <vv name*>
showvlun -host <hostname> -pathsum
Command to get the detailed description of a host
showhost -desc <hostname*>
Command to get the detailed host and port information
showhost -d <hostname*>
Command to display the host set with its members
showhostset <Hostsetname*>
showhostset -host <Hostname>
Command to display the VV wwn and creation time
showvv -d <vv name*>
Command to display the VV capacity
showvv <vv name*>
Command to display VV set with description and members list and the VVset in whi
ch the matching VV is member of
showvvset -d <vv Setname>
showvvset -vv <vv name*>
Command to create host
createhost -persona <number> Host <wwn1> <wwn2>
Rename a host
setvv -name <newname> <oldname>
Create a Virtual Volume
createvv -pol zero_detect -tpvv AO_FC_NEW <lun name> 100g
createvv -cnt 3 <cpg name> <vv name> 100g
To add a virtual volume to a VVset
createvvset -add <vv set name> <vv name>
To extend a virtual volume. The below command will add 10 gb to the current spac

e
growvv <vv name> 10g
Command to add a server to an existing host set
createvlun <vv name> <HostLUNNumber> <hostname>
Command to create a super user
createuser -c <password> <username> all super
To unexport a VV from a host
removevlun f <VVname> <HostLUNnumber> <hostname>
removevlun set:<VVSet> <LUN id> set:<hostset>
------------------------------------------------------------------------------------------------------Now when it comes to troubleshooting 3PAR storage, here are some useful commands
.
=======================================================================
Display new alerts in the system
showalert -n
Display the system model, serial number and details
showsys -d
Displays information about tasks
showtask -active -t <hours> -all -type <pattern with wild characters*>
showtask d <TaskID>
Display the BIOS and OS version
showeeprom
Displays the system events occurred during the last 20 minutes
showeventlog -min 20
Displays the operating environment status for all nodes in the system
shownodeenv
Display the physical disk parameters
showpd -c <DiskID> - to see the chunklet details
showpd -i <DiskID> -- to see the disk details with wwn
showpd -s <DiskID> -- Show the disk detailed state
showpd -failed -degraded - To look failed physical disks
showpdch -fail ---- shows every Failed Chunklet in the system
showpdvv 12 | grep -i <vv name>
Display the IP address of the array
shownet
To see the users connected to the array
showuserconn
Display the the FC port link status errors
showportlesb single 1:0:2
showportlesb hist -startt 01/20 6:3:4
showport -state node:slot:port
Display the cage details

showcage -d <Cage number>


Display the VLUN performance for non idle devices with R/W separated and the int
erval and in a timed loop
statvlun -iter 1 -d 30 -rw -ni -<host name>
statvv -iter 5 <vv name>
Displays read/write (I/O) and queue length statistics for ports
statport -iter 5
statport -nodes <node number>
===================================================================

Potrebbero piacerti anche