Unsolved
This post is more than 5 years old
1 Rookie
•
62 Posts
0
3063
August 14th, 2015 15:00
How to encapsulate (1storage-vol to 1 virtual-vol) a VMAX symdev in VPLEX using VPLEXCLI?
Hi, I am trying to find a proper procedure to perform VPLEX encapsulation of a symdev that has data on it using VPLEXCLI. Lets assume symdev id is 01AF (200GB) is presented to VPLEX. From vplex cli i ran this command to list the presented symdev.
1. /clusters/cluster-1/storage-elements/storage-volumes>ll (to list all available storage volumes)
2. VPlexcli:/clusters/cluster-1/storage-elements/storage-volumes> claim --thin-rebuild --appc --name sym_vmax_01AF --storage-volumes VPD83T3:6006016091c50e005057534d0c17e011 (This will claim the storage volume, i've used application consistency flag and thin rebuild since my storage is vmax 40K and renames myu storage volume to sym_vmax_01AF )
3. At this point i want to create a virtual volume on top of this claimed storage volume to create a 1 to 1 relation ship between storag vol, extent,device and virtual volume. I came across this command called storage-tool
4. VPlexcli:/> storage-tool compose --name TEST --geometry raid-0 --storage-volumes sym_vmax_01AF
(My hope is that this would create 1 to 1 relationship on storage-vol to vvol and keep the existing data intact.)
Has anyone tested this, is my approach correct in encapsulating the exisitng LUN into VPLEX using CLI, I know unishpere is lot easier, but doing from CLI is what i want to learn. Please suggest any improvements if my procedure is correct.
Environment:
4 engine cluster :VPLEX LOCAL
Geo synchrony: 5.4
VMAX 40K
SameerKulkarni1
37 Posts
1
September 23rd, 2015 06:00
Hi,
with 5.4 i dont think --appc parameter is used if i remember correctly.
and yes, the storage-tool command syntax you mentioned is correct.
Cheers,
Sameer Kulkarni
hernster
1 Rookie
•
63 Posts
0
September 23rd, 2015 13:00
After you claim
# create extent
extent create -d
# create device
local -device create -n -g raid-0 -e
# create virtual volume
virtual-volume create -r
SameerKulkarni1
37 Posts
0
September 24th, 2015 23:00
Hernan,
as we are sure about 1:1 relation between SV and VV then we can use storage-tool which would in turn create extends and devices by itself.
BR,
Sameer
hernster
1 Rookie
•
63 Posts
0
October 5th, 2015 13:00
Why not use the example as documented in the CLI reference guide p422 ?
storage-tool compose TEST raid-1 VPD83T3:60000000aaa000000000000000000001
You've piqued my interest - I will try this in our lab environment.
SameerKulkarni1
37 Posts
0
October 8th, 2015 02:00
I was exactly referring to the example mentioned in the cli guide. should work perfectly
Cheers,
Sameer