Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

3267

August 29th, 2012 00:00

How to move a LUN from a SG with Fast VP to other SG ?

Hi,

Good Day

There is a scenario where few LUNs are allocated to Storage Group with Fast VP applied and later we want few or single LUN to be shared to more host/s. Therefore from the we want to move LUN/s from first SG to other SG.

I belive host will be missing the LUN if we move. Kindly let me know on how and in what scenariosto move the LUN/s ?

Please let me know if you need more details.

Many Thanks

Regards,

Sreekanth Adari

56 Posts

September 11th, 2012 07:00

Hi Sree,

So it means you have MV_A and MV_B existing but no MV_cluster. Now you want to share some luns across A,B & C.

So best is create a MV_cluster , SG_cluster , IG_cluster and add IG_A,B &C in cascaded manner with -consistent_lun option and in SG_cluster add the luns which you want to share. Meanwhile disassociate the SG temp from Fastvp.

Also now for movement of luns from SG_A to SG_cluster you have two different ways -1) take downtime and move the luns to new SG 2) Divide yours IGs such you have two IG's from one host and create the cluster IG with one and then move the luns so everytime lun has 1 path alive from the host. We recently did that kind of movement. And once luns are in new cluster SG then add back the other paths to the IG. And then finally associate the SG to the FASTvp.

Because device cannot belong to more than one storage group in use by FAST so you have to add lun to only one group.

And then add your SG_A and SG_B to fast also and no duplicate luns in any SG.

If you divide the IG make sure host has multipathing software in it and also try to keep lun numbers same which is not 100% compulsory i think but as best practise we keep same lun. Multipath should take care of lun numbers but then also better to do safely.

Regards,

Mrinal Dani

859 Posts

August 29th, 2012 01:00

yes, host will lose access to the LUN if you move it from the SG (and SG is part of masking view). Moving the LUN from the FAST applied SG will clear the FAST Stats for the LUN.

regards,

Saurabh

56 Posts

August 29th, 2012 08:00

Sreekanth,

Did you tried disassociating the SG from fastvp and then try adding the lun to new storage group.

I deleted one of my post as I assumed your doing some cluster operations but you have mentioned you want to move the lun from one SG to other then definetly it will loose access. Are you looking for host steps in doing that??

In case your sharing this lun to cluster then ->You can share lun across different SG's but if this existing host need to be added into cluster then you have to create a new cluster MV with cascaded IG and SG and then move lun, as one lun cant be masked with same wwpns using two MV's at one time. We once did by removing one HBA from single node to   --> cluster IG and then sharing the lun across both SG ,such host dont loose total access at one time to this luns. Do let us know what exactly your trying to do then we get full understanding of your question.

56 Posts

August 29th, 2012 09:00

"A device cannot belong to more than one storage group in use by FAST" this is also one restriction when SG is associated with FASTvp so you need to plan that way.

September 10th, 2012 00:00

Hi Mrinal,

Sorry for late response.

Yes, we want to share LUN/s of one SG to other SG/s in the same cluster. I believe you have solution to the scenario we have, could you please give me any example taking 3 servers where we first have 2 servers and later got 3 rd server to share few LUNs of first two servers. Also can you describe more on "cascaded IG and SG and then move lun" does this mean that parent and child IG concept has to be implemented ?

Waiting to hear from you.

Many Thanks,

Sreekanth Adari

56 Posts

September 10th, 2012 12:00

Hi,

So if we make a cluster from initial deployement we make one cascaded IG and one shared SG and masking views seperate for shared and non shared. For example :-

A= 1st host in current cluster

B = 2nd host in cluster

C = new host need to bring in

IG_A = IG for host A , SG_A = non shared luns of host A , MV_A = masking view for non shared luns of A

IG_B = IG for host B , SG_B = non shared luns of host B ,  MV_B = masking for non shared luns for B

IG_cluster = Cascaded IG  with IG_A and IG_B in them for cluster where you want to share luns

SG_cluster = Storage group with luns that are shared across A and B .

MV_cluster = Masking view for the shared luns in cluster.

Now you want to add host 'C' into the above cluster and share all the shared luns then it becomes very easy.

Just add the IG_C to cascaded IG_A_B_cluster and that was all the shared luns will be shared across host C,

And if host C needs some local non shared luns you can create MV_C also.

But its different when you dont want all the shared luns to share across host C and only few of them from SG_cluster.

SG_C = New storage group for C.

Now add those luns to SG_C also and create a masking view MV_C. You need to make sure try to keep the lun number same when your adding the luns to the SG_C such that they are same in SG_cluster

Note: Here if this SG is part of FASTvp it will give u error to create the view.

If for the intial A & B hosts you dont have views done like we do for cluster and its a single MV and SG and one IG then you can create one for cluster and start moving those luns and hosts into it so in future also for adding any node to cluster it will become easy work.

Do let me know if this helped you .As still so many scenarios can be possible so I am just trying to guess your current setup of views.

September 11th, 2012 05:00

Hi Mrinal,

Thanka a lot for the detailed explanation.

My scenario is the one what you specified in the Note. Existing SG's A & B are associated to FAST VP and is unable tos share one or few LUNs of A & B to new Host C.

56 Posts

September 11th, 2012 07:00

In above when I mentioned we did similar work for my case it was moving a host online from one set of FA ports to other set of FA ports (mapping) without downtime.

September 26th, 2012 23:00

Thanks a lot Mrinal, Your suggestions are helpful.

June 30th, 2016 08:00

I have similar requirement here..

Server A has 1,2,3 Luns.

server B has 4,5,6 luns on it.

But here I want to present the 1,2,3 luns of Server A to server B as well. Both servers SG have Fast policy applied on it. Please help me out on how to proceed with this.

9 Legend

 • 

20.4K Posts

June 30th, 2016 09:00

just like Mrinal suggested, if you want to keep it clean. Or create a brand new storage group, add LUNs 1,2,3 and then create a brand new masking view with this new storage group and server B initiator group. I think that should work but you are getting into very messy configuration.  Take the time (and associated downtime) to do it right. I have 3 masking views, masking view 1 is for LUNs presented to server A, masking view 2 is for LUNs presented to server B and masking view 3 is for shared LUNs.

No Events found!

Top