Go to main content
Oracle® Fabric OS 1.0.2 Administration Guide

Exit Print View

Updated: November 2016
 
 

Remove a vHBA While Maintaining Service

The procedure in this section is recommended for host servers that are running mission-critical applications or applications that you do not want interrupted. This procedure does not involve a host server reboot. Instead, it unloads the vHBA driver from memory, then reloads the driver. When the driver is reloaded, a rescan is triggered.

This case is useful for situations where the host server has already booted and the vHBA drivers have been loaded into the host server's memory at least once. By unloading and loading the vHBA driver, you trigger a rescan so that storage device changes are relearned.


Note -  VHBAs are supported only for the virtualization switch. VHBAs are not supported for the leaf switch.

This example shows how to gracefully delete a vHBA connected to a Linux host server in a multipath environment.

  1. On the host server, stop all I/O on the vHBA that you want to remove.
  2. Shut down all applications that might be using storage resources through the vHBA.
  3. On the host server, unmount all file systems attached to the Oracle Fabric OS driver.
    umount device
  4. On the host server, stop the PowerPath service by issuing either of the following commands:
    • /etc/init.d/PowerPath stop
    • service PowerPath stop
  5. On the Oracle Fabric Interconnect, remove the vHBA.

    For example, to delete the vHBA named news_storage:

    remove vhba news_storage
  6. On the host server, unload the Oracle Fabric OS vHBA driver.
    modprobe -rv vhba
  7. On the host server, load the Oracle Fabric OS vHBA driver.
    modprobe -v vhba

    Note -  This step reloads the vHBA driver and triggers a rescan of the storage accessible through the vHBA.
  8. Start the PowerPath service, by issuing one of the following commands.
    • /etc/init.d/PowerPath start
    • service PowerPath start

Related Information