Docu52651 VPLEX Command Reference Guide
Docu52651 VPLEX Command Reference Guide
GeoSynchrony
Version Number 5.3
REV 01
Copyright 2014 EMC Corporation. All rights reserved. Published in the USA.
Published March, 2014
EMC 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. EMC Corporation 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 EMC software described in this publication requires an applicable software license.
EMC2, EMC, EMC Centera, EMC ControlCenter, EMC LifeLine, EMC OnCourse, EMC Proven, EMC Snap, EMC SourceOne, EMC Storage
Administrator, Acartus, Access Logix, AdvantEdge, AlphaStor, ApplicationXtender, ArchiveXtender, Atmos, Authentica, Authentic
Problems, Automated Resource Manager, AutoStart, AutoSwap, AVALONidm, Avamar, Captiva, Catalog Solution, C-Clip, Celerra,
Celerra Replicator, Centera, CenterStage, CentraStar, ClaimPack, ClaimsEditor, CLARiiON, ClientPak, Codebook Correlation
Technology, Common Information Model, Configuration Intelligence, Connectrix, CopyCross, CopyPoint, CX, Dantz, Data Domain,
DatabaseXtender, Direct Matrix Architecture, DiskXtender, DiskXtender 2000, Document Sciences, Documentum, elnput, E-Lab,
EmailXaminer, EmailXtender, Enginuity, eRoom, Event Explorer, FarPoint, FirstPass, FLARE, FormWare, Geosynchrony, Global File
Virtualization, Graphic Visualization, Greenplum, HighRoad, HomeBase, InfoMover, Infoscape, InputAccel, InputAccel Express, Invista,
Ionix, ISIS, Max Retriever, MediaStor, MirrorView, Navisphere, NetWorker, OnAlert, OpenScale, PixTools, Powerlink, PowerPath,
PowerSnap, QuickScan, Rainfinity, RepliCare, RepliStor, ResourcePak, Retrospect, RSA, SafeLine, SAN Advisor, SAN Copy, SAN
Manager, Smarts, SnapImage, SnapSure, SnapView, SRDF, StorageScope, SupportMate, SymmAPI, SymmEnabler, Symmetrix,
Symmetrix DMX, Symmetrix VMAX, TimeFinder, UltraFlex, UltraPoint, UltraScale, Unisphere, Viewlets, Virtual Matrix, Virtual Matrix
Architecture, Virtual Provisioning, VisualSAN, VisualSRM, VMAX, VNX, VNXe, Voyence, VPLEX, VSAM-Assist, WebXtender, xPression,
xPresso, YottaYotta, the EMC logo, and the RSA logo, are registered trademarks or trademarks of EMC Corporation in the United States
and other countries. Vblock is a trademark of EMC Corporation in the United States.
All other trademarks used herein are the property of their respective owners.
For the most up-to-date regulatory document for your product line, go to the technical documentation and advisories section on the
EMC online support website.
CONTENTS
Chapter 1
Chapter 2
25
27
28
31
32
32
33
34
35
35
36
37
37
37
37
39
40
42
43
44
45
47
48
49
53
54
55
55
57
57
58
60
61
63
64
64
65
67
69
71
73
74
75
77
79
82
3
Contents
capture begin.............................................................................................. 84
capture end ................................................................................................ 85
capture pause............................................................................................. 85
capture replay............................................................................................. 85
capture resume........................................................................................... 86
cd ............................................................................................................... 86
chart create................................................................................................. 87
cluster add.................................................................................................. 89
cluster cacheflush....................................................................................... 90
cluster configdump ..................................................................................... 91
cluster expel ............................................................................................... 92
cluster forget............................................................................................... 94
cluster shutdown ........................................................................................ 95
cluster status .............................................................................................. 97
cluster summary ....................................................................................... 100
cluster unexpel ......................................................................................... 102
cluster-witness configure .......................................................................... 103
cluster-witness disable ............................................................................. 105
cluster-witness enable .............................................................................. 107
collect-diagnostics .................................................................................... 112
configuration complete-system-setup ....................................................... 114
configuration configure-auth-service ......................................................... 115
configuration connect-local-directors ........................................................ 116
configuration connect-remote-directors..................................................... 117
configuration continue-system-setup ........................................................ 118
configuration cw-vpn-configure ................................................................. 118
configuration cw-vpn-reset........................................................................ 121
configuration enable-front-end-ports......................................................... 123
configuration event-notices-reports config ................................................ 123
configuration event-notices-reports reset .................................................. 126
configuration event-notices-reports-show ................................................. 128
configuration get-product-type .................................................................. 129
configuration join-clusters ........................................................................ 130
configuration metadata-backup ................................................................ 130
configuration register-product ................................................................... 132
configuration remote-clusters add-addresses ........................................... 134
configuration remote-clusters clear-addresses ......................................... 135
configuration short-write........................................................................... 137
configuration show-meta-volume-candidates ............................................ 137
configuration subnet clear ........................................................................ 138
configuration subnet remote-subnet add .................................................. 140
configuration subnet remote-subnet remove ............................................. 141
configuration sync-time............................................................................. 142
configuration sync-time-clear .................................................................... 144
configuration sync-time show.................................................................... 145
configuration system-reset........................................................................ 145
configuration system-setup....................................................................... 146
configuration upgrade-meta-slot-count ..................................................... 148
connect..................................................................................................... 149
connectivity director ................................................................................. 151
connectivity show ..................................................................................... 153
connectivity validate-be ............................................................................ 154
connectivity validate-wan-com .................................................................. 156
connectivity window set ............................................................................ 158
connectivity window show ........................................................................ 160
4
Contents
161
162
164
166
169
170
171
172
175
178
180
182
183
184
186
186
186
187
189
190
193
195
197
198
199
200
201
203
204
205
205
207
208
209
209
210
211
213
214
214
215
216
217
218
218
219
220
222
224
225
227
228
229
229
231
5
Contents
ds rule island-containing...........................................................................
ds rule-set copy ........................................................................................
ds rule-set create ......................................................................................
ds rule-set destroy ....................................................................................
ds rule-set what-if .....................................................................................
ds summary ..............................................................................................
event-test .................................................................................................
exec..........................................................................................................
exit ...........................................................................................................
export initiator-port discovery ...................................................................
export initiator-port register ......................................................................
export initiator-port register-host ..............................................................
export initiator-port show-logins ...............................................................
export initiator-port unregister ..................................................................
export port summary.................................................................................
export storage-view addinitiatorport .........................................................
export storage-view addport......................................................................
export storage-view addvirtualvolume.......................................................
export storage-view checkconfig................................................................
export storage-view create ........................................................................
export storage-view destroy ......................................................................
export storage-view find............................................................................
export storage-view find-unmapped-volumes ............................................
export storage-view map ...........................................................................
export storage-view removeinitiatorport ....................................................
export storage-view removeport ................................................................
export storage-view removevirtualvolume .................................................
export storage-view show-powerpath-interfaces........................................
export storage-view summary....................................................................
export target-port renamewwns.................................................................
extent create.............................................................................................
extent destroy ...........................................................................................
extent summary ........................................................................................
getsysinfo .................................................................................................
health-check .............................................................................................
help ..........................................................................................................
history ......................................................................................................
iscsi chap back-end add-credentials .........................................................
iscsi chap back-end disable ......................................................................
iscsi chap back-end enable .......................................................................
iscsi chap back-end list-credentials...........................................................
iscsi chap back-end remove-credentials ....................................................
iscsi chap back-end remove-default-credential..........................................
iscsi chap back-end set-default-credential.................................................
iscsi chap front-end add-credentials .........................................................
iscsi chap front-end disable ......................................................................
iscsi chap front-end enable .......................................................................
iscsi chap front-end list-credentials...........................................................
iscsi chap front-end remove-credentials ....................................................
iscsi chap front-end remove-default-credential..........................................
iscsi chap front-end set-default-credential.................................................
iscsi check-febe-connectivity.....................................................................
iscsi isns add ............................................................................................
iscsi isns list .............................................................................................
iscsi isns remove.......................................................................................
6
232
233
234
234
235
236
242
243
243
244
245
246
247
248
248
250
251
251
253
254
255
255
256
257
258
259
259
260
260
262
262
264
264
266
267
274
276
276
277
278
279
280
281
282
283
284
285
286
287
287
288
289
290
291
293
Contents
294
295
296
297
298
299
299
302
303
304
305
306
306
307
308
308
309
313
313
315
317
317
319
320
320
321
322
326
326
327
328
330
331
332
333
334
336
337
337
338
339
340
340
344
347
348
350
351
353
353
354
355
355
357
357
7
Contents
plugin register...........................................................................................
popd.........................................................................................................
pushd .......................................................................................................
rebuild set-transfer-size ............................................................................
rebuild show-transfer-size.........................................................................
rebuild status............................................................................................
report aggregate-monitors.........................................................................
report capacity-arrays ...............................................................................
report capacity-clusters.............................................................................
report capacity-hosts ................................................................................
report create-monitors ..............................................................................
report poll-monitors ..................................................................................
rp import-certificate ..................................................................................
rp rpa-cluster add .....................................................................................
rp rpa-cluster remove ................................................................................
rp summary...............................................................................................
rp validate-configuration ...........................................................................
schedule add ............................................................................................
schedule list .............................................................................................
schedule modify .......................................................................................
schedule remove.......................................................................................
scheduleSYR add ......................................................................................
scheduleSYR list .......................................................................................
scheduleSYR remove.................................................................................
script ........................................................................................................
security create-ca-certificate .....................................................................
security create-certificate-subject..............................................................
security create-host-certificate ..................................................................
security delete-ca-certificate .....................................................................
security delete-host-certificate ..................................................................
security export-ca-certificate .....................................................................
security export-host-certificate..................................................................
security import-ca-certificate.....................................................................
security import-host-certificate .................................................................
security ipsec-configure ............................................................................
security remove-login-banner....................................................................
security renew-all-certificates....................................................................
security set-login-banner ..........................................................................
security set-login-banner ..........................................................................
security show-cert-subj .............................................................................
sessions ...................................................................................................
set ............................................................................................................
set topology..............................................................................................
show-use-hierarchy...................................................................................
sms dump.................................................................................................
snmp-agent configure ...............................................................................
snmp-agent start.......................................................................................
snmp-agent status ....................................................................................
snmp-agent stop.......................................................................................
snmp-agent unconfigure ...........................................................................
source.......................................................................................................
storage-tool compose ...............................................................................
storage-volume auto-unbanish-interval.....................................................
storage-volume claim................................................................................
storage-volume claimingwizard .................................................................
8
358
359
359
360
361
362
362
363
366
367
368
370
371
372
377
378
380
383
383
384
384
385
386
386
387
388
391
393
395
396
397
398
399
400
401
403
404
408
409
410
410
411
414
415
417
419
420
420
421
421
421
422
423
425
428
Contents
Chapter 3
431
431
433
433
435
438
439
441
441
443
444
445
446
447
448
449
450
450
451
452
452
453
454
455
456
458
461
462
464
468
469
470
474
476
478
479
479
480
480
481
482
482
483
483
484
485
486
486
486
487
487
487
Contents
Monitoring/statistics ................................................................................
System status: connectivity, summaries, and reports ..........................
Diagnostics, dumps, healthchecks......................................................
Security/authentication ............................................................................
Cluster Witness .........................................................................................
RecoverPoint.............................................................................................
Configuration/EZ-Setup.............................................................................
Miscellaneous...........................................................................................
10
487
488
488
488
489
489
489
490
PREFACE
As part of an effort to improve its product lines, EMC periodically releases revisions of its
software and hardware. Therefore, some functions described in this document might not
be supported by all versions of the software or hardware currently in use. The product
release notes provide the most up-to-date information on product features.
Contact your EMC representative if a product does not function properly or does not
function as described in this document.
Note: This document was accurate at publication time. New versions of this document
might be released on the EMC online support website. Check the EMC online support
website to ensure that you are using the latest version of this document.
About this guide
This document is part of the VPLEX documentation set, and describes the VPLEX
command line interface. Each major section includes introductory information and a
general procedure for completing a task.
The introductory information and detailed steps for each procedure appear in the
EMC VPLEX Management Console online help so you have the complete information
available when you actually configure and manage the storage environment, should
you require help.
This guide is part of the Management Console documentation set, and is intended for
use by customers and service providers who use the VPLEX CLI to configure and
manage a storage environment.
amp register
amp unregister
array register
configuration short-write
11
Preface
Modified Commands
for VPLEX
12
iscsi check-febe-connectivity
storage-tool compose
virtual-volume provision
authentication directory-service configure - The -m option is no longer supported. Added -g and -u options for
managing access to the management server by groups and users. New example added for configuring the
Active Directory Service with custom attributes, and a new example for configuring the Open LDAP server on
the management server.
authentication directory-service map - Added note about the -m, -u, and -g command options. Removed
ldap.conf file sentence from command description. Added new examples for user and user group mappings to
VPLEX cluster.
authentication directory service show - Changed the command output example and mapped principal
description in Table 1 to specify users and/or groups are mapped to the directory server.
authentication directory-service unmap - Added note about the -m, -u, and -g command options. Removed
ldap.conf file sentence from command description.
cache-invalidate - Updated the command description with the four types of command output/results. Added a
new example and updated other examples to show command results.
configuration connect-remote-directors - New command options --remote-ip and --force and new examples.
configuration subnet clear - New command to clear subnets in all subnet contexts in the new
/clusters/*/connectivity context. Use the legacy subnet clear command to clear subnets in
/clusters/*/cluster-connectivity/subnets.
Preface
Removed Commands
for VPLEX
configuration sync-time - Changed to reflect that cluster 1 synchronizes to an external NTP server, and cluster 2
synchronizes to cluster 1. Replaced example for running a synchronization task on cluster 2.
export initiator-port register - New information about working with iSCSI initiators
logging-volume create - Added new vias-based attribute to Table 17 Logging volume display fields.
monitor stat-list - Replaced outdated command output example with new example showing categories.
rp import-certificate - Added a cautionary note about VPLEX Integrated Array Services provisioning.
rp rpa-cluster add - Added consistency group contexts and descriptions for copies, links, and replication sets in
Table 19 RecoverPoint display fields. New examples for the consistency group contexts added.
storage-volume-unclaim - Added argument --return-to-pool. This argument returns the storage capacity of
each VIAS-based volume to the pool on the corresponding storage array. Additional note about differing results
when using this command on VIAS and non-VIAS based storage arrays.
ds rule island-size
ptov describe-be-zoning
ptov lun-mask-be-storage
ptov query-be-storage
ptov suggest-be-zoning-and-masking
ptov suggest-ports-to-use
ptov verify-be-storage
ptov verify-be-zoning
All the attributes from the cluster-connectivity/ context are present in the
connectivity/wan-com/ context.
13
Preface
Member-ports is now a context instead of an attribute. The fields that are part of the
string representation of a member-port under the cluster-connectivity context are now
table columns in a long listing (ll) of a connectivity/**/member-ports/ context.
Inside cluster-connectivity/port-groups/port-group-0:
subnet is the name of a subnet from cluster-connectivity/subnets
option-set is the name of a subnet from cluster-connectivity/option-sets
If the subnet=cluster-1-SN00 and option-set=optionset-com-0, then
Old: cluster-connectivity/subnets/cluster-1-SN00/
New: connectivity/wan-com/port-groups/ip-port-group-0/subnet/
Old: cluster-connectivity/option-sets/optionset-com-0
New: connectivity/wan-com/port-groups/ip-port-group-0/option-set/
There is no longer any need or ability to set the subnet used by a port-group.
Cluster-connectivity
Context (Deprecated)
Cluster-connectivity
This context contains information for cluster connectivities.
Context
/clusters/cluster-*/cluster-connectivity
Position
Parent - cluster-*
14
Preface
Option-sets
Option-set configuration for IP wan-com.
Context
/clusters/cluster-*/cluster-connectivity/option-sets/*
Position
Parent - cluster-connectivity (deprecated)
Children - None
Context-Specific Commands
None
Data Structure
connection-open-timeout
keepalive-timeout
socket-buf-size
Notes
The currently-used option-set context is replaced by:
/clusters/cluster-*/connectivity/wan-com/port-groups/ip-port-group-*/option-set
Port-groups
A communication channel for IP wan-com composed of one port from each director of the
local cluster.
Context
/clusters/cluster-*/cluster-connectivity/port-groups/port-group-0
/clusters/cluster-*/cluster-connectivity/port-groups/port-group-1
Position
Parent - cluster-connectivity
EMC VPLEX CLI Reference Guide
15
Preface
Children - None
Context-Specific Commands
None
Data Structure
enabled
member-ports
option-set
subnet
Notes
This context is replaced by Ethernet port-groups:
/clusters/cluster-*/connectivity/wan-com/port-groups/ip-port-group-0
/clusters/cluster-*/connectivity/wan-com/port-groups/ip-port-group-1
Subnets
Network configuration for IP wan-com.
Context
/clusters/cluster-*/cluster-connectivity/subnets/*
Position
Parent - cluster-connectivity
Children - None
Context-Specific Commands
In container context:
clear
create
destroy
modify
Preface
/clusters/cluster-*/connectivity/wan-com/port-groups/ip-port-group-*/subnet
Named subnet instance contexts are created in the subnets container context by the
command subnet create and are removed by the command subnet destroy.
New Connectivity
Context (Upgrade)
Connectivity
This context contains information about all network connectivities.
Context
/clusters/cluster-*/connectivity
Position
Parent - cluster-*
Children - back-end, front-end, local-com, wan-com
Context-Specific Commands
None
Data Structure
None
Notes
This context replaces:
/clusters/cluster-*/cluster-connectivity
Back-end
Configuration of back-end connectivity to arrays.
Context
/clusters/cluster-*/connectivity/back-end
Position
Parent - connectivity
Children - port-groups
Context-Specific Commands
None
Data Structure
None
Front-end
Configuration of front-end connectivity to hosts.
Context
/clusters/cluster-*/connectivity/front-end
Position
17
Preface
Parent - connectivity
Children - port-groups
Context-Specific Commands
None
Data Structure
None
Local-com
Configuration for local-com inter-director connectivity.
Context
/clusters/cluster-*/connectivity/local-com
Position
Parent - connectivity
Children - port-groups
Context-Specific Commands
None
Data Structure
None
Wan-com
Configuration for wan-com inter-cluster connectivity.
Context
/clusters/cluster-*/connectivity/wan-com
Position
Parent - connectivity
Children - port-groups
Context-Specific Commands
remote-clusters add-addresses
remote-clusters clear-addresses
Data Structure
discovery-address
discovery-port
listening-port
remote-cluster-addresses
18
Preface
Port-groups
Communication channels formed by one port from each director in the local cluster.
Context
/clusters/cluster-*/connectivity/*/port-groups
Position
Parent - back-end, front-end, local-com, wan-com
Children - Ethernet-port-group, Fc-port-group
Context-Specific Commands
None
Data Structure
None
Notes
Port-groups are named according to the type (Ethernet: ip/iscsi, Fibre Channel: fc) and
numbering of the ports they contain. The existence of port-group instance contexts is
determined by the ports on the system. IP port-groups will only exist if Ethernet ports exist
and are assigned to the communication role associated with this context. Likewise, FC
port-groups will only exist if there are appropriate Fibre Channel ports.
Ethernet port-group
Communication channel composed of one Ethernet port from each director in the local
cluster.
Context
/clusters/cluster-*/connectivity/*/port-groups/ip-port-group-*
/clusters/cluster-*/connectivity/*/port-groups/iscsi-port-group-*
Position
Parent - port-groups
Children - member-ports, option-set, subnet
Context-Specific Commands
subnets clear
subnet remote-subnet add
subnet remote-subnet remove
Data Structure
enabled
Notes
Port-groups are named according to the role (local-com/wan-com: ip, front-end/back-end:
iscsi) and numbering of the ports they contain. The existence of port-group instance
contexts is determined by the ports on the system. IP/iSCSI port-groups will only exist if
Ethernet ports exist and are assigned to the role associated with this context.
19
Preface
Member-ports
A member port in a port-group.
Context
/clusters/cluster-*/connectivity/*/port-groups/*/member-ports/director-*
Position
Parent - Ethernet-port-group, Fc-port-group
Children - None
Context-Specific Commands
None
Data Structure
address director enabled engine port-name
Notes
Each member-port sub-context is named for the director to which the member port
belongs. This naming convention avoids the name collision caused when a port has the
same name on each director.
A long listing (ll) of the member-ports container context summarizes the information from
each member port:
Director
-------------director-1-1-A
director-1-1-B
director-1-2-A
director-1-2-B
20
Port
----ETH04
ETH04
ETH04
ETH04
Enabled
------enabled
enabled
enabled
enabled
Address
------------192.168.11.35
192.168.11.36
192.168.11.37
192.168.11.38
Preface
Option-sets
Option-set configuration for Ethernet port-groups.
Context
/clusters/cluster-*/connectivity/*/port-groups/ip-port-group*/option-set
/clusters/cluster-*/connectivity/*/port-groups/iscsi-port-group*/option-set
Position
Parent - Ethernet-port-group
Children - None
Context-Specific Commands
None
Data Structure
connection-open-timeout
keepalive-timeout
socket-buf-size
All roles:
clear
All roles:
mtu
prefix
21
Preface
remote-subnets
Wan-com only:
cluster-address
gateway
proxy-external-address
remote-subnet-address
Related
documentation
Conventions used in
this document
A caution contains information essential to avoid data loss or damage to the system or
equipment.
IMPORTANT
An important notice contains information essential to operation of the software.
22
Preface
Typographical conventions
EMC uses the following type style conventions in this document:
Normal
Bold
Italic
Courier
Used for:
System output, such as an error message or script
URLs, complete paths, filenames, prompts, and syntax when shown
outside of running text
Courier bold
Used for:
Specific user input (such as commands)
Courier italic
[]
{}
...
Technical support For technical support, go to the EMC Support site. To open a service
request, you must have a valid support agreement. Please contact your EMC sales
representative for details about obtaining a valid support agreement or to answer any
questions about your account.
23
Preface
Your comments
Your suggestions will help us continue to improve the accuracy, organization, and overall
quality of the user publications. Please send your opinion of this document to:
techpubcomments@EMC.com
24
CHAPTER 1
Using the VPLEX CLI
This chapter covers the following topics.
25
27
28
31
1. Log in to the service account at the cluster's management server's public IP address
using an SSH client (PuTTY or OpenSSH). Configure the SSH client as follows:
Port 22
SSH protocol version is set to 2
Scrollback lines set to 20000
The log in prompt appears:
login as:
3. Type the service password and press ENTER. The default password is Mi@Dim7T. A
server prompt appears:
service@ManagementServer:~>
4. Type the vplexcli command to connect to the VPLEX command line interface:
service@ManagementServer:~> vplexcli
Several messages are displayed, and a username prompt appears:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Enter User Name:
6. Type the service password and press ENTER. The default password is Mi@Dim7T.
Using the VPLEX CLI
25
Log out
Use the exit command to exit the VPLEX command line interface from any context.
For example:
VPlexcli:/clusters> exit
Connection closed by foreign host.
Password Policies
Password policies do not apply to users configured using the LDAP server.
The Password inactive days policy does not apply to the admin account to protect the
admin user from account lockouts.
During the management server software upgrade, an existing users password is not
changedonly the users password age information changes.
Table 1 lists and describes the password policies and the default values.
Table 1
26
Description
Default value
Minimum password
length
14
Maximum password
age
90
Password expiry
warning
15
The password policy for existing admin and customer-created user accounts is updated
automatically as part of the upgrade. See the VPLEX Security Configuration Guide for
information about service user account passwords.
Valid Password
Characters
A-Z
a-z
0-9
. ? / * @ ^ % # + = - _ ~ : space
Note: A space is allowed only between the characters in a password, not in the beginning
or the end of the password
clusters/ - Create and manage links between clusters, devices, extents, system
volumes and virtual volumes. Register initiator ports, export target ports, and storage
views.
data-migrations/ - Create, verify, start, pause, cancel, and resume data migrations of
extents or devices.
engines/ - Configure and manage directors, fans, management modules, and power.
27
Except for system-defaults/, each of the sub-contexts contains one or more sub-contexts
to configure, manage, and display sub-components.
Command contexts have commands that can be executed only from that context. The
command contexts are arranged in a hierarchical context tree. The topmost context is the
root context, or /.
For example, to navigate from the root (/) context to the connectivity context to view
member ports for a specified iscsi-port-group:
VPlexcli:/> cd /clusters
VPlexcli:/clusters> cd cluster-1
VPlexcli:/clusters/cluster-1> cd connectivity
VPlexcli:/clusters/cluster-1/connectivity> cd back-end
VPlexcli:/clusters/cluster-1/connectivity/back-end> cd port-groups
VPlexcli:/clusters/cluster-1/connectivity/back-end/port-groups> cd
iscsi-port-group-8
VPlexcli:/clusters/cluster-1/connectivity/back-end/port-groups/iscsi-p
ort-group-8> cd member-ports
VPlexcli:/clusters/cluster-1/connectivity/back-end/port-groups/iscsi-p
ort-group-8/member-ports> ll
Director
Port
Enabled Address
---------------------------------------director-1-1-A ETH08 enabled 10.10.100.100
director-1-1-B ETH08 enabled 10.10.100.101
director-1-2-A ETH08 enabled 10.10.100.102
director-1-2-B ETH08 enabled 10.10.100.103
Alternatively, type all the context identifiers in a single command. For example, the above
navigation can be typed as:
VPlexcli:/> cd
clusters/cluster-1/connectivity/back-end/port-groups/iscsi-port-gro
up-8/member-ports> ll
Use the cd command with no arguments or followed by three periods (cd...) to return to
the root context:
VPlexcli:/engines/engine-1-1/fans> cd
VPlexcli:/>
28
Use the cd command followed by two periods (cd..) to return to the context immediately
above the current context:
VPlexcli:/monitoring/directors/director-1-1-B> cd ..
VPlexcli:/monitoring/directors>
To navigate directly to a context from any other context use the cd command and specify
the absolute context path. In the following example, the cd command changes the context
from the data migrations/ extent-migrations context to the engines/engine-1/fans
context:
VPlexcli:/data-migrations/extent-migrations> cd
/engines/engine-1-1/fans/
VPlexcli:/engines/engine-1-1/fans>
Use the pushd directory command to save the current directory, and jump to the
specified directory.
Once a directory is added to the pushd stack, use the pushd command with no
argument to switch back to the previous directory.
In the following example, pushd toggles between the engines and monitoring parent
contexts:
VPlexcli:/engines/engine-1-1/directors/director-1-1-A> pushd
/monitoring/directors/director-1-1-A
[/monitoring/directors/director-1-1-A,
/engines/engine-1-1/directors/director-1-1-A,
/monitoring/directors/director-1-1-A]
VPlexcli:/monitoring/directors/director-1-1-A> pushd
[/engines/engine-1-1/directors/director-1-1-A,
/monitoring/directors/director-1-1-A,
/monitoring/directors/director-1-1-A]
VPlexcli:/engines/engine-1-1/directors/director-1-1-A> pushd
[/monitoring/directors/director-1-1-A,
/engines/engine-1-1/directors/director-1-1-A,
/monitoring/directors/director-1-1-A]
VPlexcli:/monitoring/directors/director-1-1-A>
Use the popd command to remove the last directory saved by the pushd command
and jump to the new top directory.
In the following example, the dirs command displays the context stack saved by the
pushd command, and the popd command removes the top directory, and jumps to the
new top directory:
VPlexcli:/engines/engine-1-1/directors/director-1-1-A> dirs
[/engines/engine-1-1/directors/director-1-1-A,
/monitoring/directors/director-1-1-A]
29
VPlexcli:/engines/engine-1-1/directors/director-1-1-A> popd
[/engines/engine-1-1/directors/director-1-1-A]
VPlexcli:/monitoring/directors/director-1-1-A>
VPlexcli:/monitoring/directors/director-1-1-B/monitors>
The ls command displays the sub-contexts immediately accessible from the current
context:
VPlexcli:/> ls
clusters
data-migrations
engines
management-server
notifications system-defaults
distributed-storage
monitoring
For contexts where the next lowest level is a list of individual objects, the ls command
displays a list of the objects:
VPlexcli:/clusters/cluster-1/exports/ports> ls
P000000003B2017DF-A0-FC00 P000000003B2017DF-A0-FC01
P000000003B2017DF-A0-FC02 P000000003B2017DF-A0-FC03
P000000003B3017DF-B0-FC00 P000000003B3017DF-B0-FC01
P000000003B3017DF-B0-FC02 P000000003B3017DF-B0-FC03
extent-migrations/
The tree command displays the immediate sub-contexts in the tree using the current
context as the root:
VPlexcli:/ cd /clusters/cluster-1/devices/Symm_rC_3
VPlexcli:/clusters/cluster-1/devices/Symm_rC_3> tree
/clusters/cluster-1/devices/Symm_rC_3:
components
Symm_rC_3_extent_0
30
Symm_rC_3_extent_1
The tree -e command displays immediate sub-contexts in the tree and any
sub-contexts under them:
VPlexcli:/clusters/cluster-1/devices/Symm_rC_3> tree -e
/clusters/cluster-1/devices/Symm_rC_3:
components
Symm_rC_3_extent_0
components
Symm0487_44C
components
Symm_rC_3_extent_1
components
Symm0487_44B
components
Note: For contexts where the next level down the tree is a list of objects, the tree command
displays the list. This output can be very long. For example:
VPlexcli:/clusters/cluster-1> tree
/clusters/cluster-1:
cluster-connectivity
cluster-links
to-cluster-2
proxy-servers
static-routes
devices
base0
components
extent_CX4_lun0_1
components
CX4_lun0
components
.
.
.
exports
initiator-ports
LicoJ006_hba0
LicoJ006_hba1
.
.
.
ports
P000000003CA00147-A0-FC00
P000000003CA00147-A0-FC01
.
.
.
storage-views
LicoJ009
LicoJ013
storage-elements
extents
extent_CX4_Logging_1
.
.
.
31
Global commands that can be used in any context. For example: cd, date, ls, exit, user,
and security.
Context-specific commands that can be used only in specific contexts. For example, to
use the copy command, the context must be /distributed-storage/rule-sets.
Use the help command to display a list of all commands (including the global commands)
available from the current context.
Use the help -G command to display a list of available commands in the current context
Some contexts inherit commands from their parent context. These commands can be
used in both the current context and the context immediately above in the tree:
VPlexcli:/distributed-storage/bindings> help -G
Commands inherited from parent contexts:
dd rule rule-set summary
Some commands are loosely grouped by function. For example, the commands to create
and manage performance monitors start with the word monitor.
Use the <Tab> key display the commands within a command group. For example, to display
the commands that start with the word monitor, type monitor followed by the <Tab>
key:
VPlexcli:/> monitor <Tab>
add-console-sink
destroy
stat-list
add-file-sink
remove-sink
collect
create
Page output
For large configurations, output from some commands can reach hundreds of lines.
Paging displays long output generated by the ll and ls commands one page at a time:
To enable paging, add -p at the end of any command:
VPlexcli:/clusters/cluster-1/storage-elements>
ls storage-volumes -p
One page of output is displayed. The following message is at the bottom of the first page:
-- more --(TOP )- [h]elp
Tab completion
Use the Tab key to:
32
Complete a
command
Complete a command
Use the Tab key to automatically complete a path or command until the path/command is
no longer unique.
For example, to navigate to the UPS context on a single cluster (named cluster-1), type:
cd /clusters/cluster-1/uninterruptible-power-supplies/
2. There is only one cluster (it is unique). Press Tab to automatically specify the cluster:
cd /clusters/cluster-1/
Press Tab after typing a partial context path to display a list of valid commands and/or
contexts for the current context:
VPlexcli:/> cd /clusters/cluster-1/ <Tab>
cluster-connectivity/
exports/
system-volumes/
virtual-volumes/
devices/
storage-elements/
uninterruptible-power-supplies/
VPlexcli:/> cd /clusters/cluster-1/
Display command
arguments
Press Tab after typing a command name to display the commands arguments. For
example:
VPlexcli:/> monitor <Tab>
add-console-sink
create
add-file-sink
destroy
collect
remove-sink stat-list
Wildcards
The VPLEX command line interface includes 3 wildcards:
* - matches any number of characters.
? - matches any single character.
[a|b|c] - matches any of the single characters a or b or c.
33
* wildcard
Use the * wildcard to apply a single command to multiple objects of the same type
(directors or ports). For example, to display the status of ports on each director in a
cluster, without using wildcards:
ll
ll
ll
ll
.
.
.
engines/engine-1-1/directors/director-1-1-A/hardware/ports
engines/engine-1-1/directors/director-1-1-B/hardware/ports
engines/engine-1-2/directors/director-1-2-A/hardware/ports
engines/engine-1-2/directors/director-1-2-B/hardware/ports
Alternatively:
ll engines/engine-1-*/directors/*/hardware/ports
** wildcard
Use the ** wildcard to match all contexts and entities between two specified objects. For
example, to display all director ports associated with all engines without using wildcards:
ll /engines/engine-1-1/directors/director-1-1-A/hardware/ports
ll /engines/engine-1-1/directors/director-1-1-B/hardware/ports
.
.
.
Alternatively, use a ** wildcard to specify all contexts and entities between /engines and
ports:
ll /engines/**/ports
? wildcard
Use the [a|b|c] wildcard to match one or more characters in the brackets.
ll engines/engine-1-1/directors/director-1-1-A/hardware/ports/A[0-1]
displays only ports with names starting with an A, and a second character of 0 or 1.
Names
Major components of the VPLEX are named as follows:
Engines are named <engine-n-n> where the first value is the cluster ID (1 or 2) and the
second value is the engine ID (1-4).
VPlexcli:/engines/engine-1-2/
34
Directors are named <director-n-n-n> where the first value is the cluster ID (1 or 2), the
second value is the engine ID (1-4), and the third is A or B.
VPlexcli:/engines/engine-1-1/directors/director-1-1-A
For objects that can have user-defined names, those names must comply with the
following rules:
No spaces
Specifying addresses
VPLEX uses both IPv4 and IPv6 addressing. Many commands can be specified as IPv4 or
IPv6 formats.
Refer to the EMC VPLEX Administration Guide for usage rules and address formats.
Command globbing
Command globbing combines wildcards and context identifiers in a single command.
Globbing can address multiple entities using a single command.
Example 1
In the following example, a single command enables ports in all engines and all directors
(A and B) whose name include 0-FC and 1-FC:
set /engines/*/directors/*/hardware/ports/*[0-1]-FC*:: enabled true
Example 2
The [0-1] limits the selections to all port numbers that start with A0, A1, B0, or B1.
Fourth * wildcard All ports whose numbers start with A0-FC, A1-FC, B0-FC, or B1-FC.
To display the status of all the director ports on a large configuration using no wildcards,
type:
ll /engines/engine-1-<Enclosure_ID>/directors/<director_
name>/hardware/ports
35
Type the command with the arguments with identifiers in any order (not as specified by
the syntax):
VPlexcli:/> alias --to "cd clusters" --name cdc
or,
Type the command with the arguments without identifiers in the order specified by the
command syntax:
VPlexcli:/> alias cdc "cd clusters"
--verbose argument
The --verbose argument displays additional information for some commands. For
example, without --verbose argument:
VPlexcli:/> connectivity validate-be
Summary
Cluster cluster-1
This cluster has 0 storage-volumes which do not have dual paths
This cluster has 0 storage-volumes which are not visible from all directors
Summary
Cluster cluster-2
This cluster has
This cluster has
This cluster has
Cluster cluster-1
This cluster has
This cluster has
This cluster has
36
To search for a command typed in the current CLI session, press Ctrl-r.
The reverse search prompt is displayed:
(reverse-i-search)'':
Type the first letter of the command to search for. After the first letter is typed, the
search tool displays a list of possible matches.
Use the history nn command to display the last nn entries in the list:
VPlexcli:/clusters/cluster-1> history 22
478 ls storage-volumes -p
479 cd clusters/cluster-1/
480 ls storage-volumes
481 cd storage-elements/
482 ls storage-volumes -p
Get help
Use the help or ? command with no arguments to display all the commands available,
the current context, including global commands.
Use the help or ? command with -G argument to display all the commands available,
the current context, excluding global commands:
VPlexcli:/clusters> help -G
Commands specific to this context and below:
add cacheflush configdump expel forget shutdown summary unexpel
Use the help command or command -help to display help for the specified command.
37
38
CHAPTER 2
VPLEX CLI Command Descriptions
This chapter describes each of the VPLEX CLI commands in alphabetical order.
advadm dismantle
Dismantles VPLEX storage objects down to the storage-volume level, and optionally
unclaims the storage volumes.
Contexts
Syntax
Arguments
All contexts.
advadm dismantle
[-r|--devices] context path,context path
[-v|--virtual-volumes] context path,context path
[--unclaim-storage-volumes]
[-f|--force]
Required arguments
[-r|--devices] context path,context path... - One or more devices to dismantle. Entries must
be separated by commas. Glob patterns may be used.
[-v|--virtual-volumes] context path,context path... - One or more virtual volume(s) to
dismantle. Entries must be separated by commas. Glob patterns may be used.
Optional arguments
--unclaim-storage-volumes - Unclaim the storage volumes after the dismantle is
completed.
[-f|--force] - Force the dismantle without asking for confirmation. Allows the command to
be run from a non-interactive script.
Description
39
Example
In the following example, the specified volumes are NOT dismantled because they are
exported or are members of a consistency group:
See also
alias
Creates a command alias.
Contexts
Syntax
Arguments
All contexts.
alias
[-n|--name] name
[-t|--to] commands and arguments to include
in the new alias
Required arguments
[-n|name] name - * The name of the new alias.
Up to 63 characters.
May contain letters, numbers, and underscores '_'. s
Cannot start with a number.
[-t|--to] commands and arguments - * A string of commands and arguments enclosed in
quote marks. This string is invoked when the aliased command is used.
* - argument is positional.
Description
40
Aliases are shortcuts for frequently used commands or commands that require long
strings of context identifiers.
Use the alias command with no arguments to display a list of all aliases configured on the
VPLEX.
Use the alias name command to display the underlying string of the specified alias.
Use the alias name string of CLI commands command to create an alias with the
specified name that invokes the specified string of commands.
Use the unalias command to delete an alias.
The following aliases are pre-configured:
?
Create an alias:
Use an alias:
VPlexcli:/> mon-Dir-1-1-B
VPlexcli:/monitoring/directors/director-1-1-B>
See also
ls on page 393
41
amp register
Associates Array Management Provider to a single VPLEX Cluster.
Contexts
Syntax
Description
/clusters/ClusterName/storage-elements/array-providers
amp register
[-n | --name] name
[-i | --ip-address] ip-address of Array Management Provider
[-u | --username] user name
[-t | --provider-type] provider type
[-p | --port-number] port number
[-c | --cluster] cluster context path
[-s | --use-ssl]
[-h | --help]
[--verbose]
Arguments
Required arguments
[-n | --name] name - * The name of the Array Management Provider.
[-i | --ip-address] ip-address of Array Management Provider - * The IP address of the
Array Management Provider.
[-u | --username] user name - * The user name required for connecting to the Array
Management Provider.
[-t | --provider-type] provider type - * The type of Array Management Provider. SMI-S is
currently the only provider type supported.
[-p | --port-number] port number - * The port number to use along with the IP-address to
construct the URL indicating the Array Management Provider.
* - positional argument
Optional Arguments
[-c | --cluster] cluster context path - The VPLEX cluster associated with the Array
Management Provider. This argument may be omitted when the command is executed
from or below a cluster context (meaning the cluster is implied).
[-s | --use-ssl] - Specifies whether to use HTTP or HTTPS (SSL) protocol when
connecting to the Array Management Provider URL.
[-h |--help] - Displays the usage for this command.
[--verbose] - Provides more output during command execution.
42
Example
Example
See also
amp unregister
Unregisters Array Management Provider.The Array Management provider is no longer
available for any operations after being unregistered.
Contexts
Syntax
Description
/clusters/ClusterName/storage-elements/array-providers
amp unregister
[-n | --array-provider] array-provider context path
[-c | --cluster] cluster context
[-f | --force]
[-h | --help]
[--verbose]
In the initial release, the CLI provides no validation for this command. Therefore, always
ensure the AMP is safe to remove before unregistering a provider. For example, ensure
the AMP is not currently in use or required by any provisioned volumes. In the future,
validation will be added for this command.
Arguments
Required arguments
[-n | --array-provider] array-provider context path - * The array management provider to
unregister.
* - positional argument
amp unregister
43
Optional Arguments
[-c | --cluster] cluster context - The cluster associated with the Array Management Provider.
Can be omitted when the command is executed from or below a cluster context in which
case the cluster is implied.
[-f | --force] - Force the operation without confirmation. Allows the command to be
run from a non-interactive script.
[-h |--help] - Displays the usage for this command.
[--verbose] - Provides more output during command execution.
Example
Example
See also
array claim
Claims and names unclaimed storage volumes for a given array.
Contexts
Syntax
Arguments
All contexts.
array claim
[-s|--storage-array] context-path
[-m|--mapping-file] mapping file
[-t|--tier]
[-l|--claim]
[--force]
Required arguments
[-s|--storage-array] context-path - * Context path of the storage-array on which to claim
storage volumes.
Optional arguments
[-m|--mapping-file] mapping file - Location of the name mapping file.
[-t|--tier] mapping file - Add a tier identifier to the storage volumes to be claimed.
44
Example
See also
array re-discover
Re-discovers an array, and makes the array's storage volumes visible to the VPLEX.
Contexts
Syntax
Arguments
Required arguments
[-a|--array] context-path - * Context path that specifies the storage-array to re-discover.
[-c|--cluster] cluster-id - Cluster ID of the target cluster.
Optional arguments
[-d|--hard] - Perform a hard rediscover. This is disruptive.
array re-discover
45
The --hard option is disruptive and can result in data unavailability and/or data loss on
live exported paths.
Logical-unit swapping occurs when the number of logical-units remains the same, when
the actual logical-units have changed. If logical-unit swapping occurred, use the --hard
argument to force renewal of all ITs in the array.
If the --hard argument is not used, this command does not detect logical-unit swapping
conditions, and I/O is not disrupted on the logical-units that have not changed.
[-f|--force] - Force the operation without confirmation. Allows the command to be run from
a non-interactive script.
* - argument is positional.
Description
Manually synchronizes the export state of the target device. Used in two scenarios:
When the exported LUNs from the target array to VPLEX are modified.
Newer protocol-compliant SCSI devices return a notification code when the exported
set changes, and may not require manual synchronization. Older devices that do not
return a notification, must be manually synchronized.
When the array is not experiencing I/O (the transport interface is idle), there is no
mechanism by which to collect the notification code. In this scenario, do one of the
following:
Wait until I/O is attempted on any of the LUNs,
Disruptively disconnect and reconnect the array, or
Use the array rediscover command.
This command cannot detect LUN-swapping conditions on the array(s) being
re-discovered. On older configurations, this might disrupt I/O on more than the given
array.
Use the ll /clusters/*/storage-elements/storage-arrays/ command to display the names
of storage arrays.
Example
VPlexcli:/> ll /clusters/*/storage-elements/storage-arrays/
/clusters/cluster-1/storage-elements/storage-arrays:
Name
ID
------------------------------------------------------------------------------------------------EMC-0x00000000192601378
46
Connectivity
Auto
------------------- Status
------------------- ------------------------------ -----------0x00000000192601378 ok
Ports
Switch
-----------
Logical
------------------- Unit
------------------- Count
------------------- -----0x5000097208158918, 1
0x500009720815891d,
0x5000097208158920,
0x5000097208158925,
0x5000097208158958,
.
.
.
See also
array register
Registers the specified iSCSI storage-array.
Contexts
Syntax
Arguments
All contexts.
array register
[-a|--array] IP address:port number
[-c|--cluster] context-path,context-path...
Required arguments
[-a|--array] IP address:port number - * IP-address and an optional port number in the
following format:
10.31.199.255:3260.
If port number is not specified the default port number 3260 is used.
[-c|--cluster] context-path,cpntext-path,... - Context paths of the clusters on which the
iSCSI array is registered.
* - argument is positional.
Description
Example
See also
array register
47
array used-by
Displays the components that use a specified storage-array.
Contexts
Syntax
Arguments
All contexts.
array used-by
[-a|--array] context-path
[-a|--array] context-path - * Specifies the storage-array for which to find users. This
argument is not required if the context is the target array.
* - argument is positional.
Description
Example
Displays the components (storage-volumes) that use the specified storage array.
Display the usage of components in an array from the target storage array context:
VPlexcli:/clusters/cluster-1/storage-elements/storage-arrays/EMC-CLARiiON-APM00050404263>
array used-by
Used-by details for storage-array EMC-CLARiiON-APM00050404263:
/clusters/cluster-1/storage-elements/extents/extent_6006016061211100363da903017ae011_1:
SV1
/clusters/cluster-1/devices/dev_clus1:
extent_SV1_1
SV1
/clusters/cluster-1/system-volumes/log1_vol:
extent_SV1_2
SV1
/clusters/cluster-1/devices/clus1_device1:
extent_SV1_3
SV1
/clusters/cluster-1/devices/clus1_dev2:
extent_SV1_4
SV1
/clusters/cluster-1/devices/device_6006016061211100d42febba1bade011_1:
extent_6006016061211100d42febba1bade011_1
VPD83T3:6006016061211100d42febba1bade011
/distributed-storage/distributed-devices/dev1_source:
dev1_source2012Feb16_191413
extent_sv1_1
sv1
/clusters/cluster-1/system-volumes/MetaVol:
VPD83T3:6006016022131300de76a5cec256df11
/clusters/cluster-1/system-volumes/MetaVol:
VPD83T3:600601606121110014da56b3b277e011
/clusters/cluster-1/system-volumes/MetaVol_backup_2012Feb13_071901:
VPD83T3:6006016061211100c4a223611bade011
Summary:
Count of storage-volumes that are not in use: 0
Count of storage-volumes that are in use: 6
48
Example
See also
Arguments
All contexts.
authentication directory-service configure
[-d|--directory-server] [1|2]
[-i|--ip-address] IP address
[-b|--base-distinguished-name] base-distinguished-name
[-n|--bind-distinguished-name] bind-distinguished-name
[-p|--bind-password]
[-r|--user-search-path] user-search-path
[-s|--server-name] server-name
[-t|--connection-type] [1|2]
[-o|--port] port
[-c|--custom-attributes]
[-u|--map-user] map-user
[-g|--map-group] map-group
--dry-run
Required arguments
[-d|--directory-server] [1|2] - Specifies the directory server to configure on the cluster to
authenticate users.
1 - Configures the directory service to map attributes for OpenLDAP directory with
POSIX attributes.
2 - Configures the directory service to map attributes for Active Directory.
Note: If option 2 (Active Directory) is selected, use the --custom-attributes argument to
map attributes if directory server UNIX attributes are different from the default attributes
mapped by VPLEX.
[-i|--ip-address] IP address - IP address of the directory server.
49
50
When VPLEX is configured with OpenLDAP, it uses POSIX account attribute mapping by
default. When VPLEX is configured with Active Directory server, it uses SFU 3.0 attribute
mapping by default.
If directory server UNIX attributes are different, use --custom-attributes and
--directory-server arguments.
In order to authenticate directory service users, directory service must be configured on
the VPLEX. Configuration includes:
Best practice is to add groups rather than users. Adding groups allows multiple users to be
added using one map-principal. VPLEX is abstracted from any changes (modify/delete) to
the user.
Example
Example
51
Note: Default values are displayed in brackets for each attribute. Press Enter to accept the
default, or type a value and press Enter. Values for custom attributes are case sensitive.
Verify the case when specifying the value for a custom attribute.
VPlexcli:/> authentication directory-service configure -d 2 -i 10.31.52.189 -b
"dc=intranet,dc=vplex,dc=com" -r "ou=qe,ou=vbu,ou=glb,dc=intranet,dc=vplex,dc=com" -u
"cn=user1,ou=qe,ou=vbu,ou=glb,dc=intranet,dc=vplex,dc=com" -g
"cn=devgroup,ou=qe,ou=vbu,ou=glb,dc=intranet,dc=vplex,dc=com" -n
"cn=Administrator,cn=Users,dc=intranet,dc=vplex,dc=com" -p --custom-attributes
Please note that configuring LDAP means that network channel data is unencrypted. A better
option is to use LDAPS so the data is encrypted. Are you sure you want to continue the
configuration with LDAP. Continue? (Yes/No) Yes
Example
See also
52
Arguments
All contexts.
authentication directory-service map
[-m|--map-principal] map-principal
[-u|--map-user] "user-principal"
[-g|--map-group] "group-principal"
--dry-run
Required arguments
None
Optional arguments
Note: Option -m for commands can only be used with the older configuration. Use the -g
and -u options for adding user and group access to the management server.
[-m|--map-principal] map-principal - Map a directory Server user or user group to the
cluster. A map-principal is a sequence of relative distinguished names connected by
commas. For example:
OU=eng,dc=vplex,dc=security,dc=lab,dc=emc,dc=com
Enter:
CN=user\\ test: (IT),OU=group,DC=company,DC=com"
A directory server user is an account that can log in to the VPLEX Management Server.
Users can be specified explicitly or implicitly via groups.
Best practice is to add groups rather than users. Adding groups allows multiple users to be
added using one map-principal. VPLEX is abstracted from any changes (modify/delete) to
the user.
Example
53
Example
See also
All contexts.
authentication directory-service show
See also
Table 1 authentication directory-service show field descriptions
54
Field
Description
default-authentication-servic
e
external-authentication-servi
ce
ip
base-dn
connection-type
uri
mapped-principal
All contexts.
authentication directory-service unconfigure
[-f|--force]
Required arguments
None.
Optional arguments
[-f|--force] - Force the unconfigure without asking for confirmation.
Description
Example
Removes the existing directory service configuration from the VPLEX management server.
Remove the existing directory service configuration:
See also
Arguments
All contexts.
authentication directory-service unmap
[-m|--map-principal] mapped-principal
[-u|--map-user] user-principal
[-g|--map-group] group-principal
Required arguments
None
Optional arguments
Note: Option -m for commands can only be used with the older configuration. Use the -g
and -u options for adding user and group access to the management server.
[-m|--map-principal] mapped-principal - Mapped directory server Distinguished Name to
unmap. For example:
55
ou=eng,dc=vplex,dc=security,dc=lab,dc=emc,dc=com
Enter:
CN=user\\ test: (IT),OU=group,DC=company,DC=com"
Example
This command unmaps a directory server user or a user group from the VPLEX cluster.
There must be at least one principal mapped. If there is only one principal, it cannot be
unmapped. If a user search path is specified, unmapping all users and group principals
will provide access to all users in the user search path.
Unmap a directory server user group from a VPLEX cluster:
See also
56
batch-migrate cancel
Cancels an active migration and returns the source volumes to their state before the
migration.
Contexts
Syntax
Arguments
All contexts.
batch-migrate cancel
[-f|--file] pathname
Required arguments
[-f|--file] pathname - Directory and filename of migration plan file. Relative paths can be
used. If no directory is specified, the default directory is /var/log/VPlex/cli on the
management server.
Description
Attempts to cancel every migration in the specified batch file. If an error is encountered, a
warning is printed to the console and the command continues until every migration has
been processed.
Note: In order to re-run a canceled migration plan, the batch-migrate remove command
must be used to remove the records of the migration. See batch-migrate remove on
page 64.
Example
VPlexcli:/data-migrations/device-migrations>
batch-migrate cancel --file migrate.txt
See also
batch-migrate check-plan
Checks a batch migration plan.
Contexts
Syntax
Arguments
All contexts.
batch-migrate check-plan
[-f|--file] pathname
Required arguments
[-f|--file] pathname - Directory and filename of migration plan file. Relative paths can be
used. If no directory is specified, the default directory is /var/log/VPlex/cli on the
management server.
batch-migrate cancel
57
Description
Capacity of target extent is equal to, or larger than the source extent's capacity
Device migrations:
Target device has no volumes on it
Source device has volumes on it
Extent migrations:
Target extent is claimed and ready for use
Source extent is in use
Migration of volumes in asynchronous consistency groups is not supported on volumes
that are in active use. Schedule this activity as a maintenance activity to avoid DU.
Example
Example
See also
batch-migrate clean
Cleans the specified batch migration and deletes the source devices.
58
Contexts
Syntax
Arguments
All contexts.
batch-migrate clean
[-f|--file] pathname
[-e|--rename-targets]
Required arguments
[-f|--file] pathname - *Directory and filename of migration plan file. relative paths can be
used. if no directory is specified, the default directory is /var/log/VPlex/cli on the
management server.
Optional arguments
[-e|--rename-targets] - rename the target devices and virtual volumes to the source device
names.
* argument is positional.
Description
Dismantles the source device down to its storage volumes and unclaims the storage
volumes.
For device migrations, cleaning dismantles the source device down to its storage
volumes. The storage volumes no longer in use are unclaimed.
For device migrations only, use the optional --rename-targets argument to rename the
target device after the source device. If the target device is renamed, the virtual
volume on top of it is also renamed if the virtual volume has a system-assigned
default name.
Without renaming, the target devices retain their target names, which can make the
relationship between volumes and devices less evident.
For extent migrations, cleaning destroys the source extent and unclaims the
underlying storage-volume if there are no extents on it.
This command must be run before the batch-migration has been removed. The command
will not clean migrations that have no record in the CLI context tree.
Example
In the following example, source devices are torn down to their storage volumes and the
target devices and volumes are renamed after the source device names:
VPlexcli:/> batch-migrate clean --rename-targets --file migrate.txt
Using migration plan file /temp/migration_plans/migrate.txt for
cleanup phase.
0: Deleted source extent
/clusters/cluster-1/devices/R20061115_Symm2264_010, unclaimed its
disks Symm2264_010
1: Deleted source extent
/clusters/cluster-1/extents/R20061115_Symm2264_011, unclaimed its
disks Symm2264_011
.
.
.
batch-migrate clean
59
See also
batch-migrate commit
Commits the specified batch migration.
Contexts
Syntax
Arguments
All contexts.
batch-migrate commit
[-f|--file] pathname
Required argument
[-f|--file] pathname - *Directory and filename of migration plan file. relative paths can be
used. if no directory is specified, the default directory is /var/log/VPlex/cli on the
management server.
Description
Attempts to commit every migration in the batch. Migrations in the batch cannot be
committed until all the migrations are complete.
If an error is encountered, a warning is displayed and the command continues until every
migration has been processed.
The batch migration process inserts a temporary RAID 1 structure above the source
devices/extents with the target devices/extents as an out-of-date leg of the RAID.
Migration can be understood as the synchronization of the out-of-date leg (the target).
After the migration is complete, the commit step detaches the source leg of the temporary
RAID and removes the RAID.
The virtual volume, device, or extent is identical to the one before the migration except
that the source device/extent is replaced with the target device/extent.
A migration must be committed in order to be cleaned.
Note: Use the batch-migrate summary command to verify that the migration has
completed with no errors before committing the migration.
60
Example
See also
batch-migrate create-plan
Creates a batch migration plan file.
Contexts
Syntax
Arguments
All contexts.
batch-migrate create-plan
[-f|--sources] local-devices
[-t|--targets] local-devices
[--file] pathname
[--force]
Required arguments
[-f|--sources] local-devices - * List of local-devices to migrate virtual volumes from. May
contain wildcards.
[-t|--targets] local-devices - * List of local-devices to migrate the source virtual volumes to.
May contain wildcards.
--file pathname - * Directory and filename of migration plan file. Relative paths can be
used. If no directory is specified, the default directory is /var/log/VPlex/cli on the
management server.
Optional arguments
--force - Forces an existing plan file with the same name to be overwritten.
* - argument is positional.
Description
The source and target extents must be typed as a comma-separated list, where each
element is allowed to contain wildcards.
If this is an extent migration, the source and target cluster must be the same.
If this is a device migration, the source and target clusters can be different.
The source and target can be either local-devices or extents. Mixed migrations from
local-device to extent and vice versa are not allowed.
The command attempts to create a valid migration plan from the source
devices/extents to the target devices/extents.
If there are source devices/extents that cannot be included in the plan, a warning is
printed to the console, but the plan is still created.
Review the plan and make any necessary changes before starting the batch migration.
batch-migrate create-plan
61
If problems are found, correct the errors and re-run the command until the plan-check
passes.
3. Use the batch-migrate start command to start the migration:
VPlexcli:/> batch-migrate start migrate.txt
5. When all the migrations are complete, use the batch-migrate commit command to
commit the migration:
VPlexcli:/> batch-migrate commit migrate.txt
This will dismantle the source devices down to their storage volumes and rename the
target devices and volumes after the source device names.
7. Use the batch-migrate remove command to remove the record of the migration:
VPlexcli:/> batch-migrate remove migrate.txt
See also
62
batch-migrate pause
Pauses the specified batch migration.
Contexts
Syntax
Arguments
All contexts.
batch-migrate pause
[--file] pathname
Required arguments
--file pathname - Directory and filename of migration plan file. Relative paths can be used.
If no directory is specified, the default directory is /var/log/VPlex/cli on the management
server.
Description
Pauses every migration in the batch. If an error is encountered, a warning is displayed and
the command continues until every migration has been processed.
Active migrations (a migration that has been started) can be paused and resumed at a
later time.
Pause an active migration to release bandwidth for host I/O during periods of peak traffic.
Resume the migration during periods of low I/O.
Use the batch-migrate pause --file pathname command to pause the specified active
migration.
Use the batch-migrate resume --file pathname command to resume the specified paused
migration.
Example
See also
batch-migrate pause
63
batch-migrate remove
Removes the record of the completed batch migration.
Contexts
Syntax
Arguments
All contexts.
batch-migrate remove
[--file] pathname
Required arguments
--file pathname - Directory and filename of migration plan file. Relative paths can be used.
If no directory is specified, the default directory is /var/log/VPlex/cli on the management
server.
Description
Remove the migration record only if the migration has been committed or canceled.
Migration records are in the /data-migrations/device-migrations context.
Example
or:
VPlexcli:>batch-migrate remove /data-migrations/device-migrations
--file migrate.txt.
See also
batch-migrate resume
Attempts to resume every migration in the specified batch.
Contexts
Syntax
Arguments
All contexts.
batch-migrate resume
[--file] pathname
Required arguments
--file pathname - Directory and filename of migration plan file. Relative paths can be used.
If no directory is specified, the default directory is /var/log/VPlex/cli on the management
server.
64
Description
Example
See also
batch-migrate start
Starts the specified batch migration.
Contexts
Syntax
Arguments
All contexts.
batch-migrate start
[--file] pathname
[-s|transfer-size] 40K - 128M
--force
--paused
Required arguments
--file pathname - * Directory and filename of migration plan file. Relative paths can be
used. If no directory is specified, the default directory is /var/log/VPlex/cli on the
management server.
Optional arguments
[-s|transfer-size] size - Maximum number of bytes to transfer as one operation per device.
Specifies the size of read sector designated for transfer in cache. Setting transfer size to a
lower value implies more host I/O outside the transfer boundaries. Setting transfer size to
a higher value may result in faster transfers. See About transfer-size on page 66. Valid
values must be a multiple of 4 K.
Range: 40 K - 128 M.
Default: 128 K.
--force - Do not ask for confirmation when starting individual migrations. Allows this
command to be run using a non-interactive script, or to start cross-cluster device
migrations in a Geo system without prompting for every device.
--paused - Starts the migration in a paused state. The migration remains paused until
restarted using the batch-migrate resume command.
batch-migrate start
65
* - argument is positional.
Description
Inter-cluster migration of volumes is not supported on volumes that are in use. Schedule
this activity as a maintenance activity to avoid Data Unavailability.
Consider scheduling this activity during maintenance windows of low workload to reduce
impact on applications and possibility of a disruption.
If a migration fails to start, a warning is printed to the console. The command will continue
until every migration item has been processed.
Individual migrations may ask for confirmation when they start. Use the --force argument
to suppress these requests for confirmation.
Batch migrations across clusters can result in the following error:
VPlexcli:/> batch-migrate start /var/log/VPlex/cli/migrate.txt
The source device 'SveTest_tgt_r0_case2_1_0002' has a volume 'SveTest_tgt_r0_case2_1_0002_vol'
in a view. Migrating to device 'SveTest_src_r0_case2_2_0002' will create a synchronous
distributed device. In this GEO system, this can increase the per I/O latency on
'SveTest_tgt_r0_case2_1_0002_vol'. If applications using 'SveTest_tgt_r0_case2_1_0002_vol' are
sensitive to this latency, they may experience data unavailability. Do you wish to proceed ?
(Yes/No) y
WARNING: Failed to start migration /clusters/cluster-1/devices/SveTest_tgt_r0_case2_1_0002 -->
/clusters/cluster-2/devices/SveTest_src_r0_case2_2_0002 : Evaluation of <<dm migration start
-n BR0_0 -f /clusters/cluster-1/devices/SveTest_tgt_r0_case2_1_0002 -t
/clusters/cluster-2/devices/SveTest_src_r0_case2_2_0002 -s 128kB>> failed.
Failed to create a new data-migration.
Unable to attach mirror 'SveTest_src_r0_case2_2_0002' to distributed Device 'MIGRATE_BR0_0'.
Firmware command error.
Active metadata device does not have a free slot.
Started 0 of 1 migrations.
Refer to the troubleshooting guide in the generator for instructions on increasing the
number of slots.
About transfer-size
Transfer-size is the size of the region in cache used to service the migration. The area is
globally locked, read at the source, and written at the target.
Transfer-size can be as small 40 K, as large as 128 M, and must be a multiple of 4 K. The
default recommended value is 128 K.
A larger transfer-size results in higher performance for the migration, but may negatively
impact front-end I/O. This is especially true for VPLEX Metro migrations.
A smaller transfer-size results in lower performance for the migration, but creates less
impact on front-end I/O and response times for hosts.
Set a large transfer-size for migrations when the priority is data protection or migration
performance.
Set a smaller transfer-size for migrations when the priority is front-end storage response
time.
Factors to consider when specifying the transfer-size:
66
For VPLEX Metro configurations with narrow inter-cluster bandwidth, set the transfer
size lower so the migration does not impact inter-cluster I/O.
The region specified by transfer-size is locked during migration. Host I/O to or from
that region is held. Set a smaller transfer-size during periods of high host I/O.
Example
See also
batch-migrate summary
Displays a summary of the batch migration.
Contexts
Syntax
Arguments
All contexts.
batch-migrate summary
[--file] pathname
[-v|--verbose]
Required arguments
--file pathname - Directory and filename of migration plan file. Relative paths can be used.
If no directory is specified, the default directory is /var/log/VPlex/cli on the management
server.
Optional arguments
[-v|verbose] - In addition to the specified migration, displays a summary for any
in-progress and paused migrations.
Description
Example
batch-migrate summary
67
complete:
in-progress:
paused:
error:
cancelled:
no-record:
Example
10
0
0
0
0
0
source
cluster
--------cluster-1
cluster-1
cluster-1
target device
--------------------------------------temp2_r1_0_cluster-2
temp2_r1_1_cluster-2
temp2_r1_2_cluster-2
target
cluster
--------cluster-2
cluster-2
cluster-2
migration
name
--------BR1_0
BR1_1
BR1_2
status
--------------complete
complete
complete
percentage
done
---------100
100
100
eta
-----
Description
source cluster
target device
target cluster
migration name
status
eta
68
Processed n
migrations...
Of the number of source-target pairs specified in the batch migration plan, the
number that have been processed.
committed
Of the number of source-target pairs that have been processed, the number
that have been committed.
completed
Of the number of source-target pairs that have been processed, the number
that are complete.
in-progress
Of the number of source-target pairs that have been processed, the number
that are in progress.
paused
Of the number of source-target pairs that have been processed, the number
that are paused.
Description
error
cancelled
Of the number of source-target pairs that have been processed, the number
that have been cancelled.
no-record
Of the number of source-target pairs that have been processed, the number
that have no record in the context tree.
Note: If more than 25 migrations are active at the same time, they are queued, their status
is displayed as in-progress, and percentage-complete is displayed as ?.
See also
battery-conditioning disable
Disables battery conditioning on the specified backup battery units.
Contexts
Syntax
Arguments
All contexts.
battery-conditioning disable
[-s|--sps-unit] context-path,context path,...
[-c|--all-at-cluster] cluster
[-t|--bbu-type] bbu-type
[-f|--force]
[-s|--sps-unit] context path,context path...- * Standby power supplies (SPS) units on which
to disable battery conditioning. If this argument is used:
The --all-at-cluster argument must not be specified
The --bbu-type argument is ignored.
[-c|--all-at-cluster] cluster - * The cluster on which to disable battery conditioning on all
backup battery units. If this argument is used:
The --bbu-type argument is required
The --sps-units argument must not be specified.
battery-conditioning disable
69
[-t|--bbu-type] bbu-type - Type of battery unit on which to disable conditioning. For the
current release, only standby-power-supply (SPS) units are supported. This argument is
ignored if the --sps-unit argument is specified.
[-f|--force] - Skips the user confirmation that appears when the battery unit on which
conditioning is being disabled is currently undergoing conditioning. Allows the command
to be executed from an non-interactive script.
* - argument is positional.
Description
Automatic battery conditioning of every SPS is enabled by default. Use this command to
disable battery conditioning for all SPS units in a cluster, or a specified SPS unit.
Disabling conditioning on a unit that has a cycle in progress causes that cycle to abort,
and user confirmation is required. Use the --force argument to skip the user confirmation.
Automatic battery conditioning must be disabled during:
Scheduled maintenance
System upgrades
For all procedures that require fully operational SPS, ensure that SPS conditioning is
disabled at least 6 hours in advance of the procedure. This prevents the SPS from
undergoing battery conditioning during the procedure.
If the procedure starts when no SPS conditioning is scheduled, it is acceptable to disable
SPS conditioning less than six hours in advance.
Use the battery-conditioning set-schedule command to select the day the automatic
monthly conditioning cycle starts.
Use the battery-conditioning manual-cycle request command to run an additional
conditioning cycle on one or more backup battery units.
Example
Example
Disable battery conditioning for a specified SPS unit and display the change:
70
previous-cycle-result
Example
PASS
See also
battery-conditioning enable
Enables conditioning on the specified backup battery units.
Contexts
Syntax
Arguments
All contexts.
battery-conditioning enable
[-s|--sps-unit] context-path,context path,...
[-c|--all-at-cluster] cluster
[-t|--bbu-type] bbu-type
[-s|--sps-unit] context path,context path...- * Standby power supplies (SPS) units on which
to enable battery conditioning. If this argument is used:
The --all-at-cluster argument must not be specified
The --bbu-type argument is ignored.
[-c|--all-at-cluster] cluster - * The cluster on which to enable battery conditioning on all
backup battery units. If this argument is used:
The --bbu-type argument is required
The --sps-units argument must not be specified.
[-t|--bbu-type] bbu-type - Type of battery unit on which to enable conditioning. For the
current release, only standby-power-supply (SPS) units are supported. This argument is
ignored if the --sps-unit argument is specified.
* - argument is positional.
Description
Use this command to enable battery conditioning for all standby power supply (SPS) units
in a cluster, or for a specific SPS unit.
SPS battery conditioning assures that the battery in an engines standby power supply can
provide the power required to support a cache vault. A conditioning cycle consists of a 5
minute period of on-battery operation and a 6 hour period for the battery to recharge.
Automatic conditioning runs every 4 weeks, one standby power supply at a time.
battery-conditioning enable
71
Scheduled maintenance
System upgrades
Use this command to re-enable battery conditioning after activities that require battery
conditioning to be disabled are completed.
Example
Example
Enable battery conditioning on all SPS units in cluster-1 and display the change:
/engines/engine-1-1/stand-by-power-supplies/stand-by-power-supply-b/conditioning:
Name
Value
---------------------- ---------------------------enabled
true
in-progress
false
manual-cycle-requested false
next-cycle
Wed Jan 04 05:00:00 MST 2012
previous-cycle
Sat Dec 17 15:37:20 MST 2011
previous-cycle-result
PASS
See also
72
All contexts.
battery-conditioning manual-cycle cancel-request
[-s|--sps-unit] context path
Required arguments
[-s|--sps-unit] - Standby power supply (SPS) unit on which to cancel a previously requested
battery conditioning. The full context path is required when this command is run from the
engines context or higher.
Description
Cancels a manually requested conditioning cycle on the specified backup battery unit.
Automatic battery conditioning cycles run on every SPS every 4 weeks.
Manually requested battery conditioning cycles are in addition to the automatic cycles.
Use this command to cancel a manual battery conditioning cycle.
IMPORTANT
This command does not abort a battery conditioning cycle that is underway. It cancels only
a request for a manual cycle.
Example
Cancel a manually-scheduled SPS battery conditioning from the root context, and display
the change:
Example
73
See also
Arguments
All contexts.
battery-conditioning manual-cycle request
[-s|--sps-unit] context path
[-f|--force]
Required arguments
[-s|--sps-unit] - * Standby power supply (SPS) units on which to request the battery
conditioning cycle. The full context path is required when this command is run from the
engines context or higher.
Optional arguments
[-f|--force] - Forces the requested battery conditioning cycle to be scheduled without
confirmation if the unit is currently in a conditioning cycle. Allows this command to be run
from non-interactive scripts.
* - argument is positional.
Description
Requests a conditioning cycle on the specified backup battery unit, and displays the time
the cycle is scheduled to start. The requested battery conditioning cycle is scheduled at
the soonest available time slot for the specified unit.
If the specified unit is currently undergoing a conditioning cycle, this command requests
an additional cycle to run at the next available time slot.
If battery conditioning is disabled, the manually requested cycle will not run.
Use this command to manually schedule a battery conditioning cycle when automatic
conditioning has been disabled in order to perform maintenance, upgrade the system, or
shut down power.
The conditioning cycle invoked by this command will run in the next 6-hour window
available for the selected unit.
Note: Scheduling a manual conditioning cycle is while a conditioning cycle is already in
progress contributes to shortened battery life and is not recommended.
Example
74
Schedule a manual SPS battery conditioning cycle from the root context and display the
change:
Example
Schedule a manual SPS battery conditioning from the engines/engine context when a
conditioning cycle is already underway:
See also
battery-conditioning set-schedule
Set the battery conditioning schedule (day of week) for backup battery units on a cluster.
Contexts
Syntax
Arguments
All contexts.
battery-conditioning set-schedule
[-t|--bbu-type] bbu-type
[-d|--day-of-week] [sunday|monday|...|saturday]
[-c|--cluster] cluster
Required arguments
[-t|--bbu-type] bbu-type - * Type of battery backup unit to be conditioned.
Note: In the current release, the only bbu-type supported is sps.
[-d|-- day-of-week] - * Day of the week on which to run the battery conditioning. Valid
values are: sunday, monday, tuesday, wednesday, etc.
[-c|--cluster] - * Cluster on which to set the battery conditioning schedule.
battery-conditioning set-schedule
75
* - argument is positional.
Description
Sets the day of week when the battery conditioning cycle is started on all backup battery
units (BBU) on a cluster.
The time of day the conditioning cycle runs on an individual backup battery unit is
scheduled by VPLEX.
SPS battery conditioning assures that the battery in an engines standby power supply can
provide the power required to support a cache vault. A conditioning cycle consists of a 5
minute period of on-battery operation and a 6 hour period for the battery to recharge.
Automatic conditioning runs every 4 weeks, one standby power supply at a time.
Automatic battery conditioning of every SPS is enabled by default.
Use this command to set the day of the week on which the battery conditioning cycle for
each SPS unit (one at a time) begins.
Example
Set the start day of the battery conditioning cycle for all SPS units in cluster-1 to Saturday
and display the change:
/engines/engine-1-1/stand-by-power-supplies/stand-by-power-supply-b/conditioning:
Name
Value
---------------------- ---------------------------enabled
true
in-progress
false
manual-cycle-requested false
next-cycle
Sat Feb 04 05:00:00 MST 2012
previous-cycle
Sat Dec 17 15:37:20 MST 2011
previous-cycle-result
PASS
Table 3 battery conditioning field descriptions (page 1 of 2)
Field
Description
enabled
in-progress
manual-cycle-requested Whether a manually requested battery conditioning cycle is scheduled on the backup
battery unit.
76
Description
next-cycle
The date and time of the next battery conditioning cycle (either manually requested
or automatic) on the backup battery unit.
Note: If the engines have a different time zone setting than the management server,
and the date and time selected for the start of battery conditioning is within the
difference between the two time zones, the day selected by the --day-of-week
argument may not be the same day displayed in this field.
previous-cycle
The date and time of the previous battery conditioning cycle (either manually
requested or automatic) on the backup battery unit. See Note in next-cycle.
previous-cycle-result
ABORTED - The previous battery conditioning cycle was stopped while it was
underway.
PASS - The previous battery conditioning cycle was successful.
SKIPPED - The previous cycle was not performed because battery conditioning was
disabled.
UNKNOWN - The time of the previous battery conditioning cycle cannot be
determined or no cycle has ever run on the backup battery unit.
See also
battery-conditioning summary
Displays a summary of the battery conditioning schedule for all devices, grouped by type
and cluster
Contexts
Syntax
Arguments
All contexts.
battery-conditioning summary
Required arguments
None.
Description
Example
Displays a summary of the conditioning schedule for all devices, grouped by type and
cluster.
Display battery conditioning schedule for all devices:
battery-conditioning summary
77
Description
Enabled
In-Progress
Manual Cycle
Requested
Next Cycle
The date and time of the next battery conditioning cycle (either manually requested
or automatic) on the backup battery unit.
Note: If the engines have a different time zone setting than the management server,
and the date and time selected for the start of battery conditioning is within the
difference between the two time zones, the day selected by the --day-of-week
argument may not be the same day displayed in this field.
Owner
Previous Cycle
The date and time of the previous battery conditioning cycle (either manually
requested or automatic) on the backup battery unit. See Note in Next Cycle.
ABORTED - The previous battery conditioning cycle was stopped while it was
underway.
PASS - The previous battery conditioning cycle was successful.
SKIPPED - The previous cycle was not performed because battery conditioning was
disabled.
UNKNOWN - The time of the previous battery conditioning cycle cannot be
determined or no cycle has ever run on the backup battery unit.
Schedule
Day of the week on which day of week when the battery conditioning cycle is started
on all backup battery units on a cluster. Configured using the battery-conditioning
set-schedule command.
Unit
See also
78
cache-invalidate
In the virtual-volume context, Invalidates the cache of a virtual-volume on all directors
based on it's visibility to the clusters. In the consistency-group context, invalidates the
cache of all exported virtual-volumes in the specified consistency-group, on all directors
based on the virtual volumes visibility to the clusters. Additionally, flushes the dirty data,
if any, on to the back-end storage volumes for virtual-volumes in asynchronous mode.
Contexts
virtual-volume
consistency-group
Syntax
In virtual-volume context:
virtual-volume cache-invalidate [-v |--volume] virtual-volume --force
In consistency-group context:
consistency-group cache-invalidate [-g |--consistency-group ]
consistency-group --force
Arguments
Required arguments
[-v|--volume] virtual-volume - Invalidates the cache only for the specified virtual volume.
On asynchronous virtual volumes, flushes dirty data, if any. Wildcard patterns (CLI glob
patterns) are NOT allowed.
[-g|--consistency-group] consistency-group - Invalidates the cache for all virtual volumes in
the consistency-group. Flushes dirty data if any on Asynchronous volumes in the
consistency-group. Wildcard patterns (CLI glob patterns) are NOT allowed.
Optional arguments
[--force] - The force option suppresses the warning message and executes the
cache-invalidate directly.
IMPORTANT
This command does suspend I/O on the virtual volume while invalidation is in progress.
Usage of this command causes data unavailability on the virtual volume for a short time in
a normal operating setup.
Description:
All cached data associated with the selected volume is invalidated on all directors of the
VPLEX cluster. Subsequent reads from host application will fetch data from storage
volume due to cache miss.
Cache can be invalidated only for exported virtual volumes. There is no cache on
non-exported volumes.
cache-invalidate
79
When executed for a given virtual volume, based on the visibility of the virtual volume, this
command invalidates the cache for that virtual volume on the directors at cluster(s) that
export them to hosts.
IMPORTANT
The CLI must be connected to all directors in order for the cache to be flushed and
invalidated. The command performs a pre-check to verify all directors are reachable.
When executed for a given consistency-group, based on the visibility of each of the virtual
volume in the consistency-group, this command invalidates the cache for the virtual
volume(s) part of the consistency-group on the directors at cluster(s) that export them to
hosts.
The command performs pre-checks to verify all expected directors in each cluster are
connected and in healthy state before issuing the command.
If I/O is in progress on the virtual-volume, the command issues an error requesting the
user to stop all host applications accessing the virtual-volume first.
The command issues a warning stating that the cache invalidate could cause a data
unavailability on the volume that it is issued on.
Any cached data at the host or host applications will not be cleared by this command.
Do not execute the cache-invalidate command on a Recover Point enabled virtual-volume.
The VPLEX clusters should not be undergoing a NDU while this command is being
executed.
There should be no mirror rebuilds or migrations in progress on the virtual volume on
which the command is executed.
There should be no volume expansion in progress on the virtual volume that the command
is being executed.
The applications accessing data on the virtual volume should be stopped. The application
or the host operating system should not have any access to the VPLEX virtual volume.
If the cache-invalidate needs to be executed on an Asynchronous consistency-group,
ensure that the Asynchronous consistency-group has the Operational-status set to
summary:: ok.
There are four categories of cache-invalidate results tracked and reported back by the
command:
80
If the command failed on a director. The result displays an error indicating that the
command failed on a specific director.
If the command is being run in the background. If there are no directors with a failed
response, a check is made on directors that have the operation running in
background. The result displays an error indicating that shows the directors with the
operation still running, and an instruction to execute the cache-invalidate-status
command to view progress.
If the command cannot be run because the volume is not exported from any directors.
If any of the configured directors are not exporting the virtual volume, then an
informational message is displayed and the command output ends.
Example:
If the command completes successfully, the result output will state that the operation
was successful. The cache-invalidate-status command will not track or report any
result for this operation, as the command completed successfully.
Example:
Example
An example of a command that cannot run because the volume is not exported from any
directors:
cache-invalidate
81
Example:
Use the --force argument to invalidate the cache of the volume without asking for
confirmation:
Example
See also
cache-invalidate-status
Displays virtual-volume cache invalidation status on each of the directors.
Contexts
Syntax
Arguments
virtual-volume
cache-invalidate-status
[-v|--virtual-volume] virtual-volume
[-h|--help]
[--verbose]
Optional arguments
[-h | --help] - Displays the usage for this command.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
[-v | --virtual-volume] virtual-volume - Specifies which virtual volume cache invalidation
status to display.
82
Description
This command is executed only when the virtual volume cache-invalidate command has
exceeded the timeout period of five minutes. If this command is executed for a reason
other than timeout, the command will return no result.
Cache invalidate status is displayed on each of the directors on which the cache invalidate
is pending.
There are three fields of particular interest
Field
Description
status
result
cause
text
Example
cache-invalidate is running.
cache-invalidate is finished.
cache-invalidate is in error state.
Unable to retrieve the information. This could be because the director
is not reachable. The reason will be reflected in the cause field.
Nothing is there to report.
Example
Example
completed
successful
completed
successful
-
cache-invalidate-status
83
capture begin
Begins a capture session.
Contexts
Syntax
Arguments
All contexts.
capture begin
[-s|session] session name
[-c|capture-directory] capture-directory
Required arguments
[-s|--session] session name - * Name of capture session. Output files from the capture
session are named using this value.
[-c|--capture-directory] directory - * Pathname for the capture directory.
Default capture directory: /var/log/VPlex/cli/capture
* - argument is positional.
Description
The session captures saves all the stdin, stdout, stderr, and session I/O streams to 4 files:
Note: Raw tty escape sequences are not captured. Use the --capture shell option to
capture the entire session including the raw tty sequences.
Capture sessions can have nested capture sessions but only the capture session at the
top of the stack is active.
Use the capture end command to end the capture session.
Use the capture replay command to resubmit the captured input to the shell.
Example
In the following example, the capture begin command starts a capture session named
TestCapture. Because no directory is specified, output files are placed in the
/var/log/VPlex/cli/capture directory on the management server.
VPlexcli:/> capture begin TestCapture
# capture begin TestCapture
VPlexcli:/>
See also
84
capture end
Ends the current capture session and removes it from the session capture stack.
Contexts
Syntax
Description
Example
All contexts.
capture end
The session at the top of the stack becomes the active capture session.
VPlexcli:/clusters/cluster-1> capture end
# capture end TestCapture
VPlexcli:/clusters/cluster-1>
See also
capture pause
Pauses the current capture session.
Contexts
Syntax
Description
All contexts.
capture pause
Example
See also
capture replay
Replays a previously captured session.
Contexts
Syntax
All contexts.
capture replay
[-s|-session] session name
[-c|--capture-directory] directory
capture end
85
Arguments
Required arguments
[-s|--session] session name - * Name of existing capture session.
[-c|-- capture-directory] directory - * Directory where existing captured session is located.
Default directory: /var/log/VPlex/cli/capture/recapture
* - argument is positional.
Description
Replays the commands in the stdin.txt file from the specified capture session.
Output of the replayed capture session is written to the
/var/log/VPlex/cli/capture/recapture directory on the management server.
Output is the same four files created by capture begin.
Example
See also
Value
-------------------------------------------true
0
0
capture resume
Resumes the current capture session.
Contexts
Syntax
Description
All contexts.
capture resume
Example
See also
cd
Changes the working directory.
86
Contexts
Arguments
All contexts.
Required arguments
None.
Optional arguments
cd <ENTER> - Change to the root directory.
cd ... - Change to the root directory.
cd .. - Change to the context immediately above the current context.
cd context - Change to the specified context.
Description
Use the cd command with no arguments or followed by three periods (cd... ) to return to
the root context.
Use the cd command followed by two periods (cd..) to return to the context immediately
above the current context.
Use the cd command followed by a dash (cd -) to return to the previous context.
To navigate directly to a context from any other context, use the cd command and specify
the context path.
cd -c - and cd --context - are not supported.
Example
chart create
Creates a chart based on a CSV file produced by the report command.
Contexts
Syntax
All contexts.
chart create
[--input] input file
[--output] output file
[--series] series column
[--range] series range
[--domain] domain column
[--width] chart width
[--height] chart height
[--aggregate] aggregate-series-name
chart create
87
Arguments
Required arguments
Note: All arguments are positional.
--input input file - CSV file to read data from, enclosed in quotes.
--output output file - PNG file to save chart to, enclosed in quotes.
--series column - The column in the CSV file to use as series.
--range column - The column in the CSV file to use as range.
--domain column - The column in the CSV file to use as domain.
--width nn - The width of chart graphic.
Range: 64-2048.
Default: 500.
--height nn - The height of the chart graphic.
Range: 64-2048.
Default: 500.
--aggregate aggregate-series-name - Name of aggregate series. If not specified, no
aggregate series is displayed.
Example
The exit command exits the CLI and returns to the management server.
The tail command displays the .csv file created using the report capacity clusters
command.
The exit command exits the CLI and returns to the management server.
VPlexcli:/> exit
Connection closed by foreign host.
service@ManagementServer:~> cd /var/log/VPlex/cli/reports
service@ManagementServer:/var/log/VPlex/cli/reports> tail CapacityClusters.csv
Time, Cluster, Unclaimed disk capacity (GiB), Unclaimed storage_volumes, Claimed disk
capacity(GiB), Claimed storage_
volumes, Used storage-volume capacity
(GiB), Used storage_volumes, Unexported volume capacity (GiB), Unexported volum
es, Exported volume capacity (GiB), Exported volumes
2010-06-21 15:59:39, cluster-1, 5705.13, 341, 7947.68, 492, 360.04, 15, 3.00, 3, 2201.47, 27
.
.
.
service@ManagementServer:~> vplexcli
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
88
See also
cluster add
Adds a cluster to a running VPLEX.
Contexts
Syntax
Arguments
All contexts.
cluster add
[-c|--cluster] context path
[-t|--to] cluster
[-f|--force]
Required arguments
[-c|--cluster] context path - * Cluster to add.
[-t|--to] cluster cluster - * Cluster to which the given cluster will be added. This is only
necessary if the system cannot be automatically determined.
Optional arguments
[-f|--force] - Forces the cluster addition to proceed even if conditions are not optimal.
* - argument is positional.
Description
During system bring-up when no clusters have yet been told about other clusters. In
this scenario, any cluster can be used as the system representative.
89
If there only one system actually present, but it has split into islands due to
connectivity problems, it is highly advisable to repair the problems before proceeding.
Add the given cluster to each island separately.
If the intention is to merge two existing systems, break up one of the systems and add
it to the other system cluster-by-cluster.
Example
The cluster summary command verifies that the two clusters have the same island ID:
Clusters
------------------cluster-1, cluster-2
See also
cluster cacheflush
Flushes the cache on directors at the specified clusters to the back-end storage volumes.
Contexts
All contexts.
In /clusters context, command is cacheflush.
Syntax
Arguments
cluster cacheflush
[-e|--sequential]
[-c|--clusters] cluster,cluster
[-v|--volumes] volumes
--verbose
Required arguments
[-c|--clusters] clusters,cluster - Flushes the cache for every exported virtual volume of every
director at the specified clusters. Entered as wildcard patterns.
[-v|--volumes] volumes - Flushes the cache only for the specified list of virtual volumes.
Entries must be separated by commas. Wildcard patterns (CLI glob patterns) are allowed.
Optional arguments
[-e|--sequential] - Flushes the cache of multiple directors sequentially. Default is to flush
the caches in parallel.
--verbose - Displays a progress report during the flush. Default is to display no output if
the run is successful.
90
Description
IMPORTANT
The CLI must be connected to a director before the cache can be flushed. Only exported
virtual volumes can be flushed.
When executed from a specific cluster context, this command flushes the cache of the
directors at the current cluster.
Example
VPlexcli:/clusters/> cacheflush --clusters /clusters/* --verbose --sequential
Flushing director1 director2 ...
Flushing logging_logging1_vol @
Flushing regression_dR1a_12_vol
Flushing regression_dR1b_12_vol
.
.
.
Flushing regression_r0a_1_vol @
Flushing regression_r0b_1_vol @
Flushing regression_r0c_1_vol @
.
.
.
Flushing logging_logging1_vol @
Flushing regression_dR1a_12_vol
Flushing regression_dR1b_12_vol
.
.
.
Flushing regression_r1c_1_vol @
Flushing regression_r1d_1_vol @
Flushing regression_r1e_1_vol @
See also
director1... done
@ director1... done
@ director1... done
director2... done
@ director2... done
@ director2... done
cluster configdump
Dumps cluster configuration in an XML format, optionally directing it to a file.
Contexts
All contexts.
In /clusters context, command is configdump.
Syntax
Arguments
cluster configdump
[-c|--cluster] cluster
[-d|--dtdOnly]
[-f|--file] filename
Required arguments
None.
Optional arguments
[-c|--clusters] cluster - Dump configuration information for only the specified cluster.
[-d|--dtdOnly] - Print only the Document Type Definitions (DTD) document.
cluster configdump
91
Disk information, including paths from the directors to the storage volumes
Volume configuration
Initiators
View configuration
System-volume information
Example
Dump the configuration at cluster-1, navigate to the cli directory on the management
server, and display the file:
See also
cluster expel
Expels a cluster from its current island.
92
Contexts
All contexts.
In /clusters context, command is expel.
Syntax
Arguments
cluster expel
[-c|--cluster] cluster
[-f|--force]
Required arguments
[-c|--clusters] cluster - * The cluster to expel.
[-f|--force] - * Forces the cluster to be expelled.
* - argument is positional.
Description
Cluster expulsion prevents a cluster from participating in a VPLEX. Expel a cluster when:
The target cluster, or the WAN over which the rest of the system communicates with it,
is going to be inoperable for a while.
An expelled cluster is still physically connected to the VPLEX, but not logically connected.
The --force argument is required for the command to complete.
Use the cluster unexpel command to allow the cluster to rejoin the island.
Example
The cluster summary and cluster status commands verify the change.
Clusters
--------cluster-1
cluster-2
isolated
suspended volumes,expelled
degraded
1 suspended Devices
Cluster cluster-2
cluster expel
93
operational-status:
transitioning-indications:
transitioning-progress:
health-state:
health-indications:
See also
degraded
suspended exports,suspended volumes
degraded
2 suspended Devices
cluster forget
Tells VPLEX and Unisphere for VPLEX to forget the specified cluster.
Contexts
All contexts.
In /clusters context, command is forget.
Syntax
Arguments
cluster forget
[-c|--cluster] context path
[-d|--disconnect]
[-f|--force]
Required arguments
[-c|--clusters] context path - * Cluster to forget.
Optional arguments
[-d|--disconnect] - Disconnect from all directors in the given cluster and remove the cluster
from the context tree after the operation is complete.
[-f|--force] - Force the operation to continue without confirmation.
* - argument is positional.
Description
Removes all references to the specified cluster from the context tree.
The prerequisites for forgetting a cluster are as follows:
The target cluster can not be in contact with other connected clusters.
Detach all distributed devices with legs at the target cluster (there must be no
distributed devices with legs on the target cluster).
94
Example
See also
cluster shutdown
Starts the orderly shutdown of all directors at a single cluster.
Contexts
All contexts.
In /clusters context, command is shutdown.
Syntax
Arguments
cluster shutdown
[-c|--cluster] context path
--force
Required arguments
[-c|--cluster] context path - Cluster to shut down.
[-f|--force] - Forces the shutdown to proceed.
Shutting down a VPlex cluster may cause data unavailability. Please refer to the
generator for the recommended procedure to shut down a cluster.
Description
Verify that each cluster has completed shutdown prior to shutting down the next one.
If shutting down multiple clusters, refer to the generator for the recommended procedure
for shutting down both clusters.
When a cluster completes shutting down, the following log message is generated for each
director at the cluster:
'Director shutdown complete (cluster shutdown)'
Example
Example
95
The cluster shutdown command without the --force argument starts the shutdown of
the specified cluster.
Because the --force argument was not used, a prompt to continue is displayed.
Description
----------------Shutdown started.
Expelled
-------false
false
Operational Status
-----------------unknown
ok
Clusters
-------------------cluster-1, cluster-2
Clusters
--------cluster-2
Connectivity
From
--------cluster-2
problems:
Problem
--------can't see
To
--------cluster-1
VPlexcli:/> ll /clusters/cluster-1
Attributes:
Name
---------------------allow-auto-join
auto-expel-count
auto-expel-period
auto-join-delay
cluster-id
connected
default-cache-mode
default-caw-template
director-names
island-id
operational-status
transition-indications
96
Value
-----------7
false
true
[DirA, DirB]
not-running
[]
Health State
-----------unknown
ok
transition-progress
health-state
health-indications
See also
[]
unknown
[]
cluster status
Displays a cluster's operational status and health state.
Contexts
Syntax
Example
All contexts.
cluster status
Example
cluster status
97
Example
local-com:
Cluster cluster-2
operational-status:
transitioning-indications:
transitioning-progress:
health-state:
health-indications:
local-com:
wan-com:
degraded
suspended exports,suspended volumes
minor-failure
169 suspended Devices
250 non-running remote virtual-volumes.
250 unhealthy Devices or storage-volumes
storage-volume unreachable
ok
degraded
suspended exports,suspended volumes
minor-failure
227 suspended Devices
250 non-running remote virtual-volumes.
250 unhealthy Devices or storage-volumes
storage-volume unreachable
ok
connectivity: PARTIAL
Example
Example
degraded
suspended exports,suspended volumes
degraded
2 suspended Devices
98
health-indications:
local-com:
1 degraded storage-volumes
ok
wan-com: ok
Example
Description
operational status
Operational status of the cluster. During transition periods cluster moves from one
operational state to another.
cluster departure - One or more of the clusters cannot be contacted. Commands
affecting distributed storage are refused.
degraded - The cluster is not functioning at an optimal level. This may indicate
non-functioning remote virtual volumes, unhealthy devices or storage volumes,
suspended devices, conflicting director count configuration values, out-of-date
devices, and so forth.
device initializing - If clusters cannot communicate with each other, then the
distributed-device will be unable to initialize.
device out of date - Child devices are being marked fully out of date.
Sometimes this occurs after a link outage.
expelled - The cluster has been isolated from the island either manually (by an
administrator) or automatically (by a system configuration setting).
ok - The cluster is operating normally.
shutdown - The clusters directors are shutting down.
suspended exports - Some I/O is suspended. This could be result of a link failure or
loss of a director. Other states might indicate the true problem.
Note: it may not be a problem, and the VPLEX might be waiting for you to confirm the
resumption of I/O.
transitioning - Components of the software are recovering from a previous incident
(for example, the loss of a director or the loss of an inter-cluster link).
transitioning
-indications
transitioning-progress
cluster status
99
Description
health-state
critical failure - The cluster is not functioning and may have failed completely. This
may indicate a complete loss of back-end connectivity.
degraded - The cluster is not functioning at an optimal level. This may indicate
non-functioning remote virtual volumes, unhealthy devices or storage volumes,
suspended devices, conflicting director count configuration values, or out-of-date
devices.
ok - The cluster is functioning normally.
unknown - VPLEX cannot determine the cluster's health state, or the state is invalid.
major failure - The cluster is failing and some functionality may be degraded or
unavailable. This may indicate complete loss of back-end connectivity.
minor failure - The cluster is functioning, but some functionality may be degraded.
This may indicate one or more unreachable storage volumes.
health-indications
local-com
ok - All wan-com links have the expected connectivity: this port-group is operating
correctly.
warning - Some links have unexpected connectivity. This port-group is operational
but not properly configured. Performance may not be optimal.
error - Some connectivity is missing from this port-group. It is not operating correctly.
fail - All connectivity is missing from this port-group. wan-com is not operational.
wan-com
See also
cluster summary
Displays a summary of all clusters and the connectivity between them.
Contexts
All contexts.
In /clusters context, command is summary.
Syntax
Example
cluster summary
100
Islands:
Island ID
--------1
Clusters
-------------------cluster-1, cluster-2
Example
Display cluster summary for VPLEX Metro configuration with a inter-cluster link outage:
Clusters
--------cluster-1
cluster-2
Connectivity
From
--------cluster-2
cluster-1
problems:
Problem
--------can't see
can't see
Example
To
--------cluster-1
cluster-2
Display cluster summary for VPLEX Metro configuration with a cluster expelled:
Clusters
--------cluster-1
cluster-2
Table 6 cluster summary field descriptions (page 1 of 2)
Field
Description
Clusters:
Name
Cluster ID
Cluster ID. For VPLEX Local, always 1. For VPLEX Metro or Geo1 or 2.
TLA
The Top-level Assembly. The product TLA must uniquely identify the product instance. For
VPLEX the TLA must uniquely identify the cluster (which is the rack and all physical
components in it)
Connected
Whether or not the CLI is connected to at least one director in the cluster (connected to the
cluster).
true - CLI is connected to the cluster.
false - CLI is not connected to the cluster.
Expelled
cluster summary
101
Description
Operational
Status
degraded - The cluster is not operating as configured and is not currently transitioning.
Examples include: degraded redundancy level (a director is dead), all exports switched to
write through because of HWH problems, suspended virtual volumes / exports, storage
volumes not visible from all directors, meta-volume not yet processed.
isolated - The cluster is not communicating with any other clusters.
ok - The cluster is functioning normally.
transitioning - The cluster is reacting to external events and may not be operating as
configured. I/O may be suspended during the transition period.
Note: If no meta-volume has been configured, operational status is transitioning.
unknown - The VPLEX encountered a problem determining the operational status of the
cluster. This may indicate a degraded state, since it usually means that at least one of the
directors is not responding or is communicating abnormally.
Health State
critical failure - The cluster is not functioning and may have failed completely. This may
indicate a complete loss of back-end connectivity.
degraded - The cluster is not functioning at an optimal level. This may indicate
non-functioning remote virtual volumes, unhealthy devices or storage volumes, suspended
devices, conflicting director count configuration values, out-of-date devices, and so forth.
ok - The cluster is functioning normally.
unknown - The VPLEX cannot determine the cluster's health state, or the state is invalid.
major failure - The cluster is failing and some functionality may be degraded or unavailable.
This may indicate complete loss of back-end connectivity.
minor failure - The cluster is functioning, but some functionality may be degraded. This may
indicate one or more unreachable storage volumes.
Islands:
Island ID
Clusters
Names of clusters belonging to the island. For current release, always cluster-1 or cluster-2.
See also
cluster unexpel
Allows a cluster to rejoin the VPLEX.
Contexts
All contexts.
In /clusters context, command is unexpel.
Syntax
Arguments
cluster unexpel
[-c|--cluster] context path]
Required arguments
[-c|--cluster] context path - Cluster to unexpel.
Description
Example
Clears the expelled flag for the specified cluster, allowing it to rejoin the VPLEX.
To manually unexpel a cluster, do the following:
1. Use the cluster summary command to verify that the cluster is expelled.
102
2. Use the ll command in the target clusters cluster context to display the clusters
allow-auto-join attribute setting.
If the clusters allow-auto-join attribute is set to true, the cluster automatically rejoins
the system. Skip to step 5
If the clusters allow-auto-join flag was set to false, proceed to step 3
3. Navigate to the target clusters cluster context and use the set command to set the
clusters allow-auto-join flag to true. For example:
VPlexcli:/ cd clusters/cluster-2
VPlexcli:/clusters/cluster-2> set cluster-1::allow-auto-join true
4. Use the cluster unexpel command in target clusters cluster context to manually
unexpel a cluster, allowing the cluster to rejoin VPLEX. The syntax for the command is:
cluster unexpel cluster-id>
For example:
VPlexcli:/clusters> cluster unexpel --cluster cluster-2
5. Use the cluster summary command to verify all clusters are in one island and working
as expected.
VPlexcli:/clusters> cluster summary
Clusters:
Name Cluster ID TLA ConnectedExpelled Operational StatusHealth State
--------- ---------- -------------- --------- -------- ------------------ ------------cluster-1 1 FNM00103600160 true false OK OK
cluster-2 2 FNM00103600161 true false OK OK
Islands:
Island ID
--------1
Clusters
------------------cluster-1, cluster-2
See also
cluster-witness configure
Creates the cluster-witness context for enabling VPLEX Witness functionality and
configuration commands.
Contexts
Syntax
All contexts.
cluster-witness configure
Arguments
None
Description
Cluster Witness is an optional component of VPLEX Metro and VPLEX Geo configurations.
Cluster Witness monitors both clusters and updates the clusters with its guidance, when
necessary. Cluster Witness allows VPLEX to distinguish between inter-cluster link failures
versus cluster failures, and to apply the appropriate detach-rules and recovery policies.
cluster-witness configure
103
IMPORTANT
This command must be run on both management servers to create cluster-witness CLI
contexts on the VPLEX.
The following must be true for the command to run successfully:
The VPN from this management server to the Cluster Witness server must be
established and functional.
IMPORTANT
ICMP traffic must be permitted between clusters for this command to work properly.
To verify that ICMP is enabled, log in to the shell on the management server and use the
ping IP address command where the IP address is for a director in the VPLEX.
If ICMP is enabled on the specified director, a series of lines is displayed:
service@ManagementServer:~> ping 128.221.252.36
PING 128.221.252.36 (128.221.252.36) 56(84) bytes of data.
64 bytes from 128.221.252.36: icmp_seq=1 ttl=63 time=0.638
64 bytes from 128.221.252.36: icmp_seq=2 ttl=63 time=0.591
64 bytes from 128.221.252.36: icmp_seq=3 ttl=63 time=0.495
64 bytes from 128.221.252.36: icmp_seq=4 ttl=63 time=0.401
64 bytes from 128.221.252.36: icmp_seq=5 ttl=63 time=0.552
ms
ms
ms
ms
ms
--- 128.221.252.36 ping statistics --5 packets transmitted, 5 received, 0% packet loss, time 4002ms
rtt min/avg/max/mdev = 0.401/0.535/0.638/0.084 ms
The ls command at the root context shows that the Cluster Witness context is not
configured.
The ls command shows the Public and Private IP addresses and the administrative
Cluster Witness state.
VPlexcli:/> ls
clusters/
distributed-storage/
monitoring/
security/
data-migrations/
engines/
notifications/
VPlexcli:> ls /cluster-witness
104
management-server/
recoverpoint/
Attributes:
Name
------------admin-state
private-ip-address
public-ip-address
Contexts:
components
See also
Value
------------disabled
128.221.254.3
10.31.25.45
cluster-witness disable
Disables Cluster Witness on both management servers and on Cluster Witness Server.
Contexts
All contexts.
In /cluster-witness context, command is disable.
Note: This command is available only after Cluster Witness has been configured and
cluster-witness CLI context is visible.
Syntax
Arguments
cluster-witness disable
[-f|--force]
[-w|--force-without-server]
Optional arguments
[-f|--force] - Force the operation to continue without confirmation. Allows this command to
be run from non-interactive scripts.
[-w|--force-without-server] - Force the operation to disable Cluster Witness on both clusters
when connectivity to Cluster Witness Server is lost but the two clusters are connected.
Use this option when Cluster Witness fails or disconnects from both clusters and recovery
is unlikely to happen soon.
Use the --force-without-server option with extreme care. Use this option to disable
Cluster Witness in order to use configured rule-sets for I/O to distributed volumes in
consistency groups.
Note: If Cluster Witness Server becomes reachable when --force-without-server option is
used, the command will also disable the Cluster Witness Server.
Description
Disables Cluster Witness on both management servers and on Cluster Witness Server.
Allows consistency group rule-sets to dictate I/O behavior to distributed virtual volumes in
consistency groups.
cluster-witness disable
105
IMPORTANT
Cluster Witness has no effect on distributed virtual volumes outside of consistency
groups.
Use this command from only one management server.
Disabling Cluster Witness does not imply that Cluster Witness components are shut down.
If Cluster Witness is disabled, the clusters stop sending health-check traffic to the Cluster
Witness Server and the Cluster Witness Server stops providing guidance back to the
clusters.
Note: If the Cluster Witness Server or connectivity to the Cluster Witness Server will be not
operational for a long period, use the --force-without-server argument. This prevents a
system-wide Data Unavailability of all distributed virtual volumes in consistency groups if
an additional inter-cluster link communication or cluster failure occurs while there is no
access to Cluster Witness Server and Cluster Witness is enabled. Once Cluster Witness
Server is accessible from both management servers, use the cluster-witness enable
command to re-enable the functionality.
Automatic pre-checks ensure that the Cluster Witness configuration is in a state where it
can be disabled. Pre-checks:
Verify connectivity between management servers and the Cluster Witness Server
Example
Example
106
Disable Cluster Witness from the cluster-witness context when the Cluster Witness Server
is not reachable. In the following example:
The disable command fails because the Cluster Witness Server is not reachable.
The ll /components command displays the state of the Cluster Witness configuration.
VPlexcli:/cluster-witness> disable
WARNING: Disabling Cluster Witness may cause data unavailability in the event of a disaster.
Please consult the VPLEX documentation to confirm that you would like to disable Cluster
Witness. Continue? (Yes/No) y
cluster-witness disable: Evaluation of <<disable>> failed.
cause:
Could not disable Cluster Witness.
cause:
Cluster Witness cannot be disabled due to failure of a pre-check.
cause:
Unable to communicate with Cluster Witness Server. Please check the
state of the Cluster Witness Server and its
connectivity and try again
VPlexcli:/cluster-witness> disable --force-without-server
WARNING: Disabling Cluster Witness may cause data unavailability in the event of a disaster.
Please consult the VPLEX documentation to confirm that you would like to disable Cluster
Witness. Continue? (Yes/No) y
VPlexcli:/cluster-witness>ll components/
/cluster-witness/components:
Name
ID Admin State
---------- -- ----------cluster-1
1
disabled
cluster-2
2
disabled
server
unknown
See also
Operational State
-----------------
Mgmt Connectivity
----------------ok
ok
failed
cluster-witness enable
Enables Cluster Witness on both clusters and Cluster Witness Server in a VPLEX Metro or
Geo configuration.
Contexts
All contexts.
In /cluster-witness context, command is enable.
Note: This command is available only after Cluster Witness has been configured and
cluster-witness CLI context is visible.
Syntax
cluster-witness enable
Description
Use this command from the management server on only one cluster.
Automatic pre-checks run before the cluster-witness enable command is issued.
Pre-checks verify that the VPLEX is in a state that Cluster Witness can be enabled.
Pre-checks:
cluster-witness enable
107
Verify connectivity between each management server and the Cluster Witness Server
If any of the pre-checks fail, the command displays the cause of failure on the specific
component and warns about possible Data Unavailability risk, if any.
There is no rollback mechanism. If the enable command fails on some components and
succeeds on others, it may leave the system in an inconsistent state. If this occurs,
consult the Troubleshooting Guide and/or contact EMC Customer Support.
The cluster-witness context does not appear in the VPLEX CLI unless the context has been
created using the cluster-witness configure command. The cluster-witness CLI context
appears under the root context. The cluster-witness context includes the following
sub-contexts:
Example
/cluster-witness/components/cluster-1
/cluster-witness/components/cluster-2
/cluster-witness/components/server
The ll command verifies that Cluster Witness is configured (the context exists)
VPlexcli:/> ll /cluster-witness
Attributes:
Name
-----------------admin-state
private-ip-address
public-ip-address
Contexts:
Name
---------components
Value
------------disabled
128.221.254.3
10.31.25.235
Description
-------------------------Cluster Witness Components
VPlexcli:/> cd /cluster-witness
VPlexcli:/cluster-witness> cluster-witness enable
VPlexcli:/cluster-witness> ll /components/*
108
/cluster-witness/components/cluster-1:
Name
Value
----------------------- -----------------------------------------------------admin-state
enabled
diagnostic
INFO: Current state of cluster-1 is in-contact (last
state change: 0 days, 56 secs ago; last message
from server: 0 days, 0 secs ago.)
id
1
management-connectivity ok
operational-state
in-contact
/cluster-witness/components/cluster-2:
Name
Value
----------------------- -----------------------------------------------------admin-state
enabled
diagnostic
INFO: Current state of cluster-2 is in-contact (last
state change: 0 days, 56 secs ago; last message
from server: 0 days, 0 secs ago.)
id
2
management-connectivity ok
operational-state
in-contact
/cluster-witness/components/server:
Name
Value
----------------------- -----------------------------------------------------admin-state
enabled
diagnostic
INFO: Current state is clusters-in-contact (last state
change: 0 days, 56 secs ago.) (last time of
communication with cluster-2: 0 days, 0 secs ago.)
(last time of communication with cluster-1: 0 days, 0
secs ago.)
id
management-connectivity ok
operational-state
clusters-in-contact
Table 7 cluster witness display fields (page 1 of 4)
Field
Description
Name
Name of component,
For VPLEX clusters name assigned to cluster.
For VPLEX Witness server server.
id
ID of a VPLEX cluster.
Always blank - for Witness server.
admin state
private-ip-address
Private IP address of the Cluster Witness Server VM used for cluster witness-specific
traffic.
public-ip-address
Public IP address of the Cluster Witness Server VM used as an endpoint of the IPsec
tunnel.
cluster-witness enable
109
110
String generated by CLI based on the analysis of the data and state information reported
by the corresponding component.
WARNING: Cannot establish connectivity with Cluster Witness Server to query diagnostic
information. - Cluster Witness Server or one of the clusters is unreachable.
Local cluster-x hasn't yet established connectivity with the server - The cluster has never
connected to Cluster Witness Server.
Remote cluster-x hasn't yet established connectivity with the server - The cluster has
never connected to Cluster Witness Server.
Cluster-x has been out of touch from the server for X days, Y secs - Cluster Witness Server
has not received messages from a given cluster for longer than 60 seconds.
Cluster witness server has been out of touch for X days, Y secs - Either cluster has not
received messages from Cluster Witness Server for longer than 60 seconds.
Cluster Witness is not enabled on component-X, so no diagnostic information is available
- Cluster Witness Server or either of the clusters is disabled.
cluster-witness enable
111
See also
Reachability of the specified Witness component over the IP management network from
the management server where the CLI command is run.
ok - The component is reachable
failed - The component is not reachable
collect-diagnostics
Collects the two latest core files from each component, logs, and configuration
information from the management server and directors.
Contexts
Syntax
Arguments
All contexts.
collect-diagnostics
--notrace
--nocores
--noperf
--noheap
--noextended
--faster
--local-only
--minimum
--allcores
--large-config
--recoverpoint-only
--out-dir directory
Required arguments
None.
Optional arguments
--notrace - Do not collect fast trace dump files from the directors.
--nocores - Do not collect core files from the directors.
--noperf - Do not collect performance sink files.
--noheap - Do not dump the management console's heap.
--noextended - Omit collection of extended diagnostics. Implies use of --nocores,
--noheap, and --notrace arguments.
--faster - Omits some of the more time-consuming operations. Use only when
collect-diagnostics is expected to take very long, for example on large configurations. The
following commands are omitted: getsysinfo, export port summary and connectivity
director.
112
--local-only - Gathers diagnostics only from the local cluster and directors.
--minimum - Combines all space-saving and time-saving options and operates only on the
local cluster.
Use this argument when the collect-diagnostics command is expected to take a long time
or produce excessively large output files. Combines the --noextended, --faster and
--local-only arguments. Also omits the second sms dump command and output file
(smsDump-CLI_Logs_timestamp.zip).
--allcores - Collect all available core files from the directors. By default, only the two latest
core files are collected.
--large-config - Omits the cluster configdump command output. Use this argument only
when the configuration has:
Collects logs, cores and configuration information from management server and directors.
Places the collected output files in the /diag/collect-diagnostics-out directory on the
management server.
2 compressed files are placed in /diag/collect-diagnostics-out directory:
Best practice is to collect both files. The extended collect-diagnostics file is usually large,
and thus takes some time to transfer.
Recommended practice is to transfer the base collect-diagnostics file
(tla-diagnostics-timestamp.tar.gz) first and begin analysis while waiting for the extended
file to transfer.
Starting in GeoSynchrony 5.1, this command also collects RecoverPoint diagnostics data:
The extended .tar file includes the two latest RecoverPoint kdriver core files.
The base tar file includes an additional directory: /opt/recoverpoint/. Files in this
directory include the RecoverPoint splitter logs:
collect-diagnostics
113
vpsplitter.log.current_env. Note: On VPLEX Metro or Geo configurations, collect-diagnostics must be invoked from
each management server in order to collect complete diagnostics. Director core files and
management server diagnostics files are only collected for the local cluster.
Other than core files, director diagnostics are retrieved from ALL directors in a VPLEX Metro
or Geo unless the --local-only argument is used.
Note: Core files are always collected only from local directors. Starting in Release 5.1, only
the latest 2 core files are collected by default, and any older core files are not collected. To
collect all the core files, use the --allcores argument.
In VPLEX Metro and Geo configurations, run the collect-diagnostics command on each
management server, but NOT at the same time. Even if the --local-only argument is used,
do not run the command on both management servers at the same time.
EMC recommends that files created by collect-diagnostics be removed from the
management server as soon as possible to avoid filling management server disk
partitions.
Example
Collect diagnostics, omitting the core files on the directors and the management server
console heap, and send the output to the default directory:
VPlexcli:/> collect-diagnostics --nocores --noheap
Example
Collect all RecoverPoint diagnostics, including all available RecoverPoint core files, and
send the output to the default directory:
VPlexcli:/> collect-diagnostics --recoverpoint-only --allcores
See also
configuration complete-system-setup
Completes the VPLEX Metro or Geo configuration.
Contexts
Syntax
Description
All contexts.
configuration complete-system-setup
Completes the automated EZ-Setup Wizard for VPLEX Metro and VPLEX Geo configurations.
This command must be run twice: once on each cluster.
114
Note: Before using this command on either cluster, first use the configuration
system-setup command (on both clusters).
Example
See also
configuration configure-auth-service
Configures the authentication service selected by the user.
Contexts
Syntax
Description
All contexts.
configuration configure-auth-service
Example
LDAP
AD
Select the type of authentication service provider you would like use for VPLEX authentication.
(1 - 2) [1]: 1
Enter the Authentication Server IP Address:
[]: 10.31.52.53
SSL
TLS
115
Note: After running this command, run the webserver restart command.
See also
configuration connect-local-directors
Connects to the directors in the local cluster.
Contexts
Syntax
Arguments
All contexts.
configuration connect-local-directors
[-f|--force]
Required arguments
None.
Optional arguments
[-f|--force] - Connect to local directors regardless of current connections.
Description
Example
Example
116
Use the --force argument when the directors are already connected:
See also
configuration connect-remote-directors
Connects to the remote directors after the VPN connection has been established.
Contexts
Syntax
Arguments
All contexts.
configuration connect-remote-directors
[-c|--engine-count]engine count
[-f|--force]
Required arguments
None.
Optional arguments
[-c|--engine-count] engine count - Specifies the number of engines present at the remote
site.
[-f|--force] - Connect to remote directors regardless of current connections.
Description
During system setup for a VPLEX Metro or Geo configuration, use the configuration
connect-remote-directors command to connect the local cluster to the directors in the
remote cluster.
Run this command twice: once from the local cluster to connect to remote directors, and
once from the remote cluster to connect to local directors.
Prerequisite: Number of directors at each cluster.
Example
to
to
to
to
Plex
Plex
Plex
Plex
firmware
firmware
firmware
firmware
See also
director-2-1-A.
director-2-1-B.
director-2-2-A.
director-2-2-B.
117
configuration continue-system-setup
Continues the EZ-Setup Wizard after back-end storage is configured and allocated for the
cluster.
Contexts
Syntax
Description
All contexts.
configuration continue-system-setup
This command validates the back-end configuration for the local cluster. The cluster must
have its back-end allocated and configured for this command to succeed.
Use the configuration system-setup command to start the EZ-Setup Wizard to configure
the VPLEX.
Zone the back-end storage to the port WWNs of the VPLEX back-end ports.
After the back-end storage is configured and allocated for the cluster, use the this
command to complete the initial configuration.
Example
See also
configuration cw-vpn-configure
Establishes VPN connectivity between a VPLEX management server and the Cluster
Witness Server and starts the VPN tunnel between them. The command is interactive and
requires inputs to complete successfully.
This command must be run on both management servers to establish a 3-way VPN
between the management servers and the Cluster Witness Server.
Contexts
Syntax
Arguments
All contexts.
configuration cw-vpn-configure
[-i|--ip-address] public-ip-address
Required arguments
[-i|--ip-address] public-ip-address - * Valid public IP address of the Cluster Witness Server.
Description
IMPORTANT
In order for this command to succeed, the following conditions must be true:
VPN connectivity is established between the VPLEX
management servers
Cluster Witness Server is successfully deployed based on the
steps in the Cluster
Witness Installation guide
Cluster Witness Server is configured with a static public IP
interface
This command:
118
Configures the VPN tunnel between the local VPLEX management server and the
Cluster Witness Server.
Checks if VPLEX cluster's management servers are connected by the VPN tunnel. If
Cluster Witness Server is not yet configured with VPN:
Generates the Cluster Witness Server host certificate
Configures the IPSec settings for Cluster Witness Server on the VPLEX management
server
Configures the IPSec settings for the management server on the Cluster Witness
Server
Restarts the IPSec service on the Cluster Witness Server VM
Validates Cluster Witness Server VPN connectivity with the VPLEX management server.
Prerequisites
The following information is required to complete this command:
VPLEX Metro or Geo setup is successfully completed using EZSetup. This creates a VPN
connection between VPLEX management servers.
Confirm that the VPLEX setup meets the requirement for Cluster Witness configuration.
See the VPLEX Cluster Witness Deployment and Configuration guide for more
information.
Passphrase of the Certificate Authority Key that was provided during VPN configuration
between management servers.
Passphrase for creating the Cluster Witness host certificate. This passphrase should
be different than passphrase used in creating host certificates for management
servers.
Note: If this command is run when the VPN is already configured, the following error
message is displayed: VPN connectivity is already established.
Example
Configure the VPN tunnel between VPLEX management server (10.31.25.26) to the
Cluster Witness Server (10.31.25.45) while maintaining the pre-configured VPN
connection to the other management server (10.31.25.27).
Note: The passphrase entered for the Cluster Witness Server Host Certificate Key is
reconfirmed with a Re-enter the passphrase for the Certificate Key prompt. This is because
the Cluster Witness Server Host Certificate Key password is created for the first time. There
is no reconfirmation prompt for the passphrase of Certificate Authority because this CA
passphrase Key is already created earlier as a part of complete-metro-setup.
In this example, run the command on the management server in the first VPLEX cluster
(10.31.25.26):
VPlexcli:/> configuration cw-vpn-configure -i 10.31.25.45
configuration cw-vpn-configure
119
The Cluster Witness requires a VPLEX Metro or VPLEX Geo configuration. Is this system configured
as a Metro or Geo? (Y/N): y
Run the command on the management server in the second VPLEX cluster (10.31.25.27):
Please enter the IP address of the remote cluster management server in the plex that will be
involved in the 3 way VPN setup: 10.31.25.26
Verifying the VPN status between the management servers...
IPSEC is UP
Remote Management Server at IP Address 10.31.25.26 is reachable
Remote Internal Gateway addresses are reachable
120
Verifying the VPN status between the management server and the cluster witness server...
Cluster Witness Server at IP Address 128.221.254.3 is not reachable
Verifying the VPN status between the management server and the cluster witness server...
IPSEC is UP
Cluster Witness Server at IP Address 128.221.254.3 is reachable
Verifying the VPN status between the management servers...
IPSEC is UP
Remote Management Server at IP Address 10.31.25.26 is reachable
Remote Internal Gateway addresses are reachable
Cluster Witness Server VPN Configuration Complete.
The Setup Wizard has completed the automated portion of configuring your cluster.
From this point, please follow the manual procedures defined in the Installation and Setup
Guide.
The log summary for configuration automation has been captured in
/var/log/VPlex/cli/VPlexconfig.log
The task summary and the commands executed for each automation task has been captured in
/var/log/VPlex/cli/VPlexcommands.txt
The output for configuration automation has been captured in
/var/log/VPlex/cli/capture/VPlexconfiguration-session.txt
See also
configuration cw-vpn-reset
Resets the VPN connectivity between the management server and the Cluster Witness
Server.
Contexts
Syntax
Description
All contexts.
configuration cw-vpn-reset
Resets the VPN between the management server on a cluster and the Cluster Witness
Server.
Use this command with EXTREME CARE. This command will erase all Cluster Witness VPN
configuration.
In order to complete, this command requires VPN connectivity between the management
server and the Cluster Witness Server.
Note: Run this command twice: once from each management server.
Example
VPlexcli:/> configuration
cw-vpn-reset
configuration cw-vpn-reset
121
This command will reset the vpn connectivity from this VPLEX instance to the Cluster Witness
Server.
Do you want to continue? (Y/N): Y
To disable the VPN connectivity to the Cluster Witness Server please enter RESET (case
sensitive):RESET
Verifying if there
is a VPN connection between the Management Server and the Cluster Witness Server...
Verifying if the Cluster Witness has been configured on this Management Server...
Verifying if the Cluster Witness has been enabled on this Management Server...
Successfully removed the connection name and updated the Cluster Witness Server ipsec.conf file
Successfully transferred the ipsec configuration file to the Cluster Witness Server and
restarted the IPSec process
Successfully removed the cluster witness connection name from the Management Server ipsec.conf
file
Successfully restarted the ipsec process on the Management Server
Resetting
Verifying
Verifying
VPN Reset
SSH configuration.
has been configured on this Management Server...
has been enabled on this Management Server...
Server and the Cluster Witness Server is now complete.
SSH configuration.
has been configured on this Management Server...
has been enabled on this Management Server...
Server and the Cluster Witness Server is now complete.
The task summary and the commands executed for each automation task has been captured in
/var/log/VPlex/cli/VPlexcommands.txt
122
See also
configuration enable-front-end-ports
After the meta-volume is created, continues the EZ-Setup wizard.
Contexts
Syntax
Description
All contexts.
configuration enable-front-end-ports
Used to complete the initial system configuration using the EZ-Setup Wizard. After the
meta-volume has been configured on the cluster, use this command to resume setup and
enable the front-end ports on the local cluster.
Prerequisite: The cluster must be configured with a meta-volume and a meta-volume
backup schedule.
Example
See also
All contexts.
configuration event-notices-reports-config
This command runs an interview script that prompts for values to configure event
notification (call-home) and reporting (SYR).
If both call-home and SYR are already configured, the current configuration information is
displayed.
If either call-home or SYR is not configured, interview questions to configure the service
that is not configured are displayed.
Note: This command does not modify an existing configuration. Use the configuration
event-notices-reports reset command to reset (delete) an existing event notification and
reporting configuration. Then use this command to configure new settings.
123
In addition, you will need the following information to complete configuration of call-home
and SYR reporting:
Example
IP address of the primary SMTP server used to forward reports to EMC. EMC
recommends using your ESRS gateway as the primary connection address.
(Optional) One or more IP address of secondary SMTP servers used to forward reports
to EMC if the primary server fails. This address must be different than the address for
the primary SMPTP server.
(Optional) One or more e-mail addresses of personnel who should receive e-mail
notifications when events occur.
In the following example, neither call-home nor SYR is configured. The interview script
prompts for information to configure both services.
Note: All IP addresses in the following example are for illustration only. Enter the IP
addresses applicable to your configuration.
Would you like to configure this cluster to send event notifications to EMC? (yes/no)
[yes]yes
By sending EMC System Reports, EMC can proactively communicate known configuration risks to
you. Any newly discovered information that can optimize or reduce risks to your system can also
be communicated.
Would you like to configure this cluster to send system reports to EMC? (yes/no) [yes]yes
Configure Event and System Report Notifications
Events and/or system reports will be called home through an SMTP server. You will need to provide
the SMTP IP v4 address for the primary connection. EMC recommends using your ESRS gateway as
the primary connection address.
124
Would you also like one or more people in your organization to receive the events and/or system
reports? (yes/no) [yes]yes
Notification Options
By configuring your Event Notifications, people in your organization will receive email
notifications when events occur. Events and/or system reports will be called home through an
SMTP server. EMC recommends that you distribute your connections over multiple SMTP servers for
better availability. Note that these SMTP v4 IP addresses can be different from the addresses
used for EMC Event Notifications.
1. On Success or Failure - Sends an email regardless of whether the email notification
to EMC succeeded.
2. On Failure - Sends an email each time an attempt to notify EMC has failed.
3. On All Failure - Sends an email only if all attempts to notify EMC have failed.
4. On Success - Sends an email each time EMC is successfully sent an email
notification.
Would you like to notify additional members of your organization? (yes/no) [no]no
Configure EMC System Reports
You chose to send system reports back to EMC. Please note: All times are UTC and are not based
on the local time.
VPLEX is configured to send a system report to EMC every Monday at 09:11.
Would you like to change the time the system report is sent? [no]yes
What day of the week should the system report be collected? (Sun=0..Sat=6)5
What hour of the day should the system report be collected? (0..23)5
What minute of the hour should the system report be collected? (0..59)0
VPLEX is configured to send a system report to EMC every Friday at 05:00.
Would you like to change the time the system report is sent? [no]no
Notification Information
Events and system reports will be sent by the cluster.
The Primary connection will go through SMTP server 1.1.1.1.
Failover connections will go through these SMTP servers:
2.2.2.2
Your organization will receive event notifications as follows:
aneuburg@emc.com will receive On Failure over 3.3.3.3
The system report will be sent home weekly on Friday at 05:00.
125
Verifying that all the pre-conditions for configuring the notification connection(s) are
satisfied.
Verifying that the Call Home configuration file is present.
Verification of the pre-conditions for the run complete.
Configuring notification connection records.
Stopping EMC VPlex connectemc
Stopped.
Starting EMC VPlex connectemc
Started.
Stopping EMC VPlexEmaAdaptor process
Stopped.
Starting EMC VPlexEmaAdaptor process
Started.
SYR data collection job scheduled
Configuring notification connection records is completed successfully.
The call-home has been successfully configured
VPlexcli:/>
Example
See also
Example
126
All contexts.
configuration event-notices-reports-reset
This command:
Contexts:
snmp-traps
VPlexcli:/> configuration event-notices-reports-reset
Call home is configured, Do you want to reset current configuration? (Y/N): y
Resetting all the tasks....
Cleaning up CallHomeAutomationTask...
Clearing all callhome records...
Restarting the call home services...
Stopping EMC VPlex connectemc
Starting EMC VPlex connectemc
Stopping EMC VPlexEmaAdaptor process
Starting EMC VPlexEmaAdaptor process
Disabling callhome...
Stopped.
Started.
Stopped.
Started.
VPlexcli:/> ls /notifications/call-home/
/notifications/call-home:
Attributes:
Name
Value
------- ----enabled false
Contexts:
snmp-traps
See also
127
configuration event-notices-reports-show
This command shows call-home and SYR connections based the ConnectEMC
configuration.
Contexts
Syntax
Arguments
All contexts.
configuration event-notices-reports-show [options]
Description
Example
This command shows call-home and SYR connections based the ConnectEMC
configuration. There are no limitations.
A normal example:
VPlexcli:/> configuration event-notices-reports-show
EMC Connection Records
Entry SMTP Address Type
----- ------------ -------1
1.2.3.4
Primary
2
2.3.4.5
Failover
Customer Connection Records
Entry SMTP Address E-mail Address
----- ------------ ------------------------3
2.3.4.5
jane.doe@mycompany.com
4
4.5.6.7
john.smith@mycompany.com
5
1.2.3.4
janet.smith@mycompany.com
Example
Type
------------------onSuccess/onFailure
onFailure
onAllFailure
Example
128
----1
2
3
Example
-----------2.3.4.5
4.5.6.7
1.2.3.4
------------------------jane.doe@mycompany.com
john.smith@mycompany.com
janet.smith@mycompany.com
------------------onSuccess/onFailure
onFailure
onAllFailure
Example
Failover
onSuccess/onFailure
onFailure
onAllFailure
onSuccess
configuration get-product-type
Displays the VPLEX product type (Local, Metro, or Geo).
Contexts
Syntax
Description
All contexts.
configuration get-product-type
Example
See also
129
configuration join-clusters
Validates WAN connectivity and joins the two clusters.
Contexts
Syntax
Arguments
All contexts.
configuration join-clusters
[-i|--remote-ip] remote IP address
[-h|--help]
Required arguments
None
Optional arguments
[-i|--remote-ip] remote IP address - Specifies the IP address of the remote server.
[-h|--help] - Displays command line help.
Description
Example
This command validates WAN connectivity and joins the two clusters.
Join clusters at the specified remote IP address:
See also
configuration metadata-backup
Configures and schedules the daily backup of VPLEX metadata.
Contexts
130
All contexts.
Syntax
Description
configuration metadata-backup
Selects the volumes to use as backup volumes and creates the initial backup of both
volumes.
IMPORTANT
This command must be executed on the management server in which you want to create
the backups.
Runs an interview script that prompts for values to configure and schedule the daily
backups of VPLEX metadata.
Renaming backup metadata volumes is not supported.
Specify two or more storage volumes. Storage volumes must be:
- unclaimed
- on different arrays
Example
configuration metadata-backup
131
yes (or simply accept the default and press Enter) to start the setup process. If the values
are not correct, enter no to go back and make changes or to exit the setup.
Meta-data Backups
Meta-data will be backed up every day at 11:25.
The following volumes will be used for the backup :
VPD83T3:60000970000192601714533036464236,
VPD83T3:60000970000192601714533036464237
Would you like to run the setup process now? [yes]:
Example
See also
configuration register-product
Registers the VPLEX product with EMC.
Contexts
132
All contexts.
Syntax
configuration register-product
Description
Runs the product registration wizard. Prompts for the following information:
Mailing address.
The command uses the responses to create a file for product registration. A prompt is then
displayed asking how the registration should be sent to EMC. Two methods are available:
Example
VPlexcli:/> configuration register-product
Welcome to the VPLEX Product Registration Assistant. To register your
VPLEX product, please provide the information prompted for below.
This information will be sent to EMC via email or, this information will be captured in a file
that you can attach to an email to send to EMC.
Attempting to determine the VPLEX Product Serial Number from the system.
Company
Company
Contact
Contact
Contact
Contact
Company
Company
Company
Company
Company
Which method will be used to Connect Home. Enter the number associated with your selection.
1: ESRS 2: Email Home 3: Do Not Connect Home
Connect Home using : 3
Which method will be used for Remote Support. Enter the number associated with your selection.
1: ESRS 2: WebEx
Remote Support using : 2
Please review your product registration information below.
VPLEX Product Serial Number : DEV12345678
VPLEX software version : 0.17.25.0.0
Company Site ID # : 12345
Company Name : EMC Test
First Name : Customer
Last Name : One
Business Email Address : customer.one@company.com
Business Phone Number : 888-555-1212
Business Address : 176 Main Street
City : Boston
State/Province : MA
Zip/Postal Code : 01748
Country : USA
Connect Home Using : Do not Connect Home
Remote Support Using : WebEx
configuration register-product
133
See also
Arguments
All contexts.
configuration remote-clusters add-addresses
[-c |--cluster] cluster context
[-d |--default]
[-r |--remote-cluster] cluster context
[-a |--addresses] addresses [, addresses...]
[-h |--help]
[--verbose]
Optional arguments
[-c |--cluster] cluster context - * Specifies the cluster whose connectivity configuration is to
be modified. Typically the cluster above the current context.
[-d | --default] - Applies default configuration values. Default configuration pulls the
cluster-address attribute of the active subnets from all remote clusters. This option does
not require --remote-cluster or --addresses.
[-r | --remote-cluster] cluster context - Specifies the remote-cluster configuration entry to
modify. Cannot be the same context specified in --cluster. This option is not required
when --default is used. --addresses is required if this option is used.
[-a | --addresses] addresses [, addresses...] - Specifies one or more remote
ip-address:port-number entries to add for the specified --remote-cluster. This option is
not required when --default is used. If this option is used --remote-cluster is also required.
[-h | --help] - Displays the usage for this command.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
* - argument is positional.
Description
Example
Adds one or more address:port configurations for the specified remote-cluster entry for
this cluster.
Add a cluster 2 address to cluster 1:
VPlexcli:/> ls /clusters/cluster-1/connectivity/wan-com
134
/clusters/cluster-1/connectivity/wan-com:
Attributes:
Name
-----------------------discovery-address
discovery-port
listening-port
remote-cluster-addresses
Value
--------------------------------------------------224.100.100.100
10000
11000
cluster-2 [192.168.11.252:11000]
Example
Value
--------------------------------------------------224.100.100.100
10000
11000
cluster-2 [10.6.11.252:11000, 192.168.11.252:11000]
Add cluster 2 addresses to cluster 1, assuming that the WAN COM port groups for cluster 2
have their cluster-address properly configured:
VPlexcli:/clusters/cluster-1/connectivity/wan-com> ls
Attributes:
Name
-----------------------discovery-address
discovery-port
listening-port
remote-cluster-addresses
Value
----------------------------224.100.100.100
10000
11000
-
See also
Value
--------------------------------------------------224.100.100.100
10000
11000
cluster-2 [10.6.11.252:11000, 192.168.11.252:11000]
All contexts.
configuration remote-clusters clear-addresses
configuration remote-clusters clear-addresses
135
Arguments
Optional arguments
[-c |--cluster] cluster context - * Specifies the cluster whose connectivity configuration is to
be modified. Typically the cluster above the current context.
[-r | --remote-cluster] cluster context - * Specifies the remote-cluster configuration entry to
modify. Cannot be the same context specified in --cluster.
[-a | --addresses] addresses [, addresses...] - Specifies one or more remote
ip-address:port-number entries to remove for the specified --remote-cluster. If no entry is
specified, all entries are removed for the specified --remote-cluster.
[-h | --help] - Displays the usage for this command.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
* - argument is positional.
Description
Example
Clears one, several, or all address:port configurations for the specified remote-cluster
entry for this cluster.
Clear a cluster 2 address on cluster 1:
VPlexcli:> ls /clusters/cluster-1/connectivity/wan-com
/clusters/cluster-1/connectivity/wan-com:
Attributes:
Name
-----------------------discovery-address
discovery-port
listening-port
remote-cluster-addresses
Value
--------------------------------------------------224.100.100.100
10000
11000
cluster-2 [10.6.11.252:11000, 192.168.11.252:11000]
See also
136
Value
--------------------------------------------------224.100.100.100
10000
11000
cluster-2 [192.168.11.252:11000]
configuration short-write
Reports whether the short-write feature is enabled or disabled and provides a way to
enable or disable the feature on a cluster.
Contexts
Syntax
Arguments
All contexts
configuration short-write
[--status [on|off]]
[-h|--help ]
Optional Arguments
--status [ on | off ] - Enables or disables the short write feature on the cluster on which you
run the command. The default value is On.
[ -h| --help ] - Provides help for the command.
Description
If the short-write command is executed with no options it shows the current status of the
short-write feature. To change whether the short-write feature is enabled or not, specify on
or off using the --status option.
Note: When changing the status of the short-write feature, if any operation fails, the
currently changed values will be reverted.
Example
Using the configuration short-write command to report the status of the short-write feature
on a cluster.
vplexcli> configuration short-write
The short-write feature is enabled
Example
Using the configuration short-write command to set the status of the short-write feature to
enabled on a cluster.
vplexcli> configuration short-write --status on
The short-write feature is set to enabled
configuration show-meta-volume-candidates
Display the volumes which meet the criteria for a VPLEX meta-volume.
Contexts
Syntax
Description
All contexts.
configuration show-meta-volume-candidates
Unclaimed
At least 78 Gb capacity
If the meta-volume is configured on a CLARiiON array, it must not be placed on the vault
drives of the CLARiiON.
configuration short-write
137
Capacity Vendor
IO Status Type
Array Name
-------- -------- --------- ----------- --------------------187G
EMC
alive
traditional EMC-SYMMETRIX-190100547
98.5G
EMC
alive
traditional EMC-SYMMETRIX-192601707
98.5G
EMC
alive
traditional EMC-SYMMETRIX-192601707
98.5G
EMC
alive
traditional EMC-SYMMETRIX-192601707
98.5G
EMC
alive
traditional EMC-SYMMETRIX-192601707
98.5G
EMC
alive
traditional EMC-SYMMETRIX-192601707
98.5G
EMC
alive
traditional EMC-SYMMETRIX-192601707
98.5G
EMC
alive
traditional EMC-SYMMETRIX-192601707
80G
DGC
alive
traditional
The task summary and the commands executed for each automation task has been captured in
/var/log/VPlex/cli/VPlexcommands.txt
The output for configuration automation has been captured in
/var/log/VPlex/cli/capture/VPlexconfiguration-session.txt
VPlexcli:/>
See also
Syntax
Description
138
Subnet properties cannot be modified unless both of the following are true:
Example
VPlexcli:/clusters/cluster-1/connectivity/wan-com/port-groups/ip-port-group-3/subnet> ls
Name
Value
---------------------- ----cluster-address
192.168.10.10
gateway
192.168.10.1
mtu
1500
prefix
192.168.10.0/255.255.255.0
proxy-external-address 10.10.42.100
remote-subnet-address
192.168.100.10/255.255.255.0
VPlexcli:/clusters/cluster-1/connectivity/wan-com/port-groups/ip-port-group-3/subnet> clear
./
Clearing subnet for the following port-groups:
Cluster
Role
Port-Group
--------- ------- --------------cluster-1 wan-com ip-port-group-3
Are you sure you want to clear these subnets? (Yes/No) yes
VPlexcli:/clusters/cluster-1/connectivity/wan-com/port-groups/ip-port-group-3/subnet> ls
Name
Value
---------------------- ----cluster-address
gateway
mtu
1500
prefix
proxy-external-address remote-subnet-address
-
Example
VPlexcli:/> ls /clusters/cluster-1/connectivity/wan-com/port-groups/ip-port-group-3/subnet
Name
Value
---------------------- ----cluster-address
192.168.10.10
gateway
192.168.10.1
mtu
1500
prefix
192.168.10.0/255.255.255.0
proxy-external-address 10.10.42.100
139
remote-subnet-address
192.168.100.10/255.255.255.0
Example
Arguments
All contexts.
configuration subnet remote-subnet add
[-s|--subnet] subnet context
[-r|--remote-subnets] prefix [, prefix...]
[-h|--help]
[--verbose]
Required arguments
[-s|--subnet] subnet context - * Specifies the front-end or back-end iSCSI subnet where a
routing prefix should be added.
[-r|--remote-subnets] prefix [, prefix...] - * Specifies the routing prefixes (remote subnets)
to add to the subnet.
Optional arguments
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
* - argument is positional.
Description
140
Adds to a front-end or back-end iSCSI subnet, a routing prefix (remote subnet) that should
be accessed through the subnets gateway.
Note: This command is valid only on systems that support iSCSI devices.
Example
Example
VPlexcli:/clusters/cluster-1/connectivity/back-end/port-groups/iscsi-port-group-8/subnet>
remote-subnets add ./ 192.168.1.0/255.255.255.0
Successfully added 1 remote subnets.
Example
See also
Arguments
All contexts.
configuration subnet remote-subnet remove
[-s|--subnet] subnet context
[-r|--remote-subnets] prefix [, prefix...]
[-h|--help]
[--verbose]
Required arguments
[-s|--subnet] subnet context - * Specifies the front-end or back-end iSCSI subnet where a
routing prefix should be removed.
[-r|--remote-subnets] prefix [, prefix...] - * Specifies the routing prefixes (remote subnets)
to remove from the subnet.
Optional arguments
[-h|--help] - Displays command line help.
configuration subnet remote-subnet remove
141
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
* - argument is positional.
Description
Removes from a front-end or back-end iSCSI subnet, a routing prefix (remote subnet) that
should be accessed through the subnets gateway.
Note: This command is valid only on systems that support iSCSI devices.
Example
Example
VPlexcli:/clusters/cluster-1/connectivity/back-end/port-groups/iscsi-port-group-8/subnet>
remote-subnets remove ./ 192.168.1.0/255.255.255.0
Successfully removed 1 remote subnets.
Example
See also
configuration sync-time
Synchronizes the time of the local management server with a remote NTP server. Remote
Metro and Geo clusters are synchronized with the local management server.
Contexts
Syntax
142
All contexts.
configuration sync-time
[-i|--remote-ip] remote-server-IP-address
[-f|--force]
[-h|--help]
[--verbose]
Arguments
Required arguments
None
Optional arguments
[-i|--remote-ip] remote-server-IP-address - Specifies the IP address of the remote NTP
server.
[-f|--force] - Skips the verification prompt.
[-h|--help] - Displays the command line help for this command.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
Description
May cause the CLI or SSH session to disconnect. If this occurs, re-log in and continue
system set-up where you left off.
This command synchronizes Cluster 1 with the external NTP server, or will synchronize
Cluster 2 with the local management server on Cluster 1.
Use this command before performing any set-up on the second cluster of a VPLEX Metro or
Geo configuration.
Use this command during initial system configuration before using the configuration
system-setup command.
The command prompts for the public IP address of the NTP server, or the local
management server, if not provided.
Example
143
Example
See also
configuration sync-time-clear
Clears the NTP configuration on a management server.
Contexts
Syntax
Arguments
All contexts.
configuration sync-time-clear
[-h|--help]
[--verbose]
Required arguments
None
Optional arguments
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
Description
144
Example
See also
Arguments
All contexts.
configuration sync-time-show
[-h|--help]
[--verbose]
Required arguments
None
Optional arguments
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
Description
Example
Example
See also
configuration system-reset
Resets the cluster to the manufacturing state.
Contexts
All contexts.
145
Syntax
Description
configuration system-reset
Example
See also
configuration system-setup
Starts the EZ-Setup Wizard automated configuration tool.
Contexts
Syntax
Arguments
All contexts.
configuration system-setup
Required arguments
[-m|--setup-multiplex-specific] - Use this argument only on the first cluster added to a
VPLEX Metro or Geo configuration.
Configures the VPN and establishes a secure connection between the clusters
Before using this argument, use the configuration system-setup command on the second
cluster of a VPLEX Metro or Geo configuration. Refer to the EMC VPLEX Installation and
Setup Guide.
Description
Use the exit command any time during the session to exit EZ-Setup.
Use the configuration system-setup command to resume EZ-Setup. The process restarts
from the first step. Any values from the previous session appear as default values.
IMPORTANT
There must be no meta-volume configured, and no storage exposed to hosts in order to
run this command.
EZ-Setup Wizard automates the following steps:
146
Sets the Cluster IP Seed (see About cluster IP seed and cluster ID on page 486)
Configures NTP
Configures VPN
Configures/enables call-home
Use the configuration system-setup command to start the EZ-Setup Wizard. Configure
the VPLEX based on information typed in response to a series of questions.
Use the exit command to exit the EZ-Setup Wizard.
Use the configuration system-setup command to restart the wizard from the first step.
Values entered in the previous session are displayed as the defaults.
Zone the back-end storage to the port WWNs of the VPLEX back-end ports.
configuration system-setup
147
Example
See also
configuration upgrade-meta-slot-count
Upgrades the slot count of the active meta volume at the given cluster to 64,000 slots.
Context
Syntax
Arguments
/clusters/cluster/system-volumes
configuration upgrade-meta-slot-count
[-c | --cluster=]cluster
[-d | --storage-volumes= volume [, volume ...]
[-h | --help ]
[--verbose]
[-f | --force]
Optional arguments
[-h | --help] - Displays the usage for this command.
[--verbose] - Provides more output during command execution.
[-c | --cluster=] cluster - The cluster at which to upgrade the slot count of the active meta
volume. When specified from within a /clusters/cluster context, the value of that context
is used as cluster. The -c or --cluster argument is positional.
[-d | --storage-volumes= volume [, volume ...] - Creates a temporary meta volume from one
or more storage volumes. After the command completes successfully the temporary meta
volume will be destroyed. The specified storage volumes must not be empty, and must be
at the implied or specified cluster.
Type the system IDs for the storage volumes separated by commas.
IMPORTANT
Specify two or more storage volumes. Storage volumes should be on different arrays.
[-f | --force] - Forces the upgrade to proceed without asking for confirmation.
Description
On the metadata volume, each slot stores header information for each storage volume,
extent, and logging volume. This command upgrades the slot count of the active meta
volume at the given cluster to 64,000 slots.
By default, the oldest meta volume backup at the cluster serves as a temporary meta
volume.
If you specify the -d or --storage-volume option, then the command creates the temporary
meta volume from scratch from those disks. The temporary meta volume is active while
the currently-active meta volume is being upgraded. At the end of the process, VPLEX
reactivates the original meta volume and the temporary meta volume becomes a backup
again. VPLEX renames the backup to reflect the new point in time at which it became a
backup.
148
If the meta-volume is configured on a CLARiiON array, it must not be placed on the
vault drives of the CLARiiON.
Minimum of 78GB.
If two or more storage-volumes are specified, they must be on two separate arrays if more
than one array is present. This command creates a RAID-1 of all the storage-volumes.
connect
Connects to a director.
Contexts
Syntax
Arguments
All contexts.
connect
[-o|--host] [host name|IP address]
--logport port number
--secondary-host [host name|IP address]
--secondary-logport secondary port number
[-n|--name] name
[-t|--type] system type
[-p|--password] password
[-c|--connection-file] filename
[-s|--save-authentication]
--no-prompt
Required arguments
None.
Optional arguments
[-o|--host] {host-name|IP address} - * Host name or IP address of the director to which to
connect.
Default: localhost.
connect
149
--logport port-number - For use by EMC personnel only. A firmware log event port.
Applicable only to test versions of the firmware.
--secondary-host {host-name|IP address} - Host name or IP address of the redundant
interface on director to which to connect.
--secondary-logport secondary-port-number - For use by EMC personnel only. A firmware
log event port. Applicable only to test versions of the firmware.
--name name - * Name to assign to the director after the connection.
Default: Host name or IP address.
[-t|--type] type - For use by EMC personnel only. VPLEX can communicate with its firmware
through two styles of interfaces. Tools such as the VPLEX simulator use the 'legacy' type
interface.
[-p|--password] password - Set the password for the connection.
[-c|--connection-file] filename - Load a list of connections from file named connections at:
service@ManagementServer:/var/log/VPlex/cli on the VPLEX management server.
[-s|--save-authentication] - Save the authentication information used to connect to the
VPLEX without asking for confirmation.
--no-prompt - Do not prompt for a password when authentication to the VPLEX is required.
* - argument is positional.
Description
Manually re-connect after a power outage when the management server boots up
before the directors are available.
After a power outage, if the management server boots before the directors are
available, the CLI is operational before the directors can respond to the automatic
connect. Use the connect -c connection-filename command to manually re-connect
the directors.
During normal system setup, connections to directors are established and stored in a file:
/var/log/VPlex/cli/connections.
Use the connect -c filename command if the entry for the director exists in the connections
file.
Note: If the disconnect command is issued for a director, the entry in the connections file
for that director is removed from the connections file.
When a director is connected, the context tree expands with new contexts representing
the director, including:
150
If this is the first connection to a director at that cluster, a new cluster context below
/clusters.
If this is the first connection to a director belonging to that engine, a new engine
context below /engines.
Use the connect -name name command to name the new context below
/engines/engine/directors. If is omitted, the host name or IP address is used.
Note: name is required if two host addresses are specified.
If the --connection-file argument is used, the specified file must list at least one host
address to connect to on each line with the format:
host|[secondary host][,name]
Sample connections file:
service@ManagementServer:/var/log/VPlex/cli> tail connections
128.221.252.67:5988|128.221.253.67:5988,Cluster_2_Dir_1A
128.221.252.68:5988|128.221.253.68:5988,Cluster_2_Dir_1B
128.221.252.69:5988|128.221.253.69:5988,Cluster_2_Dir_2A
128.221.252.70:5988|128.221.253.70:5988,Cluster_2_Dir_2B
128.221.252.35:5988|128.221.253.35:5988,Cluster_1_Dir1A
128.221.252.36:5988|128.221.253.36:5988,Cluster_1_Dir1B
128.221.252.36:5988,128.221.252.36
128.221.252.35:5988,128.221.252.35
Example
See also
connectivity director
Displays connections from the specified director through data (non-management) ports.
Contexts
Syntax
Arguments
All contexts.
connectivity director
director
[-d|--storage-volumes]
[-i|--initiators]
[-n|--directors]
[-f|--file] filename
[-s|sort-by][name|wwn|port]
Required arguments
director - Director to discover.
Optional arguments
[-d|--storage-volumes] - Display connectivity from the specified director to storage
volumes.
[-i|--initiators] - Display connectivity from the specified director to initiators.
[-n|--directors] - Display connectivity from the specified director to other directors.
[-f|--file] filename - Save the output in the specified file.
Default: /var/log/VPlex/cli
connectivity director
151
Example
Prints a table of discovered storage volumes, initiators and directors. Lists the ports on
which it discovered each storage volume, initiator and director.
Display connectivity from director Cluster_1_DirA to initiators:
VPlexcli:/> connectivity director Cluster_1_Dir1A/ --initiators
Initiators discovered
Node WWN
Port WWN
Ports
------------------ ------------------ --------------0x20000000c992c3d5 0x10000000c992c3d5 A0-FC00,A1-FC00
0x20000000c97b1f3d 0x10000000c97b1f3d A0-FC00,A1-FC00
0x20000000c97b1f3c 0x10000000c97b1f3c A0-FC02,A1-FC02
0x20000000c97b0c3f 0x10000000c97b0c3f A0-FC00,A1-FC00
0x20000000c97b0c3e 0x10000000c97b0c3e A0-FC02,A1-FC02
0x20000000c990d6fd 0x10000000c990d6fd A0-FC02,A1-FC02
0x20000000c992c219 0x10000000c992c219 A0-FC02,A1-FC02
0x20000000c992c841 0x10000000c992c841 A0-FC00,A1-FC00
Example
Example
152
LUN
-----------------0x0001000000000000
0x0002000000000000
0x0008000000000000
0x0001000000000000
0x0008000000000000
0x0001000000000000
Example
Display connectivity from director Cluster_1_DirA and sort output by storage volume
name:
Ports
--------------A2-FC00,A3-FC00
A2-FC00,A3-FC00
A2-FC00,A3-FC00
A2-FC02,A3-FC02
.
.
.
See also
connectivity show
Displays the communication endpoints that can see each other.
Contexts
Syntax
Arguments
All contexts.
connectivity show
[-p|--protocol][fc|ib|tcp|udt]
[-e|--endpoints] port,port...
Required arguments
None.
Optional arguments
[-p|--protocol] {fc|ib|tcp|udt} - Display endpoints with only the specified protocol.
Arguments are case-sensitive, and include:
fc - Fibre Channel.
ib - InfiniBand. Not supported in the current release. Use the connectivity director
command to display IB protocol connectivity.
tcp - Transmission Control Protocol.
udt - UDP-based Data Transfer Protocol.
[-e|--endpoints] port,port... - List of one or more ports for which to display endpoints.
Entries must be separated by commas.
Default: Display endpoints for all ports.
Description
Example
Displays connectivity, but does not perform connectivity checks. Displays which ports can
talk to each other.
Show all connectivity:
connectivity show
153
.
.
.
Example
Use the --endpoints argument followed by the <Tab> key to display all ports:
A0-FC01/
A2-FC00/
Example
A0-FC02/
A2-FC01/
A0-FC03/
A2-FC02/
A1-FC00/
A2-FC03/
A1-FC01/
A3-FC00/
A1-FC02/
A3-FC01/
See also
connectivity validate-be
Checks that the back-end connectivity is correctly configured.
Contexts
Syntax
Arguments
All contexts.
connectivity validate-be
[-d | --detailed]
[-h | --help]
--verbose
Optional arguments
[-h | --help] - Displays the usage for this command.
[-d| --detailed] - Details are displayed first, followed by the summary.
--verbose - Provides more output during command execution. This may not have any effect
for some commands.
Description
The number of active paths from each director to a storage volume does not exceed 4.
IMPORTANT
If the number of paths per storage volume per director exceeds 8 a warning event, but not
a call home is generated. If the number of paths exceeds 16, an error event and a
call-home notification are generated.
154
On VPLEX Metro systems where RecoverPoint is deployed, run this command on both
clusters.
If the connectivity director command is run for every director in the VPLEX prior to running
this command, this command displays an analysis/summary of the back-end connectivity
information.
Example
Example:
Example:
connectivity validate-be
155
See also
connectivity validate-wan-com
Verifies the expected IP and FC WAN COM connectivity.
Contexts
Syntax
156
All contexts.
connectivity validate-wan-com
[-e|--show-expected]
[-p|--protocol] communication-protocol
Arguments
Required arguments
None.
Optional arguments
[-e|--show-expected] - Displays the expected connectivity map instead of comparing it to
the actual connectivity.
The map is a list of every port involved in the WAN COM network and the ports to which it
is expected to have connectivity.
[-p|--protocol] communication-protocol - Specifies the protocol used for WAN COM (FC or
UDT). If not specified, the command will automatically select either FC or UDT based on the
systems FC or Ethernet WAN COM ports.
Description
This command assembles a list of expected WAN COM connectivity, compares it to the
actual WAN COM connectivity and reports any discrepancies (i.e. missing or extra
connections).
This command verifies IP or FC based WAN COM connectivity.
If no option is specified, displays a list of ports that are in error: either missing expected
connectivity or have additional unexpected connectivity to other ports.
The expected connectivity is determined by collecting all ports with role wan-com and
requiring that each port in a port group at a cluster have connectivity to every other port in
the same port group at all other clusters.
When both FC and IP ports with role wan-com are present, the smaller subset is discarded
and the protocol of the remaining ports is assumed as the correct protocol.
Example
connectivity validate-wan-com
157
Example
Example
Display/verify WAN connectivity when there are errors communicating with directors or
with the port-group configuration:
Example
Display/verify WAN connectivity when no connectivity was detected between any ports:
See also
This command modifies COM parameters that should not need modification under
normal operations. Contact EMC Support before using this command.
Contexts
158
All contexts.
Syntax
Arguments
Required arguments
[-n|--name] - Name of the value to set. Names include:
clusterId - Unique numeric ID assigned to the cluster. Do not attempt to change this
value.
minChangeTime - The minimum interval in milliseconds between any two com window
size calculations. The calculation will cause the history speed to decay, but not
necessarily change the window size. High settings slow response to link quality
change; low settings cause frequent window size adjustment.
Default: 1000 msec.
avgWaitUpperBound - The threshold, in milliseconds, at which the window size will
shrink. If the average waiting time of all outstanding I/Os exceeds this value, the
window size will shrink. Otherwise, if full, the window size will grow. Impacts the
maximum wait time of the high priority I/Os.
Default: 1000 msec.
windowSizeMin - The minimum com window size.
Valid range: 1-1400. Default: 1.
Must be smaller than windowSizeInitial. Setting it too high may cause a longer service
wait time.
windowSizeMax - The maximum com window size.
Valid range: 1-1400. Default: 1200.
Must be larger than windowSizeInitial. Setting it too low may cause low throughput
windowSizeInitial - The initial window size when first establishing communication
with a peer.
Valid range: 1-1400. Default: 15.
Must be larger than windowSizeMin and smaller than windowSizeMax.
windowEnlargeDelta - The delta used when increasing the window size. Modify this
parameter to change the window size increment speed.
historyDecayNumerator - Numerator of the decay factor. See
historyDecayDenominator.
Default: 1.
historyDecayDenominator - Denominator of the decay factor:
Decay Factor = historyDecayNumerator/historyDecayDenominator
Higher Decay Factor means history speed has longer and stronger effect on window
size; lower means history speeds effect on window size is shorter and weaker.
Default: 2.
[-v|--value] - An integer value to assign to the name.
159
Optional arguments
[-f|--force] - Force the value to be set, bypassing any confirmations or guards.
Description
Example
COM bandwidth management senses how fast I/O is sent to a peer and adjusts the I/O
window size accordingly. Adjustments ensure that:
High priority I/O does not have to wait longer than a expected maximum time before
being tried the first time.
Enough I/O is queued to the sending protocol to obtain the best link throughput.
See also
window show
Value
----1000
2
1
1000
5
15
1200
2
All contexts.
connectivity window show
If the values are the same for all directors, then only one set of values is displayed.
Otherwise, the values for each director are displayed individually.
For descriptions of entries in the Name field, see the connectivity window set command.
Example
160
VPlexcli:/> connectivity
Name
----------------------avgWaitUpperBound
historyDecayDenominator
historyDecayNumerator
minChangeTime
windowEnlargeDelta
windowSizeInitial
windowSizeMax
windowSizeMin
window show
Value
--------500
2
1
1000
32768
7925760
104857600
528384
Description
avgWaitUpperBound
The threshold, in milliseconds, at which the window size will shrink. If the average
waiting time of all outstanding I/Os exceeds this value, the window size will shrink.
Otherwise, if full, the window size will grow.
historyDecayDenominator
The history speed information decays over time. The unit speed (used to predict
windows size) is:
speed = decay-rate * history-speed + (1 - decay-rate) * current-speed
where the decay-rate = historyDecayNumerator/historyDecayDenominator.
historyDecayNumerator
minChangeTime
The minimum interval in milliseconds between any two com window size
calculations. The calculation will cause the history speed to decay, but not
necessarily change the window size
windowEnlargeDelta
The delta (in bytes) of increment each time the window size enlarges.
windowSizeInitial
windowSizeMax
windowSizeMin
See also
All contexts.
Description
Example
VPlexcli:/> connectivity window stat
Statistics for director Cluster_1_Dir1A:
Director
Current Window Size Outstanding I/O
---------------- ------------------- --------------Cluster_1_Dir1B
10
0
Cluster_2_Dir_1A 93
0
Cluster_2_Dir_1B 93
0
Cluster_2_Dir_2A 105
0
Cluster_2_Dir_2B 105
0
Queued I/O
---------0
0
0
0
0
Queued I/O
----------
161
Cluster_1_Dir1A
22
Description
Director
Outstanding I/O
Queued I/O
The number of I/Os in the queue, waiting to start. Outstanding I/O and Queued I/O
are exclusive to each other.
See also
consistency-group add-virtual-volumes
Adds one or more virtual volumes to a consistency group.
Contexts
All contexts.
In /clusters/cluster-n/consistency-groups/group-name context, command is
add-virtual-volumes
Syntax
Arguments
consistency-group add-virtual-volumes
[-v|--virtual-volumes] virtual-volume,virtual-volume,...
[-g|--consistency-group] consistency-group
Description
Adds the specified virtual volumes to a consistency group. The properties of the
consistency group immediately apply to the added volume.
IMPORTANT
Only volumes with visibility and storage-at-cluster properties which match those of the
consistency group can be added to the consistency group.
Maximum # of volumes in a consistency group: 1000
All volumes used by the same application and/or same host should be grouped together
in a consistency group.
162
Only volumes with storage at both clusters (distributed volumes) are allowed in
asynchronous consistency groups.
If any of the specified volumes are already in the consistency group, the command skips
those volumes, but prints a warning message for each one.
IMPORTANT
When adding virtual volumes to a RecoverPoint-enabled consistency group, the
RecoverPoint cluster may not note the change for 2 minutes. Wait for 2 minutes between
adding virtual volumes to a RecoverPoint-enabled consistency group and creating or
changing a RecoverPoint consistency group.
Example
VPlexcli:/> cd /clusters/cluster-1/consistency-groups/TestCG
VPlexcli:/clusters/cluster-1/consistency-groups/TestCG> consistency-group
list-eligible-virtual-volumes
[TestDDevice-1_vol, TestDDevice-2_vol, TestDDevice-3_vol, TestDDevice-4_vol,
TestDDevice-5_vol]
VPlexcli:/clusters/cluster-2/consistency-groups/TestCG> add-virtual-volumes --virtual-volumes
TestDDevice-2_vol
Example
Add multiple volumes using a single command. Enter separate virtual volumes by
commas:
VPlexcli:/clusters/cluster-1/consistency-groups/TestCG> add-virtual-volumes
TestDDevice-1_vol,TestDDevice-2_vol
VPlexcli:/clusters/cluster-1/consistency-groups/TestCG> ll
Attributes:
Name
------------------active-clusters
cache-mode
detach-rule
operational-status
Value
---------------------------------------------------------[]
asynchronous
active-cluster-wins
[(cluster-1,{ summary:: ok, details:: [] }), (cluster-2,{
summary:: ok, details:: [] })]
passive-clusters
[cluster-1, cluster-2]
recoverpoint-enabled false
storage-at-clusters [cluster-1, cluster-2]
virtual-volumes
[TestDDevice-1_vol, TestDDevice-2_vol]
visibility
[cluster-1, cluster-2]
Contexts:
Name
------------
Description
----------consistency-group add-virtual-volumes
163
advanced
recoverpoint
See also
consistency-group choose-winner
Selects a winning cluster during an inter-cluster link failure.
Contexts
All contexts.
In /clusters/cluster-n/consistency-groups/group-name context, command is choose
winner.
Syntax
Arguments
consistency-group choose-winner
[-c|--cluster] cluster
[-g|--consistency-group] consistency-group
[-f|--force]
[-c|--cluster] cluster - *The cluster on which to roll back and resume I/O.
[-g|--consistency-group] consistency-group - * Context path of the consistency group on
which to roll back and resume I/O.
Optional arguments
[-f|--force] - Do not prompt for confirmation. Allows this command to be run using a
non-interactive script.
* - argument is positional.
Description
The selected cluster will detach its peer cluster in preparation for continuing I/O. I/O
continues or is suspended depending on the cache mode of the consistency group:
For asynchronous consistency groups: I/O may suspend pending use of the
consistency-group resume-after-rollback command.
For asynchronous consistency groups, it may be required to roll back data to the last
consistent image.
Roll-back is required only when both clusters of an asynchronous consistency group
were active.
164
When the clusters cannot communicate, it is possible to use this command to select both
clusters as the winning cluster (conflicting detach). In a conflicting detach, both clusters
resume I/O independently.
When the inter-cluster link heals in such a situation, manual intervention is required to
pick a winning cluster. The data image of the winning cluster will be used to make the
clusters consistent again. Any changes at the losing cluster during the link outage will be
discarded.
Do not use this command to specify more than one cluster as the winner.
Example
VPlexcli:/clusters/cluster-1/consistency-groups/cg1> ls
Attributes:
Name
------------------active-clusters
cache-mode
detach-rule
operational-status
passive-clusters
Value
---------------------------------------------------------[cluster-1, cluster-2]
asynchronous
no-automatic-winner
[(cluster-1,{ summary:: suspended, details::
[cluster-departure, rebuilding-across-clusters,
restore-link-or-choose-winner] }), (cluster-2,{ summary::
suspended, details:: [cluster-departure,
rebuilding-across-clusters, restore-link-or-choose-winner]
[]
consistency-group choose-winner
165
recoverpoint-enabled
storage-at-clusters
virtual-volumes
visibility
false
[cluster-1, cluster-2]
[dd1_vol, dd2_vol]
[cluster-1, cluster-2]
Contexts:
advanced recoverpoint
VPlexcli:/clusters/cluster-1/consistency-groups/cg1> choose-winner -c cluster-1
WARNING: This can cause data divergence and lead to data loss. Ensure the other cluster is not
serving I/O for this consistency group before continuing. Continue? (Yes/No) Yes
VPlexcli:/clusters/cluster-1/consistency-groups/cg1> ls
Attributes:
Name
------------------active-clusters
cache-mode
detach-rule
operational-status
Value
---------------------------------------------------------[cluster-1, cluster-2]
asynchronous
no-automatic-winner
[(cluster-1,{ summary:: suspended, details::
[requires-resume-after-rollback] }),
(cluster-2,{ summary:: suspended, details:: [cluster-departure]
passive-clusters
[]
recoverpoint-enabled false
storage-at-clusters [cluster-1, cluster-2]
virtual-volumes
[dd1_vol, dd2_vol]
visibility
[cluster-1, cluster-2]
Contexts:
advanced recoverpoint
See also
consistency-group create
Creates and names an empty consistency group.
Contexts
All contexts.
In /clusters/cluster-n/consistency-groups/group-name context, command is create.
Syntax
Arguments
consistency-group create
[-n|--name]consistency-group name
[-c|--cluster] cluster
166
* - argument is positional.
Description
visibility - determines which clusters know about a consistency group. Default is only
to the cluster where the consistency group was created. Modified using the set
command.
storage-at-clusters - tells VPLEX at which cluster the physical storage associated with a
consistency group is located. Modified using the set command.
local-read-override - whether the volumes in this consistency group use the local read
override optimization. Default is true. Modified using the set command.
detach-rule - determines the winning cluster when there is an inter-cluster link outage.
Modified using the consistency-group set-detach-rule active-cluster-wins,
consistency-group set-detach-rule no-automatic-winner, and consistency-group
set-detach-rule winner commands.
IMPORTANT
When enabling or disabling RecoverPoint for a consistency group, the RecoverPoint cluster
may not note the change for 2 minutes. Wait for 2 minutes between setting or changing
the recoverpoint-enabled property before creating or changing a RecoverPoint consistency
group.
Additional configurable properties are applicable only to consistency groups with
asynchronous cache mode, including:
default closeout-time - default for the maximum time a delta remains open to accept
new writes. Default is 30 seconds. Modified using the set command
consistency-group create
167
Refer to the EMC VPLEX Administration Guide for more information about the consistency
group properties.
In the following example,
Example
The ls command in consistency group context displays the new name. The ls TestCG
command displays details about the new consistency group.
Note: Refer to the EMC VPLEX Administration Guide for a description of the fields in the
following examples.
VPlexcli:/> ls /clusters/*/consistency-groups/
/clusters/cluster-1/consistency-groups:
test10 test11
test12
test13
test14
test15 test16
test5
test6
test7
test9
vs_RAM_c1wins vs_RAM_c2wins vs_oban005 vs_sun190
test8
/clusters/cluster-2/consistency-groups:
.
.
.
VPlexcli:/> cd /clusters/cluster-1/consistency-groups/
VPlexcli:/clusters/cluster-1/consistency-groups> consistency-group create --name TestCG
--cluster cluster-1
VPlexcli:/clusters/cluster-1/consistency-groups> ls
TestCG
test10
test11 test12
test13
test14
test15
test16 test5
test6
test7
test8
test9
vs_RAM_c1wins vs_RAM_c2wins
vs_oban005 vs_sun190
VPlexcli:/clusters/cluster-1/consistency-groups> ls TestCG
/clusters/cluster-1/consistency-groups/TestCG:
Attributes:
Name
------------------active-clusters
cache-mode
detach-rule
operational-status
passive-clusters
recoverpoint-enabled
storage-at-clusters
virtual-volumes
visibility
Value
-------------------------------------------[]
synchronous
[(cluster-1,{ summary:: ok, details:: [] })]
[]
true
[]
[]
[cluster-1]
Contexts:
advanced recoverpoint
See also
168
consistency-group destroy
Destroys the specified empty consistency groups.
Contexts
All contexts.
In /clusters/cluster-n/consistency-groups/group-name context, command is destroy.
Syntax
Arguments
consistency-group destroy
[-g|--consistency-group] consistency-group,consistency-group,...
--force
Required arguments
[-g|--consistency-group] consistency-group, consistency-group, ... - * List of one or more
comma-separated context paths of the consistency groups to destroy.
Optional arguments
[-f|--force] - Force the operation to continue without confirmation. Allows this command to
be run using a non-interactive script.
* - argument is positional.
Description
Before using the consistency-group destroy command on an asynchronous consistency
group, ensure that no host applications are using any member volumes of the
consistency group.
Example
See also
consistency-group destroy
169
consistency-group list-eligible-virtual-volumes
Displays the virtual volumes that are eligible to be added to a specified consistency group.
Contexts
Syntax
Arguments
All contexts.
consistency-group list-eligible-volumes
[-g|consistency-group] consistency-group
Description
Example
Displays eligible virtual volumes that can be added to a consistency group. Eligible virtual
volumes:
Have no properties (detach rules, auto-resume) that conflict with those of the
consistency group. That is, detach and resume properties of either the virtual volume
or the consistency group must not be set.
List eligible virtual volumes from the target consistency group context:
VPlexcli:/clusters/cluster-1/consistency-groups/TestCG2>
list-eligible-virtual-volumes
[dr1_C12_0000_vol, dr1_C12_0001_vol, dr1_C12_0002_vol,
dr1_C12_0003_vol, dr1_C12_0004_vol, dr1_C12_0005_vol,
dr1_C12_0006_vol, dr1_C12_0007_vol, dr1_C12_0008_vol,
dr1_C12_0009_vol, dr1_C12_0010_vol, dr1_C12_0011_vol,
dr1_C12_0012_vol, dr1_C12_0013_vol, dr1_C12_0014_vol,
dr1_C12_0015_vol, dgc_p2z_test_vol, vmax_DR1_C1_r1_0000_12_vol,
vmax_DR1_C1_r0_0000_12_vol,
.
.
.
See also
170
consistency-group remove-virtual-volumes
Removes one or more virtual volumes from the consistency group.
Contexts
All contexts.
In /clusters/cluster-n/consistency-groups/group-name context, command is
remove-virtual-volumes.
Syntax
Arguments
consistency-group remove-virtual-volumes
[-v|--virtual-volumes] virtual-volume,virtual-volume,...
[-g|--consistency-group context path
--force
Required arguments
[-v|--virtual-volumes] virtual-volume,virtual-volume,... - *Glob pattern or a list of one or
more comma-separated context paths of the virtual volume(s) to remove from the
consistency group.
[-g|--consistency-group] context path - * Context path of the consistency group from which
to remove the specified virtual volume.
If the current context is a consistency-group or is below, then that consistency group is the
default. Otherwise, this argument is required.
--force - Do not ask for confirmation when removing volumes from an asynchronous
consistency group in a VPLEX Geo system. Allows this command to be run using a
non-interactive script.
* - argument is positional.
Description
Before using the consistency-group remove-virtual-volumes command on an
asynchronous consistency group, ensure that no host applications are using the volumes
you are removing.
If this is an asynchronous consistency group in a VPLEX Geo system, and one or more of
the volumes being removed is in a storage view, this command asks for confirmation
before proceeding. Volumes removed from an asynchronous group become synchronous,
and an application that is sensitive to the increased I/O latency may experience data loss
or data unavailability.
Best practice is to either:
consistency-group remove-virtual-volumes
171
IMPORTANT
When removing virtual volumes from a RecoverPoint-enabled consistency group, the
RecoverPoint cluster may not note the change for 2 minutes. Wait for 2 minutes between
removing virtual volumes from a RecoverPoint-enabled consistency group and creating or
changing a RecoverPoint consistency group.
Example
VPlexcli:/> ls /clusters/cluster-1/consistency-groups/TestCG
/clusters/cluster-1/consistency-groups/TestCG:
------------------------------- ---------------------------------------------.
.
.
virtual-volumes
[dr1_C12_0919_vol, dr1_C12_0920_vol,
dr1_C12_0921_vol, dr1_C12_0922_vol]
visibility
[cluster-1, cluster-2]
.
.
.
VPlexcli:/> consistency-group remove-virtual-volumes
/clusters/cluster-1/virtual-volumes/dr1_C12_0920_vol --consistency-group
/clusters/cluster-1/consistency-groups/TestCG
VPlexcli:/> ls /clusters/cluster-1/consistency-groups/TestCG
/clusters/cluster-1/consistency-groups/TestCG:
Name
Value
------------------------------- ---------------------------------------------.
.
.
storage-at-clusters
[cluster-1, cluster-2]
synchronous-on-director-failure virtual-volumes
[dr1_C12_0919_vol, dr1_C12_0921_vol,
dr1_C12_0922_vol]
.
.
.
See also
consistency-group resolve-conflicting-detach
Select a winning cluster on a consistency group on which there has been a conflicting
detach.
172
Contexts
All contexts.
In /clusters/cluster-n/consistency-groups/group-name context, command is
resolve-conflicting-detach.
Syntax
Arguments
consistency-group resolve-conflicting-detach
[-c|--cluster] cluster
[-g|--consistency-group consistency-group
[-f|--force]
Required arguments
[-c|--cluster] cluster - * The cluster whose data image will be used as the source for
resynchronizing the data images on both clusters.
[-g|--consistency-group] consistency-group - * The consistency group on which to resolve
the conflicting detach.
Optional arguments
[-f|--force] - Do not prompt for confirmation. Allows this command to be run using a
non-interactive script.
* - argument is positional.
Description
This command results in data loss at the losing cluster.
During an inter-cluster link failure, an administrator may permit I/O to continue at both
clusters. When I/O continues at both clusters:
When the inter-cluster link is restored, the clusters learn that I/O has proceeded
independently.
I/O continues at both clusters until the administrator picks a winning cluster whose data
image will be used as the source to resynchronize the data images.
Use this command to pick the winning cluster. For the distributed volumes in the
consistency group:
The legs of distributed volumes rebuild, using the legs at the winning cluster as the
rebuild source.
When the applications at the losing cluster are shut down, use the consistency-group
resume-after-data-loss-failure command to allow the system to service I/O at that cluster
again.
Example
Select cluster-1 as the winning cluster for consistency group TestCG from the TestCG
context:
consistency-group resolve-conflicting-detach
173
VPlexcli:/clusters/cluster-1/consistency-groups/TestCG> resolve-conflicting-detach
This will cause I/O to suspend at clusters in conflict with cluster cluster-1, allowing you to
stop applications at those clusters. Continue? (Yes/No) yes
Select cluster-1 as the winning cluster for consistency group TestCG from the root
context:
VPlexcli:/> consistency-group resolve-conflicting-detach --cluster cluster-1
--consistency-group /clusters/cluster-1/consistency-groups/TestCG
This will cause I/O to suspend at clusters in conflict with cluster cluster-1, allowing you to
stop applications at those clusters. Continue? (Yes/No) Yes
In the following example, I/O has resumed at both clusters during an inter-cluster link
outage. When the inter-cluster link is restored, the two clusters will come back into contact
and learn that they have each detached the other and carried on I/O.
VPlexcli:/clusters/cluster-1/consistency-groups/cg1> ls
Attributes:
Name
Value
-------------------- ----------------------------------------active-clusters
[cluster-1, cluster-2]
cache-mode
asynchronous
detach-rule
no-automatic-winner
operational-status
[(cluster-1,{ summary:: ok, details::
[requires-resolve-conflicting-detach] }),
(cluster-2,{ summary:: ok, details::
[requires-resolve-conflicting-detach] })]
passive-clusters
[]
recoverpoint-enabled false
storage-at-clusters [cluster-1, cluster-2]
virtual-volumes
[dd1_vol, dd2_vol]
visibility
[cluster-1, cluster-2]
Contexts:
advanced recoverpoint
VPlexcli:/clusters/cluster-1/consistency-groups/cg1> resolve-conflicting-detach -c cluster-1
This will cause I/O to suspend at clusters in conflict with cluster cluster-1, allowing you to
stop applications at those clusters. Continue? (Yes/No) Yes
VPlexcli:/clusters/cluster-1/consistency-groups/cg1> ls
Attributes:
Name
------------------active-clusters
cache-mode
detach-rule
174
Value
---------------------------------------------------------[cluster-1, cluster-2]
asynchronous
no-automatic-winner
operational-status
Contexts:
advanced recoverpoint
See also
consistency-group resume-after-data-loss-failure
Resumes I/O on an asynchronous consistency group when there are data loss failures.
Contexts
All contexts.
In /clusters/cluster-n/consistency-groups/group-name context, command is
resume-after-data-loss.
Syntax
Arguments
consistency-group resume-after-data-loss-failure
[-c|--cluster] cluster
[-g|--consistency-group context path
[-f|--force]
Required arguments
[-c|--cluster] cluster - * The winning cluster, whose data image is used as the base for
resuming I/O.
[-g|--consistency-group] context path - * The consistency group on which to resolve the
data loss failure.
Optional arguments
[-f|--force] - Do not prompt for confirmation. Allows this command to be run using a
non-interactive script.
* - argument is positional.
Description
Selects a winning cluster whose current data image will be used as the base from
which to continue I/O.
On the losing cluster, synchronizes the data image with the data image on the winning
cluster.
175
This command may make the data loss larger, because dirty data at the losing cluster may
be discarded.
All the clusters participating in the consistency group must be present in order to use this
command.
If there has been no data-loss failure in the group, this command prints an error message
and does nothing.
Example
Select the leg at cluster-1 as the source image to synchronize data for virtual volumes in
consistency group TestCG (from root context):
Perform the same task from the specific consistency group context:
VPlexcli:/clusters/cluster-1/consistency-groups/TestCG>
--cluster cluster-1
resume-after-data-loss-failure
Data may be discarded at clusters other than cluster-1. Continue? (Yes/No) Yes
After a short wait, the ls command displays that the cluster-1 side of the consistency
group is no longer suspended:
VPlexcli:/clusters/cluster-1/consistency-groups/CG1> ls
Attributes:
Name
------------------active-clusters
cache-mode
detach-rule
operational-status
passive-clusters
recoverpoint-enabled
storage-at-clusters
virtual-volumes
Value
---------------------------------------------------------[cluster-1, cluster-2]
synchronous
winner cluster-2 after 5s
[suspended, requires-resume-after-data-loss-failure]
[]
false
[cluster-1, cluster-2]
DR1_RAM_c2win_lr1_36_vol, DR1_RAM_c2win_lr1_16_vol,
DR1_RAM_c2win_lr0_6_vol, DR1_RAM_c2win_lrC_46_vol,
.
.
.
VPlexcli:/clusters/cluster-1/consistency-groups/CG1> resume-after-data-loss-failure -f -c
cluster-1
VPlexcli:/clusters/cluster-1/consistency-groups/CG1> ls
Attributes:
Name
-------------------
176
Value
----------------------------------------------------------
active-clusters
cache-mode
detach-rule
operational-status
passive-clusters
recoverpoint-enabled
storage-at-clusters
virtual-volumes
.
.
.
[cluster-2]
synchronous
winner cluster-2 after 5s
[ok]
[cluster-1]
false
[cluster-1, cluster-2]
DR1_RAM_c2win_lr1_36_vol, DR1_RAM_c2win_lr1_16_vol,
DR1_RAM_c2win_lr0_6_vol, DR1_RAM_c2win_lrC_46_vol,
After a short wait, the ls command displays that the cluster-1 side of the consistency
group remains suspended:
VPlexcli:/clusters/cluster-1/consistency-groups/CG2> ls
Attributes:
Name
------------------active-clusters
cache-mode
detach-rule
operational-status
passive-clusters
recoverpoint-enabled
storage-at-clusters
virtual-volumes
Value
---------------------------------------------------------[]
synchronous
winner cluster-1 after 5s
[suspended, requires-resume-after-data-loss-failure]
[cluster-1, cluster-2]
false
[cluster-1, cluster-2]
DR1_RAM_c2win_lr1_7_vol, DR1_RAM_c2win_lr0_37_vol,
DR1_RAM_c2win_lr0_27_vol, DR1_RAM_c2win_lr1_27_vol,
DR1_RAM_c2win_lrC_17_vol, DR1_RAM_c2win_lr0_17_vol,
.
.
.
VPlexcli:/clusters/cluster-1/consistency-groups/CG2> resume-after-data-loss-failure -f -c
cluster-2
VPlexcli:/clusters/cluster-1/consistency-groups/CG2> ll
Attributes:
Name
------------------active-clusters
cache-mode
detach-rule
operational-status
passive-clusters
recoverpoint-enabled
storage-at-clusters
virtual-volumes
Value
---------------------------------------------------------[cluster-2]
synchronous
winner cluster-1 after 5s
[suspended]
[cluster-1]
false
[cluster-1, cluster-2]
DR1_RAM_c2win_lr1_7_vol, DR1_RAM_c2win_lr0_37_vol,
DR1_RAM_c2win_lr0_27_vol, DR1_RAM_c2win_lr1_27_vol,
DR1_RAM_c2win_lrC_17_vol, DR1_RAM_c2win_lr0_17_vol,
.
.
.
consistency-group resume-after-data-loss-failure
177
See also
consistency-group resume-after-rollback
Resume I/O to the volumes on the winning cluster in a consistency group after:
Data has been rolled back to the last point at which all clusters had a consistent view.
In a Geo configuration, on a cluster that successfully vaulted and unvaulted, the user
should contact EMC Engineering for assistance before rolling back the data prior to
re-establishing communication with the non-vaulting cluster.
Contexts
All contexts.
In /clusters/cluster-n/consistency-groups/group-name context, command is
resume-after-rollback.
Syntax
Arguments
consistency-group resume-after-rollback
[-g|--consistency-group context path
[-f|--force]
Required arguments
[-g|--consistency-group] context path - * The consistency group on which to resume I/O at
the winning cluster.
Optional arguments
[-f|--force] - Do not prompt for confirmation. Allows this command to be run using a
non-interactive script.
* - argument is positional.
Description
This command addresses data unavailability by ensuring a data loss.
This command is part of a two-step recovery procedure to allow I/O to continue in spite of
an inter-cluster link failure.
1. Use the consistency-group choose-winner command to select the winning cluster.
2. Use this command to tell the winning cluster to roll back its data image to the last
point where the clusters were known to agree, and then proceed with I/O.
The first step in the recovery procedure can be automated by setting a detach-rule-set.
The second step is required only if the losing cluster has been active -that is, writing to
volumes in the consistency group since the last time the data images were identical at the
clusters.
178
If the losing cluster is active, the distributed cache at the losing cluster contains dirty data,
and without that data, the winning cluster's data image is inconsistent. Resuming I/O at
the winner requires rolling back the winner's data image to the last point where the
clusters agreed.
Applications may experience difficulties if the data changes, so the roll-back and
resumption of I/O is not automatic.
The delay gives the administrator the chance to halt applications. The administrator then
uses this command start the rollback roll-back in preparation for resuming I/O.
The winning cluster rolls back its data image to the last point at which the clusters had the
same data images, and then allows I/O to resume at that cluster.
At the losing cluster, I/O remains suspended.
When the inter-cluster link is restored, I/O remains suspended at the losing cluster, unless
the 'auto-resume' flag is set to 'true'.
Example
Resume I/O on the cluster-2 leg of virtual volumes in consistency group TestCG:
VPlexcli:/clusters/cluster-2/consistency-groups/TestCG> resume-after-rollback
This will change the view of data at cluster cluster-2, so you should ensure applications are
stopped at that cluster. Continue? (Yes/No) Yes
The resume-after-rollback command rolls back the data image on cluster-1 to the last
point where the clusters were known to agree, and then proceeds with I/O.
The ls command shows that the operational status for the consistency group on
cluster-1 is now 'ok. On cluster-2, the operational status is still suspended,
cluster-departure.
When the inter-cluster link heals, cluster-2 will discover that cluster-1 continued
servicing I/O without it. Cluster-2 must change its view of data. Operational status is
suspended, requires-resume-at-loser'
consistency-group resume-after-rollback
179
passive-clusters
recoverpoint-enabled
storage-at-clusters
virtual-volumes
visibility
rebuilding-across-clusters, restore-link-or-choose-winner]
[]
false
[cluster-1, cluster-2]
[dd1_vol, dd2_vol]
[cluster-1, cluster-2]
Contexts:
advanced recoverpoint
VPlexcli:/clusters/cluster-1/consistency-groups/cg1> resume-after-rollback
This will change the view of data at cluster cluster-1, so you should ensure applications are
stopped at that cluster. Continue? (Yes/No) Yes
VPlexcli:/clusters/cluster-1/consistency-groups/cg1> ls
Attributes:
Name
------------------active-clusters
cache-mode
detach-rule
operational-status
Value
---------------------------------------------------------[cluster-1, cluster-2]
asynchronous
no-automatic-winner
[(cluster-1,{ summary:: ok, details:: [] }),
(cluster-2,{ summary:: suspended, details:: [cluster-departure] })]
passive-clusters
[]
recoverpoint-enabled false
storage-at-clusters [cluster-1, cluster-2]
virtual-volumes
[dd1_vol, dd2_vol]
visibility
[cluster-1, cluster-2]
Contexts:
advanced recoverpoint
See also
consistency-group resume-at-loser
If I/O is suspended due to a data change, resumes I/O at the specified cluster and
consistency group.
Contexts
Syntax
Arguments
consistency-group resume-at-loser
[-c|--cluster] cluster
[-s|--consistency-group] consistency-group
[-f|--force]
Required arguments
[-c|--cluster] cluster - * The cluster on which to roll back and resume I/O.
[-g|--consistency-group] consistency-group - * The consistency group on which to
resynchronize and resume I/O.
180
Optional arguments
[-f|--force] - Do not prompt for confirmation. Without this argument, the command asks for
confirmation to proceed. This protects against accidental use while applications are still
running at the losing cluster which could cause applications to misbehave. Allows the
command to be executed from a non-interactive script.
* - argument is positional.
Description
During an inter-cluster link failure, an administrator may permit I/O to resume at one of the
two clusters: the winning cluster.
I/O remains suspended on the losing cluster.
When the inter-cluster link heals, the winning and losing clusters re-connect, and the
losing cluster discovers that the winning cluster has resumed I/O without it.
Unless explicitly configured otherwise (using the auto-resume-at-loser property), I/O
remains suspended on the losing cluster. This prevents applications at the losing cluster
from experiencing a spontaneous data change.
The delay allows the administrator to shut down applications.
After stopping the applications, the administrator can use this command to:
Resynchronize the data image on the losing cluster with the data image on the winning
cluster,
The administrator may then safely restart the applications at the losing cluster.
Without the '--force' option, this command asks for confirmation to proceed, since its
accidental use while applications are still running at the losing cluster could cause
applications to misbehave.
Example
VPlexcli:/clusters/cluster-2/consistency-groups/TestCG> resume-at-loser
This may change the view of data presented to applications at cluster cluster-2. You should
first stop applications at that cluster. Continue? (Yes/No) Yes
VPlexcli:/clusters/cluster-1/consistency-groups/cg1> ls
Attributes:
Name
------------------active-clusters
cache-mode
detach-rule
operational-status
passive-clusters
Value
---------------------------------------------------------[cluster-1, cluster-2]
asynchronous
no-automatic-winner
[(cluster-1,{ summary:: ok, details:: [] }),
(cluster-2,{ summary:: suspended, details:: [requires-resume-at-loser] })]
[]
consistency-group resume-at-loser
181
recoverpoint-enabled
storage-at-clusters
virtual-volumes
visibility
false
[cluster-1, cluster-2]
[dd1_vol, dd2_vol]
[cluster-1, cluster-2]
Contexts:
advanced recoverpoint
VPlexcli:/clusters/cluster-1/consistency-groups/cg1> resume-at-loser -c cluster-2
This may change the view of data presented to applications at cluster cluster-2. You should
first stop applications at that cluster. Continue? (Yes/No) Yes
VPlexcli:/clusters/cluster-1/consistency-groups/cg1> ls
Attributes:
Name
------------------active-clusters
cache-mode
detach-rule
operational-status
Value
---------------------------------------------------------[cluster-1, cluster-2]
asynchronous
no-automatic-winner
[(cluster-1,{ summary:: ok, details:: [] }),
(cluster-2,{ summary:: ok, details:: [] })]
passive-clusters
[]
recoverpoint-enabled false
storage-at-clusters [cluster-1, cluster-2]
virtual-volumes
[dd1_vol, dd2_vol]
visibility
[cluster-1, cluster-2]
Contexts:
advanced recoverpoint
See also
All contexts.
In /clusters/cluster-n/consistency-groups/group-name context, command is
set-detach-rule active-cluster-wins.
Syntax
Required arguments
Optional arguments
[-f|--force] - Force the operation to continue without confirmation. Allows this command to
be run from non-interactive scripts. This option available in Release 5.1 and later.
Description
Applies the active-cluster-wins detach rule to one or more specified consistency groups.
Note: This command requires user confirmation unless the --force argument is used.
182
In the event of a cluster failure or departure, this rule-set will result in I/O continuing only
on the cluster that last received I/O. I/O will be suspended at all other clusters. If VPLEX
Witness is deployed, it will override this setting (on synchronous consistency-groups only)
if the last-active cluster has failed.
The applicable detach rule varies depending on the visibility, storage-at-clusters, and
cache mode properties of the consistency group. Table 10 lists the applicable detach rules
for various combinations of visibility, storage-at-clusters, and cache-mode.
Table 10 Consistency group detach rules
Visibility
Storage-at-clusters
Cache-mode
cluster-1
cluster-1
synchronous
N/A
cluster-1 and
cluster-2
synchronous
no-automatic-winner,
winner cluster-1
winner cluster-2
cluster-1
synchronous
no-automatic-winner,
winner cluster-1
cluster-1 and
cluster-2
asynchronous
no-automatic-winner
active-cluster-wins
IMPORTANT
When RecoverPoint is deployed, it may take up to 2 minutes for the RecoverPoint cluster to
take note of changes to a VPLEX consistency group. Wait for 2 minutes after changing the
detach rule for a VPLEX consistency group before creating or changing a RecoverPoint
consistency group.
Example
Set the detach-rule for a single asynchronous consistency group from the groups context:
Set the detach-rule for two asynchronous consistency groups from the root context:
VPlexcli:/> consistency-group set-detach-rule active-cluster-wins -g
/clusters/cluster-1/consistency-groups/TestCG,/clusters/cluster-1/consistency -groups/TestCG2
See also
All contexts.
In /clusters/cluster-n/consistency-groups/group-name context, command is
set-detach-rule no-automatic-winner.
183
Syntax
Required arguments
Optional arguments
[-f|--force] - Force the operation to continue without confirmation. Allows this command to
be run from non-interactive scripts.
Description
Applies the no-automatic-winner detach rule to one or more specified consistency groups.
Note: This command requires user confirmation unless the --force argument is used.
This detach rule dictates no automatic detaches occur in the event of an inter-cluster link
failure.
Applicable to both asynchronous and synchronous consistency groups.
In the event of a cluster failure or departure, this rule-set will result in I/O being
suspended at all clusters whether or not VPLEX Witness is deployed. To resume I/O, use
either the consistency-group choose-winner or consistency-group resume-after-rollback
commands to designate the winning cluster.
IMPORTANT
When RecoverPoint is deployed, it may take up to 2 minutes for the RecoverPoint cluster to
take note of changes to a VPLEX consistency group. Wait for 2 minutes after changing the
detach rule for a VPLEX consistency group before creating or changing a RecoverPoint
consistency group.
See Table 10, Consistency group detach rules,
Example
Set the detach-rule for a single consistency group from the groups context:
Set the detach-rule for two consistency groups from the root context:
VPlexcli:/> consistency-group set-detach-rule no-automatic-winner -g
/clusters/cluster-1/consistency-groups/TestCG,/clusters/cluster-1/consistency -groups/TestCG2
See also
184
Contexts
All contexts.
In /clusters/cluster-n/consistency-groups/group-name context, command is
set-detach-rule winner.
Syntax
Required arguments
[-c|--cluster] cluster-id - The cluster that will be the winner in the event of an inter-cluster
link failure.
[-d|--delay] seconds - The number of seconds after an inter-cluster link fails before the
winning cluster detaches. Valid values for the delay timer are:
0 - Detach occurs immediately after the failure is detected.
number - Detach occurs after the specified number of seconds have elapsed. There is
no practical limit to the number of seconds, but delays longer than 30 seconds won't
allow I/O to resume quickly enough to avoid problems with most host applications.
Optional arguments
Description
Applies the winner detach rule to one or more specified synchronous consistency groups.
Note: This command requires user confirmation unless the --force argument is used.
In the event of a cluster failure or departure, this rule-set will result in I/O continuing on
the selected cluster only. I/O will be suspended at all other clusters. If VPLEX Witness is
deployed it will override this selection (on synchronous consistency-groups only) if the
selected cluster has failed.
Applicable only to synchronous consistency groups.
IMPORTANT
When RecoverPoint is deployed, it may take up to 2 minutes for the RecoverPoint cluster to
take note of changes to a VPLEX consistency group. Wait for 2 minutes after changing the
detach rule for a VPLEX consistency group before creating or changing a RecoverPoint
consistency group.
See Table 10, Consistency group detach rules,
Example
Set the detach-rule for a single consistency group from the groups context:
Example
Set the detach-rule for two consistency groups from the root context:
185
See also
consistency-group summary
Displays a summary of all the consistency groups with a state other than OK.
Contexts
Syntax
Description
Example
All contexts.
consistency-group summary
Displays all the consistency groups with a state other than 'OK' and the consistency
groups at the risk of a rollback.
Display a summary of unhealthy consistency groups:
Operational Status
----------------------------------Suspended
Status
Detailed
-------------
Active
Cluster
-----------
Passive
Cluster
-----------
See also
date
Displays the current date and time in Coordinated Universal Time (UTC).
Contexts
Syntax
Example
All contexts.
date
VPlexcli:/> date
Tue Jul 20 15:57:55 UTC 2010director ping
describe
Describes the attributes of the given context.
Contexts
186
Syntax
Arguments
describe
[context path]
Required arguments
None.
Optional arguments
[-c|--context] context path - Context to describe.
Example
In the following example, the ll command displays information about a port, and the
describe command with no arguments displays additional information.
VPlexcli:/clusters/cluster-2/exports/ports/P000000003CB001CB-B1-FC01> ll
Name
Value
------------------------ -----------------director-id
0x000000003cb001cb
discovered-initiators
[]
.
.
.
VPlexcli:/clusters/cluster-2/exports/ports/P000000003CB001CB-B1-FC01> describe
Attribute
Description
------------------------ -------------------------------------------------director-id
The ID of the director where the port is exported.
discovered-initiators
List of all initiator-ports visible from this port.
.
.
.
Use the describe context command to display information about the specified context:
device attach-mirror
Attaches a mirror as a RAID 1 child to another (parent) device, and starts a rebuild to
synchronize the mirror.
Contexts
Syntax
Arguments
All contexts.
device attach-mirror
[-d|--device] {context path|name}
[-m|--mirror] {context path|name}
[-r|--rule-set] rule-set
[-f|--force]
Required arguments
[-d|--device] context path or name - * Name or context path of the device to which to attach
the mirror. Does not have to be a top-level device. If the device name is used, verify that
the name is unique throughout the VPLEX, including local devices on other clusters.
device attach-mirror
187
Optional arguments
[-m|--mirror] context path or name - * Name or context path of the mirror to detach. Does
not need to be a top-level device. If the name of a device is used, ensure the device name
is not ambiguous, For example, ensure that the same device name is not used by local
devices in different clusters.
[-r|--rule-set] rule-set - Rule-set to apply to the distributed device that is created when a
mirror is added to a local device.
[-f|--force] - When--force is set, do not ask for confirmation when attaching a mirror. Allows
this command to be run using a non-interactive script.
If the --force argument is not used, prompts for confirmation in two circumstances when
the mirror is remote and the parent device must be transformed into a distributed device:
The rule set that will be applied to the new distributed device potentially allows
conflicting detaches; and
In VPLEX GEO systems, where the parent device already has a volume in a storage
view. The new distributed device will be synchronous. Applications using the volume
may experience greater I/O latency than on the original local device. If an application
is sensitive to this latency, it may experience data unavailability.
* - argument is positional.
Description
If the parent device has a volume, the distributed device inherits the rule-set of the
(exported) parent.
If the parent device does not have a volume, the cluster that is local to the
management server is assumed to be the winner.
188
Refer to the troubleshooting guide in the generator for instructions on increasing the
number of slots.
Note: If the RAID 1 device is added to a consistency group, the consistency groups detach
rule overrides the devices detach rule.
Use the rebuild status command to display the rebuilds progress.
Example
Attach a mirror without specifying a rule-set (allow VPLEX to select the rule-set):
Attach a mirror:
VPlexcli:/> device attach-mirror --device /clusters/cluster-1/devices/site1device0 --mirror
/clusters/cluster-1/devices/site1mirror
See also
device collapse
Collapses a one-legged device until a device with two or more children is reached.
Contexts
Syntax
Arguments
All contexts.
device collapse
[-d|--device] context [path|name]
Required arguments
[-d|--device] context path or name -* Name or context path of the device to collapse.
Does not have to be a top-level device. If the device name is used, verify that the name is
unique throughout the VPLEX, including local devices on other clusters.
* - argument is positional.
Description
If a RAID 1 device is left with only a single child (after removing other children), use the
device collapse command to collapse the remaining structure. For example:
If RAID 1 device A has two child RAID 1 devices B and C, and child device C is
removed, A is now a one-legged device, but with an extra layer of abstraction:
A
|
B
../ \..
Use device collapse to remove this extra layer, and change the structure into:
A
../ \..
device collapse
189
See also
device detach-mirror
Removes (detaches) a mirror from a RAID-1 device.
Contexts
Syntax
Arguments
All contexts.
device detach-mirror
[-d|--device] [context path|name]
[-m|--mirror] [context path|name]
[-s|--slot] slot number
[-i|--discard]
[-f|--force]
Required arguments
[-d|--device] context path or name - * Name or context path of the device from which to
detach the mirror. Does not have to be a top-level device. If the device name is used, verify
that the name is unique throughout the VPLEX, including local devices on other clusters.
Optional arguments
[-m|--mirror] context path or name - * Name or context path of the mirror to detach. Does
not have to be a top-level device. If the device name is used, verify that the name is
unique throughout the VPLEX, including local devices on other clusters.
[-s|--slot] slot number - Slot number of the mirror to be discarded. Applicable only when
the --discard argument is used.
[-i|--discard] - When specified, discards the detached mirror. The data is not discarded.
[-f|--force] -Force the mirror to be discarded. Must be used when --discard argument is
used. The --force argument is set for detaching an unhealthy
mirror it is discarded even if --discard flag is not set.
* - argument is positional.
190
Description
Figure 1
If the RAID device supports a virtual volume, and the --discard argument is not used:
The mirror (child device) is removed from the RAID-1 parent device,
A new virtual-volume is created on top the new device. The name of the new device is
prefixed with the name of the original device.
New virtual volume
is created
Data on the
detached device
is preserved
Figure 2
If the RAID device supports a virtual volume, and the --discard argument is used:
The mirror (child device) is removed from the RAID-1 parent device
The mirror is detached regardless of its current state. Data consistency is not
guaranteed.
device detach-mirror
191
In GEO configurations, dirty cache data will not be flushed to the mirror at the time of
issuing the detach operation.
New virtual volume
is created
Figure 3
Example
Example
The device detach-mirror command removes the failed device using the slot number
displayed in the previous step.
VPlexcli:/distributed-storage/distributed-devices> ll
Name
Status
Operational Health State
Auto
Rule
WOF
Transfer
------------------------- ------- Status
----------Resume Set
Group Size
------------------------ ------- ----------- ------------- ------ Name
Name
------------------------- ----- ------- ----------- ------------- ------ ----- ----- -------ESX_stretched_device
running ok
ok
true
colin 2M
bbv_temp_device
running ok
ok
true
colin 2M
dd_source_device
running ok
ok
true
colin 2M
ddt
running ok
ok
true
colin 2M
dev_test_dead_leg_2
running stressed
major-failure colin 2M
windows_big_drive
running ok
ok
true
colin 2M
.
.
.
VPlexcli:/distributed-storage/distributed-devices> ll
/dev_test_dead_leg_2_DD/distributed-device-components/
/distributed-storage/distributed-devices/dev_test_dead_leg_2_DD/distributed-device-components
:
Name
Cluster Child
---------------------- ------- Slot
--------------------- --------- -----
192
Fully
Operational
Logged Status
------ -----------
Health ..
State....
------
dev_test_alive_leg_1
dev_test_dead_leg_2
cluster-1 1
cluster-2 0
true
true
ok
error
ok
critical-failure
See also
Auto
Resume
----------true
true
true
true
true
Rule
Set
Name
----colin
colin
colin
colin
colin
colin
WOF
Group
Name
-----
Transfer
Size
--------------2M
2M
2M
2M
2M
2M
Arguments
All contexts.
device mirror-isolation disable
[-c|--clusters]context-path [, context-path...]
[-f|--force]
[-h|--help]
[--verbose]
Required arguments
None
Optional arguments
[-c|--clusters] context-path [, context-path...] - Specifies the list of clusters on which to
disable mirror isolation.
[-f|--force] - Forces the operation to continue without confirmation.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
Description
A RAID-1 mirror leg built upon a poorly performing storage volume can bring down the
performance of the whole RAID-1 device and increase IO latencies to the applications
using this device. VPLEX will prevent IOs to such poorly performing mirror legs to improve
the RAID-1 performance. This behavior or feature is known as Mirror Isolation.
When disabling the mirror isolation feature on one or more clusters, this command prints
a warning and asks for confirmation.
193
This command disables the Mirror Isolation feature and will prevent VPLEX from
improving the performance of a RAID-1 device containing a poorly performing mirror leg.
This command should only be used if redundancy is desired over RAID-1 performance
improvement.
Example
Example
Example
Example
Example
194
WARNING: Disabling the mirror isolation feature will prevent VPLEX from improving the
performance of a RAID-1 device containing a poorly performing mirror
leg. This command should be only used if redundancy is desired over RAID-1 performance
improvement.
device mirror-isolation disable: Evaluation of <<device mirror-isolation disable -f>> failed.
cause:
Could not disable mirror isolation on 'cluster-1'.
cause:
Firmware command error.
cause:
no such command.
Example
Attempt to disable mirror-isolation on both clusters and succeeded on cluster 1, but failed
on cluster 2 because the feature is not supported:
See also
Arguments
All contexts.
device mirror-isolation enable
[-c|--clusters] context-path [, context-path...]
[-h|--help]
[--verbose]
Required arguments
None
Optional arguments
[-c|--clusters] context-path [, context-path...] - Specifies the list of clusters on which to
enable mirror isolation.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
195
Description
A RAID 1 mirror leg built upon a poorly performing storage volume can bring down the
performance of the whole RAID 1 device and increase IO latencies to the applications
using this device. VPLEX will prevent IOs to such poorly performing mirror legs to improve
the RAID-1 performance. This behavior or feature is known as Mirror Isolation.
Note: This command enables the Mirror Isolation feature and should only be used if
performance improvement of a RAID-1 device in the presence of poorly performing disks is
desired over redundancy.
Example
Example
Example
Example
Example
Attempt to enable mirror-isolation on both clusters and succeeded on cluster 1, but failed
on cluster 2 because the feature is not supported:
See also
196
on 'cluster-1'.
Evaluation of <<device mirror-isolation enable>> failed.
Could not enable mirror isolation on 'cluster-2'.
Firmware command error.
invalid subcommand.
Arguments
All contexts.
device mirror-isolation show
[-c|--clusters] context-path [, context-path...]
[-h|--help]
[--verbose]
Required arguments
None
Optional arguments
[-c|--clusters] context-path [, context-path...] - Specifies the list of clusters on which to
show mirror isolation configuration parameters.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
Description
Used to display all the configuration parameters related to mirror isolation for the
specified clusters.
The current configuration parameters supported are:
Enabled
Isolation
Interval
Indicates the isolation sweep interval in seconds if the value was retrieved
successfully, and "<not available>" if the value could not be retrieved.
Unisolation
interval
Indicates the unisolation sweep interval in seconds if the value was retrieved
successfully, and "<not available>" if the value could not be retrieved.
If a value for any configuration parameter cannot be retrieved for the cluster, it may be
because the feature is not supported or there was a command failure.
Example
Enabled
------true
true
Isolation Interval
-----------------60
60
Unisolation Interval
-------------------7200
7200
Enabled
------true
true
Isolation Interval
-----------------60
60
Example
Unisolation Interval
-------------------7200
7200
197
Cluster
--------cluster-1
Enabled
------true
Isolation Interval
-----------------60
Example
Unisolation Interval
-------------------7200
Example
See also
Unisolation Interval
-------------------<not available>
<not available>
device resume-link-down
Resumes I/O for devices on the winning island during a link outage.
Contexts
Syntax
Arguments
All contexts.
device resume-link-down
[-c|--cluster] context path
[-r|--devices] [context path|name]
[-a|--all-at-island]
[-f|--force]
Required arguments
Optional arguments
[-c|--cluster] context path - Resume I/O on the specified cluster and the clusters it is in
communication with during a link outage.
Applicable only when the all-at-island argument is used or when the specified devices are
distributed devices.
Not required for local devices with global visibility.
[-r|--devices] context path or name - Name or context path of the devices for which to
resume I/O. They must be top-level devices.
[-a|--all-at-island] - Resume I/O on all devices on the chosen winning cluster and the
clusters with which it is communicating.
[-f|--force] - Force the I/O to resume.
198
Description
Used when the inter-cluster link fails. Allows one or more suspended mirror legs to resume
I/O immediately.
For example, used when the peer cluster is the winning cluster but is known to have failed
completely.
Resumes I/O on the specified cluster and the clusters it is in communication with during a
link outage.
Detaches distributed devices from those clusters that are not in contact with the specified
cluster or detaches local devices from those clusters that are not in contact with the local
cluster.
The device resume-link-down command causes I/O to resume on the local cluster
regardless of any rule-sets applied to the device. Verify that rules and any manual
detaches do not result in conflicting detaches (cluster-1 detaching cluster-2, and
cluster-2 detaching cluster-1). Conflicting detaches will result in lost data on the losing
cluster, a full rebuild, and degraded access during the time of the full rebuild.
When the inter-cluster link fails in a VPLEX Metro or Geo configuration, distributed devices
are suspended at one or more clusters. When the rule-set timer expires, the affected
cluster is detached.
Alternatively, use the device resume-link-down command to detach the cluster
immediately without waiting for the rule-set timer to expire.
Verify that rules and any manual detaches do not result in conflicting detaches (cluster-1
detaching cluster-2, and cluster-2 detaching cluster-1).
Conflicting detaches will result in lost data on the losing cluster, a full rebuild, and
degraded access during the time of the full rebuild.
Only one cluster should be allowed to continue for each distributed device. Different
distributed devices can have different clusters continue.
Use the ll /distributed-storage/distributed-devices/device command to display the rule
set applied to the specified device.
Use the ll /distributed-storage/rule-sets/rule-set/rules command to display the detach
timer for the specified rule-set.
Example
VPlexcli:/distributed-storage/distributed-devices> device
resume-link-down --all-at-island --cluster --devices DD_5d --force
See also
device resume-link-up
Resumes I/O on suspended top level devices, virtual volumes, or all virtual volumes in the
VPLEX.
device resume-link-up
199
Contexts
Syntax
Arguments
All contexts.
device resume-link-up
[-r|--devices] context path,context path...
[-v|--virtual-volumes]context path,context path...
[-a|--all]
[-f|--force]
[-r|--devices] context path, context path... - List of one or more context paths or names of
the devices for which to resume I/O. They must be top-level devices. If the device name is
used, verify that the name is unique throughout the VPLEX, including local devices on
other clusters.
[-v|--virtual-volume] context path,context path... - Resume I/O on the specified virtual
volumes.
[-a|--all] -Resume I/O on all virtual volumes on the losing cluster.
[-f|--force] - Force the I/O to resume.
Description
Use this command after a failed link is restored, but I/O is suspended at one or more
clusters.
Usually applied to the mirror leg on the losing cluster when auto-resume is set to false.
During a WAN link outage, after cluster detach, the primary cluster detaches to resume
operation on the distributed device.
If the auto-resume property of a remote or distributed device is set to false and the link
has come back up, use the device resume-link-up command to manually resume the
second cluster.
Example
See also
director appcon
Runs the application console on Linux systems.
Contexts
Syntax
200
All contexts.
director appcon
--xterm-opts options
[-t|--targets] target glob,target glob...
--timeout seconds
--show-plan-only
Arguments
Required arguments
None.
Optional arguments
--xterm-opts -Additional options for xterm on Linux.
Default: -sb -sl 2000.
[-t|--targets] target-glob, target-glob... - List of one or more glob patterns. Operates on the
specified targets. Globs may be a full path glob, or a name pattern. If only a name pattern
is supplied, the command finds allowed targets whose names match. Entries must be
separated by commas.
Omit this argument if the current context is at or below the target context.
--timeout seconds - Sets the command timeout. Timeout occurs after the specified
number of seconds multiplied by the number of targets found.
Default: 180 seconds per target.
0: No timeout.
--show-plan-only - Shows the targets that will be affected, but the actual operation is not
performed. Recommended when the --targets argument is used.
Description
Example
See also
director appdump
Downloads an application dump from one or more boards.
Contexts
All contexts.
In /engines/engine/directors context, command is appdump.
director appdump
201
Syntax
Arguments
director appdump
[-d|--dir] directory
[-s|--no-timestamp]
[-o|--overwrite]
[-c|--include-cores]
[-z|--no-zip]
[-p|--no-progress]
[-t|--targets] target glob,target glob...
--timeout seconds
--show-plan-only
Required arguments
None.
Optional arguments
[-d|--dir] directory - Directory in which to put dump files.
Default: Current directory.
[-s|--no-timestamp] - Omits the timestamp in the dump filenames.
[-o|--overwrite] - Overwrites existing files.
Default: Not to overwrite.
[-c|--include-cores] - Includes the director's core image in the dump.
Including core images can make this command take a very long time.
[-z|--no-zip] - Turns off the packaging of dump files into a compressed zip file.
[-p|--no-progress] - Turns off progress reporting.
[-t|--targets] target-glob, target-glob... - List of one or more glob patterns. Operates on the
specified targets. Globs may be a full path glob or a name pattern. If only a name pattern is
supplied, the command finds allowed targets whose names match. Entries must be
separated by commas.
Omit this argument if the current context is at or below the target context.
--timeout seconds - Sets the command timeout. Timeout occurs after the specified
number of seconds multiplied by the number of targets found.
Default: 180 seconds per target.
0: No timeout.
--show-plan-only - Shows the targets that will be affected, but the actual operation is not
performed. Recommended when the --targets argument is used.
Description
Used by automated scripts and by EMC Customer Support to help troubleshoot problems.
The hardware name and a timestamp are embedded in the dump filename. By default, the
name of the dump file is:
hardware name-YYYY.MM.DD-hh.mm.ss.zip.
202
Example
See Also
director appstatus
Displays the status of the application on one or more boards.
Contexts
All contexts.
In /engines/engine/directors context, command is appstatus.
Syntax
Arguments
director appstatus
[-t|--targets] target glob, target glob...
--timeout seconds
--show-plan-only
Required arguments
None.
Optional arguments
[-t|--targets] target-glob, target-glob... - List of one or more glob patterns. Operates on the
specified targets. Globs may be a full path glob or a name pattern. If only a name pattern is
supplied, the command finds allowed targets whose names match. Entries must be
separated by commas.
Omit this argument if the current context is at or below the target context.
--timeout seconds - Sets the command timeout. Timeout occurs after the specified
number of seconds multiplied by the number of targets found.
Default: 180 seconds per target.
0: No timeout.
--show-plan-only - Shows the targets that will be affected, but the actual operation is not
performed. Recommended when the --targets argument is used.
Description
Used by automated scripts and by EMC Customer Support to help troubleshoot problems.
director appstatus
203
Example
VPlexcli:/engines/engine-1-1/directors> appstatus
For /engines/engine-1-1/directors/Cluster_1_Dir1B:
Application
-------------------00601610672e201522-2
Status
------running
Details
-------
For /engines/engine-1-1/directors/Cluster_1_Dir1A:
Application
------------------00601610428f20415-2
See also
Status
------running
Details
-------
director commission
Starts the directors participation in the cluster.
Contexts
All contexts.
In /engines/engine/directors context, command is commission.
Syntax
Arguments
director commission
[-n|--director] director
[-f|--force]
[-t|--timeout seconds
[-a|--apply-cluster-settings]
Required arguments
[-n|--director] director - * The director to be commissioned.
Optional arguments
[-f|--force] - Commission the director regardless of firmware version mismatch.
--timeout seconds - The maximum time to wait for --apply-cluster-settings operations to
complete, in seconds.
Default: 60 seconds.
0: No timeout.
[a|--apply-cluster-settings] - Add this director to a running cluster and apply any
cluster-specific settings. Use this argument when adding or replacing a director in an
existing VPLEX.
* - argument is positional.
Description
204
Example
Add a director to a running cluster using the default timeout (60 seconds):
See also
director decommission
Decommissions a director. The director stops participating in cluster activities.
Contexts
All contexts.
In/engines/engine/directors context, command is decommission.
Syntax
Arguments
director decommission
[-n|--director] director
Required arguments
[-n|--director] director - The director to de-commission.
Description
This command removes the director from participating in the VPLEX, and initializes it to
only a partial operational state. The director is no longer a replication target and its
front-end ports are disabled.
Then it reboots the director.
Example
See also
director fc-port-stats
Displays/resets Fibre Channel port statistics for a specific director.
Contexts
All contexts.
In /engines/engine/directors context, command is fc-port-stats director.
In /engines/engine/directors/director context, command is fc-port-stats
Syntax
Arguments
director fc-port-stats
[-d|--director] director
[-o|--role] role
[-r|--reset]
Required arguments
[-d|--director] director - Context path of the director for which to display FC statistics. Not
required if the current context is /engines/engine/directors/director.
director decommission
205
Optional arguments
[-o|--role] role - Filter the ports included in the reply by their role.If no role is specified, all
ports at the director are included. This argument is ignored if --reset is specified. Roles
include:
back-end - The port is used to access storage devices that the system itself does
I/O to.
front-end - The port is used to make storage available to hosts.
inter-director-communication - The port is used to communicate with other
directors.
local-com - The port is used to communicate with other directors at the same
cluster.
management - The port is used to communicate with the management server.
wan-com - The port is used to communicate with other clusters.
[-r|--reset] - Reset the statistics counters of all ports at the specified director. If this
argument is specified, --role is ignored.
Description
Displays statistics generated by the Tachyon driver for FibreChannel ports at the specified
director and optionally with the specified role, or reset said statistics'
Run this command from the /engines/engine/directors/director context to display the
Fibre Channel statistics for the director in the current context.
Example
Display a directors Fibre Channel port statistics from the root context:
Example
Reset the port statistics counters on a directors Fibre Channel ports from the root context:
Example
Display a directors Fibre Channel port statistics from the director context:
VPlexcli:/engines/engine-1-1/directors/director-1-1-A> fc-port-stat
Results for director 'director-2-1-A' at Fri Feb 10 16:10:15 MST 2012:
Port:
Frames:
- Discarded:
- Expired:
- Bad CRCs:
- Encoding Errors:
- Out Of Order:
- Lost:
Requests:
- Accepted:
- Rejected:
- Started:
- Completed:
- Timed-out:
Tasks:
- Received:
- Accepted:
- Rejected:
- Started:
206
A1-FC00
A1-FC01
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
A1-FC02
A1-FC03
A3-FC00
A3-FC01
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
7437
0
7437
7437
0
7437
0
7437
7437
0
0
0
0
0
0
0
0
0
0
0
0
0
7437
7437
0
7437
7437
7437
0
7437
0
0
0
0
13
- Completed:
- Dropped:
0
0
0
0
0
0
0
0
7437
0
7437
0
Description
Frames: frames discarded, expired, or with CRC or encoding errors on this port since the counter was last reset.
Discarded
Discarded frames.
Expired
Expired frames.
Bad CRCs
Encoding Errors
Rejected
scsi requests rejected. Requests can be rejected due to: Not an initiator, Port not
ready, no memory for allocation.
Started
Completed
Timed-out
Number of requests timed out. Requests have been sent but not responded to
within 10 seconds.
Accepted
Rejected
Tasks rejected due to: 1. connection not ready 2. IO was aborted by TSDK 3. Tried to
send more data than the initiator requested. 4. Unable to allocate enough SGL
entries.
Started
Completed
Dropped
Tasks dropped due to: 1. Connection not ready. 2. No available task buffers to
handle the incoming task.
See also
All contexts.
In /engines/engine/directors context, command is firmware show-banks.
Syntax
Arguments
Required arguments
None.
director firmware show-banks
207
Optional arguments
[-t|--targets] director,director... - List of one or more names of directors. Display
information only for the specified directors. Entries must be separated by commas.
Description
Example
Status
-------inactive
active
[Director Cluster_1_Dir1A]:
Banks
-----Bank A
Bank B
Status
-------inactive
active
Description
Banks
Status
no - The software in this bank will not be used the next time the director reboots.
yes - The software in this bank will be used the next time the director reboots.
See also
director forget
Removes a director from the VPLEX.
Contexts
Syntax
Arguments
All contexts.
director forget
[-n|--director] director uuid
Required arguments
[-n|--director] director uuid - Director ID number. Use the ll command in
engines/engine/directors context to display director ID numbers.
Description
Example
Removes the specified director from the context tree. Deletes all information associated
with the director.
In the following example:
208
The director forget command instructs VPLEX to delete all records pertaining to the
specified director.
VPlexcli:/engines/engine-1-1/directors> ll
Name
Director ID
Cluster
--------------- ------------------ ID
--------------- ------------------ ------Cluster_1_Dir1A 0x000000003ca00147 1
Cluster_1_Dir1B 0x000000003cb00147 1
Commissioned
----------------------true
true
Operational
Status
----------ok
ok
Communication
Status
------------ok
ok
See also
director passwd
Changes the access password for the specified director.
Contexts
All contexts.
In /engines/engine/directors/director context, command is passwd.
Syntax
Arguments
director passwd
[-n|--director] director
[-c|--current-password] current-password
[-p|--new-password] new-password
Required arguments
[-n|--director] director - The remote director on which to change the access password.
[-c|--current-password] current-password - The current access password of the specified
director.
[-p|--new-password] new-password - The new access password to set for the specified
director.
Description
director ping
Displays the round-trip latency from a given director to the target machine, excluding any
VPLEX overhead.
Contexts
All contexts.
In /engines/engine/directors context, command is ping.
Syntax
director ping
[-i|--ip-address] ip-address
[-n|--director] director
[-w|--wait] [1 - 2147483647]
director passwd
209
Arguments
Required arguments
[-i|--ip-address] IP address - The target's IP address.
Optional arguments
[-n|--director] director - The director from which to perform the operation.
[-w|--wait] seconds - Number of seconds to wait for a response.
Range: 1 - 2147483647
Default: 5.
Description
Notes
ICMP traffic must be permitted between clusters for this command to work properly.
To verify that ICMP is enabled, log in to the shell on the management server and use the
ping IP address command where the IP address is for a director in the VPLEX.
If ICMP is enabled on the specified director, a series of lines is displayed:
service@ManagementServer:~> ping 128.221.252.36
PING 128.221.252.36 (128.221.252.36) 56(84) bytes of data.
64 bytes from 128.221.252.36: icmp_seq=1 ttl=63 time=0.638
64 bytes from 128.221.252.36: icmp_seq=2 ttl=63 time=0.591
64 bytes from 128.221.252.36: icmp_seq=3 ttl=63 time=0.495
64 bytes from 128.221.252.36: icmp_seq=4 ttl=63 time=0.401
64 bytes from 128.221.252.36: icmp_seq=5 ttl=63 time=0.552
ms
ms
ms
ms
ms
--- 128.221.252.36 ping statistics --5 packets transmitted, 5 received, 0% packet loss, time 4002ms
rtt min/avg/max/mdev = 0.401/0.535/0.638/0.084 ms
See also
director shutdown
Starts the orderly shutdown of a directors firmware
Contexts
All contexts.
In /engines/engine/directors context, command is shutdown.
210
Syntax
Arguments
director shutdown
[-f|--force]
[-n|--director] context path
Required arguments
[-f|--force] - Forces this operation.
Optional arguments
[-n|--director] context path - * Director to shut down.
* - argument is positional.
Description
Example
Power is on.
Director OS running.
Description
----------------Shutdown started.
VPlexcli:/engines/engine-1-1/directors/DirA> ll
Attributes:
Name
-----------------------------auto-boot
auto-restart
.
.
.
marker-led
operational-status
.
.
.
See also
Value
-----------------true
true
off
stopped
director tracepath
Displays the route taken by packets from a specified director to the target machine.
director tracepath
211
Contexts
All contexts.
In /engines/engine/directors context, command is tracepath.
Syntax
Arguments
director tracepath
[-i|--ip-address] ip-address
[-n|--director] director
Required arguments
[-i|--ip-address] IP address - The target's IP address. This address is one of the Ethernet
WAN ports on another director. Use the ll port-group command to display the Ethernet
WAN ports on all directors.
Optional arguments
[-n|--director] - The name of the director from which to perform the operation. Can be either
the director's name (for example director-1-1-A) or an IP address.
Description
Displays the hops, latency, and MTU along the route from the specified director to the
target at the specified IP address.
The number of hops does not always correlate to the number of switches along the route.
For example, a switch with a fire wall on each side is counted as two hops.
The reported latency at each hop is the round-trip latency from the source hop.
The MTU reported at each hop is limited by the MTU of previous hops and therefore not
necessarily the configured MTU at that hop.
In the following illustration, a director in cluster-2 (director-2-1-A) is pinged from a director
in cluster-1 (director-1-1-A) in single engine clusters. The ping travels through both
management servers before reaching its target:
If the target machine does not respond properly, the traceroute may stall. Run this
command multiple times.
Use the ll /clusters/*/cluster-connectivity/port-groups command to display the Ethernet
WAN ports on all directors (for both clusters).
Example
212
The director tracepath command displays the route from the specified director to the
specified address using the directors name:
VPlexcli:/> ll /clusters/*/cluster-connectivity/port-groups
/clusters/cluster-1/cluster-connectivity/port-groups:
Name
Subnet
Option Set
Enabled
------------ -------------- --------------- ----------port-group-0 cluster-1-SN00 optionset-com-0 all-enabled
port-group-1
cluster-1-SN01
optionset-com-1
all-enabled
/clusters/cluster-2/cluster-connectivity/port-groups:
Name
Subnet
Option Set
Enabled
------------ -------------- --------------- ----------port-group-0 cluster-2-SN00 optionset-com-0 all-enabled
port-group-1
cluster-2-SN01
optionset-com-1
all-enabled
Member Ports
---------------------------------------------------------------------------------------engine-1-1|director-1-1-A|A2-XG00|192.168.11.140|cluster-1-SN00|optionset-com-0|enabled,
engine-1-1|director-1-1-B|B2-XG00|192.168.11.142|cluster-1-SN00|optionset-com-0|enabled
engine-1-1|director-1-1-A|A2-XG01|192.168.12.140|cluster-1-SN01|optionset-com-1|enabled,
engine-1-1|director-1-1-B|B2-XG01|192.168.12.142|cluster-1-SN01|optionset-com-1|enabled
Member Ports
---------------------------------------------------------------------------------------engine-2-1|director-2-1-A|A2-XG00|192.168.21.144|cluster-2-SN00|optionset-com-0|enabled,
engine-2-1|director-2-1-B|B2-XG00|192.168.21.146|cluster-2-SN00|optionset-com-0|enabled
engine-2-1|director-2-1-A|A2-XG01|192.168.22.144|cluster-2-SN01|optionset-com-1|enabled,
engine-2-1|director-2-1-B|B2-XG01|192.168.22.146|cluster-2-SN01|optionset-com-1|enabled
VPlexcli:/> ll /engines/*/directors
/engines/engine-1-1/directors:
Name
Director ID
-------------- ------------------------------- -----------------director-1-1-A 0x0000000044603198
director-1-1-B 0x0000000044703198
Cluster
ID
------1
1
Commissioned
----------------------true
true
Operational
Status
----------ok
ok
Communication
Status
------------ok
ok
/engines/engine-2-1/directors:
Name
Director ID
-------------- ------------------------------- -----------------director-2-1-A 0x00000000446031b1
director-2-1-B 0x00000000447031b1
Cluster
ID
------2
2
Commissioned
----------------------true
true
Operational
Status
----------ok
ok
Communication
Status
------------ok
ok
Display the route from the specified director to the specified address using the directors
IP address:
VPlexcli:/> director tracepath 10.6.211.91 -i 10.12.136.12
See also
director uptime
Prints the uptime information for all connected directors.
Contexts
All contexts.
In engines/engine/directors context, command is uptime.
Syntax
Description
director uptime
Uptime measures the time a machine has been up without any downtime.
Example
VPlexcli:/> director uptime
Director Cluster_1_Dir1B: 42 days, 0 hours, 26 minutes, 17 seconds.
Director Cluster_1_Dir1A: 42 days, 0 hours, 37 minutes, 46 seconds.
Director Cluster_2_Dir_1B: 42 days, 0 hours, 25 minutes, 11 seconds.
Director Cluster_2_Dir_1A: 42 days, 0 hours, 37 minutes, 4 seconds.
director uptime
213
See also
dirs
Displays the current context stack.
Contexts
Syntax
Description
Example
All contexts.
dirs
See also
disconnect
Disconnects one or more connected directors.
Contexts
Syntax
Arguments
All contexts.
disconnect
[-n|--directors] context path,context path...
Required arguments
[-n|--directors] context path, context path... - List of one or more remote directors from
which to disconnect. Entries must be separated by commas.
Description
Stops communication from the client to the remote directors and frees up all resources
that are associated with the connections.
Removes the entry in the connections file for the specified director(s).
Example
214
dm migration cancel
Cancels an existing data migration.
Contexts
All contexts.
In all data-migration (device or extent) contexts, command is migration cancel.
In data-migrations/extent-migrations context, command is cancel.
Syntax
Arguments
dm migration cancel
[-f|--force]
[-m|--migrations] context path,context path...
Required arguments
[-m|--migrations] context path,context path...- * List of one or more migrations to cancel.
Entries must be separated by commas.
Optional arguments
[-f|--force] - Forces the cancellation of the specified migration(s).
* - argument is positional.
Description
The migration is in progress or paused. The migration is stopped, and any resources it
was using are freed.
The migration has not been committed. The source and target devices or extents are
returned to their pre-migration state.
See also
215
dm migration clean
Cleans a committed data migration.
Contexts
All contexts.
In /data-migrations context, command is migration clean.
In /data-migrations/device-migrations context, command is clean.
In /data-migrations/extent-migrations context, command is clean.
Syntax
Arguments
dm migration clean
[-f|--force]
[-e|--rename-target]
[-m|--migrations] context path,context path...
Required arguments
[-m|--migrations] context path,context path...- * List of one or more migrations to clean.
Entries must be separated by commas.
Optional arguments
[-f|--force] - Forces the cancellation of the specified migration(s).
[-e|--rename-target] - For device migrations only, renames the target device after the source
device. If the target device is renamed, the virtual volume on top of it is also renamed if
the virtual volume has a system-assigned default name.
* - argument is positional.
Description
For device migrations, cleaning dismantles the source device(s) down to its storage
volumes. The storage volumes no longer in use are unclaimed.
For device migrations only, use the --rename-target argument to rename the target device
after the source device. If the target device is renamed, the virtual volume on top of it is
also renamed if the virtual volume has a system-assigned default name.
Without renaming, the target devices retain their target names, which can make the
relationship between volume and device less evident.
For extent migrations, cleaning destroys the source extent and unclaims the underlying
storage-volume if there are no extents on it.
Example
VPlexcli:/data-migrations/device-migrations> dm migration clean --force --migrations
migrate_012
Cleaned 1 data migration(s) out of 1 requested migration(s).
See also
216
dm migration commit
Commits a completed data migration allowing for its later removal.
Contexts
All contexts.
In /data-migrations context, command is migration commit.
In /data-migrations/extent-migrations context, command is commit.
In /data-migrations/device-migrations context, command is commit.
Syntax
Arguments
dm migration commit
[-f|--force]
[-m|--migrations] context path,context path...
Required arguments
[-m|--migrations] context path,context path...- * List of one or more migrations to commit.
Entries must be separated by commas.
[-f|--force] - Forces the commitment of the specified migration(s).
* - argument is positional.
Description
The migration process inserts a temporary RAID 1 structure above the source
device/extent with the target device/extent as an out-of-date leg of the RAID 1. The
migration can be understood as the synchronization of the out-of-date leg (the target).
After the migration is complete, the commit step detaches the source leg of the RAID 1 and
removes the RAID 1.
The virtual volume, device or extent is identical to the one before the migration except that
the source device/extent is replaced with the target device/extent.
A migration must be committed in order to be cleaned.
Verify that the migration has completed successfully before committing the migration.
Example
See also
dm migration commit
217
dm migration pause
Pauses the specified in-progress or queued data migrations.
Contexts
All contexts.
In /data-migrations context, command is migration pause.
In/data-migrations/extent-migrations context, command is pause.
In/data-migrations/device-migrations context, command is pause.
Syntax
Arguments
dm migration pause
[-m|--migrations] context path,context path...
Required arguments
[-m|--migrations] context path,context path...- * List of one or more migrations to pause.
Entries must be separated by commas.
* - argument is positional.
Description
Active migrations (a migration that has been started) can be paused and then resumed at
a later time.
Pause an active migration to release bandwidth for host I/O during periods of peak traffic.
Specify the migration by name if that name is unique in the global namespace. Otherwise,
specify a full pathname.
Use the dm migration resume command to resume a paused migration.
Example
See also
dm migration remove
Removes the record of canceled or committed data migrations.
Contexts
All contexts.
In /data-migrations context, command is migration remove.
In/data-migrations/extent-migrations context, command is remove.
In/data-migrations/device-migrations context, command is remove.
Syntax
218
dm migration remove
[-f|--force]
[-m|--migrations] context path,context path...
Arguments
Required arguments
[-m|--migrations] context path,context path...- * List of one or more migrations to remove.
Entries must be separated by commas.
[-f|--force] - Forces the removal of the specified migration(s).
* - argument is positional.
Description
Example
See also
dm migration resume
Resumes a previously paused data migration.
Contexts
All contexts.
In /data-migrations context, command is migration resume.
In/data-migrations/extent-migrations context, command is resume.
In/data-migrations/device-migrations context, command is resume.
Syntax
Arguments
dm migration resume
[-m|--migrations] context path,context path...
Required arguments
[-m|--migrations] context path,context path...- List of one or more migrations to resume.
Entries must be separated by commas.
Description
Active migrations (a migration that has been started) can be paused and then resumed at
a later time.
Pause an active migration to release bandwidth for host I/O during periods of peak traffic.
Use the dm migration resume command to resume a paused migration.
Example
See also
dm migration resume
219
dm migration start
Starts the specified migration.
Contexts
All contexts.
In /data-migrations context, command is migration start.
in/data-migrations/extent-migrations context, command is start.
in/data-migrations/device-migrations context, command is start.
Syntax
Arguments
dm migration start
[-n|--name] migration name
[-s|--transfer-size] [40 K - 128 M]
[-f|--from] [source extent|source device]
[-t|--to] [target extent|target device]
--paused
--force
Required arguments
[-n|--name] migration name...- * Name of the new migration. Used to track the migrations
progress, and to manage (cancel, commit, pause, resume) the migration.
[-f|--from] {source extent|source device}- * The name of source extent or device for the
migration. Specify the source device or extent by name if that name is unique in the global
namespace. Otherwise, specify a full pathname.
If the source is an extent, the target must also be an extent. If the source is a device, the
target must also be a device.
[-t|--to] {target extent|target device} - * The name of target extent or device for the
migration. Specify the target device or extent by name if that name is unique in the global
namespace. Otherwise, specify a full pathname.
Optional arguments
[-s|--transfer-size] value - Maximum number of bytes to transfer per operation per device. A
bigger transfer size means smaller space available for host I/O. Must be a multiple of 4 K.
Range: 40 KB - 128 M. Default: 128 K.
If the host I/O activity is very high, setting a large transfer size may impact host I/O. See
About transfer-size on page 79.
--force - Do not ask for confirmation. Allows this command to be run using a
non-interactive script.
--paused - Starts the migration in a paused state.
* - argument is positional.
220
Description
Starts the specified migration. If the target is larger than the source, the extra space on the
target is unusable after the migration. If the target is larger than the source, a prompt to
confirm the migration is displayed.
Up to 25 local and 25 distributed migrations (rebuilds) can be in progress at the same
time. Any migrations beyond those limits are queued until an existing migration
completes.
Migration of volumes in asynchronous consistency groups is not supported on volumes
that are in use. Schedule this activity as a maintenance activity to avoid Data
Unavailability.
Extent migrations - Extents are ranges of 4K byte blocks on a single LUN presented from a
single back-end array. Extent migrations move data between extents in the same cluster.
Use extent migration to:
Move extents from a hot storage volume shared by other busy extents,
Start and manage extent migrations from the extent migration context:
VPlexcli:/> cd /data-migrations/extent-migrations/
VPlexcli:/data-migrations/extent-migrations>
IMPORTANT
Extent migrations are blocked if the associated virtual volume is undergoing expansion.
Refer to the virtual-volume expand command.
Device migrations - Devices are RAID 0, RAID 1, or RAID C built on extents or other devices.
Devices can be nested; a distributed RAID 1 can be configured on top of two local RAID 0
devices. Device migrations move data between devices on the same cluster or between
devices on different clusters. Use device migration to:
This command can fail on a cross-cluster migration if there is not a sufficient number of
meta volume slots. See the generator troubleshooting section for a resolution to this
problem.
Device migrations are not recommended between clusters. All device migrations are
synchronous. If there is I/O to the devices being migrated, and latency to the target
cluster is greater than 5ms, significant performance degradation may occur.
Start and manage device migrations from the device migration context:
VPlexcli:/> cd /data-migrations/device-migrations/
dm migration start
221
VPlexcli:/data-migrations/device-migrations>
When running the dm migration start command across clusters, you might receive the
following error message:
VPlexcli:/> dm migration start -f SveTest_tgt_r0_case2_1_0002 -t SveTest_src_r0_case2_2_0002
-n cc2
The source device 'SveTest_tgt_r0_case2_1_0002' has a volume 'SveTest_tgt_r0_case2_1_0002_vol'
in a view. Migrating to device 'SveTest_src_r0_case2_2_0002' will create a synchronous
distributed device. In this GEO system, this can increase the per I/O latency on
'SveTest_tgt_r0_case2_1_0002_vol'. If applications using 'SveTest_tgt_r0_case2_1_0002_vol' are
sensitive to this latency, they may experience data unavailability. Do you wish to proceed ?
(Yes/No) y
dm migration start: Evaluation of <<dm migration start -f SveTest_tgt_r0_case2_1_0002 -t
SveTest_src_r0_case2_2_0002 -n cc2>> failed.
cause:
Failed to create a new data-migration.
cause:
Unable to attach mirror 'SveTest_src_r0_case2_2_0002' to distributed Device
'MIGRATE_cc2'.
cause:
Firmware command error.
cause:
Active metadata device does not have a free slot.
Refer to the troubleshooting guide in the generator for instructions on increasing the
number of slots.
Example
3. Navigate to the migrations context, and use the ls command to monitor the
migrations progress:
VPlexcli:/data-migrations/device-migrations> cd /migrate_012
VPlexcli:/data-migrations/device-migrations/migrate_012> ls
Name
Value
--------------- ---------------------------from-cluster
cluster-1
percentage-done 10
source
device_012
source-exported false
start-time
Fri May 28 13:32:23 MDT 2010
status
in progress
target
device_012a
target-exported false
to-cluster
cluster-2
transfer-size
12M
5. When the migrations status changes to complete, use the dm migration commit
command to commit the migration.
The migration cannot be canceled after this step.
See also
dm migration start
223
drill-down
Displays the components of a view, virtual volume or device, down to the storage-volume
context.
Contexts
Syntax
Arguments
All contexts.
drill-down
[-v|--storage-view] context path,context path...
[-o|--virtual-volume] context path,context path...
[-r|--device] context path,context path...
Required arguments
[-v|--storage-view] context path,context path...- List of one or more views to drill down.
Entries must be separated by commas. Glob style pattern matching is supported.
[-o|--virtual-volume] context path,context path... - List of one or more virtual-volumes to
drill down. Entries must be separated by commas. Glob style pattern matching is
supported.
[-r|--device] context path,context path... - List of one or more devices to drill down. Entries
must be separated by commas. Glob style pattern matching is supported.
Description
Example
Example
storage-volume: Symm1723_200
extent: extent_Symm1723_204_1
storage-volume: Symm1723_204
extent: extent_Symm1723_208_1
storage-volume: Symm1723_208
extent: extent_Symm1723_20C_1
storage-volume: Symm1723_20C
(blocks: 0 - 4195199)
(blocks: 0 - 4195199)
(blocks: 0 - 4195199)
(blocks: 0 - 4195199)
.
.
.
virtual-volume: dev_Symm1723_91C_vol (cluster-2)
local-device: dev_Symm1723_91C (cluster-2)
extent: extent_Symm1723_91C_1
storage-volume: Symm1723_91C (blocks: 0 - 4195199)
iport: LicoJ010_hba1
iport: LicoJ010_hba0
iport: LicoJ010_hba3
iport: LicoJ010_hba2
tport: P000000003CB000E6-B1-FC00
tport: P000000003CB001CB-B0-FC00
tport: P000000003CA001CB-A0-FC00
tport: P000000003CA000E6-A0-FC00
tport: P000000003CB001CB-B1-FC00
tport: P000000003CB000E6-B0-FC00
tport: P000000003CA001CB-A1-FC00
tport: P000000003CA000E6-A1-FC0
Example
See also
ds dd create
Creates a new distributed-device.
Contexts
Syntax
Arguments
All contexts.
ds dd create
[-n|name] name
[-d|--devices context path,context path,...
[-l|--logging-volumes context path,context path,...
[-r| rule-set] rule-set
[-f|--force]
Required arguments
[-n|--name] name - * The name of the new distributed-device. Must be unique across the
VPLEX.
[-d|--devices] context path, context path... - * List of one or more local devices that will be
legs in the new distributed-device.
[-l|--logging-volume] context path, context path... - List of one or more logging volumes to
use with this device. If no logging volume is specified, a logging volume is automatically
selected from any available logging volume that has sufficient space for the required
entries. If no available logging volume exists, an error message is returned.
ds dd create
225
* - argument is positional.
Optional arguments
[-r|--rule-set] - The rule-set to apply to the new distributed device. If the --rule-set argument
is omitted, the cluster that is local to the management server is assumed to be the winner
in the event of an inter-cluster link failure.
[-f|--force] - Forces a rule-set with a potential conflict to be applied to the new distributed
device.
Description
The new distributed device consists two legs; local devices on each cluster.
A device created by this command does not initialize its legs, or synchronize the contents
of the legs. Because of this, consecutive reads of the same block may return different
results for blocks that have never been written. Host reads at different clusters are almost
certain to return different results for the same unwritten block, unless the legs already
contain the same data.
Use this command only if the resulting device will be initialized using tools on the host.
Do not use this command if one leg of the resulting device contains data that must be
preserved. Applications using the device may corrupt the pre-existing data.
To create a device when one leg of the device contains data that must be preserved, use
the device attach-mirror command to add a mirror to the leg. The data on the leg will be
copied automatically to the new mirror.
The individual local devices may include any underlying type of storage volume or
geometry (RAID 0, RAID 1, or RAID C), but they should be the same capacity.
If a distributed device is configured with local devices of different capacities:
The resulting distributed device will be only as large as the smaller local device
To create a distributed device without wasting capacity, choose local devices on each
cluster with the same capacity.
The geometry of the new device is automatically 'RAID 1'.
Each cluster in the VPLEX may contribute a maximum of one component device to the new
distributed device.
This command can fail if there is not a sufficient number of meta volume slots. See the
generator troubleshooting section for a resolution to this problem.
If there is pre-existing data on a storage-volume, and the storage-volume is not claimed
as being application consistent, converting an existing local RAID device to a distributed
RAID using the ds dd create command will not initiate a rebuild to copy the data to the
other leg. Data will exist at only one cluster. To prevent this, do one of the following:
226
1) Claim the disk with data using the application consistent flag, or
2) Create a single-legged RAID 1 or RAID 0 and add a leg using the device attach-mirror
command.
Use the set command to enable/disable automatic rebuilds on the distributed device. The
rebuild setting is immediately applied to the device.
set rebuild-allowed true starts or resumes a rebuild if mirror legs are out of sync.
When set to true, the rebuild continues from the point where the it was halted. Only those
portions of the device that have not been rebuilt are affected. The rebuild does not start
over.
Example
In the following example, the ds dd create command creates a new distributed device with
the following attributes:
Name: ExchangeDD
Devices:
/clusters/cluster-2/devices/s6_exchange
/clusters/cluster-1/devices/s8_exchange
Logging volumes:
/clusters/cluster-1/system-volumes/cluster_1_loggingvol
/clusters/cluster-2/system-volumes/cluster_2_loggingvol
Rule-set: rule-set-7a
In the following example, the ds dd create command creates a distributed device, and
with the default rule-set:
VPlexcli:/> ds dd create --name TestDisDevice --devices
/clusters/cluster-1/devices/TestDevCluster1, /clusters/cluster-2/devices/TestDevCluster2
Distributed-device 'TestDisDevice' is using rule-set 'cluster-2-detaches'.
See also
ds dd declare-winner
Declares a winning cluster for a distributed-device that is in conflict after a link outage.
ds dd declare-winner
227
Contexts
All contexts.
In /distributed-storage/distributed-device context, command is declare-winner.
In /distributed-storage context, command is dd declare-winner.
Syntax
Arguments
ds dd declare-winner
[-c|--cluster] context path
[-d|--distributed-device] context path
[-f|--force]
Required arguments
[-c|--cluster] context path - * Specifies the winning cluster.
[-d|--distributed-device] context path - Specifies the distributed-device for which to
declare a winning cluster.
[-f|--force] - Forces the 'declare-winner' command to be issued.
* - argument is positional.
Description
If the legs at two or more clusters are in conflict, use the ds dd declare-winner command to
declare a winning cluster for a specified distributed device.
Example
VPlexcli:/distributed-storage/distributed-devices> ds dd declare-winner --distributed-device
DDtest_4 -cluster cluster-2 --force
See also
ds dd destroy
Destroys the specified distributed-device(s).
Contexts
Syntax
Arguments
All contexts.
ds dd destroy
[-d|--distributed-devices] context path,context path...
[-f|--force]
Required arguments
[-d|--distributed-device] context path, context path,... - * List of one or more
distributed-device(s) to destroy.
[-f|--force] - Forces the distributed-device(s) to be destroyed.
* - argument is positional.
Description
Example
In order to be destroyed, the target distributed device must not host virtual volumes.
VPlexcli:/distributed-storage/distributed-devices> ds dd destroy
/distributed-storage/distributed-devices/TestDisDevice
WARNING: The following items will be destroyed:
Context
-----------------------------------------------------/distributed-storage/distributed-devices/TestDisDevice
Do you wish to proceed? (Yes/No) yes
228
See also
ds dd remove-all-rules
Removes all rules from all distributed devices.
Contexts
Syntax
Arguments
All contexts.
ds dd remove-all-rules
[-f|--force]
Required arguments
None.
Optional arguments
[-f|--force] - Force the operation to continue without confirmation.
Description
From any context, removes all rules from all distributed devices.
There is NO undo for this procedure.
Example
VPlexcli:/distributed-storage/distributed-devices/dd_23> remove-all-rules
All the rules in distributed-devices in the system will be removed. Continue? (Yes/No) yes
See also
ds dd set-log
Allocates/unallocates segments of a logging volume to a distributed device or a
component of a distributed device.
Contexts
Syntax
All contexts.
ds dd set-log
[-d|--distributed devices] context path,context path...
[-c|--distributed-device-component] context path
[-l|--logging-volumes] context path,context path...
[-n|--cancel]
ds dd remove-all-rules
229
Arguments
Required arguments
[-d|--distributed-devices] context path, context path... - One or more distributed-device for
which segments of the specified logging volume are allocated/unallocated.
All components of the distributed-device are included.
[-c|--distributed-device-component] context path - The distributed-device component for
which segments of the specified logging volume are allocated/unallocated.
[-l|--logging-volume] context path, context path... - One or more logging-volume where the
logging volume segments are allocated/unallocated. The target volume must be created
as logging-volume.
If not specified, the VPLEX configuration automatically allocates a logging volume for each
cluster.
Optional arguments
[-n|--cancel] - Cancel/unallocate the log setting for the specified component of a
distributed-device or all the components of the specified distributed-device.
Use the --cancel argument very carefully.
A warning message is issued if attempting to cancel logging volumes on a distributed
device.
Removing the logging-volume for a device deletes the existing logging entries for that
device. A FULL rebuild of the device will occur after a link failure and recovery.
Removing the logging volume for all distributed devices will remove all entries from the
logging volume. In the event of a link failure and recovery, this results in a FULL rebuild of
all distributed devices.
Description
Logging volumes keep track of 4 k byte blocks written during an inter-cluster link failure.
When the link recovers, VPLEX uses the information in logging volumes to synchronize the
mirrors.
If no logging volume is allocated to a distributed device, a full rebuild of the device will
occur when the inter-cluster link is restored after an outage.
Do not change a devices logging volume unless the existing logging-volume is corrupted
or unreachable or to move the logging volume to a new disk.
Use the ds dd set-log command only to repair a corrupted logging volume or to transfer
logging to a new disk.
Use the --distributed-devices argument to allocate/unallocate segments on the specified
logging volume to the specified device.
Use the --distributed-devices-component argument to allocate/unallocate segments on
the specified logging volume to the specified device component.
230
Note: Specify either distributed devices or distributed device components. Do not mix
devices and components in the same command.
If the logging volume specified by the --logging-volume argument does not exist, it is
created.
Use the --cancel argument to delete the log setting for a specified device or device
component.
This command can fail if there is not a sufficient number of meta volume slots. See the
generator troubleshooting section for a resolution to this problem.
Example
VPlexcli:/distributed-storage/distributed-devices/TestDisDevice> ds dd set-log
--distributed-devices TestDisDevice --logging-volumes
/clusters/cluster-2/system-volumes/New-Log_Vol
Example
VPlexcli:/distributed-storage/distributed-devices/TestDisDevice> ds dd set-log
--distributed-devices TestDisDevice --cancel
Example
Attempt to cancel a logging volume for a distributed device that is not fully logged:
Issuing the cancel command on a distributed device that is not fully logged will result in a
warning message.
VPlexcli:/distributed-storage/distributed-devices/dr1_C12_0249> ds dd set-log
--distributed-devices dr1_C12_0249 --cancel
WARNING: This command will remove the logging segments from distributed device 'dr1_C12_0249'.
If a distributed device is not fully logged, it is vulnerable to full rebuilds following
inter-cluster WAN link failure or cluster failure.
It is recommended that the removed logging-segments be restored as soon as possible.
See also
ds rule destroy
Destroys an existing rule.
Contexts
All contexts.
In /distributed-storage context, command is rule destroy.
Syntax
ds rule destroy
[-r|--rule} rule]
Arguments
Required arguments
[-r|--rule] rule -
ds rule destroy
231
Description
Example
A rule-set contains rules. Use the ll command in the rule-set context to display the rules in
the rule-set.
Use the ds rule destroy command to destroy a rule in the rule set.
VPlexcli:/distributed-storage/rule-sets/TestRuleSet/rules> ll
RuleName RuleType
Clusters ClusterCount Delay Relevant
-------- ----------- -------- ------------ ----- -------rule_1
island-size
2
5s
true
VPlexcli:/distributed-storage/rule-sets/TestRuleSet/rules> rule destroy rule_1
See also
ds rule island-containing
Adds a island-containing rule to an existing rule-set.
Contexts
All contexts.
In /distributed-storage context, command is rule island-containing.
Syntax
Arguments
ds rule island-containing
[-c|--clusters] context path,context path...
[-d|--delay] delay
[-r|rule-set] context path
Required arguments
[-c|--clusters] context path, context path... - * Clusters to which this rule applies.
[-d|--delay] delay - * Sets the delay after a link outage before the rule is applied. Values
must a positive integer and end with one of the following units:
s - delay timer is seconds (default unit)
min - delay timer is seconds
h - delay timer is hours
[-r|--rule-set] - Rule-set to which this rule is added.
* - argument is positional.
232
Description
Describes when to resume I/O on all clusters in the island containing the specified cluster.
Example
In the following example, the rule island-containing command creates a rule that dictates:
See also
ds rule-set copy
Copy an existing rule-set.
Contexts
All contexts.
In /distributed-storage/rule-sets context, command is copy.
In /distributed-storage context, command is rule-set copy.
Syntax
Arguments
ds rule-set copy
[-s|--source] rule-set
[-d|--destination] rule-set name
Required arguments
[-s|--source] rule-set - * Source rule-set.
[-d|--destination] new-rule-set - The destination rule-set name.
* - argument is positional.
Description
Copies an existing rule-set and assigns the specified name to the copy.
Example
VPlexcli:/distributed-storage/rule-sets> ll
Name
PotentialConflict UsedBy
------------------ ----------------- ---------------------------------------TestRuleSet
false
VPlexcli:/distributed-storage/rule-sets> rule-set copy --source TestRuleSet --destination
CopyOfTest
VPlexcli:/distributed-storage/rule-sets> ll
Name
PotentialConflict UsedBy
------------------ ----------------- ---------------------------------------CopyOfTest
false
TestRuleSet
false
See also
ds rule-set copy
233
ds rule-set create
Creates a new rule-set with the given name and encompassing clusters.
Contexts
All contexts.
In /distributed-storage/rule-sets context, command is create.
In /distributed-storage context, command is rule-set create.
Syntax
Arguments
ds rule-set create
[-n|--name] rule-set
Required arguments
[-n|--name] rule-set - Name of the new rule-set.
Examples
Create a rule-set:
VPlexcli:/> ds rule-set create --name TestRuleSet
Name
-------------TestRuleSet
See also
PotentialConflict
----------------false
UsedBy
------
ds rule-set destroy
Destroys an existing rule-set.
Contexts
All contexts.
In /distributed-storage/rule-sets context, command is destroy.
In /distributed-storage context, command is rule-set destroy.
Syntax
234
ds rule-set destroy
[-r|--rule-set] rule-set
Arguments
Required arguments
[-r|--rule-set] rule-set - Name of the rule-set to destroy.
Description
Deletes the specified rule-set. The specified rule-set can be empty or can contain rules.
Before deleting a rule-set, use the set command to detach the rule-set from any virtual
volumes associated with the rule-set.
Example
Delete a rule-set:
The set rule-set name command detaches the rule set from a device.
VPlexcli:/distributed-storage/rule-sets/TestRuleSet> ll
Attributes:
Name
-----------------key
potential-conflict
used-by
Value
-----------------------ruleset_5537985253109250
false
dd_00
VPlexcli:/distributed-storage/rule-sets/TestRuleSet> cd
//distributed-storage/distributed-devices/dd_00
VPlexcli:/distributed-storage/distributed-devices/dd_00>set rule-set-name ""
Removing the rule-set from device 'dd_00' could result in data being unavailable during a WAN
link outage. Do you wish to proceed ? (Yes/No) yes
VPlexcli:/distributed-storage/distributed-devices/dd_00>ds rule-set destroy TestRuleSet
See also
ds rule-set what-if
Tests if/when I/O is resumed at individual clusters, according to the current rule-set.
Contexts
All contexts.
In/distributed-storage/rule-sets context, command is what-if.
In /distributed-storage context, command is rule-set what-if.
ds rule-set what-if
235
Syntax
Arguments
ds rule-set what-if
[-i|--islands] cluster-1,cluster-2
[-r|--rule-set] context path
Required arguments
[-i|--islands] cluster-1,cluster-2 - List of islands, in quotes. The clusters are separated by
commas, the islands by a space.
[-r|--rule-set] context path - Context path of the rule-set used in the what-if scenario.
Description
Example
Only two clusters and one island are supported for the current release.
Test a rule-set:
See also
ds summary
Display summary information about distributed-devices.
Contexts
All contexts.
In /distributed-storage context, command is summary.
Syntax
Description
ds summary
Example
VPlexcli:/distributed-storage> ds summary
Slot usage summary:
Total 912 slots used by distributed device logging segments.
Distributed devices health summary:
Total 25 devices, 0 unhealthy.
Cluster summary:
236
Example
VPlexcli:/> ds summary
Slot usage summary:
Total 912 slots used by distributed device logging segments.
Distributed Volumes (not in Consistency Groups) Unhealthy Summary:
Device Name
----------DR10
Health State
------------major-failure
Operational Status
-----------------stressed
Service Status
------------------cluster-unreachable
Cache Mode
---------------------------------asynchronous
Number of
Unhealthy
Vols
------------9
Cluster
------------------------cluster-1
cluster-2
Operational
Status
------------------------------unknown
suspended
AP_ACW_Cluster1
asynchronous
10
cluster-1
cluster-2
unknown
suspended
AP_ACW_Cluster2
asynchronous
cluster-1
cluster-2
unknown
suspended
Status Details
------------------------------------------------------------------------------------------------------------------------------[]
[cluster-departure,
restore-link-or-choose-winner]
[]
[cluster-departure,
restore-link-or-choose-winner]
[]
[cluster-departure,
restore-link-or-choose-winner]
Example
Use the --verbose argument to display detailed information about unhealthy volumes in
each consistency group:
Health State
-------------
Operational Status
------------------
Service Status
-------------------
ds summary
237
DR10
major-failure
stressed
cluster-unreachable
Cache Mode
---------------------------------asynchronous
Number of
Unhealthy
Vols
------------9
Cluster
------------------------cluster-1
cluster-2
Operational
Status
------------------------------unknown
suspended
AP_ACW_Cluster1
asynchronous
10
cluster-1
cluster-2
unknown
suspended
AP_ACW_Cluster2
asynchronous
cluster-1
cluster-2
unknown
suspended
Status Details
------------------------------------------------------------------------------------------------------------------------------[]
[cluster-departure,
restore-link-or-choose-winner]
[]
[cluster-departure,
restore-link-or-choose-winner]
[]
[cluster-departure,
restore-link-or-choose-winner]
Unhealthy Vols
----------------------------------------------------------------------------------------------------['DR11_vol', 'DR12_vol', 'DR13_vol', 'DR14_vol', 'DR15_vol', 'DR16_vol', 'DR17_vol', 'DR18_vol',
'DR19_vol']
['DR20_vol', 'DR21_vol', 'DR22_vol', 'DR23_vol', 'DR24_vol', 'DR25_vol', 'DR6_vol', 'DR7_vol',
'DR8_vol', 'DR9_vol']
['DRa_12_vol', 'DRb_12_vol', 'DRc_12_vol', 'DRd_12_vol', 'DRe_12_vol']
Description
238
Device Name
Health State
major failure - One or more children of the distributed device is out-of-date and will
never rebuild, possibly because they are dead or unavailable.
minor failure - Either one or more children of the distributed device is out-of-date and
will rebuild, or the Logging Volume for the distributed device is unhealthy.
non-recoverable error - VPLEX cannot determine the distributed device's Health state.
ok - The distributed device is functioning normally.
unknown - VPLEX cannot determine the device's health state, or the state is invalid.
Description
Operational Status
degraded - The distributed device may have one or more out-of-date children that will
eventually rebuild.
error - One or more components of the distributed device is hardware-dead.
ok - The distributed device is functioning normally.
starting - The distributed device is not yet ready.
stressed - One or more children of the distributed device is out-of-date and will never
rebuild.
unknown - VPLEX cannot determine the distributed device's Operational state, or the
state is invalid.
Service Status
cluster unreachable - VPLEX cannot reach the cluster; the status is unknown.
need resume - The other cluster detached the distributed device while it was
unreachable. The distributed device needs to be manually resumed for I/O to resume at
this cluster.
need winner - All clusters are reachable again, but both clusters had detached this
distributed device and resumed I/O. You must pick a winner cluster whose data will
overwrite the other cluster's data for this distributed device.
potential conflict - The clusters have detached each other resulting in a potential for
detach conflict.
running - The distributed device is accepting I/O.
suspended - The distributed device is not accepting new I/O; pending I/O requests are
frozen.
winner-running - This cluster detached the distributed device while the other cluster was
unreachable, and is now sending I/O to the device.
Cluster Summary
Capacity Summary
Number of devices with free capacity, amount of free capacity for the cluster, and total
capacity for all clusters.
Cache Mode
Number of unhealthy
volumes
ds summary
239
240
Field
Description
Cluster
Operational Status
Current status for this consistency group with respect to each cluster on which it is
visible.
ok - I/O can be serviced on the volumes in the consistency group.
suspended - I/O is suspended for the volumes in the consistency group. The reasons
are described in the operational status: details.
degraded - I/O is continuing, but there are other problems described in operational
status: details:
unknown - The status is unknown, likely because of lost management connectivity.
Description
Status Details
See also
ds summary
241
event-test
Verifies that the management server can receive events from a director.
Contexts
Syntax
Arguments
All contexts.
event-test
[-n|--directors] context path,context path...
[-c|--clusters] context path,context path...
[-l|--level][emergency|alert|critical|error|warning|
notice|info|debug]
[-o|--component] component
[-m|--message] message
Required arguments
[-l|--level] level - Level of the event. Must be one of the following:
emergency - System is unusable.
alert - Immediate action is required.
critical - Critical condition detected.
error - Significant error condition detected.
warning - Warning condition is detected.
notice - Normal, but significant condition.
info - Information messages.
debug - Detailed event information used by EMC for debugging.
Optional arguments
[-d|--directors] context path, context path... - One or more directors from which to send the
test event.
[-c|--clusters] context path,context path... - One or more clusters from which to send the
test event. Events are sent from every director in the specified cluster(s).
[-o|--component] - Text to include in the component portion of the test message.
[-m|--message] message - Text of message to send in event test, enclosed in quotes.
This text is written to the firmware log prefixed by EVENT-TEST.
Description
Tests the logging path from one or mores director to the management server.
Every component in the software that runs on the director logs messages to signify
important events. Each logged message/event is transferred from the director to the
management server and into the firmware log file.
Use this command to verify this logging path is ok. Specify what level of event should be
generated. Optionally, specifiy the text to appear in the component portion of the test
message.
Check the appropriate firmware log for the event created by this command.
Example
242
The event test command creates an alert event for the specified director.
The tail command displays the firmware log for the director.
exec
Executes an external program.
Contexts
Syntax
Description
All contexts.
exec command name word*
Example
exit
Exits the shell.
Contexts
Syntax
Arguments
All contexts.
exit
[-e|--exit-code] exit-code
[-s|--shutdown]
Required arguments
None.
Optional arguments
[-e|--exit-code] exit code - Returns the specified value when the shell exits. If no exit code
is specified, then 0 is returned.
[-s|--shutdown] - When running in server mode, shuts down the shell instead of closing the
socket. No effect if not running in server mode.
Description
Example
If the shell is not embedded in another application, the shell process will stop.
VPlexcli:/> exit
Connection closed by foreign host.
exec
243
service@ManagementServer:~>
Syntax
Arguments
Required arguments
None.
Optional arguments
[-t|--timeout] seconds - The maximum number of seconds to wait for the front-end fabric
discovery operation to complete.
Default: 300.
Range: 1- 3600.
[-w|--wait] - The maximum number of seconds to wait for a response from the fabric
discovery.
Default: 10.
Range: 1- 3600.
[-c|--cluster] context path - Discover initiator ports on the specified cluster.
Description
Initiator discovery finds unregistered initiator-ports on the front-end fabric and determines
the associations between the initiator ports and the target ports.
Use the ll command in initiator-ports context to display the same information for small
configurations (where timeout does not occur)
Use the export initiator-port discovery command for large configurations in which ls
command may encounter timeout limits.
Example
244
See also
All contexts.
In /clusters/cluster/exports context, command is initiator-port register.
In /clusters/cluster/exports/initiator-ports context, command is register.
Syntax
Arguments
Required arguments
[-i|--initiator-port] initiator-port - * Name to assign to the registered port. Name must be
unique in the system. Command fails if the specified name is already in use.
[-p|--port] port - * Port identifier.
For Fibre Channel initiators, a WWN pair as follows: portWWN|nodeWWN. nodeWWN is
optional. Each WWN is either '0x' followed by one or more hex digits, or an abbreviation
using the format: string:number[,number]. Following are four examples:
0xd1342a|0xd1342b
hyy1:194e,4|hyy1:194e
0xd1342a
hyy1:194e,4
For iSCSI initiators, the iSCSI Qualified Name (IQN) or extended unique identifier (EUI) of
the initiator. Following are two examples:
iqn.1992-01.com.example:storage:diskarrays-sn-a8675309
eui.02004567A425678D
* - argument is positional.
Optional arguments
[-c|--cluster] context path - Cluster on which the initiator port is registered.
[-t|--type] {hpux|sun-vcs|aix|recoverpoint|default} - Type of initiator port. If no type is
specified, the default value is used.
hpux - Hewlett Packard UX
sun-vcs - Sun Solaris
aix - IBM AIX
recoverpoint - EMC RecoverPoint
default - If no type is specified.
245
Description
Registers an initiator-port and associates it with a SCSI address. For Fibre Channel, the
SCSI address is represented by a WWN pair. For iSCSI, the SCSI address is represented by
an iSCSI Qualified Name (IQN). For systems running VPlexVe, registering a iSCSI initiator
port redirects traffic to VplexVe iSCSI.
Use the ll command in /engines/engine/directors/director/hardware /ports/port context
to display portWWNs and nodeWWNs.
Example
Example
See also
All contexts.
In /clusters/cluster/exports context, command is initiator-port register-host.
In /clusters/cluster/exports/initiator-ports context, command is register-host.
Syntax
Arguments
Required arguments
[-f|--file] file - * The host declaration file path name.
Optional arguments
[-c|--cluster] cluster context - * The cluster at which to create the view.
[-p|--ports] port,port... - List of port names. If omitted, all ports at the cluster will be used.
Entries must be separated by commas.
* - argument is positional.
Description
Reads host port WWNs (with optional node WWNs) and names from a host declaration file.
Creates a view, registering each port WWN /name pair as an initiator port in that view.
The host description file contains one line for each port on the host in the following
format:
246
Arguments
All contexts.
export initiator-port show-logins
[-i|--initiator-ports] initiator ports [, initiator ports...]
[-h|--help]
Required arguments
None
Optional arguments
[-i|--initiator-ports] initiator ports [, initiator ports...] - * Specifies the initiator-ports for
which the login information is required.
[-h|--help] - Displays command line help.
* - argument is positional.
Description
Example
Displays a list of target port logins for the specified initiator ports.
Shows target port logins for all the initiator ports in VPLEX:
cluster-1
initiator_12
P000000003CA0014C-A0-FC00
P000000003CB0014C-B0-FC00
cluster-2
initiator_21
P000000003CA00150-A0-FC01
P000000003CB00150-B0-FC01
cluster-2
initiator_22
P000000003CA00150-A0-FC00
P000000003CB00150-B0-FC00
Example
247
cluster-1
initiator_11
cluster-2
initiator_22
Example
P000000003CA0014C-A0-FC01
P000000003CA00150-A0-FC00
P000000003CB00150-B0-FC00
cluster-2
initiator_22
None
See also
All contexts.
In /clusters/cluster/exports context, command is initiator-port unregister.
In /clusters/cluster/exports/initiator-ports context, command is unregister.
Syntax
Arguments
Required arguments
[-i|--initiator-port] context path, context path... - * One or more initiator ports to remove.
Entries must be separated by commas.
Optional arguments
[-f|--force] - Destroys the initiator-ports even if they are in use.
* - argument is positional.
Example
VPlexcli:> export initiator-port unregister -i win2k3_105_port1
See also
248
Contexts
All contexts.
In /clusters/cluster/exports context, command is port summary.
In/clusters/cluster/exports/ports context, command is summary.
Syntax
Arguments
Required arguments
None.
Optional arguments
[-c|--clusters] cluster,cluster... - Display unhealthy ports for only the specified cluster(s).
Description
Prints a summary of the unhealthy ports, the ports at each cluster, and the views which
contain it.
In the root context, displays information for all clusters.
In /cluster context or below, displays information for only the current cluster.
Example
export status
-------------
view summary
------------------
P000000003CA00147-A0-FC01
P000000003CA00147-A0-FC03
P000000003CA00147-A1-FC01
.
.
.
port name
------------------------P000000003CA00147-A0-FC00
P000000003CA00147-A0-FC02
P000000003CA00147-A1-FC00
.
.
.
P000000003CB00147-B0-FC03
P000000003CB00147-B1-FC01
P000000003CB00147-B1-FC03
suspended
suspended
suspended
no unhealthy views
no unhealthy views
no unhealthy views
health state
-----------healthy
healthy
healthy
enabled
------true
true
true
unhealthy
unhealthy
unhealthy
true
true
true
views
----1
2
1
virtual-volumes
--------------1
28
1
0
0
0
0
0
0
export status
-------------
view summary
------------------
P000000003CA00147-A0-FC01
P000000003CA00147-A0-FC03
P000000003CA00147-A1-FC01
.
.
.
suspended
suspended
suspended
no unhealthy views
no unhealthy views
no unhealthy views
249
port name
-------------------------
health state
------------
enabled
-------
view summary
-------------------------
P000000003CA00147-A0-FC00
healthy
true
view
-------LicoJ013
virtual-volumes
--------------1
P000000003CA00147-A0-FC02
healthy
true
view
-------LicoJ013
LicoJ009
virtual-volumes
--------------1
27
.
.
.
P000000003CB00147-B0-FC03
unhealthy
true
no views
P000000003CB00147-B1-FC01
unhealthy
true
no views
P000000003CB00147-B1-FC03
unhealthy
true
no views
See also
All contexts.
In /clusters/cluster/exports context, command is storage-view addinitiatorport.
In /clusters/cluster/exports/storage-views context, command is addinitiatorport.
Syntax
Arguments
Required arguments
[-i|--initiator-ports] context path,context path ... - * List of one or more initiator ports to add
to the view. Entries must be separated by commas.
Optional arguments
[-v|--view] context path - View to which to add the specified initiator port(s).
* - argument is positional.
Description
Example
250
See also
All contexts.
In clusters/cluster/exports/storage-views/storage-view context, command is addport.
Syntax
Arguments
Required arguments
[-p|--ports] context path,context path ... - * List of one or more ports to be added to the
view. Entries must be separated by commas.
Optional arguments
[-v|--view] context path - Storage view to which to add the specified port(s).
* - argument is positional.
Description
Example
VPlexcli:/clusters/cluster-1/exports/storage-views/TestStorageView>
export storage-view addport --ports P000000003CB00147-B0-FC03
See also
All contexts.
In /clusters/cluster/exports context, command is storage-view addvirtualvolume.
In /clusters/cluster/exports/storage-views context, command is addvirtualvolume.
Syntax
Arguments
Required arguments
[-o|--virtual-volumes] virtual volume,virtual volume ... - * List of one or more
virtual-volumes or LUN-virtual-volume pairs. Entries must be separated by commas.
LUN-virtual-volume pairs must be enclosed in parentheses (). Virtual-volumes and
LUN-virtual-volume pairs can be typed on the same command line.
export storage-view addport
251
When only virtual-volumes are specified, the next available LUN is automatically assigned
by VPLEX.
Optional arguments
[-v|--view] context path> - View to which to add the specified virtual volume(s).
[-f|--force] - Force the virtual-volumes to be added to the view even if they are already in
use, if they are already assigned to another view, or if there are problems determining the
view's state. Virtual-volumes that already have a LUN in the view will be re-mapped to the
newly-specified LUN.
* - argument is positional.
Description
Add the specified virtual volume to the specified storage view. Optionally, specify the LUN
to assign to the virtual volume. Virtual volumes must be in a storage view in order to be
accessible to hosts.
When virtual-volumes are added using only volume names, the next available LUN number
is automatically assigned.
Virtual-volumes and LUN-virtual-volume pairs can be specified in the same command line.
For example:
r0_1_101_vol,(2,r0_1_102_vol),r0_1_103_vol
To modify the LUN assigned to a virtual volume, specify a virtual volume that is already
added to the storage view and provide a new LUN.
Example
Example
The ll command in storage view context displays the LUN (0) assigned to a storage
volume.
The ll command in storage view context displays the new LUN assigned to a storage
volume:
VPlexcli:/clusters/cluster-1/exports/storage-views/TestStorageView> ll
Name
Value
------------------------ -------------------------------------------------controller-tag
initiators
[]
operational-status
stopped
port-name-enabled-status [P000000003CA00147-A1-FC01,true,suspended,
P000000003CB00147-B0-FC01,true,suspended]
ports
[P000000003CA00147-A1-FC01, P000000003CB00147-B0-FC01]
virtual-volumes
[(0,TestDisDevice_vol,VPD83T3:6000144000000010a0014760d64cb325,16G)]
VPlexcli:/clusters/cluster-1/exports/storage-views/TestStorageView> export storage-view
addvirtualvolume (5,TestDisDevice_vol) --force
WARNING: Volume 'TestDisDevice_vol' already has LUN 0 in this view; remapping to LUN 5.
VPlexcli:/clusters/cluster-1/exports/storage-views/TestStorageView> ll
Name
Value
252
-----------------------controller-tag
initiators
operational-status
port-name-enabled-status
ports
virtual-volumes
Example
-------------------------------------------------[]
stopped
[P000000003CA00147-A1-FC01,true,suspended,
P000000003CB00147-B0-FC01,true,suspended]
[P000000003CA00147-A1-FC01, P000000003CB00147-B0-FC01]
[(5,TestDisDevice_vol,VPD83T3:6000144000000010a0014760d64cb325,16G)]
Add a synchronous virtual volume to a view using the --force option from the root context:
See also
All contexts.
In /clusters/cluster/exports context, command is storage-view checkconfig.
In /clusters/cluster/exports/storage-views context, command is checkconfig.
Syntax
Description
Example
Identifies any virtual volumes that are exported more than once.
To check all view configurations for all clusters from the CLI, type:
VPlexcli:/> export storage-view checkconfig
Checking cluster cluster-1:
No errors found for cluster cluster-1.
Checking cluster cluster-2:
No errors found for cluster cluster-2.
Volume dd_13_vol is exported multiple times:
view: LicoJ009, lun: 14
view: LicoJ010, lun: 14
Volume dd_16_vol is exported multiple times:
view: LicoJ009, lun: 17
view: LicoJ010, lun: 17
Volume dd_12_vol is exported multiple times:
view: LicoJ009, lun: 13
view: LicoJ010, lun: 13
Volume dd_19_vol is exported multiple times:
view: LicoJ009, lun: 20
export storage-view checkconfig
253
See also
Arguments
All contexts.
export storage-view create
[-c|--cluster] context path
[-n|--name] name
[-p|--ports] context path,context path...
Required arguments
[-n|--name] name - * Name of the new view. Must be unique throughout VPLEX.
[-p|--ports] context path,context path... - * List of one or more ports to add to the view.
Optional arguments
[-c|--cluster] context path - The cluster on which to create the view.
* - argument is positional.
Description
A storage view is a logical grouping of front-end ports, registered initiators (hosts), and
virtual volumes used to map and mask LUNs. Storage views are used to control host
access to storage.
In order for hosts to access virtual volumes, the volumes must be in a storage view. A
storage view consists of:
One or more initiators. Initiators are added to a storage view using the export
storage-view addinitiatorport command.
One or more virtual-volumes. Virtual volumes are added to a storage view using the
export storage-view addvirtualvolume command.
One or more FE ports. Ports are added to a storage view using the export storage-view
addport command.
The name assigned to the storage view must be unique throughout the VPLEX. In VPLEX
Metro or Geo configurations, the same name must not be assigned to a storage view on
the peer cluster.
Use the ll clusters/*/exports/storage-views command to display the names of existing
storage views before assigning a name.
254
Example
See also
Arguments
All contexts.
export storage-view destroy
[-f|--force]
[-v|--view] context path
Required arguments
[-v|--view] context path ... - * Storage view to destroy.
Optional arguments
[-f|--force] - Force the storage view to be destroyed even if it is in use.
* - argument is positional.
Description
Example
See also
255
Syntax
Arguments
Required arguments
None.
Optional arguments
[-c|--cluster] cluster - Cluster to search for views.
[-v|--volume] volume - Find the views exporting the specified volume. Identify the volume
by name, VPD83 identifier, or a name pattern with wildcards.
[-l|--lun] LUN - Find the views exporting the specified LUN number.
[-i|--initiator-port] initiator - Find the views including the specified initiator. May contain
wildcards.
[-f|--free-lun] - Find the next free LUN number for all views.
Description
Example
This command is most useful for configurations with thousands of LUNs, and a large
number of views and exported virtual volumes.
Find the next available LUN numbers on cluster 1:
Find the views exported by initiators whose name starts with Lico:
VPlexcli:/clusters/cluster-1/exports> export storage-view find --initiator Lico*
Views including inititator Lico*:
View LicoJ009.
View LicoJ013.
See also
256
All contexts.
export storage-view find-unmapped-volumes
[-c|--cluster] cluster
Arguments
Required arguments
[-c|--cluster] cluster - Cluster for which to display unexported storage volumes.
Description
Example
Name
------------------------------------------------------------------------------Basic_c1_ramdisk_100GB_684_
Basic_c1_ramdisk_100GB_685_
Basic_c1_ramdisk_100GB_686_
Basic_c1_ramdisk_100GB_687_
Basic_c1_ramdisk_100GB_688_
Basic_c1_ramdisk_100GB_689_
Basic_c1_ramdisk_100GB_68_
Basic_c1_ramdisk_100GB_690_
Basic_c1_ramdisk_100GB_691_
Basic_c1_ramdisk_100GB_692_
See also
VPD83 ID
------------------------------------------------------------------------------VPD83T3:60001440000000103017dfea88355431
VPD83T3:60001440000000103017dfea88355433
VPD83T3:60001440000000103017dfea88355435
VPD83T3:60001440000000103017dfea88355437
VPD83T3:60001440000000103017dfea88355439
VPD83T3:60001440000000103017dfea8835543b
VPD83T3:60001440000000103017dfea88354f61
VPD83T3:60001440000000103017dfea8835543d
VPD83T3:60001440000000103017dfea8835543f
VPD83T3:60001440000000103017dfea88355441
Capacity
--------------100G
100G
100G
100G
100G
100G
100G
100G
100G
100G
Use
----------------claimed
claimed
claimed
claimed
claimed
claimed
claimed
claimed
claimed
claimed
Vendor
----------EMC
EMC
EMC
EMC
EMC
EMC
EMC
EMC
EMC
EMC
IO
Status
-----alive
alive
alive
alive
alive
alive
alive
alive
alive
alive
Type
--------------------normal
normal
normal
normal
normal
normal
normal
normal
normal
normal
Thin
Rebuild
----false
false
false
false
false
false
false
false
false
false
All contexts.
In /clusters/cluster/exports context, command is view map.
In /clusters/cluster/exports/storage-views context, command is map.
Syntax
Arguments
Required arguments
[-v|--views] view,view... - * List of one or more storage views to map. Entries must be
separated by commas. May contain wildcards.
Optional arguments
[-f|--file] file - Name of the file to which to send the output. If no file is specified, output is
to the console screen.
* argument is positional.
Example
257
See also
All contexts.
In /clusters/cluster/exports context, command is storage-view removeinitiatorport.
In /clusters/cluster/exports/storage-views context, command is removeinitiatorport.
Syntax
Arguments
Required arguments
[-i|--initiator-ports] context path,context path... - * Comma- separated list of one or more
initiator ports to remove.
Optional arguments
[-v|--view] context path - The storage view from which to remove the initiator port.
* - argument is positional.
Description
Example
See also
258
All contexts.
In /clusters/cluster/exports/storage-views/storage-view context, command is removeport..
export storage-view removeport
[-v|--view] context path
[-p|--ports] context path,context path...
Arguments
Required arguments
[-p|--ports] context path,context path ... - * List of one or more ports to be removed from
the view. Entries must be separated by commas.
Optional arguments
[-v|--view] context path - View from which to remove the specified port(s).
* - argument is positional.
Description
Example
See also
All contexts.
In /clusters/cluster/exports context, command is storage-view removevirtualvolume.
In /clusters/cluster/exports/storage-views context, command is removevirtualvolume.
Syntax
Arguments
Required arguments
[-o|--virtual-volumes] volume,volume ... - * List of one or more virtual volumes to be
removed from the view. Entries must be separated by commas.
Optional arguments
[-f|--force] - Force the virtual-volumes to be removed from the view even if the specified
LUNs are in use, the view is live, or some of the virtual-volumes do not exist in the view.
[-v|--view] context path - View from which to remove the specified virtual volume(s).
* - argument is positional.
export storage-view removeport
259
Description
Example
See also
Required arguments
None.
Optional arguments
[-c|--cluster] context path - The cluster at which to show the PowerPath interface mapping.
Example
VPlexcli:/clusters/cluster-2/exports/storage-views> export
storage-view show-powerpath-interfaces
PowerPath Interface Target Port
------------------- --------------------------SP A8
P000000003CA000E6-A0-FC03.0
SP A9
P000000003CB001CB-B0-FC01.0
SP A6
P000000003CA001CB-A0-FC01.0
SP A7
P000000003CB000E6-B0-FC01.0
SP A0
P000000003CA000E6-A0-FC00.0
SP A1
P000000003CA000E6-A0-FC01.0
SP A4
P000000003CA000E6-A0-FC02.0
SP A5
P000000003CB001CB-B0-FC00.0
See also
260
Contexts
All contexts.
In /clusters/cluster/exports/storage-views context, command is summary.
Syntax
Arguments
Required arguments
None.
Optional arguments
[-c|--cluster] cluster, cluster... - List of clusters. Entries must be separated by commas.
Display information only for storage views on the specified cluster(s).
Description
Example
Display storage view summary for a specified cluster (no unhealthy views):
ports
----4
8
registered initiators
--------------------4
4
summary(cluster-1):
health-state exported volumes
------------ ---------------healthy
5
healthy
1
ports
----4
4
registered initiators
--------------------2
1
view name
--------esx1_view
port name
unhealthy volumes
----------------- ------------P000000003B2017D8-A0-FC00
1
P000000003B2017D8-A0-FC01
1
P000000003B3017D8-B0-FC00
1
P000000003B3017D8-B0-FC01
1
health-state
-----------unhealthy
exported volumes
---------------10
export status
ok
ok
ok
ok
See also
261
All contexts.
In /clusters/cluster/exports context, command is target-port renamewwns.
Syntax
Arguments
Required arguments
[-w|--wwns] wwns - A WWN pair separated by |:
portWWN|nodeWWN
Each WWN is either '0x' followed by one or more hexadecimal digits or an abbreviation, in
the following format:
<string>:<number>[,<number>]
For example,
0xd1342a|0xd1342b
hyy1:194e,4|hyy1:194e
0xd1342a
hyy1:194e,4
Optional arguments
[-p|--port] context path - Target port for which to rename the WWN pair.
Description
Disable the corresponding Fibre Channel port before executing this command.
Example
VPlexcli:/> export target-port renamewwns --wwns 0xd1342a|0xd1342b --port
P0000000000000001-FK00
See also
extent create
Creates one or more storage-volume extents.
262
Contexts
Syntax
Arguments
All contexts.
extent create
[-s|--size] size
[-o|--block-offset] integer
[-n|--num-extents] integer
[-d|--storage-volumes] storage-volume,storage-volume...
Required arguments
[-d|--storage-volumes] storage-volume,storage-volume ... - * Names of one or more
claimed storage volumes to extent. Entries must be separated by commas.
Optional arguments
[-s|--size] size - The size of each extent, in bytes. If not specified, the largest available
contiguous range of 4K byte blocks on the storage volume is used to create the specified
number of extents.
[-n|--num-extents] integer - The number of extents to create per specified storage volume.
Maximum of 128 extents per storage volume. If not specified, only one extent per
storage-volume is created.
[-o|--block-offset] integer - The block-offset on the underlying storage volume on which the
extent is created. If not specified, the block-offset is determined automatically.
* - argument is positional.
Description
An extent is a slice (range of 4K byte blocks) of a storage volume. An extent can use the
entire capacity of the storage volume, or the storage volume can be carved into a
maximum of 128 extents.
Extents are the building blocks for devices.
If the storage volume is larger than the desired virtual volume, create an extent the size of
the desired virtual volume. Do not create smaller extents, and then use different RAIDs to
concatenate or stripe the extents.
If the storage volume is smaller than the desired virtual volume, create a single extent per
storage volume, and then use devices to concatenate or stripe these extents into a larger
device.
This command can fail if there is not a sufficient number of meta volume slots. See the
generator troubleshooting section for a resolution to this problem.
Example
The extent create command creates an extent from two claimed 16 GB storage
volumes.
VPlexcli:/> ll -p **/storage-volumes
extent create
263
Name
------------------------------------------------------------------------------Basic_c1_ramdisk_100GB_684_
Basic_c1_ramdisk_100GB_685_
Basic_c1_ramdisk_100GB_686_
Basic_c1_ramdisk_100GB_687_
Basic_c1_ramdisk_100GB_688_
Basic_c1_ramdisk_100GB_689_
Basic_c1_ramdisk_100GB_68_
Basic_c1_ramdisk_100GB_690_
Basic_c1_ramdisk_100GB_691_
Basic_c1_ramdisk_100GB_692_
VPD83 ID
Capacity Use
Vendor
---------------------------------------- -------- --------- --------------------------------------------- -------- --------- -----VPD83T3:60001440000000103017dfea88355431 100G
claimed
EMC
VPD83T3:60001440000000103017dfea88355433 100G
claimed
EMC
VPD83T3:60001440000000103017dfea88355435 100G
claimed
EMC
VPD83T3:60001440000000103017dfea88355437 100G
claimed
EMC
VPD83T3:60001440000000103017dfea88355439 100G
claimed
EMC
VPD83T3:60001440000000103017dfea8835543b 100G
claimed
EMC
VPD83T3:60001440000000103017dfea88354f61 100G
claimed
EMC
VPD83T3:60001440000000103017dfea8835543d 100G
claimed
EMC
VPD83T3:60001440000000103017dfea8835543f 100G
claimed
EMC
VPD83T3:60001440000000103017dfea88355441 100G
claimed
EMC
IO
Status
-----alive
alive
alive
alive
alive
alive
alive
alive
alive
alive
Type
--------------------normal
normal
normal
normal
normal
normal
normal
normal
normal
normal
Thin
Rebuild
----false
false
false
false
false
false
false
false
false
false
VPlexcli:/>cd /clusters/cluster-1/storage-elements/storage-volumes
VPlexcli:/clusters/cluster-1/storage-elements/storage-volumes> extent create
Symm1723_1DC,Symm1723_1E0
See also
extent destroy
Destroys one or more storage-volume extents.
Contexts
Syntax
Arguments
All contexts.
extent destroy
[-f|--force]
[-s|--extents context path,context path...
Required arguments
[-s|--extents] context path,context path ... - * List of one or more extents to destroy. Entries
must be separated by commas.
Optional arguments
[-f|--force] - Forces the destruction of the given extents, bypassing all guards and
confirmations.
* - argument is positional.
Description
Example
See also
extent summary
Displays a list of a cluster's unhealthy extents.
Contexts
264
All contexts.
extent summary
[-c|--clusters] cluster,cluster...
Required arguments
None.
Optional arguments
[-c|--clusters] cluster,cluster... - List of clusters to summarize, separated by commas. May
contain glob characters.
Description
Displays a cluster's unhealthy extents (if any exist), the total number of extents by use,
and calculates the total extent capacity for this cluster.
An unhealthy extent has a non-nominal health state, operational status or I/O status.
If the --clusters argument is not specified and the command is executed at or below a
specific cluster's context, information is summarized for only that cluster. Otherwise, the
extents of all clusters are summarized.
Description
Name of extent.
I/O Status
Operational
Status
degraded - The extent may be out-of-date compared to its mirror (applies only to extents
that are part of a RAID 1 device).
ok - The extent is functioning normally.
starting - The extent is not yet ready.
unknown - VPLEX cannot determine the extent's Operational state, or the state is invalid.
Health State
degraded - The extent may be out-of-date compared to its mirror (applies only to extents
that are part of a RAID 1 device).
ok - The extent is functioning normally.
non-recoverable-error - The extent may be out-of-date compared to its mirror (applies only to
extents that are part of a RAID 1 device), and/or the Health state cannot be determined.
unknown - VPLEX cannot determine the extent's Operational state, or the state is invalid.
Extent Summary
extent summary
265
Description
Health
Use
used - Of the total number of extents on the cluster, the number in use.
claimed - Of the total number of extents on the cluster, the number that are claimed
unclaimed - Of the total number of extents on the cluster, the number that are unclaimed.
unusable - Indicates that the underlying storage-volume of the extent is dead or
unreachable. Use the storage-volume summary command to check the storage-volume. Use
the validate-system-configuration command to check reachability from the directors.
logging - Of the total number of extents on the cluster, the number that are in use for
logging.
Capacity
See also
getsysinfo
Returns information about the current system.
Contexts
Syntax
Arguments
All contexts.
getsysinfo
--output path name
--linux
Required arguments
None.
Optional arguments
--output path name - Location and name of the output file.
Default: /var/log/VPlex/cli/YY-sysinfo.txt
--linux - Use this if the management server is running on a Linux system. Disables the scsi
tests since Linux systems lack a scsi command.
Description
Example
266
====================
Description
Flag includeDebug
Flag isLinux = 0
nn ports - unknown system type The getsysinfo script looked for hardware prior to Release 4.0 and did not find
it.
System does NOT have comtcp
enabled
See also
health-check
Displays a report indicating overall hardware/software health.
Contexts
Syntax
Arguments
All contexts.
health-check
[-m|--highlevel]
[-f|--full]
--configuration
--back-end
--front-end
--cache
--consistency-group
--wan
--hardware
Required arguments
None.
health-check
267
Optional arguments
[-m|--highlevel] - Checks for major subcomponents with error conditions. Warnings are
ignored. Used for instantaneous, high level view of the health of the VPLEX.
Default behavior if no other argument is specified.
[-f|--full] - Runs full scan.
--configuration - Perform configuration checks.
--back-end - Perform back end checks.
--front-end - Perform front end checks.
--cache - Perform cache check.
--consistency-group - Perform consistency group check.
--wan - Perform WAN health checks.
--hardware - Perform hardware checks.
Description
Example
version
cluster status
cluster summary
connectivity validate-be
connectivity validate-wan-com
ds summary
virtual-volume summary
storage-volume summary
ll /clusters/**/system-volumes/
VPlexcli:/> health-check
Product Version: 5.1.0.00.00.10
Clusters:
--------Cluster
Name
--------cluster-1
cluster-2
Cluster
ID
------1
2
Oper
State
----ok
ok
Health
State
-------degraded
ok
Connected
Expelled
--------True
True
-------False
False
268
Volume
Name
------------------------------Advil_1
Volume
Type
-------------meta-volume
Oper
State
----ok
Health
State
-----ok
Active
-----True
cluster-1
cluster-1
cluster-1
cluster-2
cluster-2
cluster-2
cluster-2
logging_c1_log_vol
Advil_1_backup_2012Mar07_043012
Advil_1_backup_2012Mar08_043011
logging_c2_log_vol
Advil-2_backup_2012Mar08_043020
Advil-2_backup_2012Mar07_043017
Advil-2
Front End:
---------Cluster
Total
Name
Storage
Views
--------- ------cluster-1 4
cluster-2 0
Storage:
-------Cluster
Name
--------cluster-1
cluster-2
Total
Storage
Volumes
------2375
2365
Unhealthy
Storage
Views
--------2
0
Total
Registered
Initiators
---------12
0
Unhealthy
Storage
Volumes
--------10
0
Total
Virtual
Volumes
------229
205
Consistency Groups:
------------------Cluster
Total
Name
Synchronous
Groups
--------- ----------cluster-1 9
cluster-2 5
Unhealthy
Synchronous
Groups
----------0
0
logging-volume
meta-volume
meta-volume
logging-volume
meta-volume
meta-volume
meta-volume
Total
Ports
----8
0
Unhealthy
Virtual
Volumes
--------10
0
Total
Asynchronous
Groups
-----------0
0
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
Total
Exported
Volumes
-------135
0
Total
ITLs
Total
Dist
Devs
----12
12
Unhealthy
Dist
Devs
--------0
0
False
False
False
False
True
----672
0
No
Dual
Paths
----0
0
Not visible
from
All Dirs
----------0
0
Unhealthy
Asynchronous
Groups
-----------0
0
FC WAN Connectivity:
-------------------Port Group
Connectivity
------------ -----------port-group-1 ok
port-group-0 ok
Cluster Witness:
---------------Cluster Witness is not configured
RecoverPoint:
------------Cluster
Name
Total
RP Clusters
Unhealthy
RP Clusters
--------cluster-1
cluster-2
----------1
-
----------1
-
Total
Replicated
Virtual
Volumes
---------1
-
Unhealthy
Replicated
Virtual
Volumes
---------0
-
Total
RP-enabled
Consistency
Groups
----------8
-
Mis-aligned
RP-enabled
Consistency
Groups
----------1
-
Total
Registered
RP Initiators/
Storage Views
-------------8/1
-/-
Unhealthy
RP Storage
Views
---------0
-
**This command is only able to check the health of the local cluster(cluster-1)'s RecoverPoint
configuration, therefore if this system is a VPLEX Metro or VPLEX Geo repeat this command on the remote
cluster to get the health of the remote cluster's RecoverPoint configuration.
Example
269
270
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
Example
health-check
271
port-group-0: OK
All com links have the expected connectivity: this port-group is operating
correctly.
Example
272
All com links have the expected connectivity: this port-group is operating
correctly.
WAN
WAN
WAN
WAN
WAN
Port Settings.................. OK
Port Group Settings............ OK
Subnet Settings................ OK
Bridged and Routed Settings.... OK
Ping Remote IPs................ OK
ping from director-1-1-A:
Remote Discovery IP:
224.100.100.100 is reachable, Round-trip time:0.328 ms
Remote Cluster IPs:
192.168.4.252 is reachable, Round-trip time:0.083 ms
192.168.5.252 is reachable, Round-trip time:0.081 ms
ping from director-1-1-B:
Remote Discovery IP:
224.100.100.100 is reachable, Round-trip time:0.431 ms
Remote Cluster IPs:
192.168.4.252 is reachable, Round-trip time:0.086 ms
192.168.5.252 is reachable, Round-trip time:0.083 ms
ping from director-1-2-A:
Remote Discovery IP:
224.100.100.100 is reachable, Round-trip time:0.297 ms
Remote Cluster IPs:
192.168.4.252 is reachable, Round-trip time:0.088 ms
192.168.5.252 is reachable, Round-trip time:0.103 ms
ping from director-1-2-B:
Remote Discovery IP:
224.100.100.100 is reachable, Round-trip time:0.311 ms
Remote Cluster IPs:
192.168.4.252 is reachable, Round-trip time:0.089 ms
192.168.5.252 is reachable, Round-trip time:0.075 ms
ping from director-2-1-A:
Remote Discovery IP:
224.100.100.100 is reachable, Round-trip time:0.371 ms
Remote Cluster IPs:
192.168.4.251 is reachable, Round-trip time:0.08 ms
192.168.5.251 is reachable, Round-trip time:0.091 ms
ping from director-2-1-B:
Remote Discovery IP:
224.100.100.100 is reachable, Round-trip time:0.443 ms
Remote Cluster IPs:
192.168.4.251 is reachable, Round-trip time:0.066 ms
192.168.5.251 is reachable, Round-trip time:0.083 ms
ping from director-2-2-A:
Remote Discovery IP:
224.100.100.100 is reachable, Round-trip time:0.347 ms
Remote Cluster IPs:
192.168.4.251 is reachable, Round-trip time:0.087 ms
192.168.5.251 is reachable, Round-trip time:0.087 ms
ping from director-2-2-B:
Remote Discovery IP:
224.100.100.100 is reachable, Round-trip time:0.397 ms
Remote Cluster IPs:
192.168.4.251 is reachable, Round-trip time:0.088 ms
192.168.5.251 is reachable, Round-trip time:0.087 ms
Output to /var/log/VPlex/cli/health_check_full_scan.log
Example
health-check
273
Virtual HA (VHA):
Checking director VM existence...... OK
Checking director existence........... OK
Checking director VM placement...... OK
Checking director runtime status..... OK
Checking virtual networking state..... Error
Checking if vSphere HA is enabled..... OK
Checking vSphere HA................... Warning
Checking if vSphere DRS is enabled.... OK
Checking VSphere DRS.................. OK
Checking VSphere DRS run time......... OK
Output to /var/log/VPlex/cli/health_check_full_scan.log
Virtual HA (VHA):
Checking director VM existence...... OK
Checking director existence........... OK
Checking director VM placement...... OK
Checking director runtime status..... OK
Checking virtual networking state..... Error
Failures
The following director VMs have an invalid number of configured NICs:
vDirector-4
vDirector-3
vDirector-1
vDirector-2
Warnings
The following director VMs do not have redundant front-end communication due to missing or
misconfigured virtual ethernet cards:
vDirector-4
vDirector-3
vDirector-1
vDirector-2
See also
help
Displays help on one or more commands.
Contexts
Syntax
274
All contexts.
help
[-i|--interactive]
[-G|--no-global]
[-n|--no-internal]
Arguments
Required arguments
None.
Optional arguments
[-i|--interactive] - Invoke interactive help.
[-G|--no-global] - Suppresses the list of global commands for contexts other than root
context.
[-n|--internal] - Include commands that are normally used for low-level debugging and
development.
Type quit to exit interactive help.
Description
Example
VPlexcli:/clusters/cluster-1> help -G
Commands inherited from parent contexts:
add cacheflush configdump expel forget
shutdown
summary
unexpel
ASSERTION
DYNAMICFEATURES
NONE
TRACEBACKS
ASSIGNMENT
ELLIPSIS
NUMBERMETHODS
TRUTHVALUE
.
.
.
help> EXPRESSIONS
-----------------------------------------------------------------------help
275
5.14 Summary
The following table summarizes the operator precedences in Python, from
lowest precedence (least binding) to highest precedence (most binding).
.
.
.
history
Displays or clears the command history list.
Contexts
Syntax
Arguments
All contexts.
history
[-c|--clear]
[-n|--number] number
Required arguments
None.
Optional arguments
[-c|--clear] - Clears the history list.
[-n|--number] number - Displays only the last n commands in the history list.
Example
276
All contexts.
iscsi chap back-end add-credentials
[-u|--username] username
[-s|--secret] secret
[-t|--targets] target [, target...]
[-c|--cluster] cluster context
[--secured]
[-h|--help]
[--verbose]
Arguments
Required arguments
[-u|--username] username - * Specifies the username to use in the configured CHAP
credentials.
[-s|--secret] secret - * Specifies the secret to use in the configured CHAP credentials. The
secret must be between 12 and 255 characters long, and can be composed of all printable
ASCII characters.
[-t|--targets] target [, target...] -* Specifies the IQNs or IP addresses of the targets for which
to configure credentials.
[--secured] - Prevents the secret from being stored as plain text in the log files.
Optional arguments
[-c|--cluster] cluster context - Specifies the context-path of the cluster at which the
back-end CHAP credentials should be added.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
* - argument is positional.
Description
Example
See also
All contexts.
iscsi chap back-end disable
[-c|--cluster] cluster context
[-h|--help]
[--verbose]
iscsi chap back-end disable
277
Arguments
Required arguments
None
Optional arguments
[-c|--cluster] cluster context- Specifies the context path of the cluster at which back-end
CHAP should be disabled.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
Description
Disables back-end CHAP. Once CHAP is disabled on the back-end, all configured
credentials will be unused, but not deleted.
You will not be able to login to storage arrays that enforce CHAP if you disable back-end
CHAP that was previously configured.
Note: This command is valid only on systems that support iSCSI devices.
Example
See also
Arguments
All contexts.
iscsi chap back-end enable
[-c|--cluster] cluster context
[-h|--help]
[--verbose]
Required arguments
None
278
Optional arguments
[-c|--cluster] cluster context - Specifies the context path of the cluster at which back-end
CHAP should be enabled.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
Description
Enables back-end CHAP. Enabling CHAP on the back-end allows VPLEX to log in securely to
storage arrays that also have CHAP configured. To use CHAP once it is enabled, all storage
arrays must have added CHAP credentials or have set a default CHAP credential .
Note: This command is valid only on systems that support iSCSI devices.
Example
See also
Arguments
All contexts.
iscsi chap back-end list-credentials
[-c|--cluster] cluster context
[-h|--help]
[--verbose]
Required arguments
None.
Optional arguments
[-c|--cluster] cluster context - Specifies the context path of the cluster for which the
configured back-end CHAP credentials should be listed.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
iscsi chap back-end list-credentials
279
Description
Example
Username
---------------user
vnx_username
default_username
See also
Secret
----------------chap_secret_123
vnx_secret_123456
default_secret
Arguments
All contexts.
iscsi chap back-end remove credentials
[-t|--targets] target [, target...]
[-c|--cluster] cluster context
[-h|--help]
[--verbose]
Required arguments
[-t|--targets] target [, target...] - * Specifies the IQNs or IP addresses of the targets for which
to remove credentials.
Optional arguments
[-c|--cluster] cluster context - Specifies the context path of the cluster at which the
back-end CHAP credential should be removed.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
* - argument is positional.
Description
280
Note: This command is valid only on systems that support iSCSI devices.
Example
See also
Arguments
All contexts.
iscsi chap back-end remove-default-credential
[-c|--cluster] cluster context
[-h|--help]
[--verbose]
Required arguments
None
Optional arguments
[-c|--cluster] cluster context - Specifies the context path of the cluster at which the default
back-end CHAP credential should be removed.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
Description
Example
281
See also
Arguments
All contexts.
iscsi chap back-end set-default-credential
[-u|--username] username
[-s|--secret] secret
[-c|--cluster] cluster context
[--secured]
[-h|--help]
[--verbose]
Required arguments
[-u|--username] username - * Specifies the username to use in the configured CHAP
credentials.
[-s|--secret] secret - * Specifies the secret to use in the configured CHAP credentials. The
secret must be between 12 and 255 characters long, and can be composed of all printable
ASCII characters.
[--secured] - Prevents the secret from being stored as plain text in the log files.
Optional arguments
[-c|--cluster] cluster context - Specifies the context path of the cluster at which the default
back-end CHAP credential should be set.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
* - positional argument
Description
Sets a default credential for back-end CHAP configuration. When back-end CHAP is
enabled, VPLEX will log into its targets using the default credential. If a specific target has
a separate credential configured, VPLEX will use that separate credential when attempting
to log into the target.
Note: This command is valid only on systems that support iSCSI devices.
Example
282
See also
Arguments
All contexts.
iscsi chap front-end add-credentials
[-u|--username] username
[-s|--secret] secret
[-i|--initiators] initiator [, initiator...]
[-c|--cluster] cluster context
[--secured]
[-h|--help]
[--verbose]
Required arguments
[-u|--username] username - * Specifies the username to use in the configured CHAP
credentials.
[-s|--secret] secret - * Specifies the secret to use in the configured CHAP credentials. The
secret must be between 12 and 255 characters long, and can be composed of all printable
ASCII characters.
[-i|--initiators] initiator [, initiator] - * Specifies the IQNs of the initiators for which to
configure credentials.
[--secured] - Prevents the secret from being stored as plain text in the log files.
Optional arguments
[-c|--cluster] cluster context - Specifies the context path of the cluster at which the
front-end CHAP credentials should be added.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
* - argument is positional.
Description
283
Note: This command is valid only on systems that support iSCSI devices.
Example
See also
Arguments
All contexts.
iscsi chap front-end disable
[-c|--cluster] cluster context
[-h|--help]
[--verbose]
Required arguments
None
Optional arguments
[-c|--cluster] cluster context - Specifies the context path of the cluster at which front-end
CHAP should be disabled.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
Description
Disables front-end CHAP. Once CHAP is disabled on the front-end all configured
credentials will be unused, but not deleted.
Note: This command is valid only on systems that support iSCSI devices.
Example
284
See also
Arguments
All contexts.
iscsi chap front-end enable
[-c|--cluster] cluster context
[-h|--help]
[--verbose]
Required arguments
None
Optional arguments
[-c|--cluster] cluster context - Specifies the context path of the cluster at which front-end
CHAP should be enabled.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
Description
Enables front-end CHAP. Enabling CHAP on the front-end will allow initiators to log in
securely. To use CHAP once it is enabled, all initiators must have added CHAP credentials
or have set a default CHAP credential .
Initiators will no longer be able to log-in once CHAP is enabled if they do not have a
credential configured.
Note: This command is valid only on systems that support iSCSI devices.
Example
See also
285
Arguments
All contexts.
iscsi chap front-end list-credentials
[-c|--cluster] cluster context
[-h|--help]
[--verbose]
Required arguments
None
Optional arguments
[-c|--cluster] cluster context - Specifies the context path of the cluster for which the
configured front-end CHAP credentials should be listed.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
Description
Example
See also
286
Arguments
All contexts.
iscsi chap front-end remove-credentials
[-i|--initiators] initiator [, initiator...]
[-c|--cluster] cluster context
[-h|--help]
[--verbose]
Required arguments
[-i|--initiators] initiator [, initiator] - * Specifies the IQNs of the initiators for which to
remove credentials.
Optional arguments
[-c|--cluster] cluster context - Specifies the context path of the cluster at which the
front-end CHAP credentials should be removed.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
* - positional argument
Description
Example
See also
All contexts.
iscsi chap front-end remove-credentials
287
Syntax
Arguments
Required arguments
None
Optional arguments
[-c|--cluster] cluster context - Specifies the context path of the cluster at which the default
front-end CHAP credential should be removed.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
Description
Example
See also
Arguments
All contexts.
iscsi chap front-end set-default-credential
[-u|--username] username
[-s|--secret] secret
[-c|--cluster] cluster context
[--secured]
[-h|--help]
[--verbose]
Required arguments
[-u|--username] username - * Specifies the username to use in the configured CHAP
credentials.
288
[-s|--secret] secret - * Specifies the secret to use in the configured CHAP credentials. The
secret must be between 12 and 255 characters long, and can be composed of all printable
ASCII characters.
[--secured] - Prevents the secret from being stored as plain text in the log files.
Optional arguments
[-c|--cluster] cluster context - Specifies the context path of the cluster at which the default
front-end CHAP credential should be set.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
* - positional argument
Description
Sets a default credential for front-end CHAP configuration. When front-end CHAP is
enabled, any initiator without a separate credential will be able to login using this default
credential. A specific initiator that has a separate credential configured will not be able to
login using the default credential.
Note: This command is valid only on systems that support iSCSI devices.
Example
See also
iscsi check-febe-connectivity
Checks the front-end and back-end configurations for iSCSI connectivity.
Contexts
Syntax
All contexts.
iscsi check-febe-connectivity
[-c|--cluster] cluster context
[-h|--help]
[--verbose]
iscsi check-febe-connectivity
289
Arguments
Required arguments
None
Optional arguments
[-c|--cluster] cluster context - Specifies the context path of the cluster at which connectivity
should be checked.
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
Description
The command checks whether the front-end and back-end configurations for iSCSI
connectivity are valid and meet best practices for VPLEX iSCSI configuration.
Note: This command is valid only on systems that support iSCSI devices.
Example
Example
See also
290
All contexts.
Syntax
Arguments
Required arguments
[-s|--sockets] server-sockets [, server-sockets,...]-*Specifies the IP address(es), with
optional :port, of the iSNS server(s). If unspecified, the port defaults to 3205.
Optional arguments
[-c|--cluster] cluster context - Context path of the cluster on which the iSNS server should
be added.
[-h|--help] - Displays command line help.
* - argument is positional.
Description
Example
Example
Add two iSNS server addresses with specified ports to the list of iSNS servers.
Example
Example
Attempt to add two iSNS servers that are already configured with the given IP addresses.
See also
291
Contexts
Syntax
Arguments
All contexts.
iscsi isns list
[-c|--cluster] cluster context
[-h|--help]
Required arguments
None
Optional Arguments
[-c|--cluster] cluster context - Context path of the cluster for which existing iSNS servers
should be listed.
[-h|--help] - Displays command line help.
Description
Example
Example
Example
292
See also
Arguments
All contexts.
iscsi isns remove
[-s|--sockets] server-sockets [, server-sockets,...]
[-c|--cluster] cluster context
[-h|--help]
Required arguments
[-s|--sockets] server-sockets [, server-sockets,...]-*Specifies the IP address(es), with
optional :port, of the iSNS server(s). If unspecified, the port defaults to 3205.
Optional arguments
[-c|--cluster] cluster context - Context path of the cluster from which the iSNS server should
be removed.
[-h|--help] - Displays command line help.
* - argument is positional.
Description
Removes one or more server addresses from the list of iSNS servers.
Note: This command is only valid on systems that support iSCSI devices.
Example
Example
Example
Example
Attempt to remove two iSNS servers that have already been removed.
293
See also
Arguments
All contexts.
iscsi sendtargets add
[-c|--cluster] cluster context
[-h|--help]
[-s|--sockets] sendtarget-sockets [, sendtarget-sockets,...]
Required arguments
[-s|--sockets] sendtarget-sockets - * Specifies the IP address(es), with optional :port, of
the iSCSI sendtargets. If unspecified, the port defaults to 3260.
Optional arguments
[-c|--cluster] cluster context - Context path of the cluster on which target portals should be
added.
[-h|--help] - Displays command line help.
* - argument is positional.
Description
After an iSCSI target portal is added, discovery takes place immediately. Thereafter, periodic
discoveries are automatically performed at 30-minute intervals.
Note: This command is only valid on systems that support iSCSI devices.
Example
Example
Add two target portals with IP addresses and specified ports, 192.168.100.2:3000 and
192.168.101.2:3001.
Example
Attempt to add two target portals that are already configured with the given IP addresses.
Arguments
All contexts.
iscsi sendtargets list
[-c|--cluster] cluster context
[-h|--help]
[--force]
Required arguments
None
Optional arguments
[-c|--cluster] cluster context - Context path of cluster for which existing target portals
should be listed. Defaults to local cluster if not specified.
[-h|--help] - Displays command line help.
Description
Lists the iSCSI target portals available on at least one director. If a portal is not available
on all directors, a warning message indicates which portals are missing from which
directors.
Note: This command is only valid on systems that support iSCSI devices.
Example
Example
295
10.10.100.2 3260
10.10.101.4 3260
Example
See also
Arguments
All contexts.
iscsi sendtargets rediscover
[-c|--cluster] cluster context
[-h|--help]
Required arguments
None
Optional arguments
[-c|--cluster] cluster context - Context path of cluster for which existing target portals
should be rediscovered. Defaults to local cluster if not specified.
[-h|--help] - Displays command line help.
Description
Example
296
See also
Arguments
All contexts.
iscsi sendtargets remove
[-s|--sockets] sendtarget-sockets [, sendtarget sockets,...]
[-c|--cluster] cluster context
[-h]--help]
Required arguments
[-s|--sockets] sendtarget-sockets - * Specifies the IP address(es), with optional :port, of
the iSCSI sendtargets. If unspecified, the port defaults to 3260.
Optional arguments
[-c|--cluster] cluster context - Context path of the cluster from which the target portals
should be removed.
[-h|--help] - Displays command line help.
* - argument is positional.
Description
After an iSCSI target portal is removed, a new round of discovery begins immediately.
Note: This command is only valid on systems that support iSCSI devices.
Example
Example
Remove two target portals with IP addresses and specified ports, 192.168.100.2:3000
and 192.168.101.2:3001.
Example
Attempt to remove two target portals that are not configured with the given IP addresses.
297
See Also
Arguments
All contexts.
iscsi targets list
[-c|--cluster] cluster context
[-h|--help]
Required arguments
None
Optional arguments
[-c|--cluster] cluster context - Context path of cluster for which existing targets should be
listed. Defaults to local cluster if not specified.
[-h|--help] - Displays command line help.
Description
Displays the list of iSCSI targets that are discovered on the cluster.
Note: This command is valid only on systems that support iSCSI devices.
Example
298
See also
Arguments
All contexts.
iscsi targets logout
[-t|--targets] target [, target...]
[-c|--cluster] cluster context
[-h|--help]
Required arguments
[-t|--targets] target [, target...] - * Specifies the IQNs of the iSCSI targets.
Optional arguments
[-c|--cluster] cluster context - Context path of cluster from which the target portals should
be logged out.
[-h|--help] - Displays command line help.
* - argument is positional.
Description
Example
Example
See also
local-device create
Creates a new local-device.
Contexts
All contexts.
299
Syntax
Arguments
local-device create
[-d|--stripe-depth] depth
[-n|name] name
[-g|--geometry] {raid-0|raid-1|raid-c}
[-e|extents] context path,context path...
[-s|--source-leg] context path
--force
Required arguments
[-n|--name] name - * Name for the new device. Must be unique across all clusters. Devices
on different clusters that have the same name cannot be combined into a distributed
device.
Note: If this device will have another device attached (using the device attach-mirror
command to create a RAID-1), the name of the resulting RAID-1 is the name given here
plus a timestamp. Names in VPLEX are limited to 63 characters. The timestamp consumes
16 characters. Thus, if this device is intended as the parent device of a RAID-1, the device
name must not exceed 47 characters.
[-g|--geometry] {raid-0|raid-1|raid-c} - * Geometry for the new device. Valid values are
raid-0, raid-1, or raid-c.
Use this command to create a RAID 1 device only if:
- None of the legs contains data that must be preserved,
- The resulting device will be initialized using tools on the host, or
- The resulting device will be added as a mirror to another device.
[-e|--extents] context path,context path... - * List of one or more claimed extents to be
added to the device. Can also be other local devices (to create a device of devices).
Optional arguments
[-d|--stripe-depth] depth - Required if --geometry is raid-0. Stripe depth must be:
No greater than the number of blocks of the smallest element of the RAID 0 device
being created
A depth of 32 means 128 K (32 x 4 K) is written to the first disk then the next 128 K is
written to the next disk.
Concatenated RAID devices are not striped.
[-s|--source-leg] context path - When geometry argument is raid-1, picks one of the extents
specified by the --extents argument to be used as the source data image for the new
device. The command copies data from the'--source-leg to the other legs of the new
device.
[-f|--force] - Create a raid-1 device even if no --source-leg is specified.
* - argument is positional.
300
Description
A device is configured from one or more extents in a RAID 1, RAID 0, or concatenated (RAID
C) configuration.
The block sizes of the supporting extents must be the same (4 K bytes) and will determine
the local-device block size.
When creating a device with RAID 1 geometry, this command prints a warning and asks for
confirmation.
If the --source-leg argument is not specified, this command does not initialize or
synchronize the legs of a RAID 1 device. Because of this, a RAID 1 device created by this
command does not guarantee that consecutive reads of the same block will return the
same data if the block has never been written.
To create a RAID 1 device when one leg of the device contains data that must be
preserved, use the --source-leg argument or the device attach-mirror command to add a
mirror to the leg.
By default, automatic device rebuilds are enabled on all devices. For configurations with
limited bandwidth between clusters, it may be useful to disable automatic rebuilds.
Use the setcommand to enable/disable automatic rebuilds on the distributed device.
The rebuild setting is immediately applied to the device.
Set rebuild-allowed to true to start or resume a rebuild if the mirror legs are out of
sync.
Example
VPlexcli:/clusters/cluster-1/storage-elements/extents> ll
Name
StorageVolume Capacity Use
--------------------- ------------- -------- ------.
.
.
extent_Symm1852_AAC_1 Symm1852_AAC
16G
claimed
extent_Symm1852_AB0_1 Symm1852_AB0
16G
claimed
extent_Symm1852_AB4_1 Symm1852_AB4
16G
claimed
extent_Symm1852_AB8_1 Symm1852_AB8
16G
claimed
local-device create
301
Transfer
Size
-------2M
-
Virtual
Volume
--------base0_vol
base1_vol
In the following example, the local-device create command creates a RAID-1 device from 2
extents; extent_lun_1_1 and extent_lun_2_1 in which:
Operational
Status
----------ok
See also
Health
State
-----ok
Block
Count
-------20709376
Block
Size
----4K
Capacity
--------------5G
Geometry
--------------raid-1
Visibility
------------------local
Transfer
Size
--------
Virtual
Volume
--------
local-device destroy
Destroys existing local-devices.
Contexts
Syntax
Arguments
All contexts.
local-device destroy
[-f|--force]
[-d|--devices] context path,context path...
Required arguments
[-d|--devices] context path,context path... - * List of one or more device(s) to destroy.
Optional arguments
[-f|--force] - Force the destruction of the devices without asking for confirmation.
* - argument is positional.
Description
302
Example
See also
local-device summary
Displays unhealthy local devices and a summary of all local devices.
Contexts
All contexts.
In /clusters/cluster/devices context, command is summary.
Syntax
Arguments
local-device summary
[-c|--clusters] cluster,cluster...
Required arguments
None.
Optional arguments
[-c|--clusters] cluster,cluster... - Display information only for the specified cluster(s).
Description
Displays unhealthy local devices and a summary of all local devices. Unhealthy devices
have non-nominal health state, operational status, or service-status.
If the --clusters argument is not specified and the command is executed at or below a
/clusters/cluster context, information for only that cluster is displayed.
Example
(no tier)
---------------------
Health
devices
unhealthy
5
1
Visibility
local
Capacity
devices w/ space
free capacity
total capacity
service status
-------------suspended
0
0B
12G
local-device summary
303
Description
Health
devices
unhealthy
Of the total number of devices in the cluster, the number whose health state is not ok.
Visibility
Of the total number of devices in the cluster, the number with global or local visibility.
global - The remote cluster can access the virtual volume. A virtual volume on a top-level
device that has global visibility can be exported in storage views on any cluster.
local (default) - Device is visible only to the local cluster.
Capacity
devices w/ space
Of the total number of devices in the cluster, the number with available space.
free capacity
total capacity
See also
Arguments
All contexts.
log filter create
[-s|--source] id]
[-t|--threshold] [<|>|=]0 - 7
[-c|--component] name
[-e|--event-num] id
[-m|--message] text
[-n|--no-consume]
Required arguments
None.
Optional arguments
[-s|--source] id - ID of the source log to be filtered. Use the log source list command to
display the list of source logs and their IDs.
[-t|--threshold] [<|>|=]0 - 7 - Severity of the events to write to the new log. Messages are
categorized into 8 severities (0 - 7), with 0 being the most severe:
304
Log filters define criteria for the destination of specific log data. A filter is placed in an
ordered list, and filters see a received event in the order they sit in the list (shown by the
log filter list command).
By default, filters consume received events so that a matching filter stops the processing
of the event. Use the --no-consume argument to create a filter that allows processing of
matching events to continue.
Example
Filter out (hide) all messages with the string test in them:
VPlexcli:/> log filter create -m "test"
Filter added.
Filter all messages into the events log generated by the logserver component with the
string Test:
VPlexcli:/> log filter create --source 1 --component logserver --message Test
Filter added.
VPlexcli:/> log filter list
1. [Source='/var/log/VPlex/cli/events.log', Component='logserver', Message matches 'Test']
Destination='null' Consume='true'
2. Component='logserver' Destination='null' Consume='true'
3. [Threshold='>0'] Destination='null' Consume='true'
See also
All contexts.
log filter destroy
305
Syntax
Arguments
Required arguments
[-f|--filter] filter - ID of filter to be deleted.
Description
Example
VPlexcli:/> log filter list
1. [Source='/var/log/VPlex/cli/events.log', Component='logserver', Message matches 'Test']
Destination='null' Consume='true'
2. Component='logserver' Destination='null' Consume='true'
3. [Threshold='>0'] Destination='null' Consume='true'
VPlexcli:/> log filter destroy 1
Filter removed.
See also
All contexts.
log filter list
The number printed beside each filter serves as both an identifier for the log filter destroy
command as well as the order in which each respective filter will see an event.
Example
VPlexcli:/> log filter list
1. [Message matches 'Family and Fru Id Mismatch Retrieved'] Destination='null' Consume='true'
2. [Component='logserver'] Destination='null' Consume='true'
3. [Threshold='>=4'] Destination='null' Consume='true'
See also
306
All contexts.
log source create
[-s|--source] host:port
[-p|--password password
[-f|--failover-source] host:port
Arguments
Required arguments
[-s|--source] host:port - * IP address and port of the log source to be added. IP addresses
of the VPLEX hardware components are listed in the VPLEX Installation and Setup Guide.
[-p|--password] password - The password to use for authenticating to the source.
Optional arguments
[-f|--failover-source] host:port - IP address and port of the failover source to be added.
* argument is positional.
Description
For use by EMC personnel only.
Creates a source for writing entries to the firmware log.
Example
See also
All contexts.
log source destroy
[-s|--source] host:port
Required arguments
[-s|--source] host:port - IP address and port of the log source to destroy. IP addresses of
the VPLEX hardware components are listed in the VPLEX Installation and Setup Guide.
Description
For use by EMC personnel only.
Example
307
4.
5.
6.
7.
8.
9.
128.221.253.68:5988,[128.221.252.68:5988]/cpu0/log
128.221.253.68:5988,[128.221.252.68:5988]/xmmg/log
[128.221.252.69:5988]/cpu0/log
[128.221.252.69:5988]/xmmg/log
[128.221.252.70:5988],128.221.253.70:5988/cpu0/log
[128.221.252.70:5988],128.221.253.70:5988/xmmg/log
See also
All contexts.
log source list
Lists the log paths from which log events are processed and their reference IDs.
Used to create log filters.
Example
See also
logging-volume add-mirror
Adds a logging volume mirror.
Contexts
Syntax
Arguments
All contexts.
logging-volume add-mirror
[-v|--logging-volume] logging volume
[-m|--mirror] {name|context path}
Required arguments
None.
Optional arguments
[-v|--logging-volume] logging-volume - Logging volume to which to add the mirror.
[-m|--mirror] {name|context path} - The name or context path of the device or
storage-volume extent to add as a mirror. Must be top-level device or a storage-volume
extent.
Example
308
The logging-volume add-mirror command adds a mirror to one of the logging volumes.
VPlexcli:/clusters/cluster-1/system-volumes> ll
Name
--------------log1_vol
meta1
Volume Type
--------------------------logging-volume
meta-volume
Operational
Status
----------ok
ok
Health
State
-----ok
ok
Active
----------true
Ready
--------true
Geometry
--------------raid-1
raid-1
Block
Count
-------20448000
23592704
Block
Size
----4K
4K
Capacity
--------------78G
90G
Slots
--------32000
See also
logging-volume create
Creates a new logging volume in a cluster.
Contexts
Syntax
Arguments
All contexts.
logging-volume create
[-n|--name] name
[-g|--geometry {raid-0 |raid-1}
[-e|--extents] context path,context path...
[-d|--stripe-depth] depth
Required arguments
[-n|--name] name - * Name for the new logging volume.
[-g|--geometry] {raid-0|raid-1} - * Geometry for the new volume.
[-e|--extents] context path,context path...- * List of one or more storage-volume extents to
use to create the logging volume. Must not be empty, and must contain storage-volume
extents that are all at the specified cluster. Entries must be separated by commas.
Optional arguments
[-d|--stripe-depth] depth - Required if --geometry is raid-0. Stripe depth must be:
Greater than zero, but not greater than the number of blocks of the smallest element
of the RAID 0 device being created
A multiple of 4 K bytes
A depth of 32 means 128 K (32 x 4 K) is written to the first disk, then the next 128 K is
written to the next disk.
Best practice regarding stripe depth is to follow the best practice of the underlying array.
Concatenated RAID devices are not striped.
* - argument is positional.
Description
Creates a logging volume. The new logging volume is immediately available for use with
distributed-devices.
logging-volume create
309
A logging volume is required on each cluster in VPLEX Metro and Geo configurations. Each
logging volume must be large enough to contain one bit for every page of distributed
storage space (approximately 10 GB of logging volume space for every 160 TB of
distributed devices).
Logging volumes experience a large amount of I/O during and after link outages. Best
practice is to stripe each logging volume across many disks for speed, and to have a mirror
on another fast disk.
To create a logging volume, first claim the storage volumes that will be used, and create
extents from those volumes.
Example
VPlexcli:/clusters/cluster-1/system-volumes> logging-volume create -n c1_log_vol -g raid-1 -e
extent_1 , extent_2
VPlexcli:/clusters/cluster-1/system-volumes> cd c1_log_vol
VPlexcli:/clusters/cluster-1/system-volumes/c1_log_vol> ll
/clusters/cluster-1/system-volumes/c1_log_vol
/clusters/cluster-1/system-volumes/c1_log_vol:
Attributes:
Name
-------------------------------application-consistent
biggest-free-segment-block-count
block-count
block-size
capacity
component-count
free-capacity
geometry
health-indications
health-state
locality
operational-status
rebuild-allowed
rebuild-eta
rebuild-progress
rebuild-status
rebuild-type
stripe-depth
supporting-device
system-id
transfer-size
vias-based
volume-type
Contexts:
310
Value
-------------false
2612155
2621440
4K
10G
1
9.97G
raid-0
[]
ok
local
ok
4K
logging_c1_log
logging_c1_log
logging-volume
Name
---------components
segments
Description
------------------------------------------------------------------The list of components that support this logging-volume.
Shows what parts of the logging volume are assigned to log changes
on distributed-device legs.
VPlexcli:/clusters/cluster-1/system-volumes/c1_log_vol> ll
/clusters/cluster-1/system-volumes/c1_log_vol/components
/clusters/cluster-1/system-volumes/c1_log_vol/components:
Name
Slot
Type
Operational
----------------------- Number
------ Status
----------------------- --------- ------ --------------extent_VNX-1912_LUN10_1 0
extent ok
extent_VNX-1912_LUN11_1 1
extent ok
Health
State
-------ok
ok
Capacity
--------------15G
15G
VPlexcli:/clusters/cluster-1/system-volumes/c1_log_vol> ll
/clusters/cluster-1/system-volumes/c1_log_vol/segments
/clusters/cluster-1/system-volumes/c1_log_vol/segments:
Name
--------------------------------------------------------------------------------------------------------------allocated-c1_dr1ActC1_softConfig_CHM_C1_0000
Starting Block
Block
Count
-------- ------1084
17
allocated-c1_dr1ActC1_softConfig_CHM_C1_0001
1118
17
.
.
.
allocated-r0_deviceTgt_C2_CHM_0001
allocated-r1_mirrorTgt_C1_CHM_0001
free-1057
free-2094
free-40
free-82
2077
2060
1057
2094
40
82
17
17
10
3930066
2
2
Use
--------------------------------------------------------------------------------------allocated for
c1_dr1ActC1_softConfig_CHM_C1_0000
allocated for
c1_dr1ActC1_softConfig_CHM_C1_0001
VPlexcli:/clusters/cluster-1/system-volumes/c1_log_vol>
Table 17 logging volume display fields
Field
Description
application-consist
ent
biggest-free-segme
nt-block-c
block-count
block size
capacity
The total number of bytes in the volume. Equals the 'block-size' multiplied
by the 'block-count'.
component-count
free-capacity
The number of free slots for storage-volume headers in this logging volume.
geometry
health-indications
logging-volume create
311
Description
health-state
locality
operational status
rebuild-allowed
rebuild -eta
rebuild-progress
rebuild-status
rebuild-type
stripe-depth
system-id
transfer-size
vias-based
volume-type
/components context
Name
312
Description
Slot number
Type
Operational Status
Health State
Capacity
/segments context
See also
Name
Starting block
Always 0.
Block count
Use
logging-volume destroy
Destroys an existing logging volume.
Contexts
Syntax
Arguments
All contexts.
logging-volume destroy logging-volume
Required arguments
[-v|--logging-volume] logging-volume - * Name of logging volume to destroy.
* - argument is positional.
Description
The volume to be destroyed must not be currently used to store block write logs for a
distributed-device.
Example
See also
logical-unit forget
Forgets the specified logical units (LUNs).
logging-volume destroy
313
Contexts
Syntax
Arguments
All contexts.
logical-unit forget
[-s|--forget-storage-volumes]
[-u|--logical-units] context path,context path,...
Required arguments
[-u|--logical-units] context path, context path ... - List of one or more LUNs to forget.
Optional argumnets
[-s|--forget-storage-volumes] - If a LUN has an associated storage-volume, forget it AND the
associated storage-volume.
Description
Forget one or more logical units (LUNs). Optionally, forget the storage volume if one is
configured on the LUN. This command attempts to forget each LUN in the list specified,
logging/displaying errors as it goes.
A logical unit can only be forgotten if it has no active paths. LUNs can be remembered
even if a cluster is not currently in contact with them. This command tells the cluster that
the specified LUNs are not coming back and therefore it is safe to forget about them.
If a specified LUN has an associated storage-volume, that LUN is skipped (is not
forgotten).
Use the --verbose argument to print a message for each volume that could not be
forgotten.
Use the --forget-storage-volume argument to forget the logical-unit AND its associated
storage-volume. This is equivalent to using the storage-volume forget command on those
storage-volumes.
Example
Example
Use the --verbose arguments to display detailed information about any logical units that
could not be forgotten:
VPD83T3:6006016030802100e405a642ed16e1099
.
.
.
See also
ls
Displays information about the current object or context.
Contexts
Syntax
Arguments
All contexts.
ls options context
[-l|--long]
[-a|--attributes]
[-A|--no-attributes]
[-t|--attribute] selector
[-p|--paged]
[-m|--commands]
[-f|--full]
[-C|--no-contexts]
[-c|--context] context,context...
Required arguments
None.
Optional arguments
[-l|--long] - Display more detailed information.
[-a|--attributes] - Includes the attributes of the target contexts.
[-A|--no-attributes] - Excludes attributes.
[-t|--attribute-selector] attribute-selector - Display the contents of the specified attributes.
[-p|--paged] - Page output if it is longer than the window height.
[-m|--commands] depth - Includes commands in the listing.
[-f|--full] - Do not summarize long attribute listings.
[-C|--no-contexts] - Excludes contexts from the listing.
[-c|--context] context,context... - The contexts whose contents are to be listed.
Description
If the [-c|--context] argument is omitted, displays the contents of the current context.
The contents of a context include: its child contexts, if any; its attributes, if any; and the
available commands, if any.
The context name can be any valid glob pattern.
Notes
Example
315
---------------------application-consistent
block-count
block-size
capacity
geometry
health-indications
health-state
locality
operational-status
rebuild-allowed
rebuild-eta
rebuild-progress
.
.
.
----------------------false
2621440
4K
10G
raid-0
[]
ok
local
ok
-
Use the --attribute argument to display the operational status of all directors:
VPlexcli:/>
ls --attribute /engines/*/directors/*::operational-status
/engines/engine-2-1/directors/dirB:
Name
Value
------------------ ----operational-status ok
/engines/engine-2-1/directors/dirA:
Name
Value
------------------ ----operational-status ok
.
.
.
Display a clusters attributes and the contexts below the cluster context:
VPlexcli:/> ls /clusters/cluster-1
/clusters/cluster-1:
Attributes:
Name
---------------------allow-auto-join
auto-expel-count
auto-expel-period
auto-join-delay
cluster-id
connected
default-cache-mode
default-caw-template
director-names
island-id
operational-status
transition-indications
transition-progress
health-state
health-indications
Contexts:
cluster-connectivity
storage-elements
system-volumes
Value
-----------true
0
0
0
1
true
synchronous
true
[DirA, DirB]
1
ok
[]
[]
ok
[]
devices
uninterruptible-power-supplies
exports
virtual-volumes
All fans
See also
alias on page 37
management-server net-service-restart
Restarts the network service on the management server. This command is supported in
Release 5.1.1 and later.
Contexts
Syntax
Arguments
All contexts.
management-server net-service-restart
Required arguments
None.
Description
Example
See also
management-server set-ip
Assigns IP address, net-mask, and gateway IP address to the specified management port.
Contexts
Syntax
All contexts.
management-server set-ip
[-i|--ip-netmask] destination IP address/subnet mask
|
[-i|--ip-netmask] destination IP address/CIDR mask
[-g|--gateway] IP address
[-p|--management-port] context path
Arguments
Required arguments
[-i|--ip-netmask] destination IP address:subnet mask - The address and subnet mask of
the Ethernet port. The format of the address/subnet mask depends on the version of IP.
management-server net-service-restart
317
[-g|--gateway] IP address - The IP address of the gateway for this management server.
[-p|--management-port] context path - Ethernet port for which the parameters are
assigned/changed.
Description
eth3 - Public management port. The only Ethernet port in the VPLEX server that may be
connected to an external management LAN.
Changing the IP address for port eth3 can disrupt your inter-cluster link, and if VPLEX
Witness is deployed, disrupt the VPN between the VPLEX clusters and the Witness Server.
Additional failures (for example a remote VPLEX cluster failure) while VPN between the
VPLEX clusters and the Witness Server is disrupted could lead to DU for all distributed
virtual volumes in synchronous consistency groups.
For the procedure to safely change the management server IP address, refer to the
Troubleshoot => Cluster Witness section of the generator.
Example
VPlexcli:/> ll /management-server/ports/eth3
318
/management-server/ports/eth3:
Name
Value
-------------- ------------address
10.31.52.70
auto-negotiate true
duplex
full
gateway
10.31.52.21
inet6-address
inet6-gateway
net-mask
255.255.248.0
speed
0.977GB/s
status
up
VPlexcli:/> management-server set-ip --ip-netmask 10.31.52.197/255.255.252.0 --gateway
10.31.52.1 -p eth3
Example
VPlexcli:/> ll /management-server/ports/eth3
Name
------------address
auto-negotiate
duplex
gateway
inet6-address
inet6-gateway
net-mask
speed
status
Value
----------------------------------------------------10.31.52.197
true
full
10.31.52.1
[3ffe:80c0:22c:803c:215:17ff:fecc:4408/64 Scope: Global,
3ffe:80c0:22c:803c:415:17ff:fecc:4408/64 Scope: Link]
3ffe:80c0:22c:803c::1
255.255.252.0
0.977GB/s
up
manifest upgrade
Loads a new manifest file, replacing the old one, if it exists.
Contexts
Syntax
Arguments
All contexts.
manifest upgrade
[-m|--manifest] pathname
Required arguments
[-m|--manifest] pathname - Path to manifest file. Relative paths can be used.
Description
The new manifest file will be validated before it replaces the old one.
If there is no current valid manifest file (corrupted or missing), the specified manifest file
is installed without confirmation.
If a valid manifest file exists, confirmation is required if the specified manifest file does
not have a newer version than the existing one.
manifest upgrade
319
See also
manifest version
Displays the version of the currently loaded manifest file.
Contexts
Syntax
Description
All contexts.
manifest version
Example
See also
meta-volume attach-mirror
Attaches a storage-volume as a mirror to a meta-volume.
Contexts
Syntax
Arguments
All contexts.
meta-volume attach-mirror
[-d|--storage-volume] context path
[-v|--meta-volume] context path
Required arguments
[-d|--storage-volume] context path - Storage-volume to attach as a mirror to the
meta-volume.
[v|--meta-volume] context path - Meta-volume to which the storage-volume should be
attached as a mirror.
Description
Unclaimed,
78 GB or larger.
EMC recommends a mirror and a backup of the meta-volume are created using at least two
disks from two different arrays.
Note: A mirror can be attached when the meta-volume is first created by specifying two
storage volumes.
320
Example
See also
meta-volume backup
Creates a new meta-volume and writes the current in-memory system data to the new
meta-volume without activating it.
Contexts
Syntax
Arguments
All contexts.
meta-volume backup
[-d|--storage-volumes] context path,context path...
[-c|--cluster] context path
[-f|--force]
Required arguments
[-d|--storage-volume] context path,context path...- * List of two or more storage volumes to
use in creating the backup meta-volume. The specified storage-volume(s):
Unclaimed
78 GB or larger
Type the system IDs for multiple (two or more) storage volumes, separated by commas.
Optional arguments
[-c|--cluster] context path - The cluster whose active meta-volume will be backed-up.
[-f|--force] - Forces the backup meta-volume to be activated without asking for
confirmation.
* - argument is positional.
Description
Backup creates a point-in-time copy of the current in-memory metadata without activating
it. The new meta-volume is named:
current-metadata-namebackup_yyyyMMMdd_HHmms
Metadata is read from the meta-volume only during the boot of each director.
IMPORTANT
At boot, VPLEX reads the first meta-volume it encounters. If an out-of-date meta-volume is
visible to VPLEX, and is the first encountered during boot, that meta-volume is read.
All but the latest meta-volume should be moved to where they are not visible to VPLEX
during boot.
meta-volume backup
321
IMPORTANT
No modifications should be made to VPLEX during the backup procedure. Make sure that
all other users are notified.
Use the ll command in the system-volumes context to verify that the meta-volume is Active
and its Ready state is true.
Example
See also
meta-volume create
Creates a new meta-volume in a cluster when there is no existing active meta-volume.
Contexts
Syntax
Arguments
All contexts.
meta-volume create
[-n|--name] name
[-d|--storage-volumes] context path,context path...
[-f|--force]
Required arguments
[-n|--name] name - * Name of the new meta-volume.
[-d|--storage-volume] context path,context path...- * List of two or more storage volumes to
use in creating the new meta-volume. The specified storage volumes must not be empty,
and must be at the implied or specified cluster.
Type the system IDs for the storage volumes separated by commas.
IMPORTANT
Specify two or more storage volumes. Storage volumes should be on different arrays.
Optional arguments
[f|--force] - Forces the meta-volume to be created without asking for confirmation.
* - argument is positional.
Description
322
The meta-volume is critical for system recovery. The best practice is to mirror the
meta-volume across two or more back-end arrays to eliminate the possibility of data loss.
Choose the arrays used to mirror the meta-volume such that they are not required to
migrate at the same time.
Meta-volumes differ from standard storage volumes in that:
If the meta-volume is configured on a CLARiiON array, it must not be placed on the vault
drives of the CLARiiON.
Performance is not critical for meta-volumes. The minimum performance allowed is 40
MB/sec and 100 4 K IOP/second.
The physical spindles for meta-volumes should be isolated from application workloads.
EMC recommends the following for meta-volumes:
Minimum of 78 GB.
If two or more storage-volumes are specified, they must be on two separate arrays if more
than one array is present. This command creates a RAID-1 of all the storage-volumes.
Example
Note: Example out put is truncated. Vendor, IO Status, and Type fields are omitted.
The meta-volume create command creates a new mirrored volume using the 2
specified storage volumes.
.
.
.
meta-volume create
323
Contexts:
Name
---------components
Value
------------true
false
24511424
4K
79.5G
2
31968
raid-1
[]
ok
local
ok
true
true
done
full
32000
ICO_META_1_1_Metadata
2M
meta-volume
Description
------------------------------------------------------------------The list of components that support this device or system virtual
volume.
Table 18 meta-volume display fields
324
Field
Description
active
application-consist
ent
block-count
capacity
component-count
free-slots
geometry
health-indications
See also
Field
Description
health-state
locality
operational status
ready
rebuild-allowed
rebuild -eta
rebuild-progress
rebuild-status
rebuild-type
slots
stripe-depth
system-id
transfer-size
volume-type
meta-volume create
325
meta-volume destroy
Destroys a meta-volume, and frees its storage volumes for other uses.
Contexts
Syntax
Arguments
All contexts.
meta-volume destroy
[-v|--meta-volume] context path
[-f|--force]
Required arguments
[-v|--meta-volume] context path- * Meta-volume to destroy.
Optional arguments
[f|--force] - Destroys the meta-volume without asking for confirmation (allows the
command to be run from a non-interactive script). Allows the meta-volume to be
destroyed, even if the meta-volume is in a failed state and unreachable by VPLEX.
* - argument is positional.
Description
Example
VPlexcli:/clusters/cluster-1/system-volumes> ll meta1
/clusters/cluster-1/system-volumes/meta1:
Attributes:
Name
Value
---------------------- ----------active
false
application-consistent false
block-count
23592704
.
.
.
VPlexcli:/clusters/cluster-1/system-volumes> meta-volume destroy -v
meta1
Meta-volume 'meta1' will be destroyed. Do you wish to continue?
(Yes/No) y
See also
meta-volume detach-mirror
Detaches a storage-volume/mirror from a meta-volume.
Contexts
326
All contexts.
Syntax
Arguments
meta-volume detach-mirror
[-d|--storage-volume context path
[-v|--meta-volume] context path
[-s|--slot] slot number
[f|--force]
--discard
Required arguments
[-d|--storage-volume] context path - Storage volume to detach as a mirror from the
meta-volume.
[-v|--meta-volume] context path - * The meta-volume from which the
storage-volume/mirror should be detached.
Optional arguments
[-f|--force] - Force the mirror to be discarded. Required when the --discard argument is
used.
[-s|--slot] - The slot number of the mirror to be discarded. Applicable only when the
--discard argument is used.
--discard - Discards the mirror to be detached. The data is not discarded.
* - argument is positional.
Description
Example
VPlexcli:/clusters/cluster-1/system-volumes/meta-vol-1/components> ll
Name
Slot
Type
Operational Health
---------------------------------------- Number -------------- Status
State
---------------------------------------- ------ -------------- ----------- -----VPD83T3:60000970000192601869533030373030 2
storage-volume ok
ok
VPD83T3:60000970000194900497533030333338 1
storage-volume ok
ok
Capacity
--------------128G
128G
See also
meta-volume move
Writes the current in-memory system data to the specified target meta-volume, then
activates it.
Contexts
Syntax
Arguments
All contexts.
meta-volume move
[-t|--target-volume context path
Required arguments
[-t|--target-volume] context path - Storage volume to move metadata to. Target volume
must be:
Unclaimed
meta-volume move
327
Description
78 GB or larger
Writes the metadata to the specified meta-volume, and activates it. The specified
meta-volume must already exist (it is not created automatically).
This command fails if the destination meta volume has a lower number of meta data slots
than required to support the current configuration. This is highly likely if the target
meta-volume was manually created before Release 5.1 and has 32000 slots. Confirm this
by using the ll command in the system volume context. See the generator troubleshooting
for information on fixing this problem.
Example
3. Use the meta-volume move command to move the existing in-memory metadata to the
new meta-volume.
VPlexcli:/engines/engine-1-1/directors> meta-volume move --target-volume meta_dmx
See also
meta-volume verify-on-disk-consistency
Analyzes a meta-volume's committed (on-disk) header slots for consistency across all
mirrors/components.
Contexts
Syntax
Arguments
All contexts.
meta-volume verify-on-disk-consistency
[-l|--log] log file
[-f|--first]offset
[-n|--number] number
[-c|--cluster] cluster
[-m|--meta-volume] meta-volume
--style {short|long|slow}
Required arguments
[-c|--cluster] cluster - The cluster at which to analyze the active meta-volume. This
argument may be omitted if the --meta-volume argument is present.
[-m|--meta-volume] meta-volume - The meta-volume to analyze. This argument may be
omitted if the --cluster argument is present.
[-l|--log] log file - Full path to the log file on the management server.
[-f|--first] first - Offset of first header to analyze.
328
The slow option may take hours to complete on a production meta-volume.
Description
An active meta-volume with an inconsistent on-disk state can lead to a data unavailability
(DU) during NDU.
Best practice is to NDU immediately after passing this meta-volume consistency check.
IMPORTANT
If any errors are reported, do not proceed with the NDU, and contact EMC Customer
Support.
The format and the length of time for the command to complete vary depending on the
VPLEX Release:
The length of time for the command to complete for Release 4.2 depends on the size
of the configuration. On a very large configuration, the command may take as long as
4 hours.
Note: Running this command is optional before upgrading from Release 4.2.
For Release 5.0 and later, the format of the command is:
meta-volume verify-on-disk-consistency
329
See also
monitor add-console-sink
Adds a console sink to the specified performance monitor.
Contexts
All contexts.
In /monitoring context, command is add-console-sink.
Syntax
Arguments
monitor add-console-sink
[-o|--format] {csv|table}
[-m|--monitor] monitor-name
--force
Required arguments
[-m|--monitor] context path - * Performance monitor to which to add a console sink.
Optional arguments
[-f|--force] - Forces the creation of the sink, even if existing monitors are delayed in their
polling.
[-o|--format] {csv|table} - The output format. Can be csv (comma-separated values)' or
table.
Default: table.
* -argument is positional.
Description
Creates a console sink for the specified performance monitor. Console sinks send output
to VPLEX Management Server Console.
Every monitor must have at least one sink, and may have multiple sinks. A monitor does
not begin operation (polling and collecting performance data) until a sink is added to the
monitor.
Use the monitor add-console-sink command to add a console sink to an existing monitor.
330
Console monitors display the specified statistics on the Unisphere for VPLEX, interrupting
any other input/output to/from the console.
Example
Add a console sink with output formatted as table (the default output format for console
sinks):
Navigate to the monitor context and use the ll console command to display the sink
settings:
VPlexcli:/cd /monitoring/directors/Director-2-1-B/monitors/Director-2-1-B_TestMonitor/sinks
VPlexcli:/monitoring/directors/Director-2-1-B/monitors/Director-2-1-B_TestMonitor/sinks> ll
Name
------console
Enabled
------true
Format
-----table
Sink-To
------console
VPlexcli:/monitoring/directors/Director-2-1-B/monitors/Director-2-1-B_TestMonitor/sinks> ll
console
/monitoring/directors/Director-2-1-B/monitors/Director-2-1-B_TestMonitor/sinks/console:
Name
Value
------- ------enabled true
format
table
sink-to console
type
console
See also
monitor add-file-sink
Adds a file sink to the specified performance monitor.
Contexts
All contexts.
In /monitoring context, command is add-file-sink.
Syntax
Arguments
monitor add-file-sink
[-n|--name] name
[-o|--format] {csv|table}
[-m|--monitor] monitor-name
[-f|--file] filename
--force
Required arguments
[-m|--monitor] context path - * Performance monitor to which to add a console sink.
[-f|--file] filename - * File to which to send the sinks data.
Optional arguments
[-f|--force] - Forces the creation of the sink, even if existing monitors are delayed in their
polling.
monitor add-file-sink
331
[-n|--name] name - Name for the new sink. If no name is provided, the default name file
is applied.
[-o|--format] {csv|table} - The output format. Can be csv (comma-separated values)' or
table.
Default: csv.
* -argument is positional.
Description
Creates a file sink for the specified monitor. File sinks send output to the specified file.
The default location of the output file is /var/log/VPlex/cli.
The default name for the file sink context is 'file.
Every monitor must have at least one sink, and may have multiple sinks. A monitor does
not begin operation (polling and collecting performance data) until a sink is added to the
monitor
Use the monitor add-file-sink command to add a file sink to an existing monitor.
Example
--monitor
Navigate to the monitor sinks context and use the ll sink-name command to display the
sink:
VPlexcli:/cd /monitoring/directors/director-1-1-A/monitors/director-1-1-A_stats/sinks
VPlexcli:/monitoring/directors/Director-1-1-A/monitors/director-1-1-A_stats/sinks> ll file
/monitoring/directors/Director-1-1-A/monitors/director-1-1-A_stats/sinks/file:
Name
Value
------- ------------------------------enabled true
format
csv
sink-to /var/log/VPlex/cli/director_1_1_A.csv
type
file
See also
monitor collect
Force an immediate poll and collection of performance data without waiting for the
automatic poll interval.
Contexts
All contexts.
In /monitoring context, command is collect.
Syntax
332
monitor collect
[-m|--monitors] context path,context path...
Arguments
Required arguments
[-m|--monitor] context path,context path - One or more performance monitor(s) to update
immediately.
Description
Polls and collects performance data from user-defined monitors. Monitors must have at
least one enabled sink.
Example
VPlexcli:/> monitor collect
/monitoring/directors/director-2-1-B/monitors/director-2-1-B_TestMonitor
VPlexcli:/>
Source:
Time:
director.be-ops (counts/s):
.
.
.
director-2-1-B_TestMonitor
2010-07-01 10:05:55
monitor create
Creates a performance monitor.
Contexts
All contexts.
In /monitoring context, command is create.
Syntax
Arguments
monitor create
[-p|--period] collection-period
[-n|--name] monitor-name
[-d|--director] context-path,context-path...
[-s|--stats] stat,stat,stat...
[-t|--targets] context-path,context-path...
[-f|--force]
Required arguments
[-n|--name] monitor-name - * Name of the monitor. The name is appended to the director
on which the monitor is configured.
[-s|--stats] stat,stat,stat - * One or more statistics to monitor, separated by commas.
Use the monitor stat-list command to display the available statistics.
Optional arguments
[-p|-- period] collection-period- Frequency at which this monitor collects statistics. Valid
arguments are an integer followed by:
ms - milliseconds (period is truncated to the nearest second)
s - seconds (Default)
min - minutes
h - hours
0 - Disables automatic polling.
The default period is 30 seconds.
monitor create
333
Performance monitoring collects and displays statistics to determine how a port or volume
is being used, how much I/O is being processed, CPU usage, and so on.
The VPLEX collects and displays performance statistics using two user-defined objects:
monitor sinks - Direct the output to the desired destination. Monitor sinks include the
console, a file, or a combination of the two.
The monitor defines the automatic polling period, the statistics to be collected, and the
output of the format. The monitor sinks define the output destination.
Polling occurs when:
The monitor has at least one sink with the enabled attribute set to true.
All the monitors sinks are either removed or their enabled attribute is set to false
If the second file exceeds, 10B, it is saved as filename.csv.2, and subsequent output is
saved in filename.csv. Up to 10 such rotations, and numbered .csv files are supported.
When the file sink is removed or the monitor is destroyed, output to the .csv file stops, and
the current .csv file is time stamped. For example:
334
service@sms-cluster-1:/var/log/VPlex/cli> ll my-data.csv*
-rw-r--r-- 1 service users 10566670 2012-03-06 21:23 my-data.csv.1
-rw-r--r-- 1 service users 5637498 2012-03-06 21:26
my-data.csv_20120306092614973
Procedure overview
Example
335
/clusters/cluster-1/storage-elements/storage-volumes/*
See also
monitor destroy
Destroys a performance monitor.
Contexts
All contexts.
In /monitoring context, command is destroy.
Syntax
Arguments
monitor destroy
[-m|--monitor] monitor-name,monitor-name...
[-c|--context-only]
[-f|--force]
Required arguments
[-m|--monitor] monitor-name - * List of one or more names of the monitor(s) to destroy.
Optional arguments
[-f|-- force] - Destroy monitors with enabled sinks and bypass confirmation.
[-c|--context-only] - Removes monitor contexts from the Unisphere for VPLEX and the CLI,
but does not delete monitors from the firmware. Use this argument to remove contexts
that were created on directors to which the element manager is no longer connected.
Description
Example
VPlexcli:/> monitor destroy Cluster_2_Dir_2B_diskReportMonitor,
Cluster_2_Dir_2B_portReportMonitor,Cluster_2_Dir_2B_volumeReportMonitor
WARNING: The following items will be destroyed:
Context
-----------------------------------------------------------------------------------/monitoring/directors/Cluster_2_Dir_2B/monitors/Cluster_2_Dir_2B_diskReportMonitor
/monitoring/directors/Cluster_2_Dir_2B/monitors/Cluster_2_Dir_2B_portReportMonitor
/monitoring/directors/Cluster_2_Dir_2B/monitors/Cluster_2_Dir_2B_volumeReportMonitor
Do you wish to proceed? (Yes/No) y
Monitor 'Cluster_2_Dir_2B_volumeReportMonitor' is owned by another management console and/or
has enabled sinks. Do you wish to proceed ? (Yes/No) y
Monitor 'Cluster_2_Dir_2B_portReportMonitor' is owned by another management console and/or has
enabled sinks. Do you wish to proceed ? (Yes/No) y
336
See also
monitor remove-sink
Removes a sink from a performance monitor.
Contexts
All contexts.
In /monitoring context, command is remove-sink.
Syntax
Arguments
monitor remove-sink
[-s|--sinks] context path,context path...
Required arguments
[-s|--sinks] context path,context path... - * List of one or more sinks to remove. Entries
must be separated by commas.
* - argument is positional.
Description
Example
monitor stat-list
Displays statistics available for performance monitoring.
Contexts
All contexts.
In /monitoring context, command is stat-list.
Syntax
Arguments
monitor stat-list
[-c|--categories] category,category...
Required arguments
None.
Optional arguments
[-c|--categories] category, category... - List of one or more statistics categories to display.
Description
Performance statistics are grouped into categories Use the monitor stat-list command
followed by the <Tab> key to display the statistics categories.
monitor remove-sink
337
Use the --categories categories argument to display the statistics available in the specified
category.
Use the * wildcard to display all statistics for all categories.
Note: A complete list of the command output is available in the EMC VPLEX Administration
Guide.
ip-com-port
rp-spl-vol
be-prt
directory
rp-spl-node
fe-director
ramf
fe-prt
fc-com-port
director
virtual-volume
cg
rp-spl-node
fe-director
ramf
fe-prt
fc-com-port
director
virtual-volume
cg
OR
Use TAB key after the command
VPlexcli:/> monitor stat-list
cache
wrt-pacing
fe-lu
com-cluster-io
storage-volume
ip-com-port
rp-spl-vol
be-prt
directory
See also
ndu pre-config-upgrade
Disruptively upgrades a VPLEX Geo that has not been fully installed and configured.
Contexts
Syntax
Arguments
All contexts.
ndu pre-config-upgrade
[-u|--firmware] firmware tar file
[-i|--image] firmware image file
[-u|--firmware] firmware tar file - Full path to director firmware package on the management
server.
[-i|--image] firmware image file - Full path to director firmware image on the management
server.
Description
338
Disruptively upgrades a VPLEX Geo when the VPLEX is not fully installed and configured.
This command requires the VPLEX be in a pre-config state. Specifically, do not use this
procedure unless NO meta-volume is configured (or discoverable).
This command is used as part of a non-disruptive upgrade procedure for installed systems
that have not yet been configured. Refer to the generator for this upgrade procedure.
See also
ndu pre-check
Performs a pre-NDU validation and check.
Contexts
Syntax
Description
All contexts.
ndu pre-check
The ndu pre-check command should be run before you run a non-disruptive upgrade on a
system to upgrade GeoSynchrony. This command runs through a number of checks to see
if the non-disruptive upgrade would run into any errors in upgrading GeoSynchrony.
The checks performed by ndu pre-check are listed in the Upgrade procedure for each
software release. This procedure can be found in the generator.
NDU pre-checks must be run within 24 hours before starting the NDU process.
NDU is not supported in a VPLEX Geo configuration if remote volumes are exported. NDU
does not proceed to the next release until the remote volumes are converted to local
volumes or distributed asynchronous volumes.
Disclaimers for multipathing in ndu pre-check give time for user to validate hosts.
Refer to the generator for more detailed information about NDU pre-checks.
See also
ndu pre-check
339
ndu recover
Perform NDU recovery after a failed NDU attempt.
Contexts
Syntax
Description
All contexts.
ndu recover
If the NDU failed before I/O is transferred from the second upgraders (running old
software) to the first upgraders (running new software), then the first upgraders are rolled
back to the old software.
If the NDU failed after I/O transfer, the directors are rolled forward to the new software.
If no recovery is needed, a message is displayed.
It is safe to run the ndu recover command multiple times.
See the upgrade procedure or the troubleshooting > upgrade procedure in the generator
for details of the ndu recover command and its use.
See also
340
All contexts.
ndu rolling-upgrade ssd-fw
[-i|--image] path to firmware image file
[-t|--targets] targets,targets,...
[--force]
[--check-only]
[--dry-run}
[--skip-be-switch-check]
[--skip-cluster-status-check]
[--skip-confirmations]
[--skip-distributed-device-settings-check]
[--skip-fe-switch-check]
[--skip-group-be-checks]
[--skip-group-config-checks]
[--skip-group-fe-checks]
[--skip-group-health-checks]
[--skip-meta-volume-backup-check]
[--skip-meta-volume-redundancy-check]
[--skip-remote-mgmt-version-check]
[--skip-storage-volumes-check]
[--skip-sysconfig-check]
[--skip-view-config-check]
[--skip-view-health-check]
[--skip-virtual-volumes-check]
[--skip-wan-com-check]
Arguments
Required arguments
[-i|--image] firmware image file - * Full path to director firmware image on the management
server. For example:
/tmp/VPlexInstallPackages/VPlex-5.0.1.00.00.06-director-field-disk-ima
ge.tar
Optional arguments
[-t|--targets] targets,targets,... - List of directors to upgrade.
--force - Must be specified to ignore SSD firmware version checking. (To upgrade to the
same or older firmware)
--check-only - Check which directors will have their SSD firmware upgraded, not upgrade
the firmware.
--dry-run - Do not perform the ssd firmware upgrade but run the same procedure as an
actual install (including netbooting the directors).
--skip-be-switch-check - Skips the NDU pre-check for unhealthy back-end switches.
--skip-cluster-status-check - Skip the NDU pre-check for cluster problems (missing
directors, suspended exports, inter-cluster link failure).
--skip-confirmations - Skip any user confirmations normally required before proceeding
when there are NDU pre-check warnings.
--skip-distributed-device-settings-check - Skips the NDU pre-check for distributed device
settings (auto-resume set to true).
--skip-fe-switch-check - Skips the NDU pre-check for unhealthy front-end switches.
--skip-group-be-checks - Skip all NDU pre-checks related to back-end validation. This
includes the system configuration validation and unreachable storage volumes
pre-checks.
--skip-group-config-checks - Skip all NDU pre-checks related to system configuration. This
includes the system configuration validation and director commission pre-checks.
--skip-group-fe-checks - Skip all NDU pre-checks related to front-end validation. This
includes the unhealthy storage views and storage view configuration pre-checks.
--skip-group-health-checks - Skip all NDU pre-checks related to system health validation.
This includes the system configuration validation, unhealthy virtual volumes, cluster
status, and the inter-cluster communications connectivity pre-checks.
--skip-meta-volume-backup-check- Skips the check to verify that backups for the
meta-data volumes at all clusters have been configured.
--skip-meta-volume-redundancy-check - Skips the NDU pre-check for verifying the
meta-volume redundancy
--skip-remote-mgmt-version-check - Skip the remote management server version check.
--skip-storage-volumes-check - Skip the NDU pre-check for unreachable storage volumes.
--skip-sysconfig-check - Skip the system configuration validation NDU pre-check and
proceeds with NDU even if there are errors with cache replication, logging volume setup,
back-end connectivity, and metadata volume health.
341
--skip-view-config-check - Skip the NDU pre-check for storage view configuration (front-end
high availability). This option is required to pass the NDU pre-checks when operating a
minimum configuration. For minimum configurations, front-end high-availability
pre-checks must be performed manually.
--skip-view-health-check - Skip the NDU pre-check for unhealthy storage views.
--skip-virtual-volumes-check - Skip the NDU pre-check for unhealthy virtual volumes.
--skip-wan-com-check - Skip the inter-cluster communications connectivity NDU pre-check
and proceeds with NDU even if there are errors specifically related to inter-cluster
communications connectivity.
Skipping the WAN communications pre-check may increase the risk for NDU failure
should the inter-cluster communication connection fail.
Note: Multiple skip options can be specified to skip multiple pre-checks. Enter skip
options separated by a space.
Description
Upgrades the directors one at a time. Assures that there are directors available to service
I/O as some of the directors are being upgraded. The upgraded director rejoins the system
before the next director is upgraded.
The director SSD firmware upgrade is performed by netbooting the director to ensure that
the SSD is not in use while the firmware is being upgraded.
Non-disruptively upgrades the SSD firmware on the directors in a running VPLEX system.
Refer to the upgrade procedure in the generator for a procedure using this command.
Example:
Check whether the directors need the SSD firmware upgrade (--check-only option):
Example
To:
To:
To:
Use the following syntax to target specific directors for the SSD firmware upgrade using
the --targets option:
342
To:
Example
Use the following syntax to upgrade all the directors if the SSD firmware in the given image
is newer:
Example
Use the following syntax to do a dry-run of the rolling upgrade of SSD firmware but skip the
actual step of writing the new SSD firmware to the SSD device.
Note: Dry-run includes netbooting the directors.
Example
343
Waiting for system to be stable after upgrading the SSD firmware on directors: ...DONE
Cleaning up management server at cluster-2: .DONE
================================================================================
[Mon Jan 24 16:40:35 2011] Director SSD Firmware upgrade summary
================================================================================
director-1-2-A: SSD Model: M8SB1-56UC-EMC 118032769, Current FwRev: C08-6997, Image FwRev:
C08-6997
director-2-2-A: SSD Model: M8SB1-56UC-EMC 118032769, Current FwRev: C08-6997, Image FwRev:
C08-6997
================================================================================
The output for 'ndu ssd-fw' has been captured in
/tmp/derk/clidir/capture/ndu-ssd-fw-session.txt
VPlexcli:/>
See also
ndu start
Begins the non-disruptive upgrade (NDU) process of the director firmware.
Contexts
Syntax
Arguments
All contexts.
ndu start
{-u|--firmware} firmware tar file
[--cws-package] cws firmware tar file
[-p|--sleep-after-port-on] duration
[--ask-confirmation-to-complete-io-transfer-phase]
[--disable-iofwd]
[--force]
[--force-geo]
[--skip-cws-upgrade]
[--io-transfer-phase-timeout=] duration
[--skip-be-switch-check]
[--skip-cluster-status-check]
[--skip-confirmations]
[--skip-distributed-device-settings-check]
[--skip-fe-switch-check]
[--skip-group-be-checks]
[--skip-group-config-checks]
[--skip-group-fe-checks]
[--skip-group-health-checks]
[--skip-meta-volume-backup-check]
[--skip-meta-volume-redundancy-check]
[--skip-storage-volumes-check]
[--skip-sysconfig-check]
[--skip-view-config-check]
[--skip-view-health-check]
[--skip-virtual-volumes-check]
[--skip-wan-com-check]
Required arguments
-u|--firmware firmware tar file - * Full path to director firmware package on the
management server.
Optional arguments
--cws-package cws firmware tar file - Full path to Cluster Witness Server package on the
management server.
344
In order to start an NDU, the VPLEX must be fully installed and a meta-volume must be
present. Do not run this command without first running the ndu pre-check command.
For the director firmware upgrade to be non-disruptive to host I/O, the NDU pre-check
must pass without any errors. The system must be healthy and in a highly available
configuration.
--force-geo results in temporary data unavailability at the losing cluster for asynchronous
consistency groups.
Skipping the WAN communications pre-check may increase the risk for NDU failure
should the inter-cluster communication connection fail.
--skip-cws-upgrade - Skips the upgrade of the Cluster Witness Server and proceeds with
the rest of the NDU.
--io-transfer-phase-timeout= duration - When using front-end I/O forwarding (IOFWD), elapsed
time from when NDU turns on first upgraders' front-end ports to when NDU kills second
upgraders (in the I/O transfer stage, for example).
Note: Cannot be used with --disable-iofwd.
--skip-be-switch-check - Skips the NDU pre-check for unhealthy back-end switches.
--skip-cluster-status-check - Skip the NDU pre-check for cluster problems (missing
directors, suspended exports, inter-cluster link failure, and so on).
ndu start
345
This command starts a non-disruptive upgrade and can skip certain checks to push a
non-disruptive upgrade when the ndu pre-checks command fails. The pre-checks
executed by the ndu pre-check command verify that the upgrade from the current software
to the new software is supported, the configuration supports NDU, and the system state is
ready (clusters and volumes are healthy).
You must resolve all issues disclosed by the ndu pre-check command before running the
ndu start command.
Skip options enable ndu start to skip one or more NDU pre-checks. Skip options should be
used only after fully understanding the problem reported by the pre-check to minimize the
risk of data unavailability.
346
Note: Skip options may be combined to skip more than one pre-check. Multiple skip
options must be separated by a space.
IMPORTANT
It is recommended that you only upgrade VPLEX using the upgrade procedure found in the
generator. This procedure also details when the ndu start command should be used with
skip options and how to select and use those skip options.
See also
ndu status
Displays the NDU status.
Contexts
Syntax
Description
All contexts.
ndu status [--verbose]
If an NDU firmware or OS upgrade is running, this command displays the upgrade activity.
If neither NDU firmware or OS upgrade is running, this command displays information
about the previous NDU firmware upgrade.
If the last operation was a rolling-upgrade, the OS upgrade information is displayed. The
ndu start command clears this information.
If an NDU firmware or OS upgrade has failed, this command displays a message to use the
ndu recover command.
if an NDU recovery is in progress, has succeeded or failed, this command displays a a
status message.
Example
ndu status
347
Display NDU status after an NDU failed and ndu recover was run:
VPlexcli:/> ndu status
Gathering NDU status...
No firmware or OS upgrade in progress.
Last Firmware Upgrade attempt on Fri, 17 Dec 2010 00:39:29
From version 2.1.19.0.0 to version None
Was started on management server 10.6.209.61
Result: failed
Reason: Encountered a problem while preparing to start the NDU.
Unable to extract director package files, return code 2.
NDU recover succeeded on management server 127.0.0.1 on Fri, 17 Dec 2010 01:00:27.
================================================================================
[Fri Dec 17 01:05:25 2010] System state summary
================================================================================
The directors {director-1-1-B, director-1-1-A, director-1-2-B, director-1-2-A} are
operational at version 2.1.19.0.0.
================================================================================
The output for 'ndu status' has been captured in
/var/log/VPlex/cli/capture/ndu-status-session.txt
See also
All contexts.
In /notifications context, command is call-home import-event-modifications.
In /notifications/call-home context, command is import-event-modifications.
Syntax
Arguments
Required arguments
[-m|--modified-events-file] file - Path to the file containing the modified call-home events.
Optional arguments
[-f|--force] - Forces the import of the specified file without asking for confirmation. Allows
this command to be run from non-interactive scripts.
Description
Imports and applies modifications to call-home events. This command imports the
specified .xml file that contains modified call-home events. There can be two types of .xml
event files:
348
EMC provides an .xml file containing commonly requested modifications to the default
call-home events.
Call-home behaviors changes immediately when the modified events file is applied.
If a customized events file is already applied, applying a new file overrides the existing
file.
If the same event is modified in both the customer-specific and EMC-generic files, the
modification specified in the customer-specific file is applied for that event, and the note
Not applied appears in the command output.
If call-home is disabled when the custom events file is applied, the modified events are
saved and applied when call-home is enabled.
Use the set command to enable/disable call-home notifications.
Use the ls notifications/call-home command to display whether call-home is enabled:
VPlexcli:/> ls /notifications/call-home
/notifications/call-home:
Attributes:
Name
Value
------- ----enabled true
Example
In the following example, the custom events file 'custom.xml is imported from a directory
on the management server and applied when call-home is disabled:
Example
In the following example, a custom events file is imported when call-home notifications is
enabled:
See also
349
All contexts.
In /notifications context, command is call-home remove-event-modifications.
In /notifications/call-home context, command is remove-modifications.
Syntax
Arguments
Optional arguments
[-c|--customer-specific] - If a customer-specific call-home events file has been imported,
removes the file.
[-e |--emc-generic] - If an EMC call-home events file has been imported, removes the file.
[-f|--force] - Removes the specified imported call-home events file without asking for
confirmation. Allows this command to be executed from a non-interactive script.
Description
This command removes the specified custom call-home events file. There are two types of
.xml event files:
If no file is specified, this command removes both custom call-home events files.
The specified file is not deleted from the management server. When a custom events file is
removed, the default events file LIC.xml is applied.
Use the ndu upgrade-mgmt-server command to re-import the file.
Example
Example
350
VPlexcli:/notifications/call-home> remove-event-modifications
--emc-generic
The EMC-generic call-home event modifications will be removed.
Do you want to proceed? (Yes/No) yes
Example
See also
All contexts.
In /notifications context, command is call-home-view-event-modifications
In /notifications/call-home context, command is view-event-modifications.
Syntax
Arguments
Optional arguments
[-c|--customer-specific] - Displays customer specific modifications.
[-e|--emc-generic] - Displays EMC generic modifications.
Description
If event modifications are applied to call-home events, this command displays those
events whose call-home events have been modified.
If the same event is modified by both the customer-specific and the EMC-generic events
files, the setting in the customer-specific file overrides the entry in the EMC-generic file.
Use this command with no arguments to display a summary of all event modifications.
Use this command with the -c or -e arguments to display a summary of only the
customer-specific or EMC generic modified events.
Use the --verbose argument to display detailed information.
Example
VPlexcli:/notifications/call-home> view-event-modifications
EMC-generic events :
--------------------event code name
severity
---------- ------------- -------0x8a023001 amf_1_WARNING INFO
Customer-specific events :
notifications call-home view-event-modifications
351
Example
severity
-------WARNING
INFO
In the following example, the same event is modified by both the customer-specific and
the EMC-generic events files. The setting in the customer-specific file overrides the setting
in the EMC-generic file:
VPlexcli:/notifications/call-home> view-event-modifications
EMC-generic events :
--------------------event code name
---------- -----------0x8a2d6025 SCSI_IT_LOST
0x8a2c901c scom_28_CRIT
severity
-------WARNING
ERROR
Customer-specific events :
------------------------event code name
severity
---------- ------------ -------0x8a2d6025 SCSI_IT_LOST WARNING
0x8a029060 amf_96_CRIT
CRITICAL
Example
Use the --verbose argument to display detailed information about customer-specific event
modifications:
CWS_EVENT_HEALTHY_CONNECTIVITY_INTERVAL_CHANGED
WARNING
cws
CLUSTER
NO
60
TRUE
0
0
CUSTOM Cluster Witness Server Healthy Connectivity Interval is changed.
Cluster Witness Server Healthy Connectivity Interval is changed from
See also
352
All contexts.
In /notifications context, command is call-home test.
In /notifications/call-home context, command is test.
Syntax
Description
Call-home can be configured to send events to EMC Support and/or one or more
recipients in your organization.
Use this command to send a test event to the configured recipients. VPLEX sends the test
call-home within 1 minute of running this command.
If call-home is configured to send event notifications to personnel in your organization,
check the e-mail accounts specified to receive notifications to verify the test event arrived.
If call-home is configured to send event notifications to EMC, contact EMC Support to
verify that the test event arrived.
Use the set command to enable/disable call-home notifications.
Use the ls notifications/call-home command to verify that call-home is enabled:
VPlexcli:/> ls /notifications/call-home
/notifications/call-home:
Attributes:
Name
Value
------- ----enabled true
Example
Use the call-home test command to send a test call-home event to the configured
recipients:
VPlexcli:/notifications/call-home> call-home test
call-home test was successful.
See also
All contexts.
In /notifications context, command is snmp-trap create.
In/notifications/call-home/snmp-traps context, command is create.
353
Syntax
Arguments
Required arguments
[-n|--name] trap name - Name of the SNMP trap sink.
Description
Example
VPlexcli:/notifications/call-home/snmp-traps> notifications snmp-trap create Test
VPlexcli:/notifications/call-home/snmp-traps> cd /Test
VPlexcli:/notifications/call-home/snmp-traps/Test> ll
Name
Value
---------------- -----community-string public
remote-host
remote-port
162
started
false
VPlexcli:/notifications/call-home/snmp-traps/Test> set remote-host 10.6.213.39
VPlexcli:/notifications/call-home/snmp-traps/Test> set started true
See also
All contexts.
In /notifications context, command is snmp-trap destroy.
In /notifications/call-home/snmp-traps context, command is destroy.
Syntax
Arguments
Required arguments
None.
Optional arguments
[-s|--snmp-trap] trap name - Name of the SNMP trap sink to destroy.
[-f|--force] - Destroy an SNMP trap sink that has been started.
Description
354
The --force argument is required to destroy an SNMP trap sink that has been started.
Example
See also
password-policy reset
Resets the password-policies to the default factory settings.
Contexts
Syntax
Arguments
/security/authentication
password-policy reset [options]
Optional arguments
[-h |--help] - Displays the usage for this command.
[--verbose] - Provides more output during command execution.
[ -f | --force] - Forces reset of password-policy configuration without asking for
confirmation.
Description
See also
password-policy set
Each attribute in the Password policy is configurable. The new value will be updated to the
respective configuration file and existing users will be updated with these configuration.
Following sections walk through the process of setting each attribute.
Contexts
Syntax
/security/authentication/password-policy
set [password-minimum-length | minimum-password-age |
maximum-password-age | password-warn-days | Password inactive days ]
value
password-policy reset
355
Arguments
Description
The password policies are not applicable to users configured through an LDAP server.
The password policies are not applicable to the service user.
Password inactive days is not applied to admin user to protect the admin user from
account lockouts.
Note: Password Policy can be configured only by the admin user
Examples
To view the permissible values for the password-policy set command, enter the command
with no options:
VPlexcli:/security/authentication/password-policy> set
attribute
input-description
----------------------- -------------------------------------name
Read-only.
password-inactive-days
Takes an integer value between -1 and
99999. Specifying a '-1' value will disable the policy.
password-maximum-days
Takes an integer value between 1 and
99999.
password-minimum-days
Takes an integer value between -1 and
356
To set the Password inactive days value to 3 days, use this command:
VPlexcli:/security/authentication/password-policy> set
password-inactive-days 3
admin password:
VPlexcli:/security/authentication/password-policy> ll
Name
Value
--------------------------password-inactive-days
3
password-maximum-days
90
password-minimum-days
1
password-minimum-length
14
password-warn-days
15
See also
plugin addurl
Adds an URL to the plug-in search path.
Contexts
Syntax
Arguments
All contexts.
plugin addurl
[-u|--urls] url,url...
Required arguments
[-u|--urls] url, url... - A list of URLs to add to the search path. Entries must be separated by
commas.
Description
Note: The plugin commands are not intended for customer use.
Plug-ins extend the class path of the CLI. Plug-ins support dynamic addition of
functionality. The plugin search path is used by the plugin register command.
See also
plugin listurl
Lists URLs currently in the plugin search path.
Contexts
Syntax
Description
All contexts.
plugin listurl
The search path URLs are those locations added to the plugin search path using the plugin
addurl command.
plugin addurl
357
Note: The plugin commands are not intended for customer use.
Example
See also
plugin register
Registers a shell plugin by class name.
Contexts
Syntax
Arguments
All contexts.
plugin register
[-c|--classes] list of class names,list of class names ...
Required arguments
[-c|--classes] list of class names, list of class names... - A list of plugin classes. Entries
must be separated by commas.
Description
Plugin class is found in the default classpath, or in locations added using the plugin
addurl command.
Plug-ins add a batch of commands to the CLI, generally implemented as a set of one or
more Jython modules.
Note: The plugin commands are not intended for customer use.
See also
358
popd
Pops the top context off the stack, and changes the current context to that context.
Contexts
Syntax
Description
Example
All contexts.
popd
The pushd command adds a third context to the context stack. The output of the
command displays the three contexts in the stack.
The popd command removes the top (last added) context, changes the context to the
next one in the stack, and the output displays the two remaining contexts:
VPlexcli:/engines/engine-1-1/directors/Cluster_1_Dir1A> pushd
/engines/engine-1-1/directors/Cluster_1_Dir1B
[/engines/engine-1-1/directors/Cluster_1_Dir1B,
/engines/engine-1-1/directors/Cluster_1_Dir1A,
/clusters/cluster-1/storage-elements/storage-arrays, /, /]
VPlexcli:/engines/engine-1-1/directors/Cluster_1_Dir1B> popd
[/engines/engine-1-1/directors/Cluster_1_Dir1B,
/clusters/cluster-1/storage-elements/storage-arrays, /, /]
VPlexcli:/engines/engine-1-1/directors/Cluster_1_Dir1A>
See also
pushd
Pushes the current context onto the context stack, and then changes the current context to
the given context.
Contexts
Syntax
Arguments
All contexts.
pushd
[-c|--context] context
Required arguments
None.
Optional arguments
[-c|--context] context - The context to push onto the context stack.
Description
Example
popd
359
Use the pushd command to push the first context onto the context stack:
VPlexcli:/> pushd /clusters/cluster-1/storage-elements/storage-arrays/
[/clusters/cluster-1/storage-elements/storage-arrays, /, /]
Use the pushd command to push a second context onto the context stack:
VPlexcli:/clusters/cluster-1/storage-elements/storage-arrays> pushd
/engines/engine-1-1/directors/Cluster_1_Dir1A/
[/engines/engine-1-1/directors/Cluster_1_Dir1A,
/clusters/cluster-1/storage-elements/storage-arrays, /, /]
Now, there are two contexts on the context stack. Use the pushd command to toggle
between the two contexts:
VPlexcli:/engines/engine-1-1/directors/Cluster_1_Dir1A> pushd
[/clusters/cluster-1/storage-elements/storage-arrays,
/engines/engine-1-1/directors/Cluster_1_Dir1A, /, /]
VPlexcli:/clusters/cluster-1/storage-elements/storage-arrays> pushd
[/engines/engine-1-1/directors/Cluster_1_Dir1A,
/clusters/cluster-1/storage-elements/storage-arrays, /, /]
VPlexcli:/engines/engine-1-1/directors/Cluster_1_Dir1A>
See also
rebuild set-transfer-size
Changes the transfer-size of the given devices.
Contexts
Syntax
Arguments
All contexts.
rebuild set-transfer-size
[-r|--devices] context path,context path...
[-l|--limit] limit
Required arguments
[-r|-devices] context path,context path... - * List of one or more devices for which to change
the transfer size. Wildcards are permitted. Entries must be separated by commas.
[-l|--limit] limit - * Transfer size in bytes. Maximum number of bytes to transfer as one
operation per device. Specifies the size of read sector designated for transfer in cache.
Setting this value smaller implies more host I/O outside the transfer boundaries. Setting
the value larger may result in faster transfers. Valid values must be multiples of 4K.
Range: 40K-128M.
See About transfer-size on page 79.
* - argument is positional.
Description
If the target devices are rebuilding when this command is issued, the rebuild is paused
and resumed using the new transfer-size.
Note: If there are queued rebuilds, the rebuild may not resume immediately.
Example
360
See also
rebuild show-transfer-size
Shows the transfer-size of specified RAID 1 devices.
Contexts
Syntax
All contexts.
rebuild show-transfer-size
[-r|--devices] context path
Optional arguments
[-r|-devices] context path... - List of one or more RAID 1 devices for which to display the
transfer size. Entries must be separated by commas. Wildcards are permitted.
Example
See also
rebuild show-transfer-size
361
rebuild status
Displays all global and cluster-local rebuilds along with their completion status.
All contexts.
Contexts
Syntax
rebuild status
--show-storage-volumes
Optional arguments
--show-storage-volumes - Displays all storage volumes that need to be rebuilt, both active
and queued. If not present, only the active rebuilds are displayed.
Completion status is listed as:
Description
rebuilt/total (complete%)
Example
rebuild type
-----------full
rebuilder director
-----------------s10_428f
rebuilt/total
------------1.23G/4G
percent finished
---------------30.81%
throughput
---------90.1M/s
ETA
----
rebuild type
-----------full
rebuilder director
-----------------s1_220d_spa
rebuilt/total
------------4.06G/11.2G
percent finished
---------------36.17%
throughput
---------9.94M/s
ETA
--------12.3min
Local rebuilds:
No active local rebuilds.
See also
report aggregate-monitors
Aggregate the reports generated by the report create-monitors or monitor commands.
Contexts
Syntax
All contexts.
report aggregate-monitors
[-d|--directory] directory
Optional arguments
[-d|-directory] directory- Directory in which to create the .csv files.
362
Each cluster
This command assumes that the per director reports have filenames with the following
format:
<report type>ReportMonitor_<director>.csv
VPlexcli:/>
Aggregating
Aggregating
Aggregating
Aggregating
.
.
.
report aggregate-monitors
port reports at cluster cluster-2 ...
port reports at cluster cluster-1 ...
volume reports at cluster cluster-2 ...
volume reports at cluster cluster-1 ...
See also
diskPerformance_cluster-1.csv
diskPerformance_cluster-2.csv
portPerformance_cluster-1.csv
portPerformance_cluster-2.csv
volumePerformance_cluster-1.csv
volumePerformance_cluster-2.csv
report capacity-arrays
Generates a capacity report.
Contexts
Syntax
All contexts.
report capacity-arrays
[-t|--tier-regx] regular expression
[-d|--directory] directory
report capacity-arrays
363
Optional arguments
[-t|-tier-regex] regular expression - Regular expression which when applied to the
storage-volume name, returns the tier ID in a group. Most expressions must be enclosed in
quotes.
Default: value of /system-defaults::tier-regular-expression
[-d|-directory] directory - Directory in which to create the csv files. Output is written to two
files:
Generates a capacity report for all the storage in a VPLEX, grouped by storage arrays.
This command assumes the following:
All storage volumes in a storage array have the same tier value.
The tier is indicated in the storage-volume name. The tier attribute in the virtual
volumes context is ignored.
If the files already exist, the report is appended to the end of the files.
Note: Tier IDs are required to determine the tier of a storage-volume/storage array. Storage
volumes that do not contain any of the specified IDs are given the tier value 'no-tier'.
The report is separated into two parts: local storage and shared storage.
Local storage is accessible only from the same cluster where the storage is physically
located. Information in the report for local storage includes:
Cluster id
Storage array
Tier - the tier of the storage array
Allocated - storage that is visible through a view (exported)
Unallocated-device - storage that is in devices, but not visible from a view. For
example, a virtual volume that has not been exported or free space in a device that
is not part of a virtual volume.
Unallocated-storage-volume - storage in unused storage volumes.
Shared storage is accessible from clusters other than where it is physically located
(distributed and remote virtual volumes). Information in the report for shared storage
includes:
allocated - storage that is visible through a view (exported)
364
unallocated-device - storage that is in devices, but not visible from a view. For
example, a virtual volume that has not been exported or free space in a device that
is not part of a virtual volume.
Note: Unreachable storage volumes are not included in 'unallocated-storage-volume'. If
the storage array of a virtual volume/device cannot be determined, its capacity is
allocated to the 'unknown array'.
There is no 'tier' indicator for shared storage because the tiers may be different for
each mirror of a distributed-device.
There are no shared storage volumes. Storage Volumes are only locally accessible and
are part of the cluster allocation.
Display the report file
2. Navigate to the VPLEX CLI reports directory (or the specified output directory):
service@ManagementServer:~> cd /var/log/VPlex/cli/reports
service@ManagementServer:/var/log/VPlex/cli/reports> ll
total 48
-rw-r--r-- 1 service users 2253 2010-08-12 15:46
CapacityArraysLocal.csv
-rw-r--r-- 1 service users
169 2010-08-12 15:46
CapacityArraysShared.csv
.
.
.
Example
VPlexcli:/> report capacity-arrays
Local Storage (in GiB):
cluster-1:
EMC-0x00000000192601378:
tier:
alloc:
unalloc devices:
unalloc storage-volumes:
EMC-0x00000000192601852:
tier:
alloc:
unalloc devices:
unalloc storage-volumes:
.
.
.
Shared Storage (in GiB):
alloc:
2192.468
unalloc devices:
0.000
no-tier
0.000
0.000
5277.100
no-tier
0.000
0.000
4929.053
report capacity-arrays
365
Allocated (GiB)
9.000
Unallocated
Devices (GiB)
3.000
Unallocated
StorageVolumes (GiB)
10596.152
Tier
no-tier
Allocated (GiB)
2.000
Unallocated
Devices (GiB)
4.000
Unallocated
StorageVolumes (GiB)
8467.749
"report capacity-arrays" was not able to extract the tier id from the following
storage-volumes/devices. Please ensure that the tier-regex contains 1 capture group.
tier-regex: ^[^_]+([HL])_.+$
storage-volumes/devices:
Symm1723_1FC
CX4_lun0
base_volume
Symm1852_1C0
VPD83T3:60000970000192601378533030313530
Symm1852_5C0
VPD83T3:60000970000192601378533030313538
See also
report capacity-clusters
Generates a capacity report for every cluster.
Contexts
Syntax
All contexts.
report capacity-clusters
[-d|--directory] directory
Optional arguments
[-d|-directory] directory- Directory in which to create the csv files. Output is written to a file
named CapacityClusters.csv.
Default directory path: /var/log/VPlex/cli/reports/ on the management server.
If the --verbose argument is used:
Description
366
Information includes:
Example
VPlexcli:/> report capacity-clusters
Cluster, Unclaimed disk capacity (GiB), Unclaimed storage_volumes, Claimed disk capacity(GiB),
Claimed storage_volumes, Used storage-volume capacity (GiB), Used storage_volumes, Unexported
volume capacity (GiB), Unexported volumes, Exported volume capacity (GiB), Exported volumes
cluster-1, 5705.13, 341, 7947.68, 492, 360.04, 15, 3.00, 3, 2201.47, 27
cluster-2, 5337.10, 328, 7995.69, 495, 2478.45, 137, 20.00, 3, 2178.46, 25
VPlexcli:/> report capacity-clusters --verbose
Cluster, StorageVolume Name, VPD83 ID, Capacity, Use, Vendor
cluster-1,CX4_Logging,VPD83T3:6006016021d02500e6d58bab2227df11,80G,used,DGC
cluster-1,CX4__M0,VPD83T3:6006016021d02500be83caff0427df11,90G,-data,DGC
cluster-1,CX4__M1,VPD83T3:6006016021d02500bf83caff0427df11,90G,claimed,DGC
cluster-1,CX4_lun0,VPD83T3:6006016021d0250026b925ff60b5de11,10G,used,DGC
.
.
.
See also
report capacity-hosts
Generates a host capacity report.
Contexts
Syntax
All contexts.
report capacity-hosts
[-d|--directory] directory
Optional arguments
[-d|-directory] directory- Directory in which to create the csv files. Output is written to a file
named CapacityHosts.csv.
Default directory path: /var/log/VPlex/cli/reports/ on the management server.
If the --verbose argument is used, an additional file is created: CapacityHostsViews.csv
Description
Information includes:
Number of views.
Example
VPlexcli:/> report capacity-hosts
Cluster, Views, Exported capacity (GiB), Exported volumes
cluster-1, 2, 2209.47, 28
cluster-2, 1, 2178.46, 25
report capacity-hosts
367
See also
report create-monitors
Creates three performance monitors for each director in the VPLEX: storage-volume
performance, port performance, and virtual volume performance. Each monitor has one
file sink.
Contexts
Syntax
All contexts.
report create-monitors
[-d|--directory] directory
[--force]
Optional arguments
[-d|-directory] directory- Directory in which to create the csv files.
Default directory path: /var/log/VPlex/cli/reports/ on the management server.
--force - Forces the creation of the monitor, even if existing monitors are delayed in their
polling.
Description
Creates three monitors for each director in the VPLEX. Monitors are named:
Cluster_n_Dir_nn_diskReportMonitor
Cluster_n_Dir_nn_portReportMonitor
Cluster_n_Dir_nn_volumeReportMonitor
The period attribute for the new monitors is set to 0 (automatic polling is disabled). Use
the report poll-monitors command to force a poll.
368
Each monitor has one file sink. The file sinks are enabled.
By default, output files are located in /var/log/VPlex/cli/reports/ on the management
server. Output filenames are in the following format:
<Monitor name>_<Cluster_n_Dir_nn.csv
Disk report monitors collect:
storage-volume.per-storage-volume-read-latency
storage-volume.per-storage-volume-write-latency.
be-prt.read
be-prt.write
fe-prt.ops
fe-prt.read
fe-prt.write
Example
virtual-volume.ops
virtual-volume.read
virtual-volume.write
Collecting
Data
---------true
true
Period
----------0s
0s
Average
Period
-------
Idle For
--------------7.1min
6.88min
Bucket
Min
-----100
-
Bucket
Max
------1600100
-
Bucket
Width
-----25000
-
report create-monitors
Bucket
Count
-----64
64
369
Cluster_1_Dir1A_volumeReportMonitor
true
/monitoring/directors/Cluster_1_Dir1B/monitors:
Name
Ownership
----------------------------------- ------------------------------------------- --------Cluster_1_Dir1B_diskReportMonitor
true
Cluster_1_Dir1B_portReportMonitor
true
Cluster_1_Dir1B_volumeReportMonitor true
.
.
.
true
0s
6.9min
Collecting
Data
---------true
true
true
Period
----------0s
0s
0s
Average
Period
-------
Idle
For
------6.88min
6.68min
6.7min
Bucket
Min
-----100
-
Bucket
Max
------1600100
-
Bucket
Width
-----25000
-
64
Bucket
Count
-----64
64
64
In the following example, the --force argument forces the creation of monitors, even
though the creation results in missed polling periods:
See also
report poll-monitors
Polls the report monitors created by the report create-monitors command.
Contexts
Syntax
Description
All contexts.
report poll-monitors
The monitors created by the report create-monitors command have their period attribute
set to 0 seconds (automatic polling is disabled) and one file sink.
Use this command to force an immediate poll and collection of performance data for
monitors created by the report create-monitors command.
Output is written to files located in /var/log/VPlex/cli/reports/ on the management
server.
370
Example
VPlexcli:/> report poll-monitors
Collecting data for director Cluster_2_Dir_1B monitor Cluster_2_Dir_1B_diskReportMonitor.
Collecting data for director Cluster_2_Dir_1B monitor Cluster_2_Dir_1B_portReportMonitor.
Collecting data for director Cluster_2_Dir_1B monitor Cluster_2_Dir_1B_volumeReportMonitor.
.
.
.
See also
rp import-certificate
Imports a RecoverPoint security certificate from the specified RPA cluster.
Contexts
Syntax
All contexts.
rp import-certificate
Arguments
None.
Description
This command runs an interview script to import the RecoverPoint security certificate.
In Metro systems, run this command on both management servers.
This command restarts VPLEX CLI and GUI sessions on the VPLEX cluster to which the RPA
cluster is attached. With this release, using this command will lead to loss of VPLEX
Integrated Array Services (VIAS) provisioning jobs created.
Import the RecoverPoint security certificate from the RPA cluster at IP address
10.6.210.85:
VPlexcli:/> rp import-certificate
This command will cause the VPLEX CLI process to restart if security settings are modified.
This will require a new log in from all connected CLI and GUI clients.
To proceed type CONTINUE or hit enter to abort: CONTINUE
Please enter the IP v4 address of the RP cluster: 10.6.210.85
-----Certificate Details----Owner: CN=RecoverPoint, OU=Unified Storage Division, O=EMC Corporation, L=Ramat-Gan, ST=Israel,
C=IL
Issuer: CN=RecoverPoint, OU=Unified Storage Division, O=EMC Corporation, L=Ramat-Gan,
ST=Israel, C=IL
Serial number: 4d907d4c
Valid from: Mon Mar 28 12:21:32 UTC 2011 until: Thu Mar 25 12:21:32 UTC 2021
Certificate fingerprints:
MD5: CF:38:C3:55:A9:99:AC:A6:79:12:7C:83:C3:95:23:CB
SHA1: 4D:D6:29:30:ED:0A:77:6D:38:4E:10:D3:2E:37:29:CB:45:DC:9E:C0
Signature algorithm name: SHA1withRSA
rp import-certificate
371
Version: 3
Trust this certificate? (Y/N): Y
The management server console process will now restart, please press any key when you are ready.
Please wait a minute before reconnecting.
Press '<Enter>' to continue ...<Enter>
Stopping EMC VPlex Management Console: Connection closed by foreign host.
service@sms-advil-2:/opt/emc/VPlex/tools/utils>
See also
rp rpa-cluster add
Associates a cluster of RecoverPoint Appliances to single VPLEX cluster.
Contexts
Syntax
Arguments
All contexts.
rp rpa-cluster add
[-o|--host] rpa site management IP address
[-u|--admin-username] rpa admin-username
[-c|--cluster] cluster-id
Required arguments
[-o|--host] rpa site management IP address - * The RPA cluster management IP address.
[-u|--admin-username] admin-user-name - * The administrative username of the RPA
Optional arguments
[-c|--cluster] cluster-id - Context path of the VPLEX cluster associated with this cluster of
RPAs. If no VPLEX cluster is specified, the ID of the local cluster is used. The local cluster is
the cluster whose cluster-id matches the management servers IP seed. See About cluster
IP seed and cluster ID on page 486.
* argument is positional.
Description
372
/recoverpoint/rpa-clusters/ip_address/volumes
/clusters/cluster_name/consistency-groups/cg_name/recoverpoint
rp summary command
rp validate-configuration command
Example
Example
ll /recoverpoint/rpa-clusters/ip-address/consistency-groups/cg-name displays
detailed information about the specified consistency group.
VPlexcli:/> ll /recoverpoint/rpa-clusters
/recoverpoint/rpa-clusters:
RPA Host
VPLEX Cluster RPA Site
----------- ------------- -------10.108.65.217 cluster-1
Site1
RPA ID
-----RPA 1
RPA Version
----------3.5(l.26)
VPlexcli:/> ll recoverpoint/rpa-clusters/10.108.65.217/
/recoverpoint/rpa-clusters/10.108.65.217:
Attributes:
Name
---------------------admin-username
config-changes-allowed
rp-health-indications
rp-health-status
rp-software-serial-id
rpa-host
rpa-id
rpa-site
rpa-version
vplex-cluster
Contexts:
Name
-----------------consistency-groups
volumes
Value
-------------------------------------------admin
true
[Problem detected with RecoverPoint volumes]
warning
10.108.65.217
RPA 1
Dart_Citation
4.0.SP2(m.24)
cluster-1
Description
----------------------------------------------------------Contains all the RecoverPoint consistency groups which
consist of copies local to this VPLEX cluster.
Contains all the distributed virtual volumes with a local
extent and the local virtual volumes which are used by this
RPA cluster for RecoverPoint repository and journal volumes
and replication volumes.
VPlexcli:/recoverpoint/rpa-clusters/10.108.65.216> cd consistency-groups/
VPlexcli:/recoverpoint/rpa-clusters/10.108.65.216/consistency-groups> ll
rp rpa-cluster add
373
Name
---TEST
VPlexcli:/recoverpoint/rpa-clusters/10.108.65.216/consistency-groups> ll TEST
/recoverpoint/rpa-clusters/10.108.65.216/consistency-groups/TEST:
Attributes:
Name
--------------------distributed-group
enabled
preferred-primary-rpa
production-copy
uid
Contexts:
Name
---------------copies
links
replication-sets
Value
------false
true
RPA4
prod
aebe594
Description
------------------------------------------------------------Contains the production copy and the replica copies of which
this RecoverPoint consistency group consists.
Contains all the communication pipes used by RecoverPoint to
replicate consistency group date between the production copy
and the replica copies.
Contains all the replication sets of which this RecoverPoint
consistency group consists.
VPlexcli:/recoverpoint/rpa-clusters/10.108.65.216/consistency-groups> cd TEST
VPlexcli:/recoverpoint/rpa-clusters/10.108.65.216/consistency-groups/TEST> ll copies/
/recoverpoint/rpa-clusters/10.108.65.216/consistency-groups/TEST/copies:
Name
-----prod
remote
VPlexcli:/recoverpoint/rpa-clusters/10.108.65.216/consistency-groups/TEST> ll links/
/recoverpoint/rpa-clusters/10.108.65.216/consistency-groups/TEST/links:
Name
-----------prod->remote
VPlexcli:/recoverpoint/rpa-clusters/10.108.65.216/consistency-groups/TEST> ll
replication-sets/
/recoverpoint/rpa-clusters/10.108.65.216/consistency-groups/TEST/replication-sets:
Name
----RSet0
RSet1
RSet2
RSet3
RSet4
VPlexcli:/> ll /recoverpoint/rpa-clusters/10.108.65.217/volumes
374
/recoverpoint/rpa-clusters/10.108.65.217/volumes:
Name
RPA
RP Type
RP Role
RP
VPLEX
Capacity
---------------------- Site
----------- ---------- Group Group
----------------------------- ----- ----------- ---------- ----- ---------- -------RP_Repo_Vol_vol
Site1 Repository
RPTestCg
12G
demo_DR1_vol
Site1 Replication Production cg1
DemoSyncCG 5G
Source
demo_Replica_vol
Site1 Replication Local
cg1
Demo_Repli 5G
Replica
demo_prodjournal_1_vol Site1 Journal
cg1
RPTestCg
5G
demo_prodjournal_2_vol Site1 Journal
cg1
RPTestCg
5G
demo_prodjournal_3_vol Site1 Journal
cg1
RPTestCg
5G
.
.
.
VPlexcli:/> ll /recoverpoint/rpa-clusters/10.108.65.217/volumes/demo_DR1_vol
/recoverpoint/rpa-clusters/10.6.210.75/volumes/demo_DR1_vol:
Name
Value
------------------------- -------------------------------rp-consistency-group
cg1
rp-consistency-group-copy prod
rp-replication-set
RSet 1
rp-role
Production Source
rp-type
Replication
rpa-site
Site1
size
5G
uid
6000144000000010e03ec4a5dfffd8c3
vplex-cluster
cluster-1
vplex-consistency-group
DemoSyncCG
Description
A pre-configured RecoverPoint user with an admin role granted all system permissions to
manage RecoverPoint. Excluded privileges: downloading objects located on the RPAs,
changing users and roles, security levels, and LDAP configuration.
config-changesallowed
rp-health-indication If rp-health-status is anything other than OK, additional information about the problem
s
and the component that is impacted.
rp-health-status
Operational health of the RP cluster components including WAN, volumes. RPAs, and
splitters.
OK - All components of the RP configuration are operating as expected.
error - One or more components of the RP configuration is not operating as expected. The
rp-health-indications field displays additional information.
warning - One or more components of the RP configuration is not operating as expected.
The rp-health-indications field displays additional information.
unknown - VPLEX cannot connect to the RPA cluster.
RPA Host
VPLEX Cluster
rp rpa-cluster add
375
Description
RPA Site
Name of the RPA site. There can be up to two sites in a RecoverPoint installation; a local
site and a remote site. In one-site configurations (CDP), both the production and local
copy reside at the local site. In two-site configurations (stretch CDP, CRR, and CLR), the
production copy is at the local site and the remote copy is at the remote site.
RPA ID
RPA Version
in /recoverpoint/rpa-clusters/ip-address/consistency-groups context
copies
Contains the production copy and the replica copies of which this RecoverPoint
consistency group consists.
links
Contains all the communication pipes used by RecoverPoint to replicate consistency group
date between the production copy and the replica copies.
replication-sets
Contains all the replication sets of which this RecoverPoint consistency group consists.
in /recoverpoint/rpa-clusters/ip-address/volumes context
376
Name
RPA Site
RP Type
RP Role
RP Group
If the volume is a member of a RecoverPoint consistency group, the name of the group.
VPLEX Group
The VPLEX consistency group to which this volume belongs. Production and replica
volumes associated with RecoverPoint must be in VPLEX consistency groups that have the
following attributes:
Cache-mode property is synchronous
Consistency groups with the visibility property set to both clusters must also have
their storage-at-clusters set to both clusters.
Recoverpoint-enabled property set to true.
Capacity
Description
In /recoverpoint/rpa-clusters/ip-address/volumes/volume context
rp-consistency-grou See RP Group.
p
rp-consistency-grou The RecoverPoint copy to which the volume belongs.
p- copy
In CDP and CRR configurations, there is one production copy and one replica copy.
In CLR configurations, there is one production copy and two replica copies (one local copy
at the production site and one remote copy at the disaster recovery site).
The production copy consists of production volumes and the production journal, which
may consist of one or more journal volumes.
The non-production copies (i.e. replica copies) each consist of replica volumes and a
replica journal, which may consist of one or more journal volumes.
rp-replication-set
The RecoverPoint replication set to which the volume belongs. Replication sets consist of
the production source volume and the replica volume(s) to which it replicates.
Every storage volume in the production storage must have a corresponding volume at each
copy.
rp-role
SeeRP Role.
rp-type
SeeRP Type.
rpa-site
SeeRPA Site.
rpa-software-seriald
size
SeeCapacity.
uid
Unique Identifier for the volume. A 64-bit number used to uniquely identify each VPLEX
volume.
vplex-cluster
vplex-consistencygroup
The name of the VPLEX consistency group of which this volume is a member.
See also
rp rpa-cluster remove
Removes information about a RecoverPoint Appliance from VPLEX.
Contexts
Syntax
Arguments
All contexts.
rp rpa-cluster remove
[-r|--rpa] IP-address
Required arguments
[-r|--rpa-cluster] IP-address - The site management IP address of the RPA cluster to remove.
Description
rp rpa-cluster remove
377
Removes the following commands and contexts from the VPLEX CLI:
/recoverpoint/rpa-clusters/ip_address/volumes
/clusters/cluster_name/consistency-groups/cg_name/recoverpoint
rp summary command
rp validate-configuration command
Remove an RPA:
VPlexcli:/> ll /recoverpoint/rpa-clusters
/recoverpoint/rpa-clusters:
RPA Host
VPLEX Cluster RPA Site
----------- ------------- -------10.6.210.75 cluster-1
Site1
RPA ID
-----RPA 1
RPA Version
----------3.5(l.26)
See also
rp summary
Displays a summary of replication for the entire VPLEX cluster, across all connected RPA
sites/clusters.
Contexts
All contexts.
In /recoverpoint/ context, command is summary.
Syntax
Arguments
rp summary
Required arguments
None.
Description
This command calculates the total number of volumes and the total capacity for each RP
type and RP role it finds in the /recoverpoint/rpa-clusters context.
Also prints cumulative information.
Example
Display a VPLEX Metro with RecoverPoint RPAs deployed at both VPLEX clusters:
VPlexcli:/> rp summary
VPlexcli:/> rp summary
RecoverPoint Replication Totals:
VPLEX Cluster
378
RP Type
RP Role
Total Volumes
Total Capacity
------------cluster-1
----------Replication
----------------Production Source
Local Replica
Remote Replica
Journal
Repository
Totals:
VPLEX Cluster
------------cluster-2
RP Type
----------Replication
RP Role
----------------Production Source
Local Replica
Remote Replica
Journal
Repository
Totals:
------------2
2
0
4
1
------------9
-------------10G
10G
0G
20G
10G
-------------50G
Total Volumes
------------1
1
0
1
1
------------4
Total Capacity
-------------20G
20G
0G
20G
10G
-------------70G
See also
Field
Description
VPLEX Cluster
RP Type
Type of volume.
Journal - One or more volumes dedicated on the storage at each copy in a
RecoverPoint configuration. Journals are defined per copy, and can consist
of multiple journal volumes.
Replication - All volumes of a replication set. One production volume and
one or two replica volumes.
Repository - A special volume that must be dedicated on the SAN-attached
storage at each site, for each RPA cluster. The repository volume serves all
RPAs of the particular cluster and splitters associated with that cluster. It
stores configuration information about the RPAs and RecoverPoint
consistency groups, which enables a properly functioning RPA to
seamlessly assume the replication activities of a failing RPA from the same
cluster.
RP Role
Total Number
Volumes
Total Capacity
rp summary
379
rp validate-configuration
Validates the RecoverPoint splitter configuration.
Contexts
All contexts.
In /recoverpoint/ context, command is validate-configuration.
Syntax
Arguments
rp validate-configuration
Required arguments
None.
Description
This command checks the system configuration with respect to RecoverPoint and displays
errors or warnings if errors are detected.
For VPLEX Metro configurations, run this command on both management servers.
When RPAs are zoned to VPLEX using single-channel mode (2 RPA ports are zoned to
VPLEX front end ports, and 2 RPA ports are zoned to the VPLEX back end ports) this
command reports the ports as WARNING. This is because the command checks that all
4 ports on the RPA are zoned to both VPLEX front end and backend ports (dual-channel
mode). See Example on page 382.
Best practice is to zone every RPA port to both VPLEX front end and back end ports. For
configurations where this is not possible or desirable, this command detects the port
configuration, displays a warning. Administrators who have purposely configured
single-channel mode can safely ignore the warning.
This command performs the following checks:
Splitter checks:
VPLEX management server can reach all the attached RecoverPoint clusters
380
Storage views do not have mixed RecoverPoint and non-RecoverPoint initiator ports.
RP Cluster:
VPLEX management server can reach all the attached RecoverPoint Clusters.
Volumes checks:
Example
VPlexcli:/> rp validate-configuration
This command may take several minutes to complete. Please be patient.
==============================================================================
Validate the VPLEX Splitters
==============================================================================
Validating that VPLEX Splitters are installed
OK
Validating that all splitter versions agree
OK
Validating the VPLEX Slitter status
OK
==============================================================================
Validate Storage Views
==============================================================================
Validating that storage views do not have mixed non-recoverpoint and recoverpoint initiator
ports
OK
Validating that recoverpoint storage views have access to multiple recoverpoint ports
OK
==============================================================================
Validate Initiator Ports
==============================================================================
Validating that all the recoverpoint initiator ports are registered
OK
Validating that all the registered recoverpoint initiator ports are used
OK
==============================================================================
Validation Summary
==============================================================================
Your system appears healthy. There were no problems found in the system.
rp validate-configuration
381
Example
VPlexcli:/> rp validate-configuration
This command may take several minutes to complete. Please be patient.
.
.
.
=======================================================================
Validate the VPLEX to RPA zoning
=======================================================================
Validating that VPLEX sees all expected initiator ports from RPAs
WARNING
VPLEX does not see RPA initiator port: 0x500124804dc50283
VPLEX does not see RPA initiator port: 0x500124824dc50283
VPLEX does not see RPA initiator port: 0x500124804a00021b
VPLEX does not see RPA initiator port: 0x500124824a00021b
Validating that VPLEX sees all expected backend RPA ports
WARNING
VPLEX does not see RPA back end port: 0x500124814dc50283
VPLEX does not see RPA back end port: 0x500124834dc50283
VPLEX does not see RPA back end port: 0x500124814a00021b
VPLEX does not see RPA back end port: 0x500124834a00021b
=======================================
Validation Summary
=======================================
The following potential problems were found in the system:
1 problem(s) were found with RecoverPoint Clusters.
8 potential problem(s) were found with the zoning between VPLEX and RecoverPoint.
Example
VPlexcli:/> rp validate-configuration
.
.
.
Validating that storage views do not have mixed non-recoverpoint and recoverpoint initiator
ports
ERROR
Storage view rp-view-demo has mixed types of initiator ports.
.
.
.
==============================================================================
Validation Summary
==============================================================================
The following potential problems were found in the system:
1 problem(s) were found with storage views.
See also
382
schedule add
Schedules a job to run at the specified times.
Contexts
Syntax
Arguments
All contexts.
schedule add
[-t|--time] time
[-c|--command] command
Required arguments
[-t|--time] time - * Date and time the job executes in crontab-style format enclosed in quote
marks. Values are specified in the crontab-style format:
<Minute> <Hour> <Day of the Month> <Month> <Day of the week>
Minute - 0-59.
Hour - 0-23.
Day of the Month - 1-31.
Month - 1-12, January = 1...December = 12
Day of the week - 0-6, Sunday = 0...Saturday = 6
[-c|--command] command - * The CLI command to be executed at the specified time.
* - argument is positional.
Example
See also
schedule list
Lists all scheduled jobs.
Contexts
Syntax
All contexts.
schedule list
Example
VPlexcli:/>
[0] 30 13 *
[1] * 1 * *
[2] * 2 * *
See also
schedule list
* 3 syrcollect
* tree
* tree
383
schedule modify
Modifies an existing scheduled job.
Contexts
Syntax
Arguments
All contexts.
schedule modify
[-j|--job] job ID
[-t|--time] time
[-c|--command] command
Required arguments
[-j|--job] job ID - * ID of the scheduled job as displayed by the schedule list command.
[-t|--time] time - * Date and time the job executes in crontab-style format enclosed in quote
marks. Values are specified in the following format:
<Minute> <Hour> <Day of the Month> <Month> <Day of the week>
Minute - 0-59.
Hour - 0-23.
Day of the Month - 1-31.
Month - 1-12, January = 1...December = 12
Day of the week - 0-6, Sunday = 0...Saturday = 6
[-c|--command] command - * The CLI command to be executed at the specified time.
* - argument is positional.
Example
To modify a job with the ID of 3 so that it runs every day at 11:00 a.m. type:
VPlexcli:/>
[0] 30 13 *
[1] * 1 * *
[2] * 2 * *
[3] * 3 * *
schedule list
* 3 syrcollect
* tree
* tree
* tree
See also
schedule remove
Removes a scheduled job.
Contexts
Syntax
384
All contexts.
schedule remove
[-j|--job] job ID
Arguments
Required arguments
[-j|--job] job ID - * ID of the scheduled job as displayed by the schedule list command.
* - argument is positional.
Example
schedule list
* 3 syrcollect
* tree
* tree
* tree
See also
schedule list
* 3 syrcollect
* tree
* tree
scheduleSYR add
Schedules a weekly SYR data collection.
Contexts
Syntax
Arguments
All contexts.
scheduleSYR add
[-d|--dayOfWeek] 0-6
[-t|--hours] 0-23
[-m|--minutes] 0-59
Required arguments
[-d|--dayOfWeek] 0-6 - Day of the week run the collection.
Valid values are 0-6, where Sunday = 0...Saturday = 6.
[-t|--hours] 0-23 - Hour at which to run the collection.
[-m|--minutes] 0-59 - Minute at which to run the collection.
Description
Typically, SYR collection and reporting are configured at initial system setup. Use this
command to add a scheduled SYR collection time if none was configured.
SYR data collection can be scheduled to occur at most once a week. Attempts to add
another weekly schedule results in an error.
SYR reporting gathers VPLEX configuration files and forward them to EMC. SYR reports
provide:
Proactive maintenance
scheduleSYR add
385
To modify the existing SYR collection time, use the scheduleSYR remove command to
delete the current time, and the scheduleSYR add command to specify a new collection
time.
Example
See also
scheduleSYR list
Lists the scheduled SYR data collection job.
Contexts
Syntax
Example
All contexts.
scheduleSYR list
See also
scheduleSYR remove
Removes the currently scheduled SYR data collection job.
Contexts
Syntax
386
All contexts.
scheduleSYR remove
Description
Example
Only one SYR data collection can be scheduled. The current SYR collection cannot be
modified. To modify the SYR data collection job:
Use the scheduleSYR remove command to remove the existing collection job.
See also
script
Changes to interactive Jython scripting mode.
Contexts
Syntax
All contexts.
script
[-i|--import] module
[-u|--unimport] module
Optional arguments
[-i|--import] module - Import the specified Jython module without changing to interactive
mode. After importation, commands registered by the module are available in the CLI. If
the module is already imported, it is explicitly reloaded.
[-u|--unimport] module - Unimport the specified Jython module without changing to
interactive mode. All the commands that were registered by that module are unregistered.
Description
Changes the command mode from VPLEX CLI to Jython interactive mode.
To return to the normal CLI shell, type a period '.' and press ENTER.
Use the --import and --export arguments to import/export the specified Jython module
without changing to interactive mode.
Example
387
See also
security create-ca-certificate
Creates a new Certification Authority (CA) certificate.
Contexts
Syntax
All contexts.
security create-ca-certificate
[-l|--keylength] 384-2048
[-d|--days] 365-1825
[-o|--ca-cert-outfilename] filename
[-f|--ca-key-outfilename] filename
[-s|--ca-subject-filename] filename
Optional arguments
[-l|--keylength] length - The length (number of bits) for the CA key.
Default: 2048. Range: 384 - 2048
[-d|--days] days - Number of days that the certificate is valid.
Default: 1825 (5 years). Range: 365 - 1825.
[-o|--ca-cert-outfilename] filename - CA Certificate output filename.
Default: strongswanCert.pem.
[-f|--ca-key-outfilename] filename - CA Key output filename.
Default: strongswanKey.pem.
[-s|--ca-subject-filename] filename - Name of the CA subject information file that contains
the subject information to create the CA certificate.
Description
A management server authenticates users against account information kept on its local
file system. An authenticated user can manage resources in the clusters.
The Certification Authority (CA) is used to sign management server certificates.
The security create-ca-certificate and security create-host-certificate commands create the
CA and host certificates using a pre-configured Distinguished Name where the Common
Name is the VPLEX cluster Top Level Administrator (TLA). If the TLA is not already set, it
must be set manually to prevent certificate creation failure.
Alternatively, use the --ca-subject-filename argument to create a custom Distinguished
Name. Specify the full path of the subject file unless the subject file is in the local CLI
directory.
This command creates two objects on the management server:
388
A CA certificate file valid for 1825 days (5 years). The file is located at:
/etc/ipsec.d/cacerts/strongswanCert.pem
security create-ca-certificate
389
4. Write down the passphrase entered during the creation of host certificate.
Set up the VPN between clusters:
On the first cluster:
5. Use the security ipsec-configure command to start the VPN process.
A prompt for the passphrase used to create the host certificate is displayed.
security ipsec-configure -l 1 -r 2 -i 10.12.177.74
IMPORTANT
In VPLEX Metro and Geo configurations: Use the same CA certificate passphrase for host
certificates on management servers 1 and 2.
Example
Example
390
security create-certificate-subject
Creates a subject file used in creating security certificates.
Contexts
Syntax
Arguments
All contexts.
security create-certificate-subject
[-c|--country] country
[-s|--state] state
[-m|--org-name] organizational name
[-u|--org-unit] organizational unit
[-l|--locality] locality
[-n|--common-name] name
[-e|--email] e-mail
[-o|--subject-out-filename] filename
[--force]
Required arguments
[-o|--subject-out-filename] filename - The filename of the subject file.
Optional arguments
[-c|--country] country - The Country value for the country key in the subject file.
[-s|--state] state - The State value for the state key in the subject file.
security create-certificate-subject
391
Example
security create-host-certificate
Creates a new host certificate and signs it with an existing CA certificate.
Contexts
Syntax
All contexts.
security create-host-certificate
[-l|--keylength] 384-2048
[-d|--days] 365-730
[-o|--host-cert-outfilename] filename
[-f|--host-key-outfilename] filename
[-r|--ca-subject-filename] filename
[-c|--ca-cert-filename] ca certificate
[-k|--ca-key-filename] ca key
[-s|--host-subject-filename] filename
[-g|--get-master-ca]
Optional arguments
[-l|--keylength] length - The length (number of bits) for the CA key.
Default: 2048. Range: 384 - 2048.
[-d|--days] days - Number of days that the certificate is valid.
Default: 730 (2 years). Range: 365 - 730.
[-o|--host-cert-outfilename] filename - Host certificate output filename.
Default: hostCert.pem.
[-f|--host-key-outfilename] filename - Host key output filename.
Default: hostKey.pem.
[-r|--host-cert-req-outfilename] filename - host certificate Request output filename.
Default: hostCertReq.pem.
[-c|--ca-cert-filename] ca certificate - CA certificate used to sign the host certificate.
Default: strongswanCert.pem.
[-k|--ca-key-filename] ca key - CA Key used to sign the host certificate.
Default: strongswanKey.pem
security create-host-certificate
393
Generates a host certificate request and signs it with the Certification Authority certificate
created by the security create-ca-certificate command.
The CA Certificate and CA Key must be created prior to running this command.
The host certificate is stored at /etc/ipsec.d/certs.
The host key is stored at /etc/ipsec.d/private.
The host certificate request is stored at /etc/ipsec.d/reqs.
The CA certificate file is read from /etc/ipsec.d/cacerts.
The CA Key is read from /etc/ipsec.d/private.
Example
Create a default host certificate with the default host certificate subject information:
VPlexcli:/> security create-host-certificate
Create a custom host certificate with the default host certificate subject information:
VPlexcli:/>security create-host-certificate --host-cert-outfilename
TestHostCert.pem --host-key-outfilename TestHostKey.pem
Create a custom host certificate with custom host certificate subject information. In the
following example:
See also
security delete-ca-certificate
Deletes the specified CA certificate and its key.
Contexts
Syntax
Arguments
All contexts.
security delete-ca-certificate
[-o|--ca-cert-outfilename] filename
[-f|--ca-key-outfilename] filename
Required arguments
None (to delete default CA certificate).
Optional arguments
[-o|--ca-cert-outfilename] filename - CA Certificate output filename.
Default: strongswanCert.pem.
[-f|--ca-key-outfilename] filename - CA Key output filename.
Default: strongswanKey.pem.
Description
Example
Deletes the CA certificate and deletes the entries from the lockbox that were created by
EZ-setup.
Delete the default CA certificate and key:
VPlexcli:/> security delete-ca-certificate
Example
/etc/ipsec.d/cacerts/strongswanCert.pem
/etc/ipsec.d/private/strongswanKey.pem
395
See also
/etc/ipsec.d/cacerts/TestCACert.pem
/etc/ipsec.d/private/TestCAKey.pem
security delete-host-certificate
Deletes the specified host certificate.
Contexts
Syntax
Arguments
All contexts.
security delete-hostcertificate
[-o|--host-cert-outfilename] filename
[-f|--host-key-outfilename] filename
Required arguments
None (to delete default host certificate).
Optional arguments
[-o|--host-cert-outfilename] filename - host certificate output filename.
Default: hostCert.pem.
[-f|--host-key-outfilename] filename - Host key output filename.
Default: hostKey.pem.
Description
Example
Deletes the specified host certificate and deletes the entries from the lockbox that were
created by EZ-setup.
Delete the default host certificate and key:
VPlexcli:/> security delete-host-certificate
Example
/etc/ipsec.d/certs/hostCert.pem
/etc/ipsec.d/private/hostKey.pem
See also
396
/etc/ipsec.d/certs/TestHostCert.pem
/etc/ipsec.d/private/TestHostKey.pem
security export-ca-certificate
Exports a CA certificate and CA key to a given location.
Contexts
Syntax
Arguments
All contexts.
security export-ca-certificate
[-c|--ca-cert-filepath] absolute path
[-k|--ca-key-filepath] absolute path
[-e|--ca-export-location] export location
Required arguments
[-e|--ca-export-location] absolute path - The absolute path of the location to which to
export the CA Certificate and CA Key.
Optional arguments
[-c|--ca-cert-filepath] absolute filepath - The absolute path of the CA certificate file to
export.
Default: /etc/ipsec.d/cacerts/strongswanCert.pem.
[-k|--ca-key-filepath] absolute filepath - The absolute path of the CA Key file to export.
Default: /etc/ipsec.d/private/strongswanKey.pem.
Description
Example
Example
Export a custom CA certificate and it's key (created using the security create-ca-certificate
command) to /var/log/VPlex/cli:
See also
security export-ca-certificate
397
security export-host-certificate
Exports a host certificate and host key to the specified location.
Contexts
Syntax
Arguments
All contexts.
security export-host-certificate
[-c|--host-cert-filepath] absolute path
[-k|--host-key-filepath] absolute path
[-e|--host-export-location] export location
Required arguments
[-e|--host-export-location] absolute path - The absolute path of the location to which to
export the host certificate and host key.
Optional arguments
[-c|--host-cert-filepath] absolute filepath - The absolute path of the host certificate file to
export.
Default: /etc/ipsec.d/certs/hostCert.pem
[-k|--host-key-filepath] absolute filepath - The absolute path of the host key file to export.
Default: /etc/ipsec.d/private/hostKey.pem
Description
Example
Example
Export a custom host certificate and it's key (created using the security
create-host-certificate command) to /var/log/VPlex/cli:
See also
398
security import-ca-certificate
Imports a CA certificate and CA key from a given location.
Contexts
Syntax
Arguments
All contexts.
security import-ca-certificate
[-c|--ca-cert-filepath] absolute path
[-k|--ca-key-filepath] absolute path
[-i|--ca-cert-import-location] import location
[-j|--ca-key-import-location] import location
Required arguments
[-c|--ca-cert-filepath] absolute path The absolute path of the CA certificate file to import.
[-k|--ca-key-filepath] absolute path - The absolute path of the CA key file to import.
Optional arguments
[-i|--ca-cert-import-location] import location - The absolute path of the location to which to
import the CA certificate.
Default location - /etc/ipsec.d/cacerts.
[-j|--ca-key-import-location] import location - The absolute path of the location to which to
import the CA certificate.
Default location - /etc/ipsec.d/private.
Description
Example
Import the CA certificate and its key from a specified location to the default CA certificate
and key location (/var/log/VPlex/cli):
Example
Import the CA certificate and key from /var/log/VPlex/cli directory to a custom location:
399
See also
security import-host-certificate
Imports a host certificate and host key from a given location.
Contexts
Syntax
Arguments
All contexts.
security import-host-certificate
[-c|--host-cert-filepath] absolute path
[-k|--host-key-filepath] absolute path
[-i|--host-cert-import-location] import location
[-j|--host-key-import-location] import location
Required arguments
[-c|--host-cert-filepath] absolute path - The absolute path of the host certificate file to
import.
[-k|--host-key-filepath] absolute path - The absolute path of the host key file to import.
Optional arguments
[-i|--host-cert-import-location] import location - The absolute path of the location to which
to import the host certificate.
Default location - /etc/ipsec.d/certs.
[-j|--host-key-import-location] import location - The absolute path of the location to which
to import the host certificate.
Default location - /etc/ipsec.d/private.
Description
Example
400
Example
Import the host certificate and it's key from /var/log/VPlex/cli to a custom host certificate
and key location:
See also
security ipsec-configure
Configures IPSec after the CA and host certificates have been created.
Contexts
Syntax
Arguments
All contexts.
security ipsec-configure
[-i|--remote-ms-ipaddr] Remote IP address
[-c|--host-cert-filename] host certificate
[-k|--host-key-filename] host key
Required arguments
[-i|--remote-ms-ipaddr] Remote IP address - IP address of the remote management server.
Optional arguments
[-c|--host-cert-filename] host certificate - host certificate filename.
[-k|--host-key-filename] host key - host key filename.
Description
Enables the IPSec service at rc3, rc4, and rc5 run levels.
401
402
On the first cluster, the vpn status command confirms that the VPN to the second
cluster is up
On the second cluster, the vpn status command confirms that the VPN to the first
cluster is up
VPlexcli-1
VPlexcli-2
VPlexcli-1
VPlexcli:/> vpn status
Verifying the VPN status between the management servers...
IPSEC is UP
Remote Management Server at IP Address 10.6.209.33 is reachable
Remote Internal Gateway addresses are reachable
security remove-login-banner
Removes the login banner from the management server.
Contexts
Syntax
Arguments
All contexts.
security remove-login-banner
[-f|--force]
Required arguments
None.
Optional arguments
[-f|--force] - Forces the removal of the login banner without asking for any user
confirmation. Allows this command to be run from non-interactive scripts.
Description
security remove-login-banner
403
Example
See also
security renew-all-certificates
Renews CA and host security certificates.
Contexts
Syntax
All contexts.
security renew-all-certificates
Arguments
None.
Description
When VPLEX is installed, EZ-Setup creates one CA certificate and two or three host
certificates:
Starting in Release 5.0.1 Patch, use the security renew-all-certificates CLI command to
renew all security certificates on a VPLEX system.
In Metro and Geo systems, run the command twice, once on each cluster. For systems with
VPLEX Witness deployed, make sure you run the command first on the cluster where
VPLEX Witness was initially installed. See Before you begin: on page 406 for the steps to
determine the correct cluster.
You can use the command at any time to renew certificates whether or not they are about
to expire.
Each certificate has an associated passphrase. For releases prior to 4.2, VPLEX was not
aware of any passphrases. For releases after 4.2, VPLEX may or may not be aware of
passphrases. Previous to 5.0.1 Patch, VPLEX is never aware of the passphrase for the
VPLEX Witness certificate. During renewal, you are prompted to enter any passphrases
that VPLEX does not know.
After renewal, VPLEX is aware of all passphrases.
There are two general methods for renewing passphrases:
404
VPLEX may find the current passphrases for the CA, VPN, and Web server security
certificates, but prior to 5.0.1 Patch, never finds the current passphrase for the VPLEX
Witness security certificate.
If you choose to renew the certificates using their current passphrases, you are
prompted to provide the passphrase for any certificate that VPLEX does not find.
IMPORTANT
In Metro and Geo systems, you are always prompted for the Certificate Authority (CA)
passphrase when you run the command on the second cluster.
In Metro and Geo systems, do not renew the security certificates using the current
passphrases if you do not have a record of the Certificate Authority (CA) passphrase. You
must provide the current CA passphrase when you renew the certificates on the second
cluster. If you do not have a record of the CA passphrase, do not renew the certificates
until you have the passphrase or renew with a common passphrase.
VPLEX Local
If
405
Navigate to the /ect/ssl directory on the management servers, and see on which
cluster the file index.txt includes this string: CN=VPlex VPN CWS. If the string is
present, run the renewal command on that cluster first.
Use the vpn status command to verify that the VPN tunnel between clusters is
operational, and the Cluster Witness Server is reachable. Do not proceed if these
conditions are not present.
Expiration Date
-----------------------Sep 12 17:10:10 2013 GMT
Sep 12 17:10:18 2013 GMT
Sep 11 17:10:08 2016 GMT
Sep 12 17:10:16 2013 GMT
The certificates above will be renewed, to expire on the dates shown. Do you want to
continue?(Y/N): y
Would you like to renew the certificates using the current passphrases? (Y/N): y
Some or all of the passphrases are not available, so new passphrases must be created:
Please create a passphrase (at least 8 chars) for the Certificate Authority renewal:
CA-passphrase
Re-enter the passphrase for the Certificate Key: CA-passphrase
Please create a passphrase (at least 8 chars) for the VPN certificate renewal: VPN-passphrase
Re-enter the passphrase for the Certificate Key: VPN-passphrase
Please create a passphrase (at least 8 chars) for the web certificate renewal: WEB-passphrase
406
Expiration Date
-----------------------Sep 12 17:13:04 2013 GMT
Sep 11 17:10:08 2016 GMT
Sep 12 17:13:09 2013 GMT
The certificates above will be renewed, to expire on the dates shown. Do you want to continue?
(Y/N): y
Would you like to renew the certificates using the current passphrases? (Y/N): y
Some or all of the passphrases are not available, so new passphrases must be created:
Please enter the 'service' account password( 8 chars ) for the Remote Management Server:
Mi@Dim7T
Re-enter the password: Mi@Dim7T
security renew-all-certificates
407
Please enter the passphrase for the Certificate Authority on the remote cluster: CA-passphrase
Re-enter the passphrase for the Certificate Key: CA-passphrase
Please create a passphrase (at least 8 chars) for the VPN certificate renewal: VPN-passphrase
Re-enter the passphrase for the Certificate Key: VPN-passphrase
Please create a passphrase (at least 8 chars) for the web certificate renewal: WEB-passphrase
Re-enter the passphrase for the Certificate Key: WEB-passphrase
Renewing CA certificate...
The CA certificate was successfully renewed.
Renewing VPN certificate...
The VPN certificate was successfully renewed.
Renewing WEB certificate...
Your Java Key Store has been created.
https keystore: /var/log/VPlex/cli/.keystore
started web server on ports {'http': 49880, 'https': 49881}
The Web certificate was successfully renewed.
Generating certificate renewal summary...
See also
security set-login-banner
Applies a text file as the login banner on the management server.
Contexts
Syntax
Arguments
All contexts.
security set-login-banner
[-b|--login-banner-file] file
[-f|--force]
Required arguments
[-b|--login-banner-file] file - Full pathname to the file containing the formatted login banner
text.
408
Optional arguments
[-f|--force] - Forces the addition of the login banner without asking for any user
confirmation. Allows this command to be run from non-interactive scripts.
Description
This command sets the login banner for the management server. This command applies
the contents of the specified text file as the login banner.
The change takes effect at the next login to the management server.
The formatting of the text in the specified text file is replicated in the banner.
There is no limit to the number of characters or lines in the specified text file.
Use this command to create a customized login banner. The formatting of the text in the
specified text file is replicated in the banner.
Example
In the following example, a text file login-banner.txt containing the following lines is
specified as the login banner:
VPLEX cluster-1/Hopkinton
Test lab 3, Room 6, Rack 47
Metro with RecoverPoint CDP
VPlexcli:/> security set-login-banner -b
/home/service/login-banner.txt
The text provided in the specified file will be set as the Login banner
for this management server.
Any previously applied banner will be overwritten.
Do you want to proceed ? (Yes/No) Yes
At next login to the management server, the new login banner is displayed:
login as: service
VPLEX cluster-1/Hopkinton
Test lab 3, Room 6, Rack 47
Metro with RecoverPoint CDP
Password:
See also
security set-login-banner
Set the login banner for the management server.
Contexts
Syntax
Arguments
All contexts.
security set-login-banner
[-b|--logon-banner-file] filename
[-f|--force]
Required arguments
[-b|login-banner-file] path to text file - Full path to a text file that contains the login banner.
security set-login-banner
409
Optional arguments
[-f|--force] - Applies the text file without confirmation. Allows this command to be run from
non-interactive scripts
Description
The default login banner for the management server is: Using keyboard-interactive
authentication. For example:
login as: service
Using keyboard-interactive authentication.
Password:
In the following example a text file banner.txt located in the /home/service directory is
applied as the login banner:
VPlexcli:/> security set-login-banner -b /home/service/banner.txt
The content provided in 'banner.txt' will be set as the Login banner
for this management server.
Previously applied banner, if any, will be overriden with this.
Do you want to proceed? (Yes/No) Yes
security show-cert-subj
Displays the certificate subject file.
Contexts
Syntax
Arguments
All contexts.
security show-cert-subj
[s|--subject-infilename] filename
Required arguments
[-s|--subject-infilename] filename - Filename of the certificate subject file to display. The
file is assumed to reside in the following directory on the management server:
/var/log/VPlex/cli
Description
Example
See also
sessions
Displays active Unisphere for VPLEX sessions.
410
Contexts
Syntax
All contexts.
sessions
Description
Displays the username, hostname, port and start time of active sessions to the Unisphere
for VPLEX.
Example
VPlexcli:/> sessions
Type
Username Hostname
Port
Creation Time
------------- -------- --------- -------------------------------TELNET_SHELL
service
localhost 23848 Wed Sep 15 15:34:33 UTC 2010
DEFAULT_SHELL Tue Aug 03 17:16:07 UTC 2010
set
Changes the value of a writable attribute(s) in the given context.
Contexts
Syntax
All contexts.
set
[-d|--default]
[-f|--force]
[-a|--attributes] selector pattern
[-v|--value] new value
Optional arguments
[-d|--default] - Sets the specified attribute(s) to the default values, if any exist. If no
attributes are specified, displays the default values for attributes in the current/specified
given context.
[-f|--force] - Force the value to be set, bypassing any confirmations or guards.
[-a|--attributes] selector pattern - * Attribute selector pattern.
[-v|--value] new value - * The new value to assign to the specified attribute(s).
* - argument is positional.
Description
Use the set command with no arguments to display the attributes available in the current
context.
Use the set --default command with no additional arguments to display the default values
for the current context or a specified context.
Use the set command with an attribute pattern to display the matching attributes and the
required syntax for their values.
Use the set command with an attribute pattern and a value to change the value of each
matching attribute to the given value.
An attribute pattern is an attribute name optionally preceded with a context glob pattern
and a double-colon (::). The pattern matches the named attribute on each context
matched by the glob pattern.
If the glob pattern is omitted, set assumes the current context.
If the value and the attribute name are omitted, set displays information on all the
attributes on all the matching contexts.
set
411
Example
Display which attributes are writable in the current context, and their valid inputs:
VPlexcli:/distributed-storage/distributed-devices/TestDisDevice> set
attribute
input-description
------------------------------------------------------------------------------------------------------application-consistent Takes one of '0', '1', 'f', 'false', 'n', 'no', 'off', 'on', 't', 'true', 'y', 'yes'
(not case sensitive).
auto-resume
Takes one of '0', '1', 'f', 'false', 'n', 'no', 'off', 'on', 't', 'true', 'y', 'yes'
(not case sensitive).
block-count
Read-only.
block-size
Read-only.
capacity
Read-only.
clusters-involved
Read-only.
.
.
.
Use the --default argument without any attribute(s) to display the default values for the
current (or specified) context's attributes:
Example
Example
Example
Example
Set the remote IP address and started attributes for SNMP traps:
Example
Example
application-consistent
.
.
.
storage-volumetype
system-id
thin-rebuild
total-free-space
use
used-by
vendor-specific-name
Example
false
normal
VPD83T3:6006016091c50e005057534d0c17e011
true
2G
claimed
[]
DGC
Use the set enabled false --force command in notifications/call-home context to disable
call-home notifications (recommended during disruptive operations):
VPlexcli:/> cd /notifications/call-home/
VPlexcli:/notifications/call-home> set enabled false --force
Use the set enabled true command in notifications/call-home context to enable call-home
notifications:
VPlexcli:/> cd /notifications/call-home/
VPlexcli:/notifications/call-home> set enabled true
Example
VPlexcli:/engines/engine-1-1/directors/director-1-1-A/hardware/ports> ll
Name
Address
Role
------- ----------------------------------------------------- --------------- ----------------------------------------------------- --------A5-GE00 192.168.11.35
wan-com
A5-GE01 10.6.11.35
wan-com
IS00
iqn.2010-01.com.emc.lss:vplex.cluster1.46e00d7a.port4 front-end
IS01
iqn.2010-01.com.emc.lss:vplex.cluster1.46e00d7a.port5 front-end
IS02
iqn.2010-01.com.emc.lss:vplex.cluster1.46e00d7a.port6 back-end
IS03
iqn.2010-01.com.emc.lss:vplex.cluster1.46e00d7a.port7 back-end
Port
Status
-----up
up
down
down
down
down
Example
Port
Status
-----up
up
up
down
up
down
VPlexcli:/clusters/cluster-1/virtual-volumes/EMC-CLARiiON-0075-VNX-LUN122_1_vol>
set -a name -v new_name
VPlexcli:/clusters/cluster-1/virtual-volumes/new_name> ll
Name
Value
------------------ -----------------------------------------------
set
413
block-count
block-size
cache-mode
capacity
consistency-group
expandable
health-indications
health-state
locality
operational-status
scsi-release-delay
service-status
storage-tier
supporting-device
system-id
volume-type
2621440
4K
synchronous
10G
true
[]
ok
local
ok
0
running
device_EMC-CLARiiON-APM00113700075-VNX_LUN122_1
EMC-CLARiiON-0075-VNX-LUN122_1_vol
virtual-volume
Return to the virtual-volumes context and change directory to the new name:
VPlexcli:/clusters/cluster-1/virtual-volumes/new_name> cd ..
VPlexcli:/clusters/cluster-1/virtual-volumes> cd new_name
Run a listing on the volume to display the new name for the system-id:
VPlexcli:/clusters/cluster-1/virtual-volumes/new_name> ll
Name
Value
------------------ ----------------------------------------------block-count
2621440
block-size
4K
cache-mode
synchronous
capacity
10G
consistency-group
expandable
true
health-indications []
health-state
ok
locality
local
operational-status ok
scsi-release-delay 0
service-status
running
storage-tier
supporting-device
device_EMC-CLARiiON-APM00113700075-VNX_LUN122_1
system-id
new_name
volume-type
virtual-volume
See also
set topology
Changes the topology attribute for a Fibre Channel port.
Contexts
Syntax
Arguments
/engines/engine/directors/director/hardware/ports/port
set topology [p2p|loop]
Required arguments
p2p - Sets the ports topology as point-to-point. The port comes up as an F-port.
414
Use the p2p topology to connect the Fibre Channel fabric to a node.
loop - Sets the ports topology as loop. The port comes up as an FL-Port.
Use the loop topology to connect a Fibre Channel Arbitrated Loop (ring-style network
topology) to a fabric.
Description
Example
VPlexcli:/> cd /engines/engine-1-1/directors/Cluster_1_Dir1A/hardware/ports/A4-FC02
VPlexcli:/engines/engine-1-1/directors/Cluster_1_Dir1A/hardware/ports/A4-FC02> set topology
p2p
VPlexcli:/engines/engine-1-1/directors/Cluster_1_Dir1A/hardware/ports/A4-FC02> ll
Name
Value
------------------ -----------------address
0x5000144240014742
current-speed
8Gbits/s
description
enabled
true
max-speed
8Gbits/s
node-wwn
0x500014403ca00147
operational-status ok
port-status
up
port-wwn
0x5000144240014742
protocols
[fc]
role
wan-com
target-port
topology
p2p
See also
show-use-hierarchy
Display the complete usage hierarchy for a storage element from the top-level element
down to the storage-array.
Contexts
Syntax
Arguments
All contexts.
show-use-hierarchy
[-t|--targets] context path,context path,...
Required arguments
[-t|--targets] context path, context path,... - * Comma separated list of target storage
elements. Each target requires a fully qualified path.
You can specify meta, logging and virtual volumes, local and distributed devices, extents,
storage-volumes or logical-units on a single command line.
Note: A complete context path to the targets must be specified. For example:
show-use-hierarchy /clusters/cluster-1/storage-elements/storage-volumes/volume
show-use-hierarchy
415
or:
show-use-hierarchy /clusters/cluster-1/storage-elements/storage-volumes/*
* - argument is positional.
This command drills from the specified target up to the top-level volume and down to the
storage-array. The command will detect sliced elements, drill up through all slices and
indicate in the output that slices were detected. The original target is highlighted in the
output. '
Example
VPlexcli:/> show-use-hierarchy -t
/distributed-storage/distributed-devices/r1_crossClusterDeviceMigrationSrc_C2_CHM_0001
storage-view: chimera_setupTearDown_C2 (cluster-2)
virtual-volume: r1_crossClusterDeviceMigrationSrc_C2_CHM_0001_vol (5G, distributed @
cluster-1, running)
distributed-device: r1_crossClusterDeviceMigrationSrc_C2_CHM_0001 (5G, raid-1)
distributed-device-component:
r1_crossClusterDeviceMigrationSrc_C2_CHM_00012012Jul25_051049 (5G, raid-1, cluster-2)
extent: extent_r1_crossClusterDeviceMigrationSrc_C2_CHM_0001_0 (5G)
storage-volume: VPD83T3:60000970000192601690533031364331 (100G, 30 slices)
logical-unit: VPD83T3:60000970000192601690533031364331
storage-array: EMC-SYMMETRIX-192601690
extent: extent_r1_crossClusterDeviceMigrationSrc_C2_CHM_0001_1 (5G)
storage-volume: VPD83T3:60000970000192601690533031364330 (100G, 30 slices)
logical-unit: VPD83T3:60000970000192601690533031364330
storage-array: EMC-SYMMETRIX-192601690
distributed-device-component: r1_crossClusterDeviceMigrationTgt_C1_CHM_0001 (5G, raid-1,
cluster-1)
extent: extent_r1_crossClusterDeviceMigrationTgt_C1_CHM_0001_0 (5G)
storage-volume: VPD83T3:60000970000192601690533031364231 (100G, 30 slices)
logical-unit: VPD83T3:60000970000192601690533031364231
storage-array: EMC-SYMMETRIX-192601690
extent: extent_r1_crossClusterDeviceMigrationTgt_C1_CHM_0001_1 (5G)
storage-volume: VPD83T3:60000970000192601690533031364230 (100G, 30 slices)
logical-unit: VPD83T3:60000970000192601690533031364230
storage-array: EMC-SYMMETRIX-192601690
Example
VPlexcli:/clusters/cluster-1/system-volumes/meta_1> cd
VPlexcli:/> show-use-hierarchy /clusters/cluster-1/system-volumes/meta_1
meta-volume: meta_1 (78G, raid-1, cluster-1)
storage-volume: VPD83T3:6006016047a02d0046a94fcee916e111 (78G)
logical-unit: VPD83T3:6006016047a02d0046a94fcee916e111
storage-array: EMC-CLARiiON-APM00114103169
storage-volume: VPD83T3:60060480000190300487533030363245 (80G)
logical-unit: VPD83T3:60060480000190300487533030363245
storage-array: EMC-SYMMETRIX-190300487
Example
Example
416
VPlexcli:/clusters/cluster-1/storage-elements/extents> show-use-hierarchy
rC_C1_ramcloud_0180_extent_0
virtual-volume: rC_C1_ramcloud_0180_vol (200G, local @ cluster-1, unexported)
local-device: rC_C1_ramcloud_0180 (200G, raid-c, cluster-1)
extent: rC_C1_ramcloud_0180_extent_0 (100G)
storage-volume: VPD83T3:60001440000000103017dfea883553bb (100G)
logical-unit: VPD83T3:60001440000000103017dfea883553bb
storage-array: EMC-Invista-14403b
extent: rC_C1_ramcloud_0180_extent_1 (100G)
storage-volume: VPD83T3:60001440000000103017dfea883553b9 (100G)
logical-unit: VPD83T3:60001440000000103017dfea883553b9
storage-array: EMC-Invista-14403b
See also
sms dump
Collects the logs files on the management server.
Contexts
Syntax
Arguments
All contexts.
sms dump
[-d|--destination-directory] destination directory
[-t|--target_log] target logName
Required arguments
[-d| --destination-directory] destination directory - Destination directory for the sms dump
logs.
Optional arguments
[-t|--target_log] target logName - Collect only files specified under logName from
smsDump.xml.
Description
Clilogs
/var/log/VPlex/cli/client.log* -- VS1CLI logs, logs dumped by VS1cli scripts
/var/log/VPlex/cli/session.log* -- what the user does in a VS1CLI session
/var/log/VPlex/cli/firmware.log* -- nsfw.log files from all directors
ConnectEMC
/var/log/ConnectEMC/logs/* -- connectemc logs
/opt/emc/connectemc/archive -- connectemc logs
/opt/emc/connectemc/failed -- connectemc logs
/opt/emc/connectemc/*.xml -- connectemc logs
/opt/emc/connectemc/*.ini -- connectemc logs
/var/log/VPlex/cli/ema_adaptor.log*
sms dump
417
Configuration
/var/log/VPlex/cli/*.config
/var/log/VPlex/cli/*xml
/var/log/VPlex/cli/*.properties
/var/log/VS1/cli/persistentstore.xml -- generated when user connects to VS1CLI
/var/log/VPlex/cli/connections -- what the VS1CLI is connected to.
/var/log/VPlex/cli/VPlexcommands.txt
/var/log/VPlex/cli/VPlexconfig.xml
/var/log/VPlex/cli/VPlexcli-init
/opt/vs1/backup/*.ini
/opt/vs1/backup/*.xml
/opt/emc/VPlex/*.xml
/opt/emc/VPlex/*.properties
Upgrade
/var/log/VPlex/cli/capture/* (ndu status files)
/tmp/VPlexInstallPackages/*.xml
/tmp/VPlexInstallPackages/*.properties
/tmp/VPlexInstallPackages/*.log
/var/log/install.log
System
/var/log/warn*
/var/log/messages*
/var/log/boot.msg
/var/log/boot.omsg
/var/log/firewall
/etc/sysconfig/SuSEfirewall2
/etc/sysconfig/network/ifcfg*
/etc/sysconfig/network/ifroute*
/etc/sysctl.conf
Example
Collect the logs files on the management server and send them to the designated
directory:
VPlexcli:/> sms dump --destination-directory /var/log/VPlex/cli
Initiating sms dump...
sms dump completed to file
/var/log/VPlex/cli/smsDump_2010-09-15_16.40.20.zip.
418
See also
snmp-agent configure
Configures the VPLEX SNMP agent service on the local cluster.
Contexts
Syntax
Description
All contexts.
snmp-agent configure
Configures SNMP agent on the local cluster, and starts the SNMP agent.
snmp-agent configure checks the number of directors in the local cluster and configures
the VPLEX SNMP agent on the VPLEX management server. Statistics can be retrieved from
all directors in the local cluster.
Note: All the directors have to be operational and reachable through the VPLEX
management server before the SNMP agent is configured.
When configuration is complete, the VPLEX snmp-agent starts automatically.
The VPLEX SNMP agent:
Runs on the management server and fetches performance related data from individual
directors using a firmware specific interface.
Provides SNMP MIB data for directors for the local cluster only.
Runs on Port 161 of the management server and uses the UDP protocol.
snmp-agent configure
419
See also
snmp-agent start
Starts the SNMP agent service.
Contexts
Syntax
Description
All contexts.
snmp-agent start
Example
See also
snmp-agent status
Displays the SNMP agent service on the local cluster.
Contexts
Syntax
Description
Example
All contexts.
snmp-agent status
See also
420
snmp-agent stop
Stops the SNMP agent service.
Contexts
Syntax
Description
All contexts.
snmp-agent stop
Example
See also
snmp-agent unconfigure
Destroys the SNMP agent.
Contexts
Syntax
Description
All contexts.
snmp-agent unconfigure
Unconfigures the SNMP agent on the local cluster, and stops the agent.
Example
See also
source
Reads and executes commands from a script.
Contexts
Syntax
All contexts.
source
[-f|--file] filename
snmp-agent stop
421
Arguments
Required arguments
[-f| --file] filename - * Name of the script file to read and execute.
* - argument is positional.
Description
Example
In the following example, a text file Source.txt contains only two commands:
service@ManagementServer:/var/log/VPlex/cli> cat Source.txt
version -a
exit
When executed:
The first command in the file is run
The exit command exits the command shell
VPlexcli:/> source --file /var/log/VPlex/cli/Source.txt
What
Version
---------------------------------------------- -------------Product Version
4.1.0.00.00.12
SMSv2
0.16.15.0.0
Mgmt Server Base
D4_MSB_7
Mgmt Server Software
D4.70.0.9
/engines/engine-2-1/directors/Cluster_2_Dir_1B 1.2.43.9.0
/engines/engine-2-1/directors/Cluster_2_Dir_1A 1.2.43.9.0
/engines/engine-1-1/directors/Cluster_1_Dir1B
1.2.43.9.0
/engines/engine-1-1/directors/Cluster_1_Dir1A
1.2.43.9.0
/engines/engine-2-2/directors/Cluster_2_Dir_2B 1.2.43.9.0
/engines/engine-2-2/directors/Cluster_2_Dir_2A 1.2.43.9.0
Info
----
See also
storage-tool compose
Creates a virtual-volume on top of the specified storage-volumes, building all intermediate
extents, local, and distributed devices as necessary.
Contexts
Syntax
Arguments
All contexts.
storage-tool compose
[-n|--name] name
[-g|--geometry] {raid-0|raid-1|raid-c}
[-d|--storage-volumes] storage-volume [, storage-volume...]
[-s|--source-storage-volume] storage-volume
[-h|--help]
[--verbose]
Required arguments
None
Optional arguments
[-n|--name] name - * Specifies the name for the new virtual volume. Must be unique across
the system.
422
[-g|--geometry] {raid-0|raid-1|raid-c} - * Specifies the desired geometry to use for the local
devices at each cluster. Valid values are raid-0, raid-1, or raid-c.
[-d|--storage-volumes] storage-volume [, storage-volume...] - * Specifies a list of storage
volumes from which to build the virtual volume. These may be claimed, but must be
unused.
[-s|--source-storage-volume] storage-volume - Specifies the storage volume to use as a
source mirror when creating local and distributed devices.
Note: If specified, --source-storage-volume will be used as a source-mirror when creating
local and distributed RAID 1 devices. This will trigger a rebuild from the source-mirror to all
other mirrors of the RAID 1 device (local and distributed). While the rebuild is in progress
the new virtual volume (and supporting local and/or distributed devices) will be in a
degraded state, which is normal. This option only applies to RAID 1 local or distributed
devices. The --source-storage-volume may also appear in --storage-volumes.
[-h|--help] - Displays command line help.
[--verbose] - Provides more help during command execution. This may not have any effect
for some commands.
* - argument is positional.
Description
This command supports building local or distributed (i.e., DR1-based) virtual volumes
with RAID 0, RAID 1, or RAID C local devices. It does not support creating multi-device
storage hierarchies (i.e., a RAID 1 on RAID 0s on RAID Cs).
For RAID 1 local devices, a maximum of eight legs may be specified.
Note: In the event of an error, the command will not attempt to perform a roll-back and
destroy any intermediate storage objects it has created. If cleanup is necessary, use the
show-use-hierarchy command on each storage-volume to identify all residual objects and
delete each one manually.
Example
Create a virtual volume with RAID 1 local devices and specified storage volumes:
See also
storage-volume auto-unbanish-interval
Displays or changes auto-unbanish interval on a single director.
Contexts
All contexts.
In /clusters/cluster/storage-elements/storage-volumes context, command is
auto-unbanish-interval.
storage-volume auto-unbanish-interval
423
Syntax
Arguments
storage-volume auto-unbanish-interval
[-n|--director] context path
[-i|--interval] [seconds]
Required arguments
[-n|--director] context path - * The director on which to show or change the delay for
automatic unbanishment.
Optional arguments
[-i|--interval] [ seconds] - Number of seconds the director firmware waits before
unbanishing a banished storage-volume (LUN).
Range: 20 seconds - no upper limit.
Default: 30 seconds.
* - argument is positional.
Description
Example
424
See also
storage-volume claim
Claims the specified storage volumes.
Contexts
All contexts.
In /clusters/cluster/storage-elements/storage-volumes context, command is claim.
Syntax
Arguments
storage-volume claim
[--appc]
[-n|--name] new name
--thin-rebuild
--batch-size integer]
[-d|--storage-volumes] context path,context path...
[-f|--force]
Required arguments
[-d|--storage-volumes] context path,context path... - * List of one or more storage volumes
to claim.
Optional arguments
[--appc] - Make the specified storage volumes application consistent. Prevents data
already on the specified storage volumes from being deleted or overwritten during the
process of constructing a virtual volume.
After a virtual volume is constructed using this storage volume, there is no restriction on
the access to the data, i.e. the data can be overwritten by host I/O.
The application consistent attribute may be modified using the set command but only
when the storage-volume is in the claimed state. The application consistent attribute
may not be altered for storage volumes that are unclaimed or in use.
[-n|--name] new name - The new name of the storage-volume after it is claimed.
--thin-rebuild - Claims the specified storage volumes as thin. Thin storage allocates
blocks of data on demand versus allocating all the blocks up front.
If a storage volume has already been claimed, it can be designated as thin using the set
command.
--batch-size integer - When using wildcards to claim multiple volumes with one command,
the maximum number of storage volumes to claim at once.
[-f|--force] - Force the storage-volume to be claimed. For use with non-interactive scripts.
* - argument is positional.
storage-volume claim
425
Description
A storage volume is a device or LUN that is visible to VPLEX. The capacity of storage
volumes is used to create extents, devices and virtual volumes.
Storage volumes must be claimed, and optionally named before they can be used in a
VPLEX cluster. Once claimed, the storage volume can be used as a single extent occupying
the volumes entire capacity, or divided into multiple extents (up to 128).
This command can fail if there is not a sufficient number of meta volume slots. See the
generator troubleshooting section for a resolution to this problem.
Thin provisioning
Thin provisoning allows storage to migrate onto a thinly provisioned storage volumes
while allocating the minimal amount of thin storage container capacity.
Thinly provisioned storage volumes can be incorporated into RAID 1 mirrors with similar
consumption of thin storage container capacity.
VPLEX preserves the unallocated thin pool space of the target storage volume by detecting
zeroed data content before writing, and suppressing the write for cases where it would
cause an unnecessary allocation. VPLEX requires the user to specify thin provisioning for
each back-end storage volume. If a storage volume is thinly provisioned, the thin-rebuild
attribute must be to true either during or after claiming.
If a thinly provisioned storage volume contains non-zero data before being connected to
VPLEX, the performance of the migration or initial RAID 1 rebuild is adversely affected.
System volumes are supported on thinly provisioned LUNs, but these volumes must have
their full capacity of thin storage container resources set aside and not be in competition
for this space with any user-data volumes on the same pool.
If:
further writing to a thinly provisioned device causes the volume to lose access to the
device, a DU.
Example
The claim command claims the specified unclaimed storage volume from the
clusters/cluster/storage-elements/storage-volumes context.
VPlexcli:/clusters/cluster-1/storage-elements/storage-volumes>ll
.
.
426
Name
------------------------------------------------------------------------------Basic_c1_ramdisk_100GB_684_
Basic_c1_ramdisk_100GB_685_
Basic_c1_ramdisk_100GB_686_
Basic_c1_ramdisk_100GB_687_
Basic_c1_ramdisk_100GB_688_
Basic_c1_ramdisk_100GB_689_
Basic_c1_ramdisk_100GB_68_
Basic_c1_ramdisk_100GB_690_
Basic_c1_ramdisk_100GB_691_
Basic_c1_ramdisk_100GB_692_
VPD83 ID
------------------------------------------------------------------------------VPD83T3:60001440000000103017dfea88355431
VPD83T3:60001440000000103017dfea88355433
VPD83T3:60001440000000103017dfea88355435
VPD83T3:60001440000000103017dfea88355437
VPD83T3:60001440000000103017dfea88355439
VPD83T3:60001440000000103017dfea8835543b
VPD83T3:60001440000000103017dfea88354f61
VPD83T3:60001440000000103017dfea8835543d
VPD83T3:60001440000000103017dfea8835543f
VPD83T3:60001440000000103017dfea88355441
Capacity
--------------100G
100G
100G
100G
100G
100G
100G
100G
100G
100G
Use
----------------claimed
claimed
claimed
claimed
claimed
claimed
claimed
claimed
claimed
claimed
Vendor
----------EMC
EMC
EMC
EMC
EMC
EMC
EMC
EMC
EMC
EMC
IO
Status
-----alive
alive
alive
alive
alive
alive
alive
alive
alive
alive
Type
--------------------normal
normal
normal
normal
normal
normal
normal
normal
normal
normal
Thin
Rebuild
----false
false
false
false
false
false
false
false
false
false
VPlexcli:/clusters/cluster-1/storage-elements/storage-volumes>claim --storage-volumes
VPD83T3:6006016021d025007029e95b2327df11
Example
Claim a storage volume and name it Symm1254_7BF from the clusters/cluster context:
Example
-d
Claim storage volumes using the --thin-rebuild option. In the following example:
The claim command with --thin-rebuild claims two storage volumes as thin storage
(from the clusters/cluster/storage-elements/storage-volumes context)
storage-volume claim
427
used-by
vendor-specific-name
Example
[]
DGC
See also
storage-volume claimingwizard
Finds unclaimed storage volumes, claims them, and names them appropriately.
Contexts
All contexts.
In /clusters/cluster/storage-elements/storage-volumes context, command is
claimingwizard.
Syntax
Arguments
storage-volume claimingwizard
[-c|--cluster] cluster
[-f|--file] file,file...
[-d|--dryRun]
[-t|--set-tier] list
[--force]
--appc
--thin-rebuild
Required arguments
None.
Optional arguments
[-c|--cluster] cluster - Cluster on which to claim storage.
[-f|--file] file,file... - List of one or more files containing hints for storage-volume naming,
separated by commas. Required for claiming volumes on storage arrays that do not
include their array and serial number in response to SCSI inquiries.
[-d|dryRun] - Do a dry-run only, do not claim and name the storage volumes.
[-t|--set-tier] list - Set a storage tier identifier per storage array in the storage-volume
names. Type multiple arrayName, tier-character pairs separated by commas. Storage tier
identifiers cannot contain underscores.
[--force] - Forces a successful run of the claimingwizard. For use with non-interactive
scripts.
--appc - Make the specified storage volumes 'application consistent'. Prevents data
already on the specified storage volume from being deleted or overwritten.
Once set, the application consistent attribute cannot be changed. This attribute can only
be set when the storage- volumes/extents are in the claimed state.
428
--thin-rebuild - Claims the specified storage volumes as thin. Thin storage allocates
blocks of data on demand versus allocating all the blocks up front. Thin provisioning
eliminates almost all unused storage and improves utilization rates.
Description
Storage volumes must be claimed, and optionally named before they can be used in a
VPLEX cluster.
Storage tiers allow the administrator to manage arrays based on price, performance,
capacity and other attributes. If a tier ID is assigned, the storage with a specified tier ID
can be managed as a single unit. Storage volumes without a tier assignment are assigned
a value of no tier.
This command can fail if there is not a sufficient number of meta volume slots. See the
generator troubleshooting section for a resolution to this problem.
Example
Use the --set-tier argument to add or change a storage tier identifier in the storage-volume
names from a given storage array. For example:
names all storage volumes from the CLARiiON array as Clar0400L_<lun name>, and all
storage volumes from the Symmetrix array as Symm04A1H_<lun name>
EMC Symmetrix, HDS 9970/9980 and USP V storage arrays include their array and serial
number in response to SCSI inquiries. The claiming wizard can claim their storage volumes
without additional information. Names are assigned automatically.
Other storage arrays require a hints file generated by the storage administrator using the
arrays command line. The hints file contains the device names and their World Wide
Names.
Use the --file argument to specify a hints file to use for naming claimed storage volumes.
The following table lists examples to create hint files:
EMC CLARiiON
EMC Symmetrix
EMC VPLEX
IBM DS4300
IBM Nextra
HP EVA
Generic
storage-volume claimingwizard
429
Example
In the following example, the claimingwizard command with no arguments claims storage
volumes from an EMC Symmetrix array:
VPD83 ID
Capacity Use
Vendor IO
Type
---------------------------------------- -------- --------- ------- Status --------------
Thin
10G
10G
10G
10G
10G
10G
10G
claimed
claimed
claimed
claimed
claimed
claimed
claimed
EMC
EMC
EMC
EMC
EMC
EMC
EMC
alive
alive
alive
alive
alive
alive
alive
normal
normal
normal
normal
normal
normal
normal
false
false
false
false
false
false
false
Note that the Symmetrix storage volumes are named in the format:
Symm<last 4 digits of array serial number>_<Symmetrix Device Number>
Example
The --file argument specifies a CLARiiON hints file containing device names and World
Wide Names
The --thin-rebuild argument claims the specified storage volumes as thin (data will
be allocated on demand versus up front)
Example
Find and claim storage volumes on any array in cluster-1 that does not require a hints file
from the /clusters/cluster/storage-elements/storage-volumes context:
VPlexcli:/clusters/cluster-1/storage-elements/storage-volumes> claimingwizard
Found unclaimed storage-volume VPD83T1:HITACHI R45150040023 vendor HITACHI : claiming and
naming HDS20816_0023.
Found unclaimed storage-volume VPD83T1:HITACHI R45150040024 vendor HITACHI : claiming and
naming HDS20816_0024.
.
.
.
Fri, 20 May 2011 16:38:14 +0000 Progress : 6/101 storage_volumes processed (6%).
.
.
.
Fri, 20 May 2011 16:38:14 +0000 Progress : 96/101 storage_volumes processed (96%).
.
.
.
430
See also
storage-volume find-array
Searches storage arrays for the specified storage-volumes.
Contexts
All contexts.
In /clusters/cluster/storage-elements/storage-volumes context, command is find-array.
Syntax
Arguments
storage-volume find-array
[-d|--storage-volumes] pattern
Required arguments
[-d|--storage-volumes] pattern - Storage volume pattern for which to search.
The pattern conforms to 'glob'.
The following pattern symbols are supported: *, ?, [seq], [!seq].
Description
Searches all the storage arrays in all clusters for the specified storage-volumes.
The search is case-sensitive.
Example
VPlexcli:/> storage-volume find-array *de11
Searching for *de11
Storage-volume: VPD83T3:6006016021d0250026b925ff60b5de11 is in:
/clusters/cluster-1/storage-elements/storage-arrays/FNM00093200108-0x050060160bce03506
Storage-volume: VPD83T3:6006016021d0250027b925ff60b5de11 is in:
/clusters/cluster-1/storage-elements/storage-arrays/FNM00093200108-0x050060160bce03506
Storage-volume: VPD83T3:6006016021d0250028b925ff60b5de11 is in:
/clusters/cluster-1/storage-elements/storage-arrays/FNM00093200108-0x050060160bce03506
Storage-volume: VPD83T3:6006016021d0250029b925ff60b5de11 is in:
/clusters/cluster-1/storage-elements/storage-arrays/FNM00093200108-0x050060160bce03506
Storage-volume: VPD83T3:6006016021d025002ab925ff60b5de11 is in:
/clusters/cluster-1/storage-elements/storage-arrays/FNM00093200108-0x050060160bce03506
.
.
.
See also
storage-volume forget
Tells the cluster that a storage-volume or a set of storage volumes are physically removed.
Contexts
All contexts.
In /clusters/cluster/storage-elements/storage-volumes context, command is forget.
storage-volume find-array
431
Syntax
Arguments
storage-volume forget
[-d|--storage-volumes] context path
Required arguments
[-d|--storage-volumes] context path, context-path...- * List of one or more storage volumes
to forget.
* - argument is positional.
Description
Example
Example
Forget all unclaimed, unused, and unreachable storage volume on the cluster:
Example
Use the --verbose argument to display detailed information while you forget all unclaimed,
unused, and unreachable storage volumes on the cluster:
See also
432
storage-volume list-banished
Displays banished storage-volumes on a director.
Contexts
All contexts.
In /clusters/cluster/storage-elements/storage-volumes context, command is
list-banished.
Syntax
Arguments
storage-volume list-banished
[-n|--director] context path
Required arguments
[-n|--director] context path - *The director whose banished storage-volumes to display.
Description
Example
See also
storage-volume resurrect
Resurrect the specified storage-volumes.
Contexts
All contexts.
In /clusters/cluster/storage-elements/storage-volumes context, command is resurrect.
Syntax
Arguments
storage-volume resurrect
[-d|--storage-volume] context path,context path...
[-f|--force]
Required arguments
[-d|--storage-volume] context path,context path... - List of one or more storage volume with
dead I/O status to resurrect.
Optional arguments
[-f|--force] - Force the storage-volume resurrect and bypass the test.
Description
Resurrects the specified dead storage volumes and tests the resurrected device before
setting its state to healthy.
A storage-volume is declared dead:
After VPLEX retries a failed I/O to the backend arrays 20 times without success.
If the storage-volume is reachable but errors prevent the I/O from succeeding.
storage-volume list-banished
433
The storage-volume summary command shows the I/O status of the volume as dead.
For example:
Operational Status
-----------------error
Health State
---------------critical-failure
Symptom:
Storage-volume is dead
Example
434
See also
storage-volume summary
Displays a list of a cluster's storage volumes.
Contexts
All contexts.
In /clusters/cluster/storage-elements/storage-volumes context, command is summary.
Syntax
storage-volume summary
[-c|--clusters] cluster,cluster...
Optional arguments
[-c|--clusters] cluster,cluster... - Displays storage volumes for only the specified clusters.
Description
I/O status, operational status, and health state for each unhealthy storage volume.
Summary of health-state, vendor, use, and total capacity for the cluster.
Use the -clusters argument to restrict output to only the specified clusters.
If no argument is used, and the command is executed at or below a /clusters/cluster
context, output is for the specified cluster only.
Otherwise, output is for all clusters.
Example
IO Status
----------alive
Storage-Volume Summary
----------------------
(no tier)
--------------------
Health
out-of-date
storage-volumes
unhealthy
0
363
1
Vendor
DGC
EMC
None
114
248
1
Use
meta-data
unusable
used
4
0
358
Capacity
total
SUMMARY (cluster-2)
Storage-Volume Summary
----------------------
(no tier)
--------------------
Operational Status
-----------------degraded
Health State
---------------degraded
2T
storage-volume summary
435
Health
out-of-date
storage-volumes
unhealthy
DGC
EMC
0
362
0
114
248
Use
meta-data
used
4
358
Capacity
total
Vendor
Example
1.99T
out-of-date
storage-volumes
unhealthy
0
981
966
Vendor
DGC
None
15
966
Use
claimed
meta-data
unclaimed
unusable
used
824
1
11
143
2
Capacity
total
16T
When slot usage reaches 90%, this command also displays the following:
Meta Slots
Example
total
64000
reclaimable
9600
used
57600
storage-volumes
8000
extents
24000
logging-segments 25600
Display summary for both clusters in a VPLEX with no unhealthy storage volumes:
VPlexcli:/> storage-volume summary
SUMMARY (cluster-1)
Storage-Volume Summary (no tier)
---------------------- ---------------------
436
Health
out-of-date
storage-volumes
unhealthy
0
2318
0
Vendor
EMC
2318
Use
claimed
meta-data
2172
2
used
144
Capacity
total
198T
SUMMARY (cluster-2)
Storage-Volume Summary
----------------------
(no tier)
---------------------
Health
out-of-date
storage-volumes
unhealthy
0
2318
0
Vendor
EMC
2318
Use
claimed
meta-data
used
2172
2
144
Capacity
total
198T
Description
I/O Status
Operational
Status
Health State
degraded - The extent may be out-of-date compared to its mirror (applies only to extents
that are part of a RAID 1 device).
ok - The extent is functioning normally.
non-recoverable-error - The extent may be out-of-date compared to its mirror (applies only
to extents that are part of a RAID 1 device), and/or the Health state cannot be determined.
unknown - VPLEX cannot determine the extent's Operational state, or the state is invalid.
critical failure - VPLEX has marked the storage volume as hardware-dead.
Storage-Volume Summary
out-of-date
Of the total number of storage volumes on the cluster, the number that are out-of-date
compared to their mirror.
storage-volumes
unhealthy
Of the total number of storage volumes on the cluster, the number with health state that is
not ok.
Vendor
Of the total number of storage volumes on the cluster, the number from the specified
vendor.
claimed
Of the total number of storage volumes on the cluster, the number that are claimed.
storage-volume summary
437
Description
meta-data
Of the total number of storage volumes on the cluster, the number in use as meta-volumes.
unclaimed
Of the total number of storage volumes on the cluster, the number that are unclaimed.
used
Of the total number of storage volumes on the cluster, the number that are in use.
Capacity
Meta Slots
See also
storage-volume unbanish
Unbanishes a storage-volume on one or more directors.
Contexts
All contexts.
In /clusters/cluster/storage-elements/storage-volumes context, command is unbanish.
Syntax
Arguments
storage-volume unbanish
[-n|--directors] context path,context path...
[-d|--storage-volume] context path
Required arguments
[-n|--directors] context path,context path,... - * The directors on which to unbanish the
given storage-volume.
Optional arguments
[-d|--storage-volume] - The storage-volume to unbanish.
This argument is not required if the current context is a storage-volume or below. If the
current context is a storage-volume or below, it operates on that storage volume.
* - argument is positional.
438
Description
VPLEX examines path state information for LUNs on arrays. If the path state information is
inconsistent, VPLEX banishes the LUN, and makes it inaccessible.
Use this command to unbanish a banished LUN (storage volume).
See also
storage-volume unclaim
Unclaims the specified previously claimed storage volumes.
Contexts
All contexts.
In /clusters/cluster/storage-elements/storage-volumes context, command is unclaim.
Syntax
Arguments
storage-volume unclaim
[-b|--batch-size] integer
[-d|--storage-volumes] context path,context path...
[-r|--return-to-pool]
Required arguments
[-d|--storage-volumes] context path, context path... - * Specifies the storage volumes to
unclaim.
storage-volume unclaim
439
Optional arguments
[-b|--batch-size] integer - Specifies the maximum number of storage volumes to unclaim at
once.
[-r|--returnToPool] - Returns the storage capacity of each VIAS-based volume to the pool on
the corresponding storage-array.
* - argument is positional.
Description
Use the storage-volume unclaim command to return the specified storage volumes to the
unclaimed state.
The target storage volume must not be in use.
Note: When the storage-volume unclaim command is used with VIAS based and non VIAS
based storage volumes the result of the command will be different. VIAS based virtual
volumes will be removed from VPLEX they will no longer be visible. Non VIAS based
storage volumes will be marked as unclaimed. This is the intended behavior.
VPlexcli:/clusters/cluster-2/storage-elements/storage-volumes> ll
Name
------------------------------------------------------------------------------Basic_c1_ramdisk_100GB_684_
Basic_c1_ramdisk_100GB_685_
Basic_c1_ramdisk_100GB_686_
Basic_c1_ramdisk_100GB_687_
Basic_c1_ramdisk_100GB_688_
Basic_c1_ramdisk_100GB_689_
Basic_c1_ramdisk_100GB_68_
Basic_c1_ramdisk_100GB_690_
Basic_c1_ramdisk_100GB_691_
Basic_c1_ramdisk_100GB_692_
VPD83 ID
------------------------------------------------------------------------------VPD83T3:60001440000000103017dfea88355431
VPD83T3:60001440000000103017dfea88355433
VPD83T3:60001440000000103017dfea88355435
VPD83T3:60001440000000103017dfea88355437
VPD83T3:60001440000000103017dfea88355439
VPD83T3:60001440000000103017dfea8835543b
VPD83T3:60001440000000103017dfea88354f61
VPD83T3:60001440000000103017dfea8835543d
VPD83T3:60001440000000103017dfea8835543f
VPD83T3:60001440000000103017dfea88355441
Capacity
--------------100G
100G
100G
100G
100G
100G
100G
100G
100G
100G
Use
----------------claimed
claimed
claimed
claimed
claimed
claimed
claimed
claimed
claimed
claimed
Vendor
----------EMC
EMC
EMC
EMC
EMC
EMC
EMC
EMC
EMC
EMC
VPlexcli:/clusters/cluster-2/storage-elements/storage-volumes> unclaim -d
Basic_c1_ramdisk_100GB_686_
See also
440
IO
Status
-----alive
alive
alive
alive
alive
alive
alive
alive
alive
alive
Type
--------------------normal
normal
normal
normal
normal
normal
normal
normal
normal
normal
Thin
Rebuild
----false
false
false
false
false
false
false
false
false
false
storage-volume used-by
Displays the components that use the specified storage volumes.
Contexts
All contexts.
In /clusters/cluster/storage-elements/storage-volumes context, command is used-by.
Syntax
Arguments
storage-volume used-by
[-d|--storage-volumes] context path,context path...
Required arguments
[-d|--storage-volumes] context path,context path... - * List of one or more storage volumes
for which to find users.
Description
To manually deconstruct an encapsulated storage volume, remove each layer starting from
the top.
Use the storage-volume used-by command to see the layers from the bottom up.
Example
VPlexcli:/clusters/cluster-2/storage-elements/storage-volumes> used-by
CX4_lun0
/clusters/cluster-1/devices/base0:
extent_CX4_lun0_1
CX4_lun0
/clusters/cluster-1/devices/base1:
extent_CX4_lun0_2
CX4_lun0
/clusters/cluster-1/devices/base2:
extent_CX4_lun0_3
CX4_lun0
/clusters/cluster-1/devices/base3:
extent_CX4_lun0_4
CX4_lun0
/clusters/cluster-1/storage-elements/extents/extent_CX4_lun0_5:
CX4_lun0
/clusters/cluster-1/storage-elements/extents/extent_CX4_lun0_6:
CX4_lun0
subnet clear
Clears one or more attributes of an existing subnet configuration.
Contexts
Syntax
Arguments
All contexts.
subnet clear
[-s|--subnet] subnet
[-a|--attribute] attribute
Required arguments
[-s|--subnet] subnet - * The subnet configuration to modify.
storage-volume used-by
441
Optional arguments
[-a|--attribute] attribute - * The name of the attribute to modify.
* argument is positional
Description
Clears (sets to null) one or more of the following attributes of an existing subnet
configuration:
cluster-address
gateway
prefix
IMPORTANT
Use the subnet modify command to configure new values for the attributes.
Example
The subnet clear command clears (sets to null) the cluster-address attribute.
VPlexcli:/clusters/cluster-1/cluster-connectivity/subnets/cluster-1-SN01> ll
Name
Value
---------------------- -------------------------cluster-address
192.168.12.200
gateway
192.168.12.1
mtu
9000
prefix
192.168.12.0:255.255.255.0
proxy-external-address remote-subnet-address
192.168.22.0:255.255.255.0
VPlexcli:/clusters/cluster-1/cluster-connectivity/subnets/cluster-1-SN01> clear
cluster-address
VPlexcli:/clusters/cluster-1/cluster-connectivity/subnets/cluster-1-SN01> ll
Name
Value
---------------------- -------------------------cluster-address
gateway
192.168.12.1
mtu
9000
prefix
192.168.12.0:255.255.255.0
proxy-external-address remote-subnet-address
192.168.22.0:255.255.255.0
VPlexcli:/clusters/cluster-1/cluster-connectivity/subnets/cluster-1-SN01> subnet modify
cluster-address 192.168.10.200
VPlexcli:/clusters/cluster-1/cluster-connectivity/subnets/cluster-1-SN01> ll
Name
Value
---------------------- -------------------------cluster-address
192.168.10.200
gateway
192.168.12.1
mtu
9000
prefix
192.168.12.0:255.255.255.0
proxy-external-address remote-subnet-address
192.168.22.0:255.255.255.0
442
See also
subnet create
Creates a new subnet.
Contexts
All contexts.
In /clusters/cluster-1/cluster-connectivity/subnets context, command is create.
Syntax
Arguments
subnet create
[-n|--name] subnet name
[-c|--cluster] cluster
[-a|--cluster-address] address
[-g|--gateway] IP address
[-m|--mtu] size
[-p|--prefix] prefix
[-e|--proxy-external-address] address
[-r|--remote-subnet-address] remote subnet address
Required arguments
[-n|--name] subnet name - * The name of the subnet to create.
Optional arguments
[-c|--cluster] cluster - Context path of the target owner cluster.
[-a|--cluster-address] address - The public address of the cluster to which this subnet
belongs.
[-g|--gateway] IP address - The gateway address for this subnet.
[-m|--mtu] size - The maximum Transfer Unit size for this subnet.
Range - An integer between 96 and 9000.
The VPLEX CLI accepts MTU values lower than 96, but they are not supported.
Entering a value less than 96 prevents the port-group from operating.
[-p|--prefix] prefix - The prefix/subnet mask for this subnet. Specified as an IP address and
subnet mask in integer dot notation, separated by a colon. For example,
192.168.20.0/255.255.255.0
[-e|--proxy-external-address] address - The externally published cluster address for this
subnet. Can be one of:
w.x.y.z where w,x,y,z are [0..255] - Configures the specified IP address. For example:
10.0.1.125.
subnet create
443
w.x.y.z where w,x,y,z are [0..255] - Configures the specified IP address. For example:
172.16.2.0/255.255.255.0.
* argument is positional.
Description
Example
See also
subnet destroy
Destroys a subnet configuration.
Contexts
Syntax
Arguments
All contexts.
subnet destroy
[-s|--subnet] subnet
--force
Required arguments
[-s|--subnet] subnet - * Context path of the subnet configuration to destroy.
Optional arguments
--force - Forces the subnet configuration to be destroyed without asking for confirmation.
Allows this command to be run from non-interactive scripts.
* argument is positional
Description
Example
Example
See also
subnet modify
Modifies an existing subnet configuration.
Contexts
Syntax
Arguments
All contexts.
subnet modify
[-s|--subnet] subnet
[-a|--cluster-address] address
[-g|--gateway] IP address
[-p|--prefix] prefix
Required arguments
[-s|--subnet] subnet - * Context path of the subnet configuration to modify.
Optional arguments
[-a|--cluster-address] address - The public address of the cluster to which this subnet
belongs.
[-g|--gateway] IP address - The gateway address for this subnet.
[-p|--prefix] prefix - The prefix/subnet mask for this subnet. Specified as an IP address and
subnet mask in integer dot notation, separated by a colon. For example,
192.168.20.0/255.255.255.0
If the prefix is changed, ensure that the cluster IP address, gateway address, and port IP
addresses are all consistent with the subnet prefix.
* argument is positional.
Description
Example
cluster-address
gateway
prefix
Example
subnet modify
445
See also
syrcollect
Collects system configuration data for System Reporting (SYR).
Contexts
Syntax
Arguments
All contexts.
syrcollect
[-d|--directory] directory
Required arguments
None.
Optional arguments
[-d|--directory] directory - Non-default directory in which to store the output. Files saved in
the non-default directory are not automatically sent to EMC.
Default: Files are stored in the Event_Msg_Folder in the directory specified in the
EmaAdaptorConfig.properties file.
EmaAdaptorConfig.properties and the Event_Msg_Folder are located in /opt/emc/VPlex
on the management server.
Files in the default directory are automatically sent to EMC.
Description
Manually starts a collection of SYR data, and optionally sends the resulting zip file to EMC.
Run this command after every major configuration change or upgrade.
Data collected includes:
VPLEX information
Cluster information
Engine/chassis information
RAID information
Port information
446
Example
Example
Start a SYR data collection, and send the output to the specified directory:
VPlexcli:/> syrcollect -d /var/log/VPlex/cli
See also
tree
Displays the context tree.
Contexts
Syntax
Arguments
All contexts.
tree
[-e|--expand]
[-c|--context] subcontext root
[-s|--select] glob pattern
Required arguments
None.
Optional arguments
[-e|--expand] - Expand the subcontexts.
[-c|--context] subcontext root - The subcontext to use as the root for the tree.
[-s|--select] glob pattern - Glob pattern for selecting the contexts in the tree.
Description
Example
tree
447
See also
unalias
Removes a command alias.
Contexts
Syntax
Arguments
All contexts.
unalias
[-n|--name] name
[-a|--all]
Required arguments
None.
Optional arguments
[-n|--name] name - The name of the alias to remove.
[-a|--all] - Remove all defined aliases.
Example
VPlexcli:/> alias
Name
Description
------------ ------------------------------------------?
Substitutes the 'help' command.
GoToDir_2_2A Substitutes the 'cd
/engines/engine-2-2/directors/Cluster_2_Dir_2A' command.
ll
Substitutes the 'ls -al' command.
quit
Substitutes the 'exit' command.
See also
448
alias on page 37
user add
Adds a username to the VPLEX management server.
Contexts
Syntax
Arguments
All contexts.
user add
[-u|--username] username
Required arguments
[-u|--username] username - Username to add.
Description
Example
449
Username
-------admin
service
TestUser
See also
Arguments
User context.
user event-server add-user
[-u|--username] username
[-h|--help]
[--verbose]
Required arguments
[-u|--username] username - * Specifies the user name to add in the event server.
Optional arguments
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
* - argument is positional.
Description
Example
See also
User context.
user event-server change-password
[-u|--username]username
[-h|--help]
[--verbose]
Arguments
Required arguments
[-u|--username] username - * Specifies the user name for which to change the password.
Optional arguments
[-h|--help] - Displays command line help.
[--verbose] - Provides more output during command execution. This may not have any
effect for some commands.
* - argument is positional.
Description
Example
Used to change the password that the external subscribers use to access VPLEX events.
An event-server user changes the default password:
See also
user list
Displays usernames configured on the local VPLEX management server.
Contexts
Syntax
Description
All contexts.
user list
Example
See also
user list
451
user passwd
Allows a user to change the password for their own username.
Contexts
Syntax
Arguments
All contexts.
user passwd
[-u|--username] username
Required arguments
[-u|--username] username - *Username for which to change the password.
* - argument is positional.
Description
Example
Executable by all users to change the password only for their own username.
VPlexcli:/> user passwd TestUser
Type the new password. Passwords must be at least 8 characters long, and must not be
dictionary words.
A prompt to confirm the new password appears:
Confirm password:
user remove
Removes a username from the VPLEX management server.
Contexts
Syntax
452
All contexts.
user remove
[-u|--username] username
Arguments
Required arguments
[-u|--username] username - Username to remove.
Description
Example
user reset
Allows an Administrator user to reset the password for any username.
Contexts
Syntax
Arguments
All contexts.
user reset
[-u|--username] username
Required arguments
[-u|--username] username - The username whose password is to be reset.
Description
user reset
453
Note: Administrative privileges are required to add, delete, and reset user accounts. The
password for the admin account must be reset the first time the admin account is
accessed. After the admin password has been reset, the admin user can manage (add,
delete, reset) user accounts.
To change the password for the admin account, ssh to the management server as user
admin. Enter the default password teS6nAX2. A prompt to change the admin account
password appears. Enter a new password.
All users can change the password for their own account using the user passwd command.
Example
validate-system-configuration
Performs a basic system configuration check.
Contexts
Syntax
Description
454
All contexts.
validate-system-configuration
Example
See also
vault go
Initiates a manual vault on every director in a given cluster under emergency conditions.
Contexts
Syntax
Arguments
All contexts.
vault go
[-c|--cluster] cluster
[--force]
vault go
455
Description
Use this command to initiate a manual dump from every director in a given cluster to
persistent local storage under emergency conditions.
Use this command to manually start cache vaulting if an emergency shutdown is required
and the storage administrator cannot wait for automatic vaulting to begin.
Example
See also
vault overrideUnvaultQuorum
Allows the cluster to proceed with the recovery of the vaults without all the required
directors.
Contexts
Syntax
Arguments
All contexts.
vault overrideUnvaultQuorum
[-c|--cluster] cluster
--evaluate-override-before-execution
--force
Description
This command could result in data loss.
Use this command to tell the cluster not to wait for all the required director(s) to rejoin the
cluster before proceeding with vault recovery.
Use this command with the --evaluate-override-before-execution argument to evaluate the
cluster's vault status and make a decision whether to accept a possible data loss and
continue to bring the cluster up. The evaluation provides information as to whether the
cluster has sufficient vaults to proceed with the vault recovery that will not lead to data
loss.
Note: One valid vault can be missing without experiencing data loss.
Example
456
Three directors in a dual engine configuration booted and joined the cluster.
The cluster is waiting for the remaining director to join the cluster before unvault
recovery quorum is established.
Example
Example
Three of four configured directors are operational and have valid vaults
Example
457
See also
The generator
vault status
Displays the current cache vault/unvault status of the cluster.
Contexts
Syntax
Arguments
All contexts.
vault status
[-c|--cluster] cluster
Optional arguments
[-c|--cluster] cluster -Displays vault status for the specified cluster.
--verbose - Displays additional description and data.
Description
Cache vaulting safeguards dirty data during power outages. Cache vaulting dumps all dirty
data to persistent local storage. Vaulted data is recovered (unvaulted) when power is
restored.
This command always displays the clusters vault state and the vault state of each of the
clusters directors.
When run after a vault has begun and the vault state is Vault Writing or Vault Written, the
following information is displayed:
When run after the directors have booted and unvaulting has begun and the states are
Unvaulting or Unvault Complete, the following information is displayed:
458
If you enter the --verbose argument, the command displays the following information:
If this command is run after the directors have booted, unvaulted, and are waiting to
acquire an unvault quorum:
The output displays a list of directors that are preventing the cluster from gaining
unvault quorum.
Number of directors missing and preventing the cluster from proceeding with the
recovery of vault.
Description
Vault Inactive
Power Restored
Vault Requested
Stop I/O
Vault Writing
Vault Written
Unvaulting
Unvault Complete
All vaulted dirty data has been read from local persistent storage.
Waiting on all director(s) required before proceeding with the recovery of the vault.
Vault Recovering
Recovering all the vaulted dirty data to VPLEX global cache from the local director's
memory.
Example
Display the summarized status for a cluster that is not currently vaulting or unvaulting:
vault status
459
/engines/engine-1-1/directors/director-1-1-A:
state: Vault Inactive
Example
Example
460
Example
See also
verify fibre-channel-switches
Verifies that the Fibre Channel switch on each cluster's internal management network has
been configured correctly.
Contexts
Syntax
/clusters/cluster-n
verify fibre-channel-switches
Passwords for the service accounts on the switches are required to run this command.
Example
verify fibre-channel-switches
461
Please enter the service account password for the fibre channel switch at IP 128.221.253.66:
Re-enter the password:
Executing on the second switch.
This will take a few moments...
Both fiber channel switch configurations were successfully verified.
version
Display version information for connected directors.
Contexts
Syntax
Arguments
All contexts.
version
[-a|--all]
[-n|directors] context path,context path...
Required arguments
None.
Optional arguments
[-a|--all] - Displays version information for all connected directors.
[-n|--directors] context path, context path... - * Display version information for only the
specified directors.
* - argument is positional.
Description
Example
Use the --verbose option to display version information for individual software
components on each director.
Display management server/SMS version information:
What
-------------------Product Version
SMSv2
Mgmt Server Base
Mgmt Server Software
Example
Version
-----------------------4.2.0.00.00.08
D4.0.0.0-20101220.0
D4_MSB_7
D4.0.0.0.20101220000000e
Display management server/SMS version and version for the specified director:
VPlexcli:/> version Cluster_2_Dir_1B
What
---------------------------------------------SMSv2
462
Info
--------
Version
----------0.16.15.0.0
Info
----
Example
Display version information for management server, SMS, and all directors:
VPlexcli:/> version -a
What
---------------------------------------------Product Version
SMSv2
Mgmt Server Base
Mgmt Server Software
/engines/engine-2-1/directors/Cluster_2_Dir_1B
/engines/engine-2-1/directors/Cluster_2_Dir_1A
.
.
.
Example
D4_MSB_7
D4.70.0.9
1.2.43.9.0
Version
-------------4.1.0.00.00.12
0.16.15.0.0
D4_MSB_7
D4.70.0.9
1.2.43.9.0
1.2.43.9.0
Info
----
Display version information for individual software components on each director. See
Table 24 for a description of the components.
What:
Version:
Build time:
Build machine:
Build OS:
Build compiler:
Build source:
5.1.0.00.00.08
SMSv2
D10.0.0.189.0
March 29, 2012 at 08:23:02PM MDT
dudleyed06
Linux version 2.6.27-7-generic on i386
1.6.0
/spgear/spgear_misc/htdocs/harness/release/235/work/ui/src
What:
Version:
What:
Version:
What:
Version:
Director Software
2.1.191.0.0
What:
Version:
ECOM
4.1.13.0.0-0
What:
Version:
VPLEX Splitter
3.5.n.109-1
What:
Version:
ZECL
2.1.195.0.0-0
What:
Version:
ZPEM
2.1.195.0.0-0
version
463
What:
Version:
NSFW
40.1.160.0-0
What:
Version:
FW Bundle Rev
12.10 (Wed Apr 27 09:21:15 2011)
What:
Version:
POST Rev
41.00 (Mon Apr 25 13:39:19 2011)
What:
Version:
BIOS Rev
7.70 (05-11-2011)
What:
Version:
.
.
.
Description
Product Version
OS
Director Software
ECOM
VPLEX Splitter
ZECL
A kernel module in the director that interfaces with the ZPEM process to
provide, among other things, access to the I2C bus.
ZPEM
NSFW
FW Bundle Rev
Firmware revision.
POST Rev
BIOS Rev
SSD Model
virtual-volume create
Creates a virtual volume on a host device.
464
Contexts
Syntax
Arguments
All contexts.
virtual-volume create
[-r|--device] context path
[-t|--set-tier] tier]
Required arguments
[-r|--device] context path - * Device on which to host the virtual volume.
Optional arguments
[-t|--set-tier] - Set the storage-tier for the new virtual volume.
* - argument is positional.
Description
virtual-volume create
465
cache-mode
capacity
consistency-group
expandable
expandable-capacity
expansion-method
expansion-status
health-indications
health-state
locality
operational-status
recoverpoint-usage
scsi-release-delay
service-status
storage-tier
supporting-device
system-id
volume-type
asynchronous
10G
poly2_clus1_wins
false
0B
not-supported
[]
ok
distributed
ok
unexported
DR1_poly2_12_0000
DR1_poly2_12_0000_vol
virtual-volume
Description
block count
block size
cache-mode
capacity
The total number of bytes in the volume. Equals the 'block-size' multiplied by the
'block-count'.
consistency-group
The name of the consistency group to which this volume belongs, if any.
expandable-capaci
ty
Excess capacity not yet exposed to the host by the virtual volume. This capacity is
available for expanding the virtual volume.
Zero (0) - Expansion is not supported on the virtual volume or that there is no capacity
available for expansion.
Non-zero - The capacity available for virtual volume expansion using the storage-volume
method.
expansion-method
The expansion method that can be used to expand the virtual volume.
concatenation - The virtual volume can be expanded only by adding the specified extents.
not-supported - The virtual volume cannot be expanded. This includes virtual volumes that
are members of RecoverPoint consistency groups.
storage-volume - The virtual volume can be expanded using storage array based volume
expansion or by migrating to a larger device.
expansion-status
466
Description
health-indications
Indicates the reasons for a health-state that is not 'ok' or the reasons a volume expansion
failed.
health state
major failure - One or more of the virtual volume's underlying devices is out-of-date, but
will never rebuild.
minor failure - One or more of the virtual volume's underlying devices is out-of-date, but
will rebuild.
non-recoverable error - VPLEX cannot determine the virtual volume's Health state.
ok - The virtual volume is functioning normally.
unknown -VPLEX cannot determine the virtual volume's Health state, or the state is invalid.
locality
local - The virtual volume relies completely on storage at its containing cluster.
remote - The virtual volume is a proxy for a volume whose storage resides at a different
cluster. I/O to a remote virtual volume travels between clusters.
distributed - The virtual volume is the cluster-local representation of a distributed RAID-1.
Writes to a distributed volume travels to all the clusters at which it has storage; reads
come, if possible, from the local leg.
operational status
degraded - The virtual volume may have one or more out-of-date devices that will
eventually rebuild.
error - One or more of the virtual volume's underlying devices is hardware-dead.
ok - The virtual volume is functioning normally.
starting -The virtual volume is not yet ready.
stressed - One or more of the virtual volume's underlying devices is out-of-date and will
never rebuild.
unknown - VPLEX cannot determine the virtual volume's Operational state, or the state is
invalid.
recoverpoint-usage
The replication role this virtual-volume is being used for by attached RecoverPoint clusters,
if any.
Production Source - Volumes that are written to by the host applications. Writes to
production volumes are split such that they are sent to both the normally designated
volumes and RPAs
Local Replica - Local volumes to which production volumes replicate.
Remote Replica - remote volumes to which production volumes replicate
Journal - Volumes that contain data waiting to be distributed to target replica volumes and
copies of the data previously distributed to the target volumes.
Repository - A volume dedicated to RecoverPoint for each RPA cluster that stores
configuration information about the RPAs and RecoverPoint consistency groups.
- The volume is not currently being used by RecoverPoint.
scsi-release-delay
A SCSI release delay time in milliseconds. Optimum value is 0 to 2 seconds. Setting a very
high value could break the SCSI semantics. If another reserve arrives at this cluster within
this time frame, neither release nor reserve will be sent across the WAN.
service-status
storage-tier
virtual-volume create
467
Description
supporting-device
system-id
volume-type
Always virtual-volume.
See also
virtual-volume destroy
Destroys existing virtual volumes.
Contexts
Syntax
Arguments
All contexts.
virtual-volume destroy
[-v|--virtual-volumes] context path,context path...
[-f|--force]
Required arguments
[-v|--virtual-volumes] context path, context path... - List of one or more virtual volumes to
destroy. Entries must be separated by commas. The specified virtual volumes must not be
exported to hosts.
Optional arguments
[-f|--force] - Forces the destruction of the virtual volumes without asking for confirmation.
Allows this command to be run from non-interactive scripts.
Description
Deletes the virtual volume and leaves the underlying structure intact. The data on the
volume is no longer accessible.
Only unexported virtual volumes can be deleted. To delete an exported virtual volume,
first remove the volume from the storage view.
Example
See also
468
virtual-volume expand
Contexts
Syntax
Arguments
virtual-volume expand
[-v|--virtual-volume]contextpath
[-e|--extent]extent
[-f|--force]
Required arguments
[-v|--virtual-volume] context path - * The virtual volume to expand. The virtual-volume
must be expandable, and have a geometry of RAID 1, RAID C, or RAID 0.
[-e|--extent] context path - * The target local device or extent to add to the virtual-volume.
The local device or extent must not have a virtual-volume on top of it.
Optional arguments
[-f|--force] - Forces the expansion of a virtual volume built on a RAID-1 device, even if the
target local-device is not of type RAID-1 and/or is not as redundant as the device
supporting the virtual volume. * - argument is positional.
Description
Adds the specified extent or device to the virtual volume. Use the ll command in virtual
volumes context to display whether the virtual volume is expandable.
RAID C, RAID 1, and RAID 0 devices can be expanded:
RAID C and RAID 0 devices - When expanding a RAID-0 or RAID-C volume, select only
one local device or extent to be added.
RAID 1 devices - When expanding a RAID 1 device, select one or multiple volumes to
be added.
469
VPlexcli:/>ll/clusters/cluster-1/virtual-volumes
/clusters/cluster-1/virtual-volumes:
Name
Operational
Health......Expandable
---------------- Status
State......
-------------------------------------------......---------Raid0_1Ga_11_vol ok ok......true
RaidC_1Gb_11_vol ok ok......true
Raid1_1Gc_11_vol ok ok......true
Test-Device_vol
ok ok......true
.
.
.
VPlexcli:/>ll/clusters/cluster-1/storage-elements/extents
/clusters/cluster-1/storage-elements/extents:
Name
StorageVolume
CapacityUse
---------------------------------------------------------------------extent_Symm1554Tdev_061D_1
Symm1554Tdev_061D 100Gused
extent_Symm1554Tdev_0624_1
Symm1554Tdev_0624 100Gused
extent_Symm1554Tdev_0625_1
Symm1554Tdev_0625 100Gused
extent_Symm1554_0690_1
Symm1554_0690
8.43Gused
extent_Symm1554_0691_1
Symm1554_0691
8.43Gused
extent_Symm1554_0692_1
Symm1554_0692
8.43Gused
.
.
.
VPlexcli:/>cd/clusters/cluster-1/virtual-volumes/Test-Device_vol
VPlexcli:/clusters/cluster-1/virtual-volumes/Test-Device_vol>expand--v
irtual-volumeTest-Device_vol--extentext_Symm1254_7BF_1
See also
virtual-volume expand
Non-disruptively increases the capacity of an existing virtual volume.
Contexts
All contexts.
In clusters/cluster/virtual-volumes/context and below, command is expand.
Syntax
Arguments
virtual-volume expand
[-v|--virtual-volume] context path
[-e|--extent] extent
[-f|--force]
Required arguments
[-v|--virtual-volume] context path - * The virtual volume to expand.
470
Optional arguments
[-e|--extent] context path - * The target local device or extent to add to the virtual-volume
using the concatenation method of expansion. The local device or extent must not have a
virtual-volume on top of it.
[-f|--force] - The meaning of this argument varies, depending on whether the --extents
argument is used (expansion method = concatenation) or not used (expansion-method =
storage-volume)
For storage-volume expansion, the --force argument skips the confirmation message.
* - argument is positional.
Description
This command expands the specified virtual volume using one of two methods;
storage-volume or concatenation.
Whether the volume is expandable, the expandable capacity (if any), and the method of
expansion available for the volume is displayed in the output of the ll command in the CLI.
For example:
VPlexcli:> ll /clusters/cluster-1/virtual-volumes/ Test_volume
Name
Value
------------------- -------------.
.
.
capacity
0.5G
consistency-group
expandable
true
expandable-capacity 4.5G
expansion-method
storage-volume
expansion-status
.
.
.
There are two methods to expand a virtual volume; storage-volume and concatenation.
virtual-volume expand
471
Before expanding a storage volume, understand the limitations of the function and the
prerequisites required for volumes to be expanded. See the VPLEX Administration Guide
for more information on how expansion works.
Example
The expand command starts the expansion of the specified virtual volume.
VPlexcli:/clusters/cluster-1/virtual-volumes> ll /clusters/cluster-1/virtual-volumes
/clusters/cluster-1/virtual-volumes:
Name
...Capacity
...
...--------...5G
...5G
...0.5G
Locality Supporting
Device
-------- ----------local
raid1-dev
local
raid1-dev
local
Test
Cache
Expandable Expandable ...
Mode
Capacity
...
----------- ------------ ---------- ...
synchronous true
4.5G
synchronous true
0B
synchronous true
4.5G
----------------Raid0_1Ga_11_vol
RaidC_1Gb_11_vol
Test_volume
.
.
.
VPlexcli:/clusters/cluster-1/virtual-volumes> ll /clusters/cluster-1/virtual-volumes/
Test_volume
Name
Value
------------------- -------------block-count
131072
block-size
4K
cache-mode
synchronous
capacity
0.5G
consistency-group
expandable
true
expandable-capacity 4.5G
expansion-method
storage-volume
expansion-status
.
.
.
VPlexcli:/clusters/cluster-1/virtual-volumes> expand -v Test_volume/
Virtual Volume expansion can take some time and once started, cannot be cancelled. Some
operations such as upgrades and data migrations will not be possible during the expansion.
some cases hosts and their applications may need to be restarted once the expansion has
completed. Do you wish to proceed ? (Yes/No) yes
The expansion of virtual-volume 'Test_volume' has started.
VPlexcli:/clusters/cluster-1/virtual-volumes> cd Test_volume/
VPlexcli:/clusters/cluster-1/virtual-volumes/Test_volume> ll
Name
Value
------------------- -------------block-count
131072
block-size
4K
cache-mode
synchronous
capacity
0.5G
consistency-group
expandable
true
expandable-capacity 4.5G
472
In
expansion-method
storage-volume
expansion-status
in-progress
health-indications
[]
.
.
.
VPlexcli:/clusters/cluster-1/virtual-volumes> ll /clusters/cluster-1/virtual-volumes
/clusters/cluster-1/virtual-volumes:
Name
----------------Raid0_1Ga_11_vol
RaidC_1Gb_11_vol
Test_volume
.
.
.
...Capacity
...
...--------...5G
...5G
...5G
Example
Locality Supporting
Device
-------- ----------local
raid1-dev
local
raid1-dev
local
Test
Cache
Expandable Expandable ...
Mode
Capacity
...
----------- ------------ ---------- ...
synchronous true
4.5G
synchronous true
0B
synchronous true
0B
VPlexcli:/> ll /clusters/cluster-1/virtual-volumes
/clusters/cluster-1/virtual-volumes:
Name
Operational Health ... ... Expandable
----------------- Status
State
... ... -------------------------- ----------- ------ ... ... ---------Raid0_1Ga_11_vol
ok
ok
... ... true
RaidC_1Gb_11_vol
ok
ok
... ... true
Raid1_1Gc_11_vol
ok
ok
... ... true
Test-Device_vol
ok
ok
... ... true
.
.
.
VPlexcli:/> ll /clusters/cluster-1/virtual-volumes/Test-Device-vol
Name
Value
------------------ -------------------------------.
.
.
expandable
true
expansion-method
concatenation
health-indications []
.
.
.
VPlexcli:/> ll /clusters/cluster-1/storage-elements/extents
/clusters/cluster-1/storage-elements/extents:
Name
StorageVolume
-------------------------------- ----------------------extent_Symm1554Tdev_061D_1
Symm1554Tdev_061D
extent_Symm1554Tdev_0624_1
Symm1554Tdev_0624
Capacity
-------100G
100G
Use
------used
used
virtual-volume expand
473
extent_Symm1554Tdev_0625_1
Symm1554Tdev_0625
100G
extent_Symm1554_0690_1
Symm1554_0690
8.43G
extent_Symm1554_0691_1
Symm1554_0691
8.43G
extent_Symm1554_0692_1
Symm1554_0692
8.43G
.
.
.
VPlexcli:/> cd /clusters/cluster-1/virtual-volumes/Test-Device_vol
used
used
used
used
See also
The generator
virtual-volume provision
Provisions new virtual volumes using storage pools.
Contexts
Syntax
Arguments
All contexts.
virtual-volume provision
[-b|--base-name] base-name
[-p|--storage-pools] storage-pools [, storage-pools...]
[-n|--number-of-volumes] number-of-volumes
[-c|--capacity] capacity
[-g|--consistency-group] consistency-group context-path
[-v|--storage-views] storage-views [, storage-views...]
[-h|--help]
[--verbose]
Required arguments
[-b|--base-name] base-name - * Specifies the base-name of the virtual-volumes to
provision.
[-p|--storage-pools] storage-pools [, storage-pools] - * Specifies the storage-pools to use
for provisioning. Storage pools must be given in cluster name, storage-array name,
storage-pool name [cluster name, storage-array name, storage-pool name...] tuple format.
A maximum of four tuples can be specified.
IMPORTANT
Storage pool names that contain spaces must be enclosed by double quotation marks.
474
Example
Provisions new virtual volumes using storage pools. The RAID geometry is determined
automatically by the number and location of the specified pools.
Provision two 10GB DR1 virtual volumes:
Example
List the job notification to track the status of the provisioning operation:
Note: The Job IDs created for volume provisioning will be active for 48 hours and their
expiration times posted. Jobs will be deleted and will need to be recreated if any of the
following occur: failures to the management server, such as shutdown, restart, VPLEX
Management Server upgrade, or VPLEX Management Console restart.
VPlexcli:/> ls /notifications/jobs/Provision_1_01-01-2014:00:00:01
JobID
-------------------------------Provision_1_01-01-2014:00:00:01
Example
State
Description
Last Update Time
-----------------------------------------InProgress Provision In progress 01-01-2014:00:01:16-UTC
virtual-volume provision
475
A volume provisioning job was created and may be tracked by executing 'ls
/notifications/jobs/Provision_1_19-02-14:19:46:00'.
See also
virtual-volume summary
Displays a summary for all virtual volumes.
Contexts
All contexts.
In /clusters/cluster-n/virtual-volumes context, command is summary.
Syntax
Arguments
virtual-volume summary
[-c|--clusters] cluster,cluster
Required arguments
None.
Optional arguments
[-c|--clusters] cluster,cluster... - List of one or more names of clusters. Display information
for only the specified clusters. Entries must be separated by commas.
Description
Displays a list of any devices with a health-state or operational-status other than 'ok'.
Displays a summary including devices per locality (distributed versus local), cache-mode
(synchronous versus asynchronous), and total capacity for the cluster.
Displays any volumes with an expandable capacity greater than 0, and whether an
expansion is in progress.
If the --clusters argument is not specified and the command is executed at or below a
/clusters/cluster context, information is displayed for the current cluster.
Otherwise, virtual volumes of all clusters are summarized.
Example
476
In the following example, one distributed virtual volume has expandable capacity at both
clusters:
Example
expandable-capacity
------------------10G
capacity
-------10G
expansion-status
----------------
expandable-capacity
------------------10G
capacity
-------10G
expansion-status
----------------
Description
health state
major failure - One or more of the virtual volume's underlying devices is out-of-date, but
will never rebuild.
minor failure - One or more of the virtual volume's underlying devices is out-of-date, but
will rebuild.
non-recoverable error - VPLEX cannot determine the virtual volume's Health state.
ok - The virtual volume is functioning normally.
unknown -VPLEX cannot determine the virtual volume's Health state, or the state is
invalid.
virtual-volume summary
477
Description
operational status
degraded - The virtual volume may have one or more out-of-date devices that will
eventually rebuild.
error - One or more of the virtual volume's underlying devices is hardware-dead.
ok - The virtual volume is functioning normally.
starting -The virtual volume is not yet ready.
stressed - One or more of the virtual volume's underlying devices is out-of-date and will
never rebuild.
unknown - VPLEX cannot determine the virtual volume's Operational state, or the state is
invalid.
Summaries
Total
Total number of virtual volumes on the cluster, and number of unhealthy virtual volumes.
Locality summary
Cache-mode
summary
Expansion
summary
virtual-volume name - Name of any volume with expandable capacity greater than 0 or an
expansion underway.
expandable-capacity - Additional capacity (if any) added to the back end storage volume
not yet added to the VPLEX virtual volume.
capacity - Current capacity of the virtual volume.
expansion-status - Indicates whether an expansion is possible is in progress, or has
failed. A value of - indicates expansion is possible, but is not in progress, and has not
failed.
See also
vpn restart
Restarts the VPN connection between management servers.
Contexts
Syntax
Description
478
All contexts.
vpn restart
Example
See also
vpn start
Starts the VPN connection between management servers.
Contexts
Syntax
Description
All contexts.
vpn start
Example
See also
vpn status
Verifies the VPN connection between management servers.
Contexts
All contexts.
Syntax
vpn status
Description
Verifies whether the VPN connection between the management servers is operating
correctly and checks whether all the local and remote directors can be reached (pinged).
If Cluster Witness is deployed, verifies the VPN connection between the management
servers and the Cluster Witness Server.
Example
Example
See also
vpn start
479
vpn stop
Stops the VPN connection between management servers.
Contexts
Syntax
Description
480
All contexts.
vpn stop
Example
See also
CHAPTER 3
VPLEX Commands by Topic
VPLEX CLI commands, grouped by the following general topics:
Connectivity
Clusters
Directors
Data migration
System management
Meta-volumes
Subnets and ports
Manage CLI workspace
Navigate the CLI
Cache vaulting
Consistency groups
Monitoring / Statistics
System status: connectivity, summaries, and reports
Diagnostics, dumps, healthchecks
Security / Authentication
RecoverPoint
Cluster Witness
Configuration/EZ-Setup
Miscellaneous
Connectivity
iscsi chap back-end add-credentials
iscsi chap back-end disable
iscsi chap back-end enable
iscsi chap back-end list-credentials
iscsi chap back-end remove-credentials
iscsi chap back-end remove-default-credential
iscsi chap back-end set-default-credential
iscsi chap front-end add-credentials
481
Clusters
cluster add
cluster cacheflush
cluster configdump
cluster expel
cluster forget
cluster local-ha repair-directors power-on
cluster local-ha repair-dirs
cluster local-ha repair-network-configuration
cluster local-ha repair-vsphere-ha
cluster local-ha-validate
cluster shutdown
cluster status
cluster summary
cluster unexpel
configuration short write
report capacity-clusters
Directors
connect
connectivity director
director appcon
director commission
director decommission
director forget
director passwd
director shutdown
director uptime
disconnect
482
Data migration
batch-migrate cancel
batch-migrate check-plan
batch-migrate clean
batch-migrate commit
batch-migrate create-plan
batch-migrate pause
batch-migrate remove
batch-migrate resume
batch-migrate start
batch-migrate summary
dm migration cancel
dm migration clean
dm migration commit
dm migration pause
dm migration remove
dm migration resume
dm migration start
Data migration
483
extent destroy
extent summary
local-device create
local-device destroy
local-device summary
rebuild set-transfer-size
rebuild show-transfer-size
report capacity-arrays
set
show-use-hierarchy
storage-tool compose
storage-volume auto-unbanish-interval
storage-volume claim
storage-volume claimingwizard
storage-volume find-array
storage-volume forget
storage-volume list-banished
storage-volume resurrect
storage-volume summary
storage-volume unbanish
storage-volume unclaim
storage-volume used-by
virtual-volume create
virtual-volume destroy
virtual-volume expand
virtual-volume provision
virtual-volume summary
Storage views
export initiator-port discover
export initiator-port register
export initiator-port register-host
export initiator-port unregister
export port summary
export storage-view addinitiatorport
export storage-view addport
export storage-view addvirtualvolume
export storage-view checkconfig
export storage-view create
export storage-view destroy
export storage-view find
export storage-view find-unmapped-volumes
export storage-view map
export storage-view removeinitiatorport
export storage-view removepor
export storage-view removevirtualvolume
export storage-view show-powerpath-interfaces
export storage-view summary
484
System management
battery-conditioning disable
battery-conditioning enable
battery-conditioning manual-cycle cancel-request
battery-conditioning manual-cycle request
battery-conditioning set-schedule
battery-conditioning summary
cache-invalidate
cache-invalidate-status
configuration remote-clusters add-addresses
configuration remote-clusters clear-addresses
configuration sync-time
configuration sync-time-clear
configuration sync-time-show
date
exec
exit
log filter create
log filter destroy
log filter list
log source create
log source destroy
log source list
logging-volume add-mirror
logging-volume create
logging-volume destroy
logical-unit forget
management-server net-service-restart*
manifest upgrade
manifest version
ndu copy-upgrade-package
ndu upgrade-mgmt-server
notifications call-home import-event-modifications
notifications call-home remove-event-modifications
notifications call-home view-event-modifications
notifications snmp-trap create
notifications snmp-trap destroy
report capacity-hosts
schedule add
schedule list
schedule modify
schedule remove
scheduleSYR add
scheduleSYR list
scheduleSYR remove
script
set
sessions
snmp-agent configure
snmp-agent start
System management
485
snmp-agent status
snmp-agent stop
snmp-agent unconfigure
source
user add
user event-server add-user
user event-server change-password
user list
user passwd
user remove
user reset
version
vpn restart
vpn start
vpn status
vpn stop
Meta-volumes
configuration metadata-backup
configuration show-meta-volume-candidates
meta-volume attach-mirror
meta-volume backup
meta-volume create
meta-volume destroy
meta-volume detach-mirror
meta-volume move
meta-volume verify-on-disk-consistency
486
unalias
security remove-login-banner
security set-login-banner
Cache vaulting
vault go
vault overrideUnvaultQuorum
vault status
Consistency groups
consistency-group add-virtual-volumes
consistency-group cache-invalidate
consistency-group choose-winner
consistency-group create
consistency-group destroy
consistency-group list-eligible-volumes
consistency-group remove-virtual-volumes
consistency-group resolve-conflicting-detach
consistency-group resume-after-data-loss-failure
consistency-group resume-after-rollback
consistency-group resume-at-loser
consistency-group set-detach-rule active-cluster-wins
consistency-group set-detach-rule no-automatic-winner
consistency-group set-detach-rule winner
consistency-group summary
set
Monitoring/statistics
monitor add-console-sink
monitor add-file-sink
monitor collect
monitor create
monitor destroy
monitor remove-sink
monitor stat-list
report aggregate-monitors
report create-monitors
report poll-monitors
Monitoring/statistics
487
Security/authentication
authentication directory-service configure
authentication directory-service map
authentication directory-service show
authentication directory-service unconfigure
488
Cluster Witness
cluster-witness configure
cluster-witness disable
cluster-witness enable
configuration cw-vpn-configure
configuration cw-vpn-reset
RecoverPoint
rp rpa-cluster add
rp rpa-cluster remove
rp summary
rp validate-configuration
Configuration/EZ-Setup
configuration connect-local-directors
configuration complete-system-setup
configuration connect-local-directors
configuration connect-remote-directors
configuration continue-system-setup
configuration cw-vpn-configure
configuration cw-vpn-reset
configuration enable-front-end-ports
configuration event-notices-reports config
configuration event-notices-reports reset
configuration event-notices-reports-show
Cluster Witness
489
configuration get-product-type
configuration join-clusters
configuration register-product
configuration system-reset
configuration system-setup
configuration show-meta-volume-candidates
configuration upgrade-meta-slot-count
configuration virtual-eng-register-vcenter-extensions
configuration virtual-eng-unregister-vcenter-extensions
Miscellaneous
alias
chart create
490
INDEX
A
add-console-sink, monitor 330
add-file-sink, monitor 331
addinitiatorport, export view 250
add-mirror, logging-volume 308
addport, export view 251
addurl, plugin 357
addvirtualvolume, export view 251
advadm dismantle 39
aggregate, report monitors 362
appdump, director 201
array register 47
attach-mirror
meta-volume 320
authentication 49, 53, 55
authentication directory-service 54
authentication directory-service configure 49
authentication directory-service map 53
authentication directory-service show 54
authentication directory-service unconfigure 55
B
Batch migration
perform a migration 61
batch-migrate
check-plan 57
pause 63
remove 64
resume 64
start 65
summary 67
batch-migrate cancel 57
battery-conditioning disable 69
battery-conditioning enable 71
battery-conditioning manual-cycle cancel-request 73
battery-conditioning manual-cycle request 74
battery-conditioning set-enabled 71
battery-conditioning set-schedule 75
battery-conditioning summary 77
begin, capture 84
C
cache-invalidate
consistency-group 79
virtual-volume 79
call-home import-event-modifications 348
call-home remove-event-modifications 350
call-home-view-event-modifications 351
cancel
dm migration 215
capacity-clusters, report 366
capacity-hosts, report 367
capture
begin 84
end 85
pause 85
replay 85
resume 86
checkconfig, export view 253
check-plan, batch-migrate 57
claim, storage-volume 425
claimingwizard 428
clean, dm migration 216
CLI
? wildcard 34
* wildcard 34
** wildcard 34
accessing help 37
context tree 27, 28
display command arguments 33
executing commands 31
Log in 25
Log out 26
log out 26
login 25
page output 32
positional arguments 36
Tab completion 32
using commands 31
-verbose and --help arguments 36
viewing command history 37
Where am I in the context tree? 30
CLI commands
cd 30
globbing 35
ls 30
popd 29
positional arguments 36
pushd 29
tree 31
verbose and --help arguments 36
wildcards 33
CLI context tree 28
CLI workspace
command history 37
cluster
capacity report 366
summary 100
cluster configdump 91
cluster IP seed 402
cluster local-ha
repair-directors power-on 95
cluster shutdown 95
cluster status
cluster shutdown 98
expelled cluster 98
healthy clusters 97
link outage 98
EMC VPLEX CLI Reference Guide
491
Index
cluster summary
cluster expelled 101
healthy cluster 100
link outage 101
cluster virtual-ha
repair-datastore-placement 103
cluster-witness
configure 103
create context 103
VPN connectivity 118
vpn prerequisites 119
cluster-witness disable 105
cluster-witness enable 107
collect
monitor 332
collect-diagnostics 112
command history, viewing 37
commission, director 204
commit, dm migration 217
configuration
remote-clusters add-addresses 134
remote-clusters clear-addresses 135
show-meta-volume-candidates 137
subnet remote-subnet add 140
subnet remote-subnet remove 141
configuration complete-geo-setup 114
configuration configure-auth-service 115
configuration connect-local-directors 116
configuration cws-vpn-configure 118
configuration event-notices-reports-config 123
configuration event-notices-reports-reset 126
configuration metadata-backup 130
configuration register-product 132
configuration show-meta-volume-candidates 135
configuration sync-time-clear 144
configuration sync-time-show 142, 145
configuration system-reset 144
configuration, validate 454
connect 149
connectivity
show 153
validate-be 154
window set 158
window show 160
window stat 161
connectivity validate-wan-com 156
consistency-group
cache-invalidate 79
consistency-group choose-winner 164
consistency-group create 166
consistency-group destroy 169
consistency-group list-eligible-volumes 170
consistency-group remove-virtual-volumes 171
consistency-group resolve-conflicting-detach 172
consistency-group resume-after-data-loss-failure 175
consistency-group resume-after-rollback 178
consistency-group resume-at-loser 180
consistency-group summary 186
console sessions 410
copy rule-set 233
492
create
distributed-device 225
export view 254
log filter 304
log source 306
logging-volume 309
meta-volume 322
monitor 333
create extent 262
create, snmp-trap 353
create-ca-certificate
security 388
create-cert-subj
security 391
create-host-certificate
security 393
create-monitors, report 368
D
declare-winner, distributed-device 227
destroy
distributed-device 228
export view 255
extent 264
local-device 302
log filter 305
log source 307
logging-volume 313
meta-volume 326
monitor 336
rule 231
rule-set 234
volume 468
destroy, snmp-trap 354
Detach
mirror leg 192
detach-mirror, device 190
device
destroy local 302
detach-mirror 190
mirror-isolation disable 193
mirror-isolation enable 195
mirror-isolation show 197
resume-link-down 198
resume-link-up 199
director
appdump 201
commission 204
passwd 209
ping 209
shutdown 210
director appcon 200
director fc-port-stats 205
director firmware show-banks 207
director tracepath 211
director traceroute 211
directory-serevice unconfigure 55
directory-service configure 49
directory-service map 53
directory-service unmap 55
IndexIndex
dirs 214
disable
mirror-isolation device 193
disconnect 214
discovering
initiator ports 244
dismantle, advadm 39
Display
default values 412
multiple objects using globs 316
objects attributes 315
objects attributes and contexts 316
operational status 316
writable attributes 412
distributed-device
create 225
declare-winner 227
destroy 228
set-log 229
distributed-storage
dd create 225
dd declare-winner 227
dd destroy 228
dd set-log 229
rule destroy 231
rule island-containing 232
rule-set copy 233
rule-set destroy 234
dm
migration cancel 215
migration clean 216
migration commit 217
migration remove 218
migration resume 219
migration start 220
dr
create 225
declare-winner 227
destroy 228
set-log 229
drill-down 224
ds
dd create 225
dd declare-winner 227
dd destroy 228
dd set-log 229
rule destroy 231
rule island-containing 232
rule-set copy 233
rule-set destroy 234
E
end, capture 85
event-test 242
exec 243
executing CLI commands 31
exit 243
export
initiator-port register 245
initiator-port register-host 246
F
file rotation 334
find, export view 255
find-array, storage-volume 431
find-unmapped-volumes, export view 256
forget
storage-volume 431
G
gateway IP address
set 317
getsysinfo 266
H
help 274
help command
CLI 37
help, accessing in CLI 37
history 276
host, capacity report 367
I
import-event-modifications 348
initiator ports
discovering 244
initiator-port
register 245
register-host 246
unregister 248
IP address
set 317
EMC VPLEX CLI Reference Guide
493
Index
IP seed 402
ipsec-configure
security 401
iscsi
isns list 291
isns remove 293
sendtargets list 295
sendtargets rediscover 296
sendtargets remove 297
targets list 298
iscsi chap
back-end
set-default-credential 282
back-end add-credentials 276
back-end disable 277
back-end enable 278
back-end list-credentials 279
back-end remove-default-credential 281
front-end add-credential 283
front-end disable 284
front-end enable 285
front-end list-credentials 286
front-end remove-credentials 287
front-end remove-default-credential 287
front-end set-default-credential 288
iscsi chap back-end
add credentials 276
disable 277
enable 278
list-credentials 279
remove-credentials
iscsi chap
back-end remove-credentials
remove-default credential 281
set-default-credential 282
iscsi chap front-end
add-credential 283
disable 284
enable 285
list-credentials 286
remove-credentials 287
remove-default-credential 287
set-default-credential 288
iscsi isns
list 291
remove 293
iscsi isns add 290
iscsi sendtargets
list 295
rediscover 296
remove 297
iscsi targets
list 298
iscsi targets logout 299
island-containing rule 232
J
Jython 387
494
list 315
iscsi isns 291
iscsi sendtargets 295
iscsi targets 298
log filter 306
log source 308
listurl, plugin 357
local-device
destroy 302
summary 303
local-device-create 299
log
filter create 304
filter destroy 305
filter list 306
source create 306
source destroy 307
source list 308
Log in to CLI 25
Log out from CLI 26
log source create 306
log source destroy 307
logging-volume
add-mirror 308
create 309
destroy 313
logical-unit forget 313
ls 315
M
280
management-server
set-ip 317
management-server set-ip 317
manifest
upgrade 319
version 320
map, export view 257
metadata
backup
initial 131
modify schedule 132
modify backup schedule 132
schedule backup 130
metadata backup
display backup volumes 132
meta-volume
attach-mirror 320
create 322
destroy 326
move 327
migration
cancel 215
clean 216
commit 217
remove 218
resume 219
start 220
migrations
IndexIndex
device 221
extent 221
prerequisites 222
mirror leg
detach 192
monitor
add-console-sink 330
add-file-sink 331
collect 332
create 333
destroy 336
remove-sink 337
stat-list 337
monitors, aggregate 362
move, meta-volume 327
N
Names 34
VPLEX components 34
NDU
display status 347
pre-config-upgrade 338
pre-ndu validation 339
recover from failed ndu 340
rolling upgrade SSD firmware 340
upgrade unconfigured Geo 338
ndu pre-check 339
ndu pre-config-upgrade 338
ndu recover 340
ndu rolling-upgrade c41-to-sles 340
ndu rolling-upgrade c41x-to-sles 340
ndu rolling-upgrade ssd-fw 340
ndu start 344
ndu status 347
net-mask
set 317
Network
set IP address 317
notifications
call-home remove-event-modifications 350
notifications call-home test 353
notifications call-home view-config 351
P
passwd, director 209
password-policy reset 355
password-policy set 355
pause
batch-migrate 63
capture 85
Performance monitoring
file rotation 334
ping 209
plugin
addurl 357
listurl 357
register 358
poll-monitors, report 370
popd 359
R
rebuild
setlimit 360
showlimit 361
status 362
RecoverPoint Appliance
remove 377
Re-discover an array 45
register
initiator-port 245
plugin 358
register-host, export initiator-port 246
remove
batch-migrate 64
dm migration 218
iscsi isns 293
iscsi sendtargets 297
removeinitiatorport, export view 258
remove-modifications 350
removeport, export view 259
remove-sink, monitor 337
removevirtualvolume, export view 259
renamewwns, export target-port 262
Renew security certificates 404
replay, capture 85
report
aggregate-monitors 362
capacity-clusters 366
capacity-hosts 367
create-monitors 368
poll-monitors 370
restart network service 317
resume
batch-migrate 64
capture 86
dm migration 219
resume-link-down, device 198
resume-link-up, device 199
resurrect, storage-volume 433
rp import-certificate 371
rp rpa add 372
rp rpa remove 377
rp rpa summary 378
rp validate configuration 380
rule
destroy 231
island-containing 232
rule-set
copy 233
destroy 234
S
schedule add 383
schedule modify 384
schedule remove 384
script, command 387
EMC VPLEX CLI Reference Guide
495
Index
security
create-ca-certificate 388
create-cert-subj 391
create-host-certificate 393
ipsec-configure 401
renew-all-certificates 404
show-cert-subj 410
security delete-ca-certificate 395
security delete-host-certificate 396
security remove-login-banner 403
security renew-all-certificates 404
security set-login-banner 408, 409
set
connectivity window 158
set topology 414
set, command 411
set-ip
management-server 317
setlimit, rebuild 360
set-log, distributed-device 229
set-login-banner 409
show 54, 410
connectivity 153
connectivity window 160
show hierarchy 415
show-cert-subj
security 410
showlimit, rebuild 361
show-powerpath-interfaces, export view 260
shutdown
director 210
sink
add-console 330
add-file 331
remove 337
sms dump 417
snmp 419
snmp-agent configure 419
snmp-agent start 420
snmp-agent status 420
snmp-agent stop 421
snmp-agent unconfigure 421
snmp-trap, create 353
snmp-trap, destroy 354
source 421
start
batch-migrate 65
dm migration 220
stat, connectivity window 161
stat-list, monitor 337
status
rebuild 362
status VPN 479
storage tier IDs 465
storage tiers 465
storage-tool
compose 422
storage-volume
claim 425
claimingwizard 428
496
find-array 431
forget 431
resurrect 433
summary 435
unclaim 439
used-by 441
subnet clear 441, 444
subnet create 443
subnet destroy 444
subnet modify 445
summary
batch-migrate 67
cluster 100
export port 248
export view 260
extent 264
local-device 303
storage-volume 435
volume 476
system, validate configuration 454
T
target-port, renamewwns 262
test, call-home notifications 353
Thin provisioning 426
tree 447
U
unalias 448
unclaim extent 266
unclaim, storage-volume 439
unregister, initiator-port 248
upgrade
manifest 319
used-by, storage-volume 441
user
event-server change-password 450
user add 449
user event-server
add-user 450
user reset 453
V
validate-be, connectivity 154
validate-system-configuration 454
vault go 455
vault overrideUnvaultQuorum 456
verify fibre-channel-switches 461
version 462
manifest 320
view
addinitiatorport 250
addport 251
addvirtualvolume 251
checkconfig 253
create 254
destroy 255
find 255
find-unmapped-volumes 256
IndexIndex
map 257
removeinitiatorport 258
removeport 259
removevirtualvolume 259
show-powerpath-interfaces 260
summary 260
view-event-modifications 351
virtual-volume
provision 474
virtual-volume cache-invalidate 79
virtual-volume expand 470
volume
destroy 468
summary 476
vpn restart 478
vpn status 479
vsphere register-vm 480
W
WAN COM
verify connectivity 156
wizard, claiming 428
497
Index
498