All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about dm-multipath and Sun StorageTek 6140
@ 2007-02-09  9:56 Ralf Aumüller
  2007-02-12  7:36 ` Yury Konovalov
  0 siblings, 1 reply; 4+ messages in thread
From: Ralf Aumüller @ 2007-02-09  9:56 UTC (permalink / raw)
  To: dm-devel

Hallo,

I have the following questions about dm-multipathing:

- is it true that I need a hardware-specific handler for arrays running
  with active/passive controllers (like the Sun StorageTek 6140) to
  get the the LUN trespassing working?

- did someone get the Sun StorageTek 6140 configured for dm-multipath?
  (so that the LUN trespassing works)

Thank's in advance,

Ralf

(I a also asked these question on the RHEL-list but didn't get an answer
so I try it here again)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question about dm-multipath and Sun StorageTek 6140
  2007-02-09  9:56 Question about dm-multipath and Sun StorageTek 6140 Ralf Aumüller
@ 2007-02-12  7:36 ` Yury Konovalov
  2007-02-14 10:14   ` Eckebrecht von Pappenheim
  0 siblings, 1 reply; 4+ messages in thread
From: Yury Konovalov @ 2007-02-12  7:36 UTC (permalink / raw)
  To: device-mapper development

Hi Ralf,

2007/2/9, Ralf Aumüller <Ralf.Aumueller@informatik.uni-stuttgart.de>:

> - is it true that I need a hardware-specific handler for arrays running
>   with active/passive controllers (like the Sun StorageTek 6140) to
>   get the the LUN trespassing working?

It's true only for non-AVT mode (set host type to Linux to turn AVT mode on)

> - did someone get the Sun StorageTek 6140 configured for dm-multipath?
>   (so that the LUN trespassing works)

It should work as it does for other boxes with LSILogic controllers.

path_grouping_policy    group_by_prio
path_checker            tur
prio_callout            "/sbin/mpath_prio_tpc /dev/%n"

-- 
Best Regards.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question about dm-multipath and Sun StorageTek 6140
  2007-02-12  7:36 ` Yury Konovalov
@ 2007-02-14 10:14   ` Eckebrecht von Pappenheim
  2007-02-15  7:10     ` Yury Konovalov
  0 siblings, 1 reply; 4+ messages in thread
From: Eckebrecht von Pappenheim @ 2007-02-14 10:14 UTC (permalink / raw)
  To: device-mapper development

Hi Yury,

thanks for Your hints, I had the same problem an figured it out now.

>> - is it true that I need a hardware-specific handler for arrays running
>>   with active/passive controllers (like the Sun StorageTek 6140) to
>>   get the the LUN trespassing working?
> 
> It's true only for non-AVT mode (set host type to Linux to turn AVT mode on)

at least for the 6140 this is not correct. It sets the mode to RDAC for the
Sun-RDAC-Driver ( http://www.sun.com/download/products.xml?id=44d12115 ).

You have to choose 'Solaris (with Veritas DMP or other)' (named SOLAVT in the
CLI) to enable AVT.
 
>> - did someone get the Sun StorageTek 6140 configured for dm-multipath?
>>   (so that the LUN trespassing works)
> 
> It should work as it does for other boxes with LSILogic controllers.
> 
> path_grouping_policy    group_by_prio
> path_checker            tur
> prio_callout            "/sbin/mpath_prio_tpc /dev/%n"

Correct, with this setup and AVT enabled LUN trespassing works as designed:

multipathd> show maps topo
reload: Raid5_for_IMAP-Volume (3600a0b800026851e000014e245bf1906) dm-0
SUN,CSM200_R
[size=1.4T][features=0][hwhandler=0]
\_ round-robin 0 [prio=12][active]
 \_ 7:0:2:1 sdah 66:16  [active][ready]
 \_ 6:0:0:1 sdd  8:48   [active][ready]
\_ round-robin 0 [prio=2][enabled]
 \_ 6:0:2:1 sdn  8:208  [active][ready]
 \_ 7:0:0:1 sdx  65:112 [active][ready]

and after failure of preferred controller:

multipathd> show maps topo
reload: Raid5_for_IMAP-Volume (3600a0b800026851e000014e245bf1906) dm-0
SUN,CSM200_R
[size=1.4T][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ 7:0:2:1 sdah 66:16  [failed][faulty]
 \_ 6:0:0:1 sdd  8:48   [failed][faulty]
\_ round-robin 0 [prio=6][active]
 \_ 6:0:2:1 sdn  8:208  [active][ready] 
 \_ 7:0:0:1 sdx  65:112 [active][ready] 

Great software!

Regards,
Eckebrecht

-- 
Eckebrecht von Pappenheim, network administration 
Heise Zeitschriften Verlag GmbH & Co KG
Helstorferstr. 7, D-30625 Hannover, FRG
E-Mail: evp@heise.de  - Tel: +49 511 5352 242  -  Fax: +49 511 5352 479
http://www.heise.de/

Registergericht: Amtsgericht Hannover HRA 26709
 
Persönlich haftende Gesellschafterin:  
Heise Zeitschriften Verlag Geschäftsführung GmbH
Registergericht: Amtsgericht Hannover, HRB 60405
Geschäftsführer: Ansgar Heise, Steven P. Steinkraus, Dr. Alfons Schräder

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question about dm-multipath and Sun StorageTek 6140
  2007-02-14 10:14   ` Eckebrecht von Pappenheim
@ 2007-02-15  7:10     ` Yury Konovalov
  0 siblings, 0 replies; 4+ messages in thread
From: Yury Konovalov @ 2007-02-15  7:10 UTC (permalink / raw)
  To: device-mapper development

Hi Eckebrecht,

2007/2/14, Eckebrecht von Pappenheim <evp@heise.de>:
> > It's true only for non-AVT mode (set host type to Linux to turn AVT mode
> on)
>
> at least for the 6140 this is not correct. It sets the mode to RDAC for the
> Sun-RDAC-Driver ( http://www.sun.com/download/products.xml?id=44d12115 ).
>
> You have to choose 'Solaris (with Veritas DMP or other)' (named SOLAVT in
> the
> CLI) to enable AVT.

You're right. It seems that Sun uses different host types from those
used by IBM http://sunsolve.sun.com/search/document.do?assetkey=1-9-83529-1
-----
...
Linux: This setting is for all Linux OE's using explicit failover via
either STM for linux or the mpp(RDAC) driver.
...
Solaris (with Veritas DMP): This is for Solaris hosts using Symantec
Veritas DMP driver for implicit failover.
...
----

Following Sun terminology, host type with implicit failover should be
used for dm multipathing. At least until (if ever) rdac hwhandler will
be implemented in device mapper.


All best wishes,
Yury.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-15  7:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-09  9:56 Question about dm-multipath and Sun StorageTek 6140 Ralf Aumüller
2007-02-12  7:36 ` Yury Konovalov
2007-02-14 10:14   ` Eckebrecht von Pappenheim
2007-02-15  7:10     ` Yury Konovalov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.