Need to load scsi_dh_alua module during boot on a RHEV hypervisor 6.4

Latest response

Hi,

I am running a RHEV Hypervisor 6.4. I have alua capable LUN and non-alua LUN mapped from different targets to this host. By default hardware handler is set to “0” in multipath conf file. so to handle alua enabled LUN, I manually loaded scsi-dh-alua module, so multipath has taken hardware handler to alua for the alua capable devices.

now I want it to be persist across the reboot. since RHEV Hypervisor is an appliance, I couldn’t add the module in kernel command line as "rdloaddriver=scsi_dh_alua" . this works well with RHEL6.4.

so is there an option to add a kernel command line parameter in RHEV?

Thanks,

Inbaraj

Responses

can some one help me on this?
Thanks,
Inbaraj

Hi Inbaraj,

Sorry no one has been able to assist with this issue yet. We're in a transition between two community platforms right now and it's likely that fewer people have seen your question as a result. I'll follow up to make sure someone can help you out here.

Inbaraj, does this solution help with your issue? https://access.redhat.com/site/solutions/294393

thanks david. this solve my problem.

Inbaraj,

We run a similar setup. You need to add the following to your multipath.conf:

"# RHEV PRIVATE"

This will allow persistant multipath.conf.

thanks, but this is just to have the private config file. my case is to handle both the alua and non-alua capable luns.

RHEV 3.1/RHEL6.4 doesn't seem to handle enabling ALUA in multipath.conf automatically, or at least it seems so to me. Is there any guidance from RedHat on the correct way to configure multipath.conf for ALUA with mixed LUNs (some from ALUA-enabled arrays, some not)?

The configuration for ALUA on RHEL6 is located at:

How do I configure NETAPP storage for ALUA mode in Red Hat Enterprise Linux 6?
https://access.redhat.com/site/solutions/368143

However, due to the way multipath nests configuration, it doesn't look like it's possible to specify per-array config. ie: You can't run one PNR SAN and one ALUA SAN with the same vendor and product fields.

Check man multipath.conf for an explanation of the sections, the order of precedence, and what you can specify in each section.

This might be a good feature to request in RHEL, please feel free to open a support case and ask for an RFE to be logged on your behalf. The more customers we have requesting something, the more likely it is to happen.

Close

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