HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Migrate single-hosts-exports to host-set exports
PostPosted: Tue May 27, 2014 7:24 am 

Joined: Tue May 27, 2014 7:13 am
Posts: 1
Hello,

I've got a lot of virtual volumes exported to 3 single hosts directly (3 exports). I want to switch this exports to a host-set containing this 3 (or in future 4) hosts. I've created the new host-set.

How can I change the exports from 3 exports ("Host sees") to 1 export ("Host in Set") "automaticaly" (=by script/CLI)? And if I do this, will the LUN be offline a short time or can I make this changes while the hosts are online without interruption (virtual machines on the VVs)?

Kind regards,
Karl-Heinz


Top
 Profile  
Reply with quote  
 Post subject: Re: Migrate single-hosts-exports to host-set exports
PostPosted: Tue May 27, 2014 9:55 am 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1328
Location: Dallas, Texas
Great question, I am interested in what the optimal method will be as well. I am unaware of a hot/online fix for this... the process I would use would be put one of the cluster nodes in maintenance mode (offline), delete its specific VLUN templates, then export the VVset to the host. Bring host back online... validate, bring next host down for maintenence, etc etc..

_________________
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.


Top
 Profile  
Reply with quote  
 Post subject: Re: Migrate single-hosts-exports to host-set exports
PostPosted: Tue May 27, 2014 1:28 pm 
User avatar

Joined: Sat May 03, 2014 2:01 pm
Posts: 71
Location: Dallas, TX
A host can have multiple exports from the same vv.
Why not just create a host set, add the hosts and export the volume set to it.
Then wait until you are sure it sees the new export and remove the direct exports leaving only the group export.
This should not delete the VLUNs, you should see the exports as "host in set" and any future exports will be done via the host set.

I would try it with some test VVs first, but I don't see why this shouldn't be an online process.

Bryan @Match.con

_________________
Bryan W
Senior Architect/Manager of System Infrastructure, Dallas TX
https://www.linkedin.com/in/bryanlwhite


Top
 Profile  
Reply with quote  
 Post subject: Re: Migrate single-hosts-exports to host-set exports
PostPosted: Tue May 27, 2014 2:06 pm 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1328
Location: Dallas, Texas
Definitely needs a test. My concern was that it would not let you export the same VV twice with the same LUN number, and I was assuming the desired result would be to maintain existing LUN mappings in the conversion.

_________________
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.


Top
 Profile  
Reply with quote  
 Post subject: Re: Migrate single-hosts-exports to host-set exports
PostPosted: Tue May 27, 2014 4:38 pm 

Joined: Mon May 26, 2014 7:15 am
Posts: 237
BryanW wrote:
A host can have multiple exports from the same vv.
Why not just create a host set, add the hosts and export the volume set to it.
Then wait until you are sure it sees the new export and remove the direct exports leaving only the group export.
This should not delete the VLUNs, you should see the exports as "host in set" and any future exports will be done via the host set.

I would try it with some test VVs first, but I don't see why this shouldn't be an online process.

Bryan @Match.con

This is what I would do too, as in theory, as long as e host set is right, then the final removal of the single vluns should leave the working host set so the host should not notice any change.


Top
 Profile  
Reply with quote  
 Post subject: Re: Migrate single-hosts-exports to host-set exports
PostPosted: Wed May 28, 2014 2:18 pm 
User avatar

Joined: Sat May 03, 2014 2:01 pm
Posts: 71
Location: Dallas, TX
I guess this all depends on how your host reacts to VLUN IDs changing, so I would definitely test it in your environment.

I was able to simulate this online with a Windows 2008 R2 host by exporting a test VV directly to the host which created VLUN 0, then adding the host to a group and exporting to it - which created VLUN 1. I deleted VLUN 0 and the LUN now shows exported as host in set as VLUN 1. I selected just the VLUN 0 by using the Active VLUN tab under the host and selecting Unexport Volume for VLUN ID 0 - if you do it at the VV level it will try to unexport both VLUN IDs and the host would lose access.

I didn't see any impact to VV access during my test, but again I would try it out with your hosts.

Bryan @ Match.com

_________________
Bryan W
Senior Architect/Manager of System Infrastructure, Dallas TX
https://www.linkedin.com/in/bryanlwhite


Top
 Profile  
Reply with quote  
 Post subject: Re: Migrate single-hosts-exports to host-set exports
PostPosted: Thu May 29, 2014 11:51 am 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1328
Location: Dallas, Texas
Interesting, so the secret sauce must be MPIO? I assume MPIO intelligently recognized the new LUN# as an existing device and just added its new path to the config for existing volume?

_________________
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.


Top
 Profile  
Reply with quote  
 Post subject: Re: Migrate single-hosts-exports to host-set exports
PostPosted: Thu May 29, 2014 12:58 pm 
User avatar

Joined: Sat May 03, 2014 2:01 pm
Posts: 71
Location: Dallas, TX
MPIO and or the Host OS's recognition of the disk device by NAA/EUI as unique

_________________
Bryan W
Senior Architect/Manager of System Infrastructure, Dallas TX
https://www.linkedin.com/in/bryanlwhite


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: Google [Bot] and 349 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt