How does RHEV update multipath.conf

Latest response

We are primarily a HDS shop and we have a /etc/multipath.conf that we have optimized and push out to our hosts via Satellite.  I recently spun up 2 nodes with RHEL 6.4 and then configured them to be RHEV Hypervisors, which replaced the multipath.conf.

This is the resulting output (which may actually be correct)

360060e801005dee0052fba9e0000002a dm-3 HITACHI,DF600F
size=50G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 3:0:0:1 sdc 8:32 active ready  running
`-+- policy='round-robin 0' prio=0 status=enabled
  `- 5:0:0:1 sde 8:64 active ready  running

excerpt from multipath.conf
devices {
device {
    vendor                  "HITACHI"
    product                 "DF.*"
    getuid_callout          "/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/%n"
}

 

***********************************************************

I was expecting to see something like (both active/ready)

ATLAS_0001 dm-3 HITACHI,DF600F
[size=200G][features=0][hwhandler=0][rw]
\_ round-robin 0 [prio=1][active]
 \_ 1:0:0:2 sdc 8:32  [active][ready]
 \_ 2:0:0:2 sdh 8:112 [active][ready]

 

excerpt from multipath.conf

        device {
                vendor "HITACHI"
                product "DF600F*"
                path_grouping_policy multibus
                path_checker readsector0
                getuid_callout "/opt/XXX/sysadmin/XXX_id -g -u -s /block/%n"
                }
 

Responses

RHEV replaces multipath.conf. If you want it use your multipath.conf, you have to add below line to the beginning of the file.

# RHEV PRIVATE

See details at https://access.redhat.com/site/solutions/43458

thanks!

Hello

If I have a Storage Dell MD3200i by example is necessary change the file multipath in RHEV 3.4?

Regards.

SAN

Yes, the Dell MD32XX and MD36XX models need some changes to multipath.conf or they constantly spam the paths going up and down.

We used this:

    device {
      vendor "DELL"
      product "MD36xxi"
      path_grouping_policy group_by_prio
      prio rdac
      path_checker rdac
      path_selector "round-robin 0"
      hardware_handler "1 rdac"
      failback immediate
      features "2 pg_init_retries 50"
      no_path_retry 30
      rr_min_io_rq 100

}

You'll want to change the MD36 to MD32 to get it to match your model. Previously we just persisted the file and fixed manually when an upgrade overwrote it. Now I'm going to check out the solution listed above for persisting it.

Hi SAN,

This is quite an old thread so you might wish to create a new thread for this question.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.