Unsolved

This post is more than 5 years old

8 Posts

1108

March 3rd, 2008 22:00

Sharing LUN between hosts

Hi All
I have two hosts having

Hosts1 : a,b,c,d
Hosts2 : e,f,g,h
I want to share the LUNs of Host1 from Host2 and vice versa, so that i can use them if one host fails. I wont use the LUNs from other host without 1 host fails.

Can any one help me with this.

Thanks

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

March 4th, 2008 13:00

i think you need to look at some kind of clustering solution ...MS Clustering or Veritas. If i understand correctly, you want hosts1 luns to failover to host2 in case host1 fails ? If your os is Windows ..it has to be running windows 2000 Advanced server/2003 Enterprise edition to use MS Clustering.

2 Intern

 • 

1.3K Posts

March 4th, 2008 19:00

the right solution is a cluster.. but if you want to manage yourslf w/o cluster you take the risk of monitoring the the LUNS on the servers.. i mean at any time the LUNs should not be activated at both side which could risk the data integrity and a potential data lose.

6 Operator

 • 

5.7K Posts

March 5th, 2008 10:00

You could try it manually: mask the luns to 1 host and if that one host fails, mask them to another host and start up your application on that host.

A cluster would be better.

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

March 5th, 2008 11:00

to Clariion only folks you are speaking foreigner language man ..what the heck is masking ? ;)

6 Operator

 • 

5.7K Posts

March 5th, 2008 12:00

Ooops... Masking is the act of putting a host in a storage group, so it can see the lun that are in there ;)

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

March 5th, 2008 12:00

i sense a little dutch accent in there ...but overall is a good explanation :D

2 Intern

 • 

1.3K Posts

March 5th, 2008 13:00

ar you looking for "presenting" the LUNS than "masking"?

1 Message

March 7th, 2008 02:00

Hi,

Like anyone is advising USE a kind of CLUSTERING SW.
Otherwise your data can get corrupted.... Even if you are taking good care....

6 Operator

 • 

2.8K Posts

March 7th, 2008 02:00

You wrote:
I want to share the LUNs of Host1 from Host2 and vice
versa, so that i can use them if one host fails. I
wont use the LUNs from other host without 1 host
fails.


I read: "I want to loose data. Is it the best way??" :D

Sharing luns between hosts without something managing the access leads usually to data corruption.
Dynamox, Rob and Santhosh gave you good advices .. But please DON'T DO THAT. :D

2 Intern

 • 

385 Posts

March 10th, 2008 05:00

My suggestion if you absolutely have to do "poor man's" clustering is to leave each host in its own storage group with its "primary" LUNs.

In the event of a hardware failure move the LUNs from the failed node's storage group to the "active" node's storage group and then run whatever host specific commands you need to run to add the devices and get the application running. This will remove any risk of data corruption.

If you are running Windows I would strongly recommend not sharing LUNs as it can be tricky to avoid having both servers attempt to own/import these devices. There is an option to disable automatic scan/mount (mountvol /N) but once again use at your own risk.

For UNIX variants (AIX/HP) this is a good bit safer, but still presents good opportunity for human error to occur if you are not VERY careful.

Good luck and take care - you could cause yourself a lot of trouble if you miss some steps.

6 Operator

 • 

5.7K Posts

March 10th, 2008 12:00

My suggestion if you absolutely have to do "poor man's" clustering is to leave each host in its own storage group with its "primary" LUNs.


In the event of a hardware failure move the LUNs from the failed node's storage group to the "active" node's storage group and then run whatever host specific commands you need to run to add the devices and get the application running. This will remove any risk of data corruption.


That's exactly what I meant ;)
No Events found!

Top