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 SUSE

HUAWEI SAN Storage Host Connectivity Guide for SUSE Linux 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

NOTE:

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

SUSE 11

SUSE 12

Dual-controller, multi-controller

Linux

Enable

common ALUA

-

Optimal

Other SUSE versions

Dual-controller, multi-controller

Linux

Enable

ALUA not used

-

Optimal

For details about the SUSE 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.

Host Configuration
Installing Multipathing Software

Generally, multipathing software packages in SUSE are rpm packages starting with device-mapper or multipath-tools, and are installed by default. To install the software manually, upload the software package to the server and use the rpm command to install it. Figure 6-6 shows how to verify the multipathing software.

Figure 6-6 Verifying multipathing software

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-7.

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

    For SUSE 11, add the contents in Figure 6-8 to the /etc/multipath.conf file.

    Figure 6-8 Configuration file for SUSE 11

    NOTE:

    The WWIDs in the blacklist are local disk information on the server. Fill in the information based on onsite conditions. This also applies to SUSE 12. For details, go to the following website.

    https://www.suse.com/documentation/sles-12/stor_admin/data/sec_multipath_trouble.html

    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.

    For SUSE 12, add the contents in Figure 6-9 to the /etc/multipath.conf file.

    Figure 6-9 Configuration file for SUSE 12
    NOTE:

    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 SUSE 10 to SUSE 10 SP4, add the contents in Figure 6-10 to the /etc/multipath.conf file.

    Figure 6-10 Configuration file for SUSE 10 to SUSE 10 SP4

    For SUSE 11 to SUSE 11 SP3, add the contents in Figure 6-11 to the /etc/multipath.conf file.

    Figure 6-11 Configuration file for SUSE 11 to SUSE 11 SP3

    For SUSE 11 SP4 and SUSE 12, add the contents in Figure 6-12 to the /etc/multipath.conf file.

    Figure 6-12 Configuration file for SUSE 11 SP4 and SUSE 12

Starting the Multipathing Software

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

/etc/init.d/multipathd start

For SUSE12 and later versions, run the following command to enable the multipathing process:

systemctl start multipathd.service
Setting the Multipathing Software to Run at System Startup

After enabling the software, you can run the following command to run the software at system startup:

chkconfig multipathd on
Verification

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

Figure 6-13 Verifying the multipathing configuration

As shown in Figure 6-13, 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-14.

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

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

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

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

NOTE:

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-16 Multipathing configuration for Huawei T series storage
Download
Updated: 2019-05-16

Document ID: EDOC1000150158

Views: 37983

Downloads: 534

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next