ebook img

Command Line Interface Reference for Block PDF

646 Pages·2016·2.09 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Command Line Interface Reference for Block

® ® EMC VNX Series Version 5.33 Command Line Interface Reference for Block P/N 300-015-135 REV. 08 March 2020 © Copyright 2013-2020 Dell Inc. or its subsidiaries. All rights reserved. Dell believes the information in this publication is accurate as of its publication date. The information is subject to change without notice. THE INFORMATION IN THIS PUBLICATION IS PROVIDED “AS-IS.” DELL MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. USE, COPYING, AND DISTRIBUTION OF ANY DELL SOFTWARE DESCRIBED IN THIS PUBLICATION REQUIRES AN APPLICABLE SOFTWARE LICENSE. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be the property of their respective owners. Published in the USA. Dell EMC Hopkinton, Massachusetts 01748-9103 1-508-435-1000 In North America 1-866-464-7381 www.DellEMC.com ® ® 2 EMC VNX Series Command Line Interface Reference for Block CONTENTS Preface 15 Chapter 1 About CLI Commands 17 naviseccli........................................................................................................... 18 Chapter 2 VNX CLI for Block 21 Basic commands............................................................................................... 22 Storage setup and management overview............................................22 Shared storage setup and management overview................................ 23 alpa -get...............................................................................................24 alpa -set...............................................................................................25 arraycommpath....................................................................................26 arrayconfig -capture............................................................................ 27 arrayconfig -duplicate.......................................................................... 28 arrayname............................................................................................ 29 backendbus -analyze............................................................................30 backendbus -get -connstate................................................................ 33 backendbus -get -physical................................................................... 33 backendbus -get -prominfo..................................................................34 backendbus -get -sfpstate...................................................................35 backendbus -get -speeds.....................................................................36 backendbus -get -all............................................................................ 36 backendbus -resetspeed...................................................................... 39 baseuuid...............................................................................................40 bind...................................................................................................... 41 cachecard -list..................................................................................... 45 cachecard -initialize............................................................................. 46 cache -sp -info..................................................................................... 47 cache -sp -modify................................................................................ 48 chglun.................................................................................................. 49 chgrg....................................................................................................51 clearlog................................................................................................ 52 clearstats............................................................................................. 52 cmdtime...............................................................................................53 copytodisk........................................................................................... 53 createrg............................................................................................... 55 emconfiguration...................................................................................56 environment......................................................................................... 57 failovermode........................................................................................ 59 faults -list.............................................................................................60 flash -ioport..........................................................................................61 flash -iomodule.....................................................................................63 flashleds...............................................................................................64 getagent.............................................................................................. 64 getall.................................................................................................... 67 getarrayuid...........................................................................................70 getconfig.............................................................................................. 71 EMC® VNX® Series Command Line Interface Reference for Block 3 Contents getcontrol............................................................................................ 72 getcrus.................................................................................................74 getdisk................................................................................................. 78 getlog...................................................................................................85 getloop.................................................................................................86 getlun...................................................................................................87 getresume............................................................................................94 getrg.................................................................................................... 97 getsniffer............................................................................................100 getsp.................................................................................................. 102 getsptime........................................................................................... 104 getspuptime........................................................................................104 getunusedluns.................................................................................... 105 hotsparepolicy -list............................................................................. 105 hotsparepolicy -set.............................................................................106 inserttestevent................................................................................... 107 ioportconfig -config -maxvlans........................................................... 107 ioportconfig -list................................................................................. 108 ioportconfig -list -maxvlans................................................................. 115 ioportconfig -persist............................................................................116 luncache -clear....................................................................................116 luncache -list....................................................................................... 117 managedby..........................................................................................118 managefiles -delete............................................................................. 118 managefiles -list.................................................................................. 119 managefiles -retrieve.......................................................................... 120 ndu -list............................................................................................... 121 ndu -install.......................................................................................... 122 ndu -runrules...................................................................................... 125 ndu -commit....................................................................................... 126 ndu -status......................................................................................... 127 ndu -revert..........................................................................................127 networkadmin -get............................................................................. 128 networkadmin -mib............................................................................. 132 networkadmin -route.......................................................................... 133 networkadmin -set..............................................................................135 port.....................................................................................................138 powersaving....................................................................................... 149 rebootSP............................................................................................ 150 rebootpeerSP......................................................................................151 remoteconfig -getconfig..................................................................... 151 remoteconfig -setconfig..................................................................... 153 removerg............................................................................................ 154 resetandhold.......................................................................................155 responsetest.......................................................................................155 sc_off................................................................................................. 157 setfeature...........................................................................................158 setsniffer............................................................................................ 159 setsniffverify...................................................................................... 160 setspstime...........................................................................................161 setsptime............................................................................................ 161 setstats.............................................................................................. 162 shutdown............................................................................................163 shutdownsp........................................................................................ 164 shutdownpeersp................................................................................. 165 spcollect -info.....................................................................................165 ® ® 4 EMC VNX Series Command Line Interface Reference for Block Contents spcollect -set......................................................................................166 spcollect............................................................................................. 166 spportspeed........................................................................................167 storagegroup...................................................................................... 173 systemtype......................................................................................... 184 trespass..............................................................................................185 unbind.................................................................................................186 unitserialnumber................................................................................. 187 LUN Expansion (metaLUN) commands............................................................187 MetaLUNs overview........................................................................... 188 CLI metaLUN command functions...................................................... 189 metalun -destroy................................................................................ 189 metalun -expand................................................................................. 190 metalun -info...................................................................................... 195 metalun -list........................................................................................196 metalun -modify................................................................................. 201 Using the added capacity of an expanded SnapView, MirrorView or SAN Copy LUN.......................................................................................... 202 Reserved LUN Pool commands.......................................................................204 reserved -lunpool -addlun.................................................................. 204 reserved -lunpool -list........................................................................ 205 reserved -lunpool -rmlun....................................................................206 iSCSI and FCoE commands.............................................................................207 iSCSI commands overview................................................................. 207 connection -adduser.......................................................................... 209 connection -deleteuser.......................................................................210 connection -getuser............................................................................ 211 connection -getport............................................................................212 connection -setport........................................................................... 224 connection -delport............................................................................226 connection -route...............................................................................227 connection -pingnode........................................................................ 228 connection -traceroute...................................................................... 229 connection -setsharedauth................................................................ 230 connection -delsharedauth................................................................. 231 connection -getsharedauth................................................................ 232 connection -addset............................................................................ 232 connection -delset............................................................................. 233 connection -modifyset....................................................................... 234 connection -getset.............................................................................235 connection -addpath.......................................................................... 236 connection -delpath........................................................................... 237 connection -modifypath..................................................................... 238 connection -verifypath.......................................................................239 isns -addserver...................................................................................240 isns -deleteserver...............................................................................240 isns -listserver.................................................................................... 241 isns -setprimary................................................................................. 242 LUN Migration commands...............................................................................243 migrate -start.....................................................................................243 migrate -cancel.................................................................................. 244 migrate -modify................................................................................. 245 migrate -list........................................................................................245 Domain and Security commands..................................................................... 246 About domains and user accounts......................................................246 Domain and security commands overview..........................................250 ® ® EMC VNX Series Command Line Interface Reference for Block 5 Contents domain -add........................................................................................251 domain -list........................................................................................ 253 domain -remove................................................................................. 254 domain -uninitialize............................................................................ 255 domain -setmaster............................................................................. 256 ntp -list.............................................................................................. 257 ntp -set..............................................................................................258 security -adduser............................................................................... 260 security -changeuserinfo.................................................................... 261 security -list....................................................................................... 262 security -listrole................................................................................. 263 security -rmuser.................................................................................263 security -ldap -addserver................................................................... 264 security -ldap -modifyserver.............................................................. 266 security -ldap -removeserver............................................................. 268 security -ldap -listserver.................................................................... 269 security -ldap -addrolemapping..........................................................270 security -ldap -modifyrolemapping......................................................271 security -ldap -removerolemapping.....................................................271 security -ldap -listrolemapping........................................................... 272 security -ldap -synchronize................................................................ 273 security -certificate -add....................................................................273 security -certificate -remove..............................................................274 security -certificate -list.....................................................................274 security -certificate -alertBeforeExpiration........................................275 security -pkcs12upload.......................................................................276 security -SPcertificate -generate.......................................................276 security -fipsmode -set...................................................................... 277 security -fipsmode -get...................................................................... 277 security -tls -set.................................................................................278 security -tls -get................................................................................ 279 security -setport................................................................................ 279 security -trustedclient -enable........................................................... 280 security -trustedclient -add............................................................... 280 security -trustedclient -list................................................................. 281 security -trustedclient -remove.......................................................... 281 Event Monitor commands............................................................................... 282 Event Monitoring overview................................................................ 282 -portal -create................................................................................... 283 -portal -list......................................................................................... 284 -portal -migrate..................................................................................284 -portal -destroy..................................................................................285 -template -list.................................................................................... 285 -template -import.............................................................................. 286 -template -export...............................................................................286 -template -destroy............................................................................. 287 -template -findconflict....................................................................... 287 -template -swap.................................................................................288 -monitor -addsystem..........................................................................289 -monitor -removesystem....................................................................289 -monitor -listmapping.........................................................................290 -monitor -applytemplate.................................................................... 290 -monitor -stoptemplate...................................................................... 291 -monitor -getlog.................................................................................292 -monitor -enableresponse.................................................................. 293 -monitor -disableresponse..................................................................293 ® ® 6 EMC VNX Series Command Line Interface Reference for Block Contents -monitor -getlogsize...........................................................................294 -monitor -setlogsize...........................................................................295 -monitor -inserttestevent.................................................................. 295 -monitor -responsetest...................................................................... 296 -monitor -reloadconfig....................................................................... 297 Virtual server commands.................................................................................298 Virtual server overview.......................................................................298 server -volmap................................................................................... 299 server -update.................................................................................... 301 server -getagent.................................................................................301 server -remoteconfig......................................................................... 302 server -register.................................................................................. 303 hypervisor -addvirtualcenter.............................................................. 304 hypervisor -modifyvirtualcenter.........................................................305 hypervisor -removevirtualcenter........................................................305 hypervisor -addesx.............................................................................306 hypervisor -modifyesx........................................................................306 hypervisor -removeesx.......................................................................307 hypervisor -listesx.............................................................................. 307 hypervisor -bypassCert -set...............................................................308 hypervisor -bypassCert -get.............................................................. 308 Host Agent commands....................................................................................309 server -volmap................................................................................... 309 server -update.....................................................................................311 server -getagent.................................................................................312 server -remoteconfig.......................................................................... 312 server -register...................................................................................314 Unisphere Server Utility...................................................................................314 Using the server utility command line to generate a high-availability report................................................................................................. 314 Unisphere Initialization Utility.......................................................................... 317 Using the command line initialization utility.........................................317 Chapter 3 Virtual Pools Commands 319 Virtual Pools overview.....................................................................................320 storagepool -create......................................................................................... 321 storagepool -list.............................................................................................. 324 storagepool -destroy.......................................................................................330 storagepool -modify........................................................................................ 331 storagepool -expand....................................................................................... 333 storagepool -cancelexpand............................................................................. 334 storagepool -feature -info...............................................................................335 storagepool -resumeharvesting.......................................................................336 lun -create.......................................................................................................337 lun -modify......................................................................................................339 lun -expand......................................................................................................341 lun -destroy..................................................................................................... 341 lun -list............................................................................................................342 deduplication -feature -pause......................................................................... 346 deduplication -feature -resume.......................................................................346 deduplication -feature -info.............................................................................347 Chapter 4 Auto-tiering Commands 349 About tiered storage....................................................................................... 350 EMC® VNX® Series Command Line Interface Reference for Block 7 Contents autotiering -schedule -modify..........................................................................351 autotiering -schedule -enable|-disable............................................................ 352 autotiering -relocation -start...........................................................................353 autotiering -relocation -setrate.......................................................................353 autotiering -relocation -pause|-resume...........................................................354 autotiering -relocation -stop........................................................................... 355 autotiering -info..............................................................................................355 Chapter 5 Compression Commands 359 About LUN Compression.................................................................................360 compression -on............................................................................................. 360 compression -pause.........................................................................................361 compression -feature -pause.......................................................................... 362 compression -resume......................................................................................362 compression -feature -resume........................................................................ 363 compression -feature -info............................................................................. 363 compression -modify...................................................................................... 364 compression -off.............................................................................................364 compression -list.............................................................................................365 Chapter 6 FAST Cache Commands 367 Introduction to caching...................................................................................368 cache -fast -create......................................................................................... 369 cache -fast -destroy....................................................................................... 370 cache -fast -info............................................................................................. 370 Chapter 7 EMC Unisphere QoS Manager 373 About Unisphere Quality of Service Manager..................................................374 QoS Manager prerequisites................................................................ 374 QoS Manager CLI commands..........................................................................374 nqm -getlatestperf............................................................................. 374 nqm -info........................................................................................... 375 nqm -ioclass -create...........................................................................376 nqm -ioclass -destroy.........................................................................378 nqm -ioclass -list................................................................................ 378 nqm -ioclass -modify..........................................................................380 nqm -measure.................................................................................... 382 nqm -off.............................................................................................383 nqm -policy -create............................................................................383 nqm -policy -destroy..........................................................................384 nqm -policy -list................................................................................. 385 nqm -policy -modify........................................................................... 386 nqm -run............................................................................................ 387 nqm -schedule -create....................................................................... 388 nqm -schedule -destroy..................................................................... 389 nqm -schedule -list............................................................................ 390 nqm -schedule -modify....................................................................... 391 nqm -schedule -resume......................................................................392 nqm -schedule -suspend.................................................................... 393 nqm -setfallback................................................................................ 394 nqm -setoptions.................................................................................394 nqm -stop.......................................................................................... 395 Client tools..................................................................................................... 395 nqm -archive -dump...........................................................................395 8 EMC® VNX® Series Command Line Interface Reference for Block Contents nqm -archive -retrieve....................................................................... 402 Chapter 8 EMC Unisphere Analyzer 405 About Unisphere Analyzer...............................................................................406 Prerequisites......................................................................................406 Analyzer CLI commands..................................................................................406 analyzer -set...................................................................................... 407 analyzer -get......................................................................................408 analyzer -logging................................................................................408 analyzer -start................................................................................... 409 analyzer -stop.................................................................................... 409 analyzer -status..................................................................................410 analyzer -archive................................................................................ 410 Client tools...................................................................................................... 412 analyzer -archivedump........................................................................412 analyzer -archiveretrieve................................................................... 425 analyzer -archivemerge......................................................................426 Chapter 9 EMC VNX MirrorView/A CLI 429 MirrorView/A remote mirroring commands.....................................................430 MirrorView/A operations overview.....................................................430 MirrorView/A CLI functions................................................................431 mirror -async -addimage.................................................................... 433 mirror -async -change........................................................................435 mirror -async -changeimage.............................................................. 436 mirror -async -create......................................................................... 438 mirror -async -destroy....................................................................... 439 mirror -disablepath.............................................................................440 mirror -enablepath.............................................................................. 441 mirror -async -fractureimage............................................................. 442 mirror -async -info............................................................................. 443 mirror -async -list.............................................................................. 445 mirror -async -promoteimage.............................................................447 mirror -async -removeimage.............................................................. 449 mirror -async -setfeature...................................................................450 mirror -async -syncimage................................................................... 451 MirrorView/A consistency group commands.................................................. 452 mirror -async -creategroup................................................................ 452 mirror -async -destroygroup.............................................................. 453 mirror -async -addtogroup................................................................. 454 mirror -async -removefromgroup.......................................................455 mirror -async -changegroup...............................................................456 mirror -async -syncgroup...................................................................458 mirror -async -fracturegroup............................................................. 458 mirror -async -promotegroup.............................................................459 mirror -async -listgroups....................................................................460 Chapter 10 EMC VNX MirrorView/S CLI 463 MirrorView/S Remote Mirroring commands................................................... 464 MirrorView/S operations overview.....................................................464 MirrorView/S CLI functions............................................................... 466 mirror -sync -addimage...................................................................... 467 mirror -sync -allocatelog.................................................................... 470 mirror -sync -change..........................................................................470 EMC® VNX® Series Command Line Interface Reference for Block 9 Contents mirror -sync -changeimage................................................................ 472 mirror -sync -create........................................................................... 473 mirror -sync -deallocatelog................................................................ 475 mirror -sync -destroy......................................................................... 476 mirror -disablepath............................................................................. 477 mirror -enablepath............................................................................. 478 mirror -sync -fractureimage............................................................... 479 mirror -sync -info...............................................................................480 mirror -sync -list................................................................................ 482 mirror -sync -listsyncprogress........................................................... 484 mirror -sync -listlog............................................................................485 mirror -sync -promoteimage.............................................................. 486 mirror -sync -removeimage................................................................488 mirror -sync -setfeature.....................................................................489 mirror -sync -syncimage.................................................................... 490 MirrorView/S consistency group commands................................................... 491 mirror -sync -creategroup.................................................................. 491 mirror -sync -destroygroup................................................................492 mirror -sync -addtogroup...................................................................493 mirror -sync -removefromgroup.........................................................494 mirror -sync -changegroup................................................................ 496 mirror -sync -syncgroup.....................................................................497 mirror -sync -fracturegroup............................................................... 498 mirror -sync -promotegroup...............................................................498 mirror -sync -listgroups..................................................................... 500 Chapter 11 SAN Copy and its command line utilities 503 Introducing SAN Copy software..................................................................... 504 Preparing a Block system for a copy session.................................................. 504 Connecting SAN Copy ports to storage groups................................. 505 Preparing a Symmetrix system for a copy session.......................................... 507 Preparing a Symmetrix system using EMC ControlCenter SAN Manager .......................................................................................................... 507 Preparing a Symmetrix system using ESN Manager.......................... 508 About admhost for SAN Copy.........................................................................509 admhost SAN Copy command functions......................................................... 510 Preparing logical units for a SAN Copy session................................................512 Preparing source and destination logical units for full and incremental sessions.............................................................................................. 512 SAN Copy CLI commands................................................................................513 SAN Copy command functions........................................................................ 513 sancopy -create.............................................................................................. 515 sancopy -destinfo........................................................................................... 520 sancopy -duplicate..........................................................................................523 sancopy -info.................................................................................................. 523 sancopy -mark................................................................................................ 527 sancopy -modify............................................................................................. 528 sancopy -pause...............................................................................................533 sancopy -remove............................................................................................ 534 sancopy -resume............................................................................................ 535 sancopy -settings........................................................................................... 536 sancopy -start................................................................................................ 538 sancopy -stop................................................................................................. 539 sancopy -throttle............................................................................................ 540 sancopy -transfer............................................................................................ 541 10 EMC® VNX® Series Command Line Interface Reference for Block

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.