All of lore.kernel.org
 help / color / mirror / Atom feed
* RHEL5 and RDAC/Multipath
@ 2007-09-24 13:39 Nuno Fernandes
  2007-09-24 16:34 ` Sunil Joshi
  2007-09-24 18:30 ` Chandra Seetharaman
  0 siblings, 2 replies; 4+ messages in thread
From: Nuno Fernandes @ 2007-09-24 13:39 UTC (permalink / raw)
  To: device-mapper development

Hi,

We've bought and IBM BladecenterH and IBM DS4700 storage.
We are using Redhat Enterprise Linux 5 and we are trying to put multipath 
working.

RHEL5 we are using uses 2.6.18-8.1.3.el5xen. We've ported rdac patch 
(http://kernel.org/pub/linux/kernel/people/agk/patches/2.6/2.6.21/dm-mpath-rdac.patch) 
to RHEL5 kernel. We've also updated multipath-tools to support 
mpath_prio_rdac.

Our multipath.conf is:

devnode_blacklist {
        devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
        devnode "^hd[a-z]"
        devnode "^cciss!c[0-9]d[0-9]*"
        #USB 4G Flash drive inside HS21
        devnode "sda" 
}

defaults {
        multipath_tool  "/sbin/multipath -v0"
        udev_dir        /dev
        polling_interval 5
        default_selector        "round-robin 0"
        default_getuid_callout  "/sbin/scsi_id -g -u -s /block/%n"
        #default_prio_callout    "/bin/true"
        failback                immediate
        path_checker            rdac
        hardware_handler        "1 rdac"
        prio_callout            "/sbin/mpath_prio_tpc /dev/%n"
        path_grouping_policy    group_by_prio
}

multipaths {
        multipath {
                wwid                    3600a0b8000320bea0000048f46e52137
                alias                   client_data
        }
}

When we start multipath -v2 it creates multipath devices. I can see 2 active 
paths (active controler) and 2 ghost paths (standby controler).
When i unplug 2 active fibre that connect the fabric to DS4700, multipath 
reports I/O errors and doesn't failover the controler.

Any ideas?

Thanks for any help
Nuno Fernandes

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

* Re: RHEL5 and RDAC/Multipath
  2007-09-24 13:39 RHEL5 and RDAC/Multipath Nuno Fernandes
@ 2007-09-24 16:34 ` Sunil Joshi
  2007-09-24 18:30 ` Chandra Seetharaman
  1 sibling, 0 replies; 4+ messages in thread
From: Sunil Joshi @ 2007-09-24 16:34 UTC (permalink / raw)
  To: device-mapper development


[-- Attachment #1.1: Type: text/plain, Size: 1746 bytes --]

Could you try using in your default settings

 no_path_retry           queue




Regards
Sunil Joshi


On 9/24/07, Nuno Fernandes <npf-mlists@eurotux.com> wrote:
>
> Hi,
>
> We've bought and IBM BladecenterH and IBM DS4700 storage.
> We are using Redhat Enterprise Linux 5 and we are trying to put multipath
> working.
>
> RHEL5 we are using uses 2.6.18-8.1.3.el5xen. We've ported rdac patch
> (
> http://kernel.org/pub/linux/kernel/people/agk/patches/2.6/2.6.21/dm-mpath-rdac.patch
> )
> to RHEL5 kernel. We've also updated multipath-tools to support
> mpath_prio_rdac.
>
> Our multipath.conf is:
>
> devnode_blacklist {
>   devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
>   devnode "^hd[a-z]"
>   devnode "^cciss!c[0-9]d[0-9]*"
>   #USB 4G Flash drive inside HS21
>   devnode "sda"
> }
>
> defaults {
>   multipath_tool "/sbin/multipath -v0"
>   udev_dir /dev
>   polling_interval 5
>   default_selector "round-robin 0"
>   default_getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
>   #default_prio_callout "/bin/true"
>   failback immediate
>   path_checker rdac
>   hardware_handler "1 rdac"
>   prio_callout "/sbin/mpath_prio_tpc /dev/%n"
>   path_grouping_policy group_by_prio
> }
>
> multipaths {
>   multipath {
>   wwid 3600a0b8000320bea0000048f46e52137
>   alias client_data
>   }
> }
>
> When we start multipath -v2 it creates multipath devices. I can see 2
> active
> paths (active controler) and 2 ghost paths (standby controler).
> When i unplug 2 active fibre that connect the fabric to DS4700, multipath
> reports I/O errors and doesn't failover the controler.
>
> Any ideas?
>
> Thanks for any help
> Nuno Fernandes
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
>

[-- Attachment #1.2: Type: text/html, Size: 2633 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

* Re: RHEL5 and RDAC/Multipath
  2007-09-24 13:39 RHEL5 and RDAC/Multipath Nuno Fernandes
  2007-09-24 16:34 ` Sunil Joshi
@ 2007-09-24 18:30 ` Chandra Seetharaman
  2007-09-25 10:00   ` Nuno Fernandes
  1 sibling, 1 reply; 4+ messages in thread
From: Chandra Seetharaman @ 2007-09-24 18:30 UTC (permalink / raw)
  To: device-mapper development

Hi Nuno,

I would suggest you to move the rdac specific configuration information
to device section and retry.

Are you running the multipathd command ?

Here is how my rdac configuration looks in multipath.conf
--------------------------
devices {
        device {
                vendor                  "IBM"
                product                 "1815"
                hardware_handler        "1 rdac"
                path_checker            rdac
                failback                immediate
                path_grouping_policy    group_by_prio
                prio_callout            "/sbin/mpath_prio_tpc /dev/%n"
        }
}
-----------------------------
Let me know how it goes,

chandra
On Mon, 2007-09-24 at 14:39 +0100, Nuno Fernandes wrote:
> Hi,
> 
> We've bought and IBM BladecenterH and IBM DS4700 storage.
> We are using Redhat Enterprise Linux 5 and we are trying to put multipath 
> working.
> 
> RHEL5 we are using uses 2.6.18-8.1.3.el5xen. We've ported rdac patch 
> (http://kernel.org/pub/linux/kernel/people/agk/patches/2.6/2.6.21/dm-mpath-rdac.patch) 
> to RHEL5 kernel. We've also updated multipath-tools to support 
> mpath_prio_rdac.
> 
> Our multipath.conf is:
> 
> devnode_blacklist {
>         devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
>         devnode "^hd[a-z]"
>         devnode "^cciss!c[0-9]d[0-9]*"
>         #USB 4G Flash drive inside HS21
>         devnode "sda" 
> }
> 
> defaults {
>         multipath_tool  "/sbin/multipath -v0"
>         udev_dir        /dev
>         polling_interval 5
>         default_selector        "round-robin 0"
>         default_getuid_callout  "/sbin/scsi_id -g -u -s /block/%n"
>         #default_prio_callout    "/bin/true"
>         failback                immediate
>         path_checker            rdac
>         hardware_handler        "1 rdac"
>         prio_callout            "/sbin/mpath_prio_tpc /dev/%n"
>         path_grouping_policy    group_by_prio
> }
> 
> multipaths {
>         multipath {
>                 wwid                    3600a0b8000320bea0000048f46e52137
>                 alias                   client_data
>         }
> }
> 
> When we start multipath -v2 it creates multipath devices. I can see 2 active 
> paths (active controler) and 2 ghost paths (standby controler).
> When i unplug 2 active fibre that connect the fabric to DS4700, multipath 
> reports I/O errors and doesn't failover the controler.
> 
> Any ideas?
> 
> Thanks for any help
> Nuno Fernandes
> 
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
-- 

----------------------------------------------------------------------
    Chandra Seetharaman               | Be careful what you choose....
              - sekharan@us.ibm.com   |      .......you may get it.
----------------------------------------------------------------------

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

* Re: RHEL5 and RDAC/Multipath
  2007-09-24 18:30 ` Chandra Seetharaman
@ 2007-09-25 10:00   ` Nuno Fernandes
  0 siblings, 0 replies; 4+ messages in thread
From: Nuno Fernandes @ 2007-09-25 10:00 UTC (permalink / raw)
  To: device-mapper development

Hi,

It's working. For IBM DS4700 i only had to  change in the multipath.conf

vendor "IBM"
product "1814*"

I didn't try it but shouln't be using prio_callout /sbin/mpath_prio_rdac??

Thanks
Nuno Fernandes


On Monday 24 September 2007 19:30:31 Chandra Seetharaman wrote:
> Hi Nuno,
>
> I would suggest you to move the rdac specific configuration information
> to device section and retry.
>
> Are you running the multipathd command ?
>
> Here is how my rdac configuration looks in multipath.conf
> --------------------------
> devices {
>         device {
>                 vendor                  "IBM"
>                 product                 "1815"
>                 hardware_handler        "1 rdac"
>                 path_checker            rdac
>                 failback                immediate
>                 path_grouping_policy    group_by_prio
>                 prio_callout            "/sbin/mpath_prio_tpc /dev/%n"
>         }
> }
> -----------------------------
> Let me know how it goes,
>
> chandra
>
> On Mon, 2007-09-24 at 14:39 +0100, Nuno Fernandes wrote:
> > Hi,
> >
> > We've bought and IBM BladecenterH and IBM DS4700 storage.
> > We are using Redhat Enterprise Linux 5 and we are trying to put multipath
> > working.
> >
> > RHEL5 we are using uses 2.6.18-8.1.3.el5xen. We've ported rdac patch
> > (http://kernel.org/pub/linux/kernel/people/agk/patches/2.6/2.6.21/dm-mpat
> >h-rdac.patch) to RHEL5 kernel. We've also updated multipath-tools to
> > support
> > mpath_prio_rdac.
> >
> > Our multipath.conf is:
> >
> > devnode_blacklist {
> >         devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
> >         devnode "^hd[a-z]"
> >         devnode "^cciss!c[0-9]d[0-9]*"
> >         #USB 4G Flash drive inside HS21
> >         devnode "sda"
> > }
> >
> > defaults {
> >         multipath_tool  "/sbin/multipath -v0"
> >         udev_dir        /dev
> >         polling_interval 5
> >         default_selector        "round-robin 0"
> >         default_getuid_callout  "/sbin/scsi_id -g -u -s /block/%n"
> >         #default_prio_callout    "/bin/true"
> >         failback                immediate
> >         path_checker            rdac
> >         hardware_handler        "1 rdac"
> >         prio_callout            "/sbin/mpath_prio_tpc /dev/%n"
> >         path_grouping_policy    group_by_prio
> > }
> >
> > multipaths {
> >         multipath {
> >                 wwid                    3600a0b8000320bea0000048f46e52137
> >                 alias                   client_data
> >         }
> > }
> >
> > When we start multipath -v2 it creates multipath devices. I can see 2
> > active paths (active controler) and 2 ghost paths (standby controler).
> > When i unplug 2 active fibre that connect the fabric to DS4700, multipath
> > reports I/O errors and doesn't failover the controler.
> >
> > Any ideas?
> >
> > Thanks for any help
> > Nuno Fernandes
> >
> > --
> > dm-devel mailing list
> > dm-devel@redhat.com
> > https://www.redhat.com/mailman/listinfo/dm-devel

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

end of thread, other threads:[~2007-09-25 10:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-24 13:39 RHEL5 and RDAC/Multipath Nuno Fernandes
2007-09-24 16:34 ` Sunil Joshi
2007-09-24 18:30 ` Chandra Seetharaman
2007-09-25 10:00   ` Nuno Fernandes

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.