VPLEX: How to check if XCOPY is enabled.

           

   Article Number:     533009                                   Article Version: 3     Article Type:    How To 
   

 


Product:

 

VPLEX VS2,VPLEX VS6,VPLEX Local,VPLEX Metro,VPLEX Series,VPLEX for All Flash,VPLEX GeoSynchrony

 

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   
   
    Note: for any VPLEX running pre-GeoSynchrony 6.x when accessing VPlexcli the service account credentials are required.    
   
    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-1/exports/storage-views/<storage-view name>   

      Example:      
      VPlexcli:/> cd /clusters/VPLEX_XXXX/exports/storage-views/samplestorage-view       
        VPlexcli:/clusters/VPLEX_XXXX/exports/storage-views/sampleStorage-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 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 enabled true --force   
   
    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.