Unsolved
This post is more than 5 years old
72 Posts
0
2855
September 21st, 2013 03:00
How to do rebinding a device (volume) using SMI-S provider without loosing data?
Hi,
i have two basic questions:
1. Say, i have a lun (which has data) which is bind to a pool (say foo)
If i rebind the lun to a different pool (say bar), will the data be erased.
I am assuming there wont be data loss. can any one please confirm?
2. If the answer is there is no data loss, any one know how to do it using SMI-S provider?
i know how to bind and unbind using provider and inorder to rebind, i can unbind from the current pool (here foo), and bind it to (bar).
but the data will be erased. i am wondering is there a way to do this without loosing data?
Usecase
------------
basically while adding fast vp policy, i want to rebind devices in a storage group to one of the pools of fast policy. i want to do it without loosing data.


Dream93
72 Posts
0
September 21st, 2013 03:00
Wow, thats a very quick reply. thanks a lot. this is my first question as i just want to try the community looks like its very actvie
, which makes my job easier.
Thanks for the confirmation. yes, i did look at programmers' guide as well spec, but didnt find any reference.
the only interesting methods are EMCUnBindElements, EMCUnBindElement, EMCBindElement, EMCBindElements...
And EmcBindElement throws an error, if i tried to bind a 'bound lun' to different pool.
I see this community focus is VMAX/Symmeterix. do you know of any community which focusses on SMI-S provider?
thanks for the help,
Tandok
34 Posts
0
September 21st, 2013 03:00
Hi,
To answer the first question, a “rebind” will not cause data loss. But when you rebind, it does not move the existing extents to the new pool. Only the new allocations will go to the new pool.
An unbind and rebind will on the other hand cause data to be lost.
Since you are planning to move the device to a pool that is currently a tier within a Fast VP policy, you are better off using symmigrate to move from one pool to another, rather than a rebind.
Not sure how this is done from the SMI-S provider. Need to take a look at the programmers guide.
Regards
victorforde
60 Posts
0
September 21st, 2013 04:00
Hi,
Another option might be via the Unisphere for VMAX REST API. The programmers guide is here https://support.emc.com/docu45978_EMC-Unisphere-for-VMAX-REST-API-Programmer's-Guide.pdf
Support site is down now so can't see the guide myself
Have a look at Matt Cowger's (an EMC ninja) blog to show how it can be used Unisphere for VMAX API & Carbon/Graphite | The Exaforge
Thanks,
Victor