3PAR CLI

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 - 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
    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_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
    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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 212,222评论 6 493
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 90,455评论 3 385
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 157,720评论 0 348
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 56,568评论 1 284
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 65,696评论 6 386
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 49,879评论 1 290
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,028评论 3 409
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 37,773评论 0 268
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,220评论 1 303
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,550评论 2 327
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 38,697评论 1 341
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,360评论 4 332
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,002评论 3 315
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,782评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,010评论 1 266
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,433评论 2 360
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,587评论 2 350

推荐阅读更多精彩内容