User`s guide

160 XgOS User’s Guide September 2014
Syntax
Remove vHBAs Connected to VMware Virtual
Machines
OVN supports VMware ESX, which is documented in the following procedures for
removing vHBAs on virtual machines. Select one of the following:
If you are using VMFS, follow the instructions in “Removing vHBAs Connected
to Virtual Machines Using VMFS” on page 160.
If you are using raw disk access and Linux virtual machines, follow the
instructions in “Removing vHBAs Connected to Linux Servers” on page 161.
If you are using raw disk access and Windows virtual machines, follow the
instructions in “Removing vHBAs Connected to Windows Servers Hosted in
VMware” on page 162.
Removing vHBAs Connected to Virtual Machines
Using VMFS
Use the following procedure to gracefully remove a vHBA:
1. On the virtual machine, stop all I/O on the vHBA that you want to remove.
2. Use one of the following approaches to stop I/O:
Shut down the virtual machine.
Note Shutting down the virtual machine ensures that even the VMware heartbeat
is stopped on the vHBA. If you cannot shut down the machine, using VMotion will
handle all traffic except the heartbeat. If you choose this approach, you might notice
errors in the log indicating that the vHBA was unavailable.
Use VMotion to move the machine to another server.
3. Remove the vHBA.
For example, to delete the vHBA named news_storage:
remove vhba <vhba-name>.<server-name> [<wildcard>] [-noconfirm]
remove vhba news_storage