VPLEX: How to check if XCOPY is enabled.
Summary: This KB article shows you how to check if the XCOPY feature is enabled and how to enable if disabled/false.
Instructions
The steps below are to be followed to check if XCOPY is enabled and how to enable it if it is found not to be enabled.
Step 1: Login to VPlexcli as service and list the storage-views by running the following command,
export stroage-view summary
Sample output:
VPlexcli:/> export storage-view summary
Example:
View health summary(cluster-1):
view name health-state exported volumes ports registered initiators
------------- ------------ ---------------- ----- --------------------
XXXXXXXXXXXXX healthy X X X
XXXXXXXXXXXXX healthy XX X X
XXXXXXXXXXXXX healthy XX X X
Total 3 views, 0 unhealthy.
View health summary(cluster-2):
view name health-state exported volumes ports registered initiators
------------- ------------ ---------------- ----- --------------------
XXXXXXXXXXXXX healthy X X X
XXXXXXXXXXXXX healthy X X X
XXXXXXXXXXXXX healthy X X X
Total 3 views, 0 unhealthy.
Step 2: Change Directory (cd) to the particular storage-view in question and list the details by
running the ' ll ' command as shown below.
Path: /clusters/<cluster-name>/exports/storage-views/<storage-view-name>
Example:
VPlexcli:/> cd /clusters/cluster-1/exports/storage-views/sample-storage-view
VPlexcli:/clusters/cluster-1/exports/storage-views/sample-storage-view> ll
Name Value
------------------------ ------------------------------------------------------------------------------------
caw-enabled true
controller-tag -
initiators [registered initiator name1, registered initiator-name2]
operational-status ok
port-name-enabled-status [P0000000046E00720-A0-FC00,true,ok, P0000000046E00720-A0-FC01,true,ok,
P0000000046F00720-B0-FC00,true,ok, P0000000046F00720-B0-FC01,true,ok]
ports [P0000000046E00720-A0-FC00, P0000000046E00720-A0-FC01,
P0000000046F00720-B0-FC00, P0000000046F00720-B0-FC01
virtual-volumes [(X,device_XXXXX_XXXX_X_vol,VPDXXX:XXXXXXXXXXXXXXXXXXX,XT)]
write-same-16-enabled true
xcopy-enabled true <<< shows whether XCOPY as enabled
In the above output you can see that "xcopy-enabled" is set to true, which states that the XCOPY is enabled for this storage view. If "xcopy-enabled" shows as false then XCOPY is disabled.
If you find that any storage-view shows "xcopy-enabled" as false and you would like to enable it from the particular storage-view context use the 'set enabled' command as shown below.
cd to the specific storage-view you want the 'xcopy-enabled' feature set to true for as show in step 2 above. Once at the specific storage-view context level enable xcopy as follows.
VPlexcli:/clusters/VPLEX_XXXX/exports/storage-views/sampleStorage-view> set xcopy-enabled true
You will be returned back to the prompt. Now run the ' ll ' command again, as shows in step 2, to check that xcopy is now enabled.