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 V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, 6800 V3, 18500 V3, and 18800 V3. 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).
Emergency Rollback Procedure

Emergency Rollback Procedure

Emergency Rollback Procedure (for Windows)

This section describes how to roll back the storage system to the pre-expansion state if any exception occurs during expansion. The rollback procedure includes reclaiming the new LUNs, WWNs, and ports, and then scanning for disks on the application server.

Prerequisites

UltraPath has been installed on the application server.

Context
  • The method to reclaim new LUNs described in this section is for the rollback of expansion by adding LUNs.
  • This section uses Windows Server 2008 as an example.
Procedure
  1. (Optional) Reclaim new LUNs from the existing LUN group.

    1. Log in to the CLI of the storage system.
    2. Run the remove lun_group lun command to remove new LUNs from the LUN group. Specify the LUN group and the LUN to be removed using lun_group_id and lun_id_list respectively.
    3. Run the show lun_group lun command to view LUNs contained in the LUN group. Specify the LUN group using lun_group_id.

      The LUN group does not contain the new LUNs.

  2. (Optional) Reclaim new WWNs from the existing host group.

    1. Log in to the CLI of the storage system.
    2. Run the remove host initiator initiator_type=FC command to remove new initiators from the host group. Specify the WWN of the initiator to be removed using wwn.
    3. Run the show initiator command to view the current initiator information about the host. Specify the host using the host_id.

      The information does not contain the new initiators.

  3. (Optional) Reclaim new ports from the existing port group.

    1. Log in to the CLI of the storage system.
    2. Run the remove port_group port command to remove new ports from the port group. Specify the port group, the type of the port, and the port to be removed using port_group_id, port_type, and port_id_list respectively.
    3. Run the show port_group port command to view the information about the ports in the port group. Specify the port group using port_group_id.

      The port group does not contain the new ports.

  4. Scan for disks on the application server.

    1. Log in to the Windows Server 2008 application server as an administrator.
    2. On the desktop, click Start and choose Administrative Tools > Server Manager.

      The Server Manager dialog box is displayed.

    3. In the navigation tree of the Server Manager dialog box, right-click Disk Management and choose Rescan Disks from the shortcut menu.
    4. In UltraPath's CLI on the application server, run the upadm show vlun and upadm show path commands to view the device information of UltraPath.

      The command outputs do not contain information about the added disks.

  5. Check the host's running status after the rollback.

    1. From the Server Manager dialog box, go to the Event Viewer and Device Manager pages respectively to check for any errors.

      If there are errors, resolve them before proceeding with the next step.

    2. Run the upadm show path command to check the disk path status.

Emergency Rollback Procedure (for Linux)

This section describes how to roll back the storage system to the pre-expansion state if any exception occurs during expansion. The rollback procedure includes reclaiming the new LUNs, WWNs, and ports, and then scanning for disks on the application server.

Prerequisites

UltraPath has been installed on the application server.

Context

The method to reclaim new LUNs described in this section is for the rollback of expansion by adding LUNs.

Procedure
  1. (Optional) Reclaim new LUNs from the existing LUN group.

    1. Log in to the CLI of the storage system.
    2. Run the remove lun_group lun command to remove new LUNs from the LUN group. Specify the LUN group and the LUN to be removed using lun_group_id and lun_id_list respectively.
    3. Run the show lun_group lun command to view LUNs contained in the LUN group. Specify the LUN group using lun_group_id.

      The LUN group does not contain the new LUNs.

  2. (Optional) Reclaim new WWNs from the existing host group.

    1. Log in to the CLI of the storage system.
    2. Run the remove host initiator initiator_type=FC command to remove new initiators from the host group. Specify the WWN of the initiator to be removed using wwn.
    3. Run the show initiator command to view the current initiator information about the host. Specify the host using host_id.

      The information does not contain the new initiators.

  3. (Optional) Reclaim new ports from the existing port group.

    1. Log in to the CLI of the storage system.
    2. Run the remove port_group port command to remove new ports from the port group. Specify the port group, the type of the port, and the port to be removed using port_group_id, port_type, and port_id_list respectively.
    3. Run the show port_group port command to view the information about the ports in the port group. Specify the port group using port_group_id.

      The port group does not contain the new ports.

  4. Scan for disks on the application server.

    1. Run the upRescan command to rescan for disks.
    2. Run the upadmin show vlun and upadmin show path commands to view the device information of UltraPath.
    3. Run the fdisk -l command to view the disk information on the host.

    The command outputs in 4.b and 4.c do not contain information about the new disks.

  5. Check the host's running status after the rollback.

    1. Run the tail -200 /var/log/messages command to check for any errors.

      If there are errors, resolve them before proceeding with the next step.

    2. Run the upadmin show path command to check the disk path status.

Emergency Rollback Procedure (for AIX)

This section describes how to roll back the storage system to the pre-expansion state if any exception occurs during expansion. The rollback procedure includes reclaiming the new LUNs, WWNs, and ports, and then scanning for disks on the application server.

Prerequisites

UltraPath has been installed on the application server.

Context

The method to reclaim new LUNs described in this section is for the rollback of expansion by adding LUNs.

Procedure
  1. Delete device files corresponding to the new LUNs.

    1. Run the upadm show vlun command to view the information about all LUNs.
    2. Run the rmdev -dl command to delete the new virtual disks identified by UltraPath.

      hdiskX indicates a new virtual disk generated after disk re-allocation during expansion.

    3. Run the upadm show vlun command to view the information about all LUNs.

      Compare the command output with the result of 1.a to check whether new virtual disks identified by UltraPath have been deleted.

  2. (Optional) Reclaim new LUNs from the existing LUN group.

    1. Log in to the CLI of the storage system.
    2. Run the remove lun_group lun command to remove new LUNs from the LUN group. Specify the LUN group and the LUN to be removed using lun_group_id and lun_id_list respectively.
    3. Run the show lun_group lun command to view LUNs contained in the LUN group. Specify the LUN group using lun_group_id.

      The LUN group does not contain the new LUNs.

  3. (Optional) Reclaim new WWNs from the existing host group.

    1. Log in to the CLI of the storage system.
    2. Run the remove host initiator initiator_type=FC command to remove new initiators from the host group. Specify the WWN of the initiator to be removed using wwn.
    3. Run the show initiator command to view the current initiator information about the host. Specify the host using host_id.

      The information does not contain the new initiators.

  4. (Optional) Reclaim new ports from the existing port group.

    1. Log in to the CLI of the storage system.
    2. Run the remove port_group port command to remove new ports from the port group. Specify the port group, the type of the port, and the port to be removed using port_group_id, port_type, and port_id_list respectively.
    3. Run the show port_group port command to view the information about the ports in the port group. Specify the port group using port_group_id.

      The port group does not contain the new ports.

  5. Scan for disks on the application server.

    1. Run the upRescan command to rescan for disks.
    2. Run the upadm show vlun and upadm show path commands to view the device information of UltraPath.
    3. Run the fdisk -l command to view the disk information on the host.

    The command outputs in 5.b and 5.c do not contain information about the new disks.

  6. Check the host's running status after the rollback.

    1. Run the errpt command to check for any errors.

      If there are errors, resolve them before proceeding with the next step.

    2. Run the upadm show path command to check the disk path status.

Emergency Rollback Procedure (for HP-UX)

This section describes how to roll back the storage system to the pre-expansion state if any exception occurs during expansion. The rollback procedure includes reclaiming the new LUNs, WWNs, and ports, and then scanning for disks on the application server.

Context

The method to reclaim new LUNs described in this section is for the rollback of expansion by adding LUNs.

Procedure
  1. (Optional) Reclaim new LUNs from the existing LUN group.

    1. Log in to the CLI of the storage system.
    2. Run the remove lun_group lun command to remove new LUNs from the LUN group. Specify the LUN group and the LUN to be removed using lun_group_id and lun_id_list respectively.
    3. Run the show lun_group lun command to view LUNs contained in the LUN group. Specify the LUN group using lun_group_id.

      The LUN group does not contain the new LUNs.

  2. (Optional) Reclaim new WWNs from the existing host group.

    1. Log in to the CLI of the storage system.
    2. Run the remove host initiator initiator_type=FC command to remove new initiators from the host group. Specify the WWN of the initiator to be removed using wwn.
    3. Run the show initiator command to view the current initiator information about the host. Specify the host using host_id.

      The information does not contain the new initiators.

  3. (Optional) Reclaim new ports from the existing port group.

    1. Log in to the CLI of the storage system.
    2. Run the remove port_group port command to remove new ports from the port group. Specify the port group, the type of the port, and the port to be removed using port_group_id, port_type, and port_id_list respectively.
    3. Run the show port_group port command to view the information about the ports in the port group. Specify the port group using port_group_id.

      The port group does not contain the new ports.

  4. Delete device files.

    1. Run the ioscan -fnkC disk and ioscan -fnkC disk | grep -i HUAWEI | wc -l commands to view the information about all LUNs.
    2. Delete path device files.
      1. Run the ioscan -fnC disk command to scan for system disks.
      2. Run the ioscan -fnkC disk | grep -i NO_HW command to check for disks whose status is NO_HW.
      3. Run the ioscan -fnkC disk | grep -i NO_HW | awk '{ print $3}' | xargs -n1 rmsf -C disk -H command to delete disks whose status is NO_HW.
      4. Run the ioscan -fnkC disk | grep -i NO_HW command again to check for disks whose status is NO_HW.
    3. Run the ioscan -fnkC disk and ioscan -fnkC disk | grep -i HUAWEI | wc -l commands again to view the information about all LUNs.

      Compare the command outputs with the results in 4.a to check whether path device files have been deleted.

  5. Check the host's running status after the rollback.

    1. Run the tail -200 /var/adm/syslog/syslog.log command to check for any errors.

      Handle the errors before proceeding with the next step.

    2. Run the ioscan -fnkC disk command to check the disk path status.

Download
Updated: 2019-07-12

Document ID: EDOC1000138854

Views: 36239

Downloads: 2049

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