No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Huawei SAN Storage Host Connectivity Guide for Red Hat

HUAWEI SAN Storage Host Connectivity Guide for Red Hat Servers

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
OS Native Multipathing Software

OS Native Multipathing Software

Huawei storage firmware is classified into:

  • Old storage version

    T V1, T V2, 18000 V1, V300R001, V300R002, V300R003C00, V300R003C10, V300R005, and Dorado V300R001C00

  • New storage version

    V500R007C00 and later, V300R003C20SPC200 and later, V300R006C00SPC100 and later, and Dorado V300R001C01SPC100 and later

For details about the old and new storage versions, see ALUA.

New-Version Huawei Storage

Storage System Configuration

If you use OS native multipathing software, you must select Uses third-party multipath software for the initiator, as shown in Figure 6-5.

Figure 6-5 Using OS native multipathing software

The Switchover Mode and Path Type depend on the actual services, as described in Table 6-4.

Table 6-4 Storage array configuration

Server OS

Storage Array

OS Setting

Third-Party Multipathing Software

Switchover Mode

Special Mode

Path Type

Red Hat 6.x

Dual-controller, multi-controller

Linux

Enabled

Common ALUA

-

Optimal Path

Red Hat 7.x

Dual-controller, multi-controller

Linux

Enabled

Special mode

Mode 0

Optimal Path

Other Red Hat versions

Dual-controller, multi-controller

Linux

Enabled

ALUA not used

-

Optimal Path

  • For details about the Red Hat versions, see the Huawei Storage Interoperability Navigator.
  • If a LUN has been mapped to the host, you must restart the host for the configuration to take effect after you modify the initiator parameters. If you configure the initiator for the first time, restart is not needed.
  • The preceding table provides the recommended configuration. In specific scenarios, the customer can modify the configuration based on the actual service requirements.

Host Configuration

Installing Multipathing Software

Generally, multipathing software packages in Red Hat are rpm packages starting with device-mapper-multipath. If you did not install the multipathing software when installing the operating system, you can obtain the software package from the system image and use the rpm command to install it.

Modifying the Configuration File

DM-Multipath's most important configuration file is /etc/multipath.conf.

Some operating systems have this file by default. If your operating system does not have this file, you can copy the multipath.conf.synthetic file to the /etc directory to generate one, as shown in Figure 6-6.

Figure 6-6 Generating the multipathing configuration file
  • If ALUA is enabled on the storage system:

    For Red Hat 6.x and 7.x, add the contents in Figure 6-7 to the /etc/multipath.conf file.

    Figure 6-7 Configuration file contents

    dev_loss_tmo and fast_io_fail_tmo specify the retry time and switchover time in the event of a link fault. The preceding figure provides recommended values for these two parameters, and you can modify them according to your own requirements.

  • If ALUA is not enabled on the storage system:

    For versions earlier than Red Hat 6, add the contents in Figure 6-8 to the /etc/multipath.conf file.

    Figure 6-8 Configuration file for versions earlier than Red Hat 6

    For Red Hat 6.x, add the contents in Figure 6-9 to the /etc/multipath.conf file.

    Figure 6-9 Configuration file for Red Hat 6.x

    For Red Hat 7.x, add the contents in Figure 6-10 to the /etc/multipath.conf file.

    Figure 6-10 Configuration file for Red Hat 7.x

  • Red Hat 6.9 and Red Hat 7.3 have added Huawei's multipathing configurations (when ALUA is disabled) to their kernel. When Huawei storage system is connected to Red Hat 6.9 or Red Hat 7.3 servers, you can use the default host settings and do not need to modify the /etc/multipath.conf configuration file if ALUA is disabled. However, if ALUA is enabled, you still need to modify the configuration file as required.
  • Red Hat 7.5 has added Huawei's multipathing configurations (when ALUA is enabled) to their kernel. When Huawei storage system is connected to Red Hat 7.5 servers, you can use the default host settings and do not need to modify the /etc/multipath.conf configuration file if ALUA is enabled. However, if ALUA is disabled, you still need to modify the configuration file as required. Set the value of prio to const.

Starting the Multipathing Software

After configuring the configuration file, run the following command on the host to start the DM-Multipath process on Red Hat 6 and earlier versions:

/etc/init.d/multipathd start

For Red Hat 7 and later versions, run the following command to start the DM-Multipath process:

systemctl start multipathd.service

Setting the Multipathing Software to Run at System Startup

For Red Hat 6 and earlier versions, run the following command to run the multipathing software at startup:

chkconfig multipathd on

For Red Hat 7 and later versions, run the following command:

systemctl enable multipathd.service

Verification

Run the multipath -ll command to verify that the configuration has taken effect.

Figure 6-11 Verifying the multipathing configuration

As shown in Figure 6-11, status=active corresponds to the AO path and status=enabled corresponds to the AN path. This indicates that the ALUA configuration has taken effect. Generally, the prio value of an AO path on a Linux system is 50, and that of an AN path is 10.

Old-Version Huawei Storage

Storage System Configuration

It is advised to disable ALUA. To enable ALUA, do as follows:

  • T series V100R005, Dorado2100, Dorado5100, and Dorado2100 G2

    Use the Huawei OceanStor ISM system to enable ALUA for all the host initiators, as shown in Figure 6-12.

Figure 6-12 Enabling ALUA for T series V100R005/Dorado2100/Dorado5100/Dorado2100 G2

  • T series V200R002, 18000 series, V3 series, and 18000 V3 series

    Use the Huawei OceanStor DeviceManager to enable ALUA for all the host initiators, as shown in Figure 6-13.

Figure 6-13 Enabling ALUA for T series V200R002/18000 series/V3 series/18000 V3 series

Multi-controller ALUA is not supported. When there are more than two controllers, ALUA is disabled by default and the ALUA status cannot be changed.

Host Configuration

The host configurations are similar to those in section Host Configuration. Remember to change the vendor and product according to your site information; for example, a T series storage configuration file:

Figure 6-14 Multipathing configuration for Huawei T series storage
Download
Updated: 2020-01-17

Document ID: EDOC1000150157

Views: 68488

Downloads: 2060

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next