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

Administrator Guide

OceanStor 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Routine maintenance activities are the most common activities for the storage device, including powering on or off the storage device, managing users, modifying basic parameters of the storage device, and managing hardware components. This document is intended for the system administrators who are responsible for carrying out routine maintenance activities, monitoring the storage device, and rectifying common device faults.
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).
Configurations and Operations After an HBA Replacement (in Linux)

Configurations and Operations After an HBA Replacement (in Linux)

This section describes after replacing the HBA of a Linux host, how to configure the HBA on the storage system and the host to make it work correctly.

Preparing for Configuration (in Linux)

Before configuring the new HBA, you must finish preparatory work such as backing up host multipath and disk information and checking the storage device's running status to ensure that the space configuration can be successfully implemented.

Prerequisites
  • The UltraPath software has been installed on the host.
  • The old HBA of the host has been replaced.
Procedure
  1. Back up UltraPath and disk information.

    1. Run upadmin show vlun and upadmin show path to view and back up the UltraPath status information.
    2. Run vgdisplay and vgs to view and back up volume group (VG) information.
    3. Run pvs -a to back up physical volume (PV) information.
    4. Run fdisk -l|grep "Disk " and systool -c fc_host -v to back up disk and HBA information.

  2. Check the storage system status. If there are alarms, clear them and then proceed to the next step.
  3. On the storage system, export the storage system configuration data.

    1. Log in to the CLI of the storage system using PuTTY.
      NOTE:

      The default user name and password are admin and Admin@storage respectively.

    2. Run export running_data to export and save the current configuration file.

  4. (Optional) If online replacement is used, you need to delete path information.

    • If the HBA is replaced due to a failure, do the following:
      1. Run upadmin show path to check whether the path status of the faulty HBA is Fault. If the path status is Fault, run upadmin clear obsolete_path to delete the faulty path. Specify the path whose status is Fault using its path_id.
      2. Run upadmin show iostat array_id=? to monitor the load balancing of paths. Specify the storage device using the array_id parameter.

        If I/Os are evenly distributed in the remaining paths and there are no errors after 30 seconds, press Ctrl+C to exit.

      3. Run upadmin show path to show UltraPath status information.

        The information about the deleted paths should not appear in the execution result.

    • If the HBA is replaced proactively, do the following:
      1. Run upadmin show path and upadmin show vlun to show UltraPath status information.
      2. Run upadmin set pathstate=disable to disable all paths connected to the old HBA. Specify the path to be disabled using its path_id.
      3. Run upadmin show iostat array_id=? to monitor the load balancing of paths. Specify the storage device using the array_id parameter.

        If I/Os are evenly distributed in the remaining paths and there are no errors after 30 seconds, press Ctrl+C to exit.

      4. Run upadmin show path to show UltraPath status information.

        In the execution result, the states of all paths connected to the old HBA are Disable.

  5. Run systool -c fc_host -v to see whether the new HBA is compatible with the storage system. If it is not compatible with the storage system, replace it.
  6. Check the system status and see whether there are disks or tapes connected to the HBA.

    1. Run tail -200 /var/log/messages to check the storage system status. If an error exists on the HBA or any disk, remove it and proceed to the next step.
    2. Run grep scsiY /proc/scsi/scsi to see whether there are disks or tapes connected to the new HBA, where scsiY indicates the device file name of the new HBA.

      There should be no disk or tape under scsiY.

    3. Run systool -c fc_host -v to obtain the WWN of the new HBA and record it, where port_name in the command output indicates the WWN of the new HBA.

  7. On the switch, check whether the zoning of the new HBA is complete.

Configurations and Operations (in Linux)

Prerequisites
  • The old HBA has been replaced and the new HBA has been correctly installed.
  • The WWNs of the old and new HBAs have been obtained.
  • UltraPath has been installed on the application server.
Procedure
  1. On the storage system, replace the old WWN.

    1. Run show initiator initiator_type=FC to view the connection status between the HBA and the storage device and obtain the ID of the host to which the old HBA belongs.
       
           WWN                 Running Status        Free       Alias      Host ID         Multipath Type 
           ----------------- ------------------- -----      -------    ----------      ------------------ 
           100000000000*       Online                Yes        --         --              Default
    2. Run remove host initiator initiator_type=FC to remove the WWN of the old HBA. Specify the WWN of the old HBA using the wwn parameter.
    3. Run add host initiator host_id=? initiator_type=FC wwn=? to add the new WWN to the host. Specify the host and WWN of the new HBA using the host_id and wwn parameters.
    4. Run show initiator initiator_type=FC. If in the command output, the WWN status of the new HBA is not Free, then the replacement is successful.

  2. Scan for disks on the host.

    1. Run upRescan to scan for disks.
      #upRescan 
          Begin to delete LUNs whose mappings do not exist 
          Begin to delete LUNs whose mappings are changed
    2. Run upadmin show vlun to check whether the number of disks managed by UltraPath is the same as planned.
    3. Run upadmin show path to check whether the disk path status is normal. If you find a path whose status is Degrade, check the path connection status on the storage device.

  3. Run upadmin show iostat array_id=? to monitor the load balancing of paths. Specify the storage device using the array_id parameter.

    If I/Os are evenly distributed in all paths and there are no errors after 30 seconds, press Ctrl+C to exit.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181576

Views: 18551

Downloads: 25

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