Skip to contentSkip to conversation

tools target for SLES9 SP2 and RHEL4 U2

DISCUSSION christophe varoqui 5 participants 19 messages Jun 9, 2005 – Jun 14, 2005 Device mapper

lore
Share & tools
lore
#0 lore raw

Alasdair, Lars,

where do you want to go with the multipath tools for your next distro release ?

Should we stabilize a 0.4.5 out of the git head, or do you want bugfixes in there backported to 0.4.4 ?

If the former is prefered, I'll start tagging the tree more regularly to provide tarballs and widen the audience. It will also be good to freeze a list of shortcomings to address for the release, and decide on a deadline.

Regards,

Signature · 1 line
christophe varoqui <[email protected]>
#1 lore raw
Quoted 2 lines · christophe varoqui

where do you want to go with the multipath tools for your next distro release ?

We discussed this on this week's conference call, and we'd both like a period of stabalisation until early next month i.e. only bug fixes applied for a few weeks.

Alasdair

Signature · 1 line
[email protected]
#3 lore raw
Quoted 6 lines · Alasdair G Kergon
Quoted 1 line · christophe varoqui

Should we stabilize a 0.4.5 out of the git head

Yes - both distributions are basing their next package on your current git head.

ok,

be aware I broke the StorageWorks failover model to satisfy the expressed need to proactively fail paths in the DM when the checkers see them going down.

StorageWorks hardware relied on the daemon to keep the paths in failover path groups to be in active state. That is no longer the case, now that we keep the DM path state in sync with checker states.

I guess to correct way to get back to a working model is to implement the DM path activation in a hardware handler. Dave Olien and Mike Christie have worked on such a handler. It needs debuging and testing.

Regards,

Signature · 1 line
christophe varoqui <[email protected]>
#4 lore raw

StorageWorks failover model (was: tools target for SLES9 SP2 and RHEL4 U2)

Hi,

Quoted 6 lines · christophe varoqui
Quoted 2 lines · Alasdair G Kergon
Quoted 1 line · christophe varoqui

Should we stabilize a 0.4.5 out of the git head

be aware I broke the StorageWorks failover model to satisfy the expressed need to proactively fail paths in the DM when the checkers see them going down.

What does that mean for StorageWorks users? I'm currently setting up a StorageWorks EVA3000 from scratch based on FC4 final. Will I stumble into any pitfalls, or would that only affect gits users?

Thanks!

Quoted 9 lines

StorageWorks hardware relied on the daemon to keep the paths in failover path groups to be in active state. That is no longer the case, now that we keep the DM path state in sync with checker states.

I guess to correct way to get back to a working model is to implement the DM path activation in a hardware handler. Dave Olien and Mike Christie have worked on such a handler. It needs debuging and testing.

Regards,

Signature · 1 line
Axel.Thimm at ATrpms.net
#5 lore raw

Re: StorageWorks failover model (was: tools target for SLES9 SP2 and RHEL4 U2)

Quoted 5 lines · Axel Thimm

Hi,

Quoted 2 lines · christophe varoqui
Quoted 1 line · Alasdair G Kergon

On Thu, Jun 09, 2005 at 08:16:42PM +0200, christophe varoqui wrote:

Quoted 9 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line

Should we stabilize a 0.4.5 out of the git head

be aware I broke the StorageWorks failover model to satisfy the expressed need to proactively fail paths in the DM when the checkers see them going down.

What does that mean for StorageWorks users? I'm currently setting up a StorageWorks EVA3000 from scratch based on FC4 final. Will I stumble into any pitfalls, or would that only affect gits users?

0.4.4 should be ok. I don't know what FC packagers did though.

Also be aware you'll be best served using the failover policy for now :
there is a 20% performance impact with multi-path per PG.

Regards,

Signature · 1 line
christophe varoqui <[email protected]>
#6 lore raw

Re: StorageWorks failover model (was: tools target for SLES9 SP2 and RHEL4 U2)

Quoted 11 lines · christophe varoqui
Quoted 10 lines · Axel Thimm

Hi,

Quoted 6 lines · christophe varoqui
Quoted 2 lines · Alasdair G Kergon
Quoted 1 line · christophe varoqui

Should we stabilize a 0.4.5 out of the git head

be aware I broke the StorageWorks failover model to satisfy the expressed need to proactively fail paths in the DM when the checkers see them going down.

Quoted 5 lines
Quoted 4 lines

What does that mean for StorageWorks users? I'm currently setting up a StorageWorks EVA3000 from scratch based on FC4 final. Will I stumble into any pitfalls, or would that only affect gits users?

0.4.4 should be ok. I don't know what FC packagers did though.

It's 0.4.4.2 with a couple of patches. Is that still OK?

Quoted 2 lines

Also be aware you'll be best served using the failover policy for now :
there is a 20% performance impact with multi-path per PG.

The default multipath.conf ships with path_grouping_policy multibus (e.g. all 4 paths in one path group on a 2x active/2x failing controller setup). I understand that doing round robin over the active and failed paths will make performance drop.

But what about path grouping with group_by_serial (like tur did, e.g. an active path group and a failing path group)? Is that eating performance, too? So I should prefer a path per PG (failover)?

Thanks!

Signature · 1 line
Axel.Thimm at ATrpms.net
#7 lore raw

Re: Re: StorageWorks failover model (was: tools target for SLES9 SP2 and RHEL4 U2)

Quoted 12 lines · Axel Thimm
Quoted 11 lines · christophe varoqui
Quoted 10 lines · Axel Thimm

Hi,

Quoted 6 lines · christophe varoqui
Quoted 2 lines · Alasdair G Kergon
Quoted 1 line · christophe varoqui

Should we stabilize a 0.4.5 out of the git head

be aware I broke the StorageWorks failover model to satisfy the expressed need to proactively fail paths in the DM when the checkers see them going down.

Quoted 8 lines
Quoted 5 lines
Quoted 4 lines

What does that mean for StorageWorks users? I'm currently setting up a StorageWorks EVA3000 from scratch based on FC4 final. Will I stumble into any pitfalls, or would that only affect gits users?

0.4.4 should be ok. I don't know what FC packagers did though.

It's 0.4.4.2 with a couple of patches. Is that still OK?

I guess yes.
You'll know soon enough in your testing ...

What you have to be careful about is the daemon reinstating paths in the inactive PG. If it does so, you should be safe.

Quoted 12 lines
Quoted 2 lines

Also be aware you'll be best served using the failover policy for now :
there is a 20% performance impact with multi-path per PG.

The default multipath.conf ships with path_grouping_policy multibus (e.g. all 4 paths in one path group on a 2x active/2x failing controller setup). I understand that doing round robin over the active and failed paths will make performance drop.

But what about path grouping with group_by_serial (like tur did, e.g. an active path group and a failing path group)? Is that eating performance, too? So I should prefer a path per PG (failover)?

Yes, there is a performance cost with all topologies involving multiple paths in 1 PG. True for multibus and group_by_serial in your setup.

multibus as a default is an error, which is corrected in the devel branch. group_by_serial would be the adequate policy, left alone this performance problem that will eventually gets sorted out.

Regards,

Signature · 1 line
christophe varoqui <[email protected]>
#8 lore raw
In reply to Alasdair G Kergon
Quoted 6 lines · Alasdair G Kergon [[email protected]] wrote:
Quoted 1 line · christophe varoqui

Should we stabilize a 0.4.5 out of the git head

Yes - both distributions are basing their next package on your current git head.

What about multipathd's use of uevents for dm updates and the distro kernels currently not supporting this capability. Will a person just have to restart multipathd if one changes the dm config and a newer kernel is not being used?

-andmike
--
Michael Anderson
[email protected]

#9 lore raw
Quoted 4 lines · Mike Anderson
Quoted 3 lines · Alasdair G Kergon [[email protected]] wrote:
Quoted 1 line · christophe varoqui

Should we stabilize a 0.4.5 out of the git head

Quoted 9 lines
Quoted 3 lines

Yes - both distributions are basing their next package on your current git head.

What about multipathd's use of uevents for dm updates and the distro kernels currently not supporting this capability. Will a person just have to restart multipathd if one changes the dm config and a newer kernel is not being used?

And should we consider moving the libdevmapper event daemon framework for 0.4.5 ?

Regards,
cvaroqui

#10 lore raw
In reply to Mike Anderson
Quoted 7 lines · Mike Anderson
Quoted 3 lines
Quoted 1 line

Should we stabilize a 0.4.5 out of the git head

Yes - both distributions are basing their next package on your current git head.

What about multipathd's use of uevents for dm updates and the distro kernels currently not supporting this capability. Will a person just have to restart multipathd if one changes the dm config and a newer kernel is not being used?

We'll need a workaround for that, or back it out for our distribution and go back to the signal version...

Sincerely,
Lars Marowsky-Brée <[email protected]>

Signature · 4 lines
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business	 -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"
#11 lore raw
Quoted 6 lines · Lars Marowsky-Bree
Quoted 4 lines

What about multipathd's use of uevents for dm updates and the distro kernels currently not supporting this capability. Will a person just have to restart multipathd if one changes the dm config and a newer kernel is not being used?

We'll need a workaround for that, or back it out for our distribution and go back to the signal version...

So any comments on this one, christophe?

Maybe fallback to signals if the kernel version is too old? Or should we maintain a separate patch for the distribution?

Sincerely,
Lars Marowsky-Brée <[email protected]>

Signature · 4 lines
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business	 -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"
#12 lore raw
Quoted 6 lines · Lars Marowsky-Bree
Quoted 4 lines · Lars Marowsky-Bree
Quoted 4 lines

What about multipathd's use of uevents for dm updates and the distro kernels currently not supporting this capability. Will a person just have to restart multipathd if one changes the dm config and a newer kernel is not being used?

Quoted 8 lines
Quoted 2 lines

We'll need a workaround for that, or back it out for our distribution and go back to the signal version...

So any comments on this one, christophe?

Maybe fallback to signals if the kernel version is too old? Or should we maintain a separate patch for the distribution?

I'm sure you understand this patch is rather invasive.
I'm clearly reluctant to maintain backward compatibility on this point.

Distributors assuming the burden of it is not nice either.

Have you pondered backporting the uevent kernel patch : it seems rather safe (from my seat, that is :)

Regards,
cvaroqui

#13 lore raw
Quoted 4 lines · Christophe Varoqui

I'm sure you understand this patch is rather invasive. I'm clearly reluctant to maintain backward compatibility on this point.

Distributors assuming the burden of it is not nice either.

Yes, I looked at how much the code diverged, and got pretty frightened to be maintaining such a patch.

Quoted 2 lines

Have you pondered backporting the uevent kernel patch : it seems rather safe (from my seat, that is :)

That might indeed be the cleanest solution. What exactly is needed for it to work for multipath-tools?

Sincerely,
Lars Marowsky-Brée <[email protected]>

Signature · 4 lines
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business	 -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"
#14 lore raw
Quoted 7 lines · Lars Marowsky-Bree
Quoted 4 lines · Christophe Varoqui

I'm sure you understand this patch is rather invasive. I'm clearly reluctant to maintain backward compatibility on this point.

Distributors assuming the burden of it is not nice either.

Quoted 9 lines

Yes, I looked at how much the code diverged, and got pretty frightened to be maintaining such a patch.

Quoted 2 lines

Have you pondered backporting the uevent kernel patch : it seems rather safe (from my seat, that is :)

That might indeed be the cleanest solution. What exactly is needed for it to work for multipath-tools?

For now only the following events :

- block dev add
- block dev remove

When transport uevents get implemented we may want to use them too, but it is not the case in HEAD.

Regards,
cvaroqui

#15 lore raw
Quoted 6 lines · Christophe Varoqui

For now only the following events :

- block dev add
- block dev remove

When transport uevents get implemented we may want to use them too, but it is not the case in HEAD.

The only thing which seems to generate uevents in 2.6.12-rc6-mm1 seems to be mount/umount though?

Am I spectacularly missing something? ;-)

Sincerely,
Lars Marowsky-Brée <[email protected]>

Signature · 4 lines
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business	 -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"
#16 lore raw
Quoted 7 lines · Lars Marowsky-Bree
Quoted 5 lines · Christophe Varoqui

For now only the following events :

- block dev add
- block dev remove

Quoted 7 lines
Quoted 1 line

When transport uevents get implemented we may want to use them too, but it is not the case in HEAD.

The only thing which seems to generate uevents in 2.6.12-rc6-mm1 seems to be mount/umount though?

Am I spectacularly missing something? ;-)

the kobject plug maybe :)

#17 lore raw
Quoted 2 lines · Christophe Varoqui
Quoted 1 line

Am I spectacularly missing something? ;-)

the kobject plug maybe :)

Ah. I missed the overwrite of kobject_hotplug(). Right. Sorry. Ignore the noise ;-)

Sincerely,
Lars Marowsky-Brée <[email protected]>

Signature · 4 lines
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business	 -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"
#18 lore raw
In reply to Lars Marowsky-Bree
Quoted 4 lines · Lars Marowsky-Bree
Quoted 2 lines

Have you pondered backporting the uevent kernel patch : it seems rather safe (from my seat, that is :)

That might indeed be the cleanest solution. What exactly is needed for it to work for multipath-tools?

Or produce something in userspace that emulates what uevent is being used for.

Alasdair

Signature · 1 line
[email protected]