Sorry, here is the content from it:
- Created a vHBA host device
#vim vhba_hostX.xml

- Created a new vHBA on the vHBA host device
#virsh nodedev-create vhba_hostX.xml

- Created a Libvirt SCSI storage pool, defined, started and auto started it
#virsh pool-define vhbapool_hostX.xml
#virsh pool-start vhbapool_hostX
#virsh pool-autostart vhbapool_hostX

- Configured zones in the FC switch (Dell S5000) and LUN masking in the storage server (XtremIO) containing the WWPN of the newly created vHBA and rebooted the server

- Via RHEVM, created a FC storage domain using one of the LUNs
- Added one of the LUNs as a direct LUN and attached it to a VM. The LUN was visible to the guest OS.

Notes:
1) VM migration (for a VM which is exposed to a LUN via a vHBA) wasn't tested, hence, I don't verify yet
2) Libvirt configuration for vHBA configuration should be done by a VDSM hook - 
BZ #1363803


See also [1], I think it should answer you question.


[1]
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/sect-NPIV_storage.html


 


On Thu, Sep 13, 2018 at 12:31 PM, adam_xu@adagene.com.cn <adam_xu@adagene.com.cn> wrote:
the web page said 
"You are not authorized to access bug #431454.
Most likely the bug has been restricted for internal development processes and we cannot grant access."

another question, what are  the advantages and disadvantages between direct lun and vHBA?
Thanks.

        


yours Adam
 
Date: 2018-09-13 17:09
Subject: Re: [ovirt-users] lack feture of ovirt

On Thu, Sep 13, 2018 at 11:26 AM, adam_xu@adagene.com.cn <adam_xu@adagene.com.cn> wrote:
Hi, everyone. Is it possible to create a vHBA for a vm in ovirt cluster ?
I once created a vHBA for a vm when I was using a standalone KVM server. the vm works very well and has connected to a FCP storage.
I didn't find any feture in ovirt that support creating vHBA. could any one tell me why ovirt didn't support vHBA, is there any limit of that feture? 
thanks.  


yours Adam

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/6GHQYM2COYIECW6VCWBAJGNYGO3RD5ST/