Go to main content
Oracle® Fabric OS 1.0.2 Administration Guide

Exit Print View

Updated: November 2016
 
 

Removing a vHBA and Rebooting the Server

You can use the following procedure to gracefully remove the vHBAs from a Linux server using multipathing. This procedure is the quickest and easiest method of removing vHBAs because it concludes with a reboot of the host server. Rebooting the server causes the vHBA driver to be reloaded into the server memory, which will in turn trigger an automatic rescan of the storage network to learn the changes among devices.

This procedure is useful for host servers that are not running mission-critical applications, or that are running applications that can tolerate a short span of service interruption due to a reboot of the host server. This procedure can be useful when you are first bringing a server online and no other services are running.


Note -  Rebooting the server will cause service interruptions for any running applications, so this procedure is recommended only for host servers that are running non-mission critical applications. If your host server cannot be rebooted, see Remove a vHBA While Maintaining Service.

To gracefully remove a vHBA from a Linux host server in a multipathing environment, perform the following steps:

  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 vHBA.
    umount device
  4. On the host server, stop the PowerPath service by issuing one 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. Reboot the host server.

    This step loads the vHBA driver into memory, triggers the rescan, and restarts PowerPath.

Related Information