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
- (Optional) Reclaim new LUNs from the existing LUN group.
- Log in to the CLI of the storage system.
- 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.
- 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.
- (Optional) Reclaim new WWNs from the existing host group.
- Log in to the CLI of the storage system.
- 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.
- 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.
- (Optional) Reclaim new ports from the existing port group.
- Log in to the CLI of the storage system.
- 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.
- 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.
- Scan for disks on the application server.
- Log in to the Windows Server 2008 application server as an administrator.
- On the desktop, click Start and choose Administrative Tools > Server Manager.
The Server Manager dialog box is displayed.
- In the navigation tree of the Server Manager dialog box, right-click Disk Management and choose Rescan Disks from the shortcut menu.
- 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.
- Check the host's running status after the rollback.
- 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.
- Run the upadm show path command to check the disk path status.
- From the Server Manager dialog box, go to the Event Viewer and Device Manager pages respectively to check for any errors.
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
- (Optional) Reclaim new LUNs from the existing LUN group.
- Log in to the CLI of the storage system.
- 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.
- 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.
- (Optional) Reclaim new WWNs from the existing host group.
- Log in to the CLI of the storage system.
- 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.
- 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.
- (Optional) Reclaim new ports from the existing port group.
- Log in to the CLI of the storage system.
- 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.
- 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.
- Scan for disks on the application server.
- Run the upRescan command to rescan for disks.
- Run the upadmin show vlun and upadmin show path commands to view the device information of UltraPath.
- 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.
- Check the host's running status after the rollback.
- 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.
- Run the upadmin show path command to check the disk path status.
- Run the tail -200 /var/log/messages command to check for any errors.
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
- Delete device files corresponding to the new LUNs.
- Run the upadm show vlun command to view the information about all LUNs.
- 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.
- 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.
- (Optional) Reclaim new LUNs from the existing LUN group.
- Log in to the CLI of the storage system.
- 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.
- 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.
- (Optional) Reclaim new WWNs from the existing host group.
- Log in to the CLI of the storage system.
- 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.
- 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.
- (Optional) Reclaim new ports from the existing port group.
- Log in to the CLI of the storage system.
- 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.
- 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.
- Scan for disks on the application server.
- Run the upRescan command to rescan for disks.
- Run the upadm show vlun and upadm show path commands to view the device information of UltraPath.
- 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.
- Check the host's running status after the rollback.
- Run the errpt command to check for any errors.
If there are errors, resolve them before proceeding with the next step.
- Run the upadm show path command to check the disk path status.
- Run the errpt command to check for any errors.
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
- (Optional) Reclaim new LUNs from the existing LUN group.
- Log in to the CLI of the storage system.
- 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.
- 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.
- (Optional) Reclaim new WWNs from the existing host group.
- Log in to the CLI of the storage system.
- 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.
- 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.
- (Optional) Reclaim new ports from the existing port group.
- Log in to the CLI of the storage system.
- 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.
- 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.
- Delete device files.
- Run the ioscan -fnkC disk and ioscan -fnkC disk | grep -i HUAWEI | wc -l commands to view the information about all LUNs.
- Delete path device files.
- Run the ioscan -fnC disk command to scan for system disks.
- Run the ioscan -fnkC disk | grep -i NO_HW command to check for disks whose status is NO_HW.
- 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.
- Run the ioscan -fnkC disk | grep -i NO_HW command again to check for disks whose status is NO_HW.
- 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.
- Check the host's running status after the rollback.
- Run the tail -200 /var/adm/syslog/syslog.log command to check for any errors.
Handle the errors before proceeding with the next step.
- Run the ioscan -fnkC disk command to check the disk path status.
- Run the tail -200 /var/adm/syslog/syslog.log command to check for any errors.