CLI Guide

Table Of Contents
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)
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.
Example
To display the raw report file, exit to the management server:
VPlexcli:/> exit
Connection closed by foreign host.
service@ManagementServer:~>
Navigate to the VPlexcli 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
.
.
.
Use the cat filename command to display the file:
service@ManagementServer:/var/log/VPlex/cli/reports> cat CapacityArraysLocal.csv
Time, Cluster name, Array name, Tier string, Allocated volumes (GiB), Unalloc devices
(GiB), Unalloc storage_volumes (GiB)
2010-06-21 16:00:32, cluster-1, EMC-0x00000000192601378, no-tier, 0, 0, 5666242560000
2010-06-21 16:00:32, cluster-1, EMC-0x00000000192601852, no-tier, 0, 0, 5292530073600
To display the file with the report capacity-arrays command:
VPlexcli:/> report capacity-arrays
Local Storage (in GiB):
cluster-1:
EMC-0x00000000192601378:
tier: no-tier
alloc: 0.000
unalloc devices: 0.000
unalloc storage-volumes: 5277.100
EMC-0x00000000192601852:
tier: no-tier
274
Commands