Displaying 20 results from an estimated 24 matches for "vhba".
Did you mean:
rhba
2016 Jun 12
2
vhba and storage pool creation
Hi!
Got a couple of storage questions here.
I'm a storage guy, running a new project, and just started with libvirt, but have been using qemu/kvm on other platforms before, as well as oVirt.
So, my questions here:
I started with creating a vhba, and that went fine, I could see it on the storage side logging in to the target with its wwn.
My next step would be to make it persistent, and then its this storage pool creation I've seen.
Though some things are not clear to me. This is what the xml file looks like in the documentation:
&...
2013 Sep 18
1
Doc v2: How to use NPIV in libvirt
...d it in WIKI?
==========================================
NPIV in libvirt
NPIV (N_Port ID Virtualization) is a Fibre Channel technology to
share a single physical Fibre Channel HBA with multiple virtual ports.
Henceforth known as a "virtual port" or "virtual Host Bus Adapter"
(vHBA), each virtual port is identified by its own WWPN (Word Wide
Port Name) and WWNN (Word Wide Node Name). In the virtualization
world the vHBA controls the LUNs for virtual machines.
The libvirt implementation provides flexibility to configure the LUN's
either directly to the virtual machine or...
2013 Sep 12
1
Doc: How to use NPIV in libvirt
...t looks like I can't wait till then,
got lots lots of questions from both the bugs and mails. So here we go.
The document tries to summary up the things about NPIV that libvirt
supports till now, and the TODO list. Feedback or suggestion is welcomed.
1) How to find out which HBA(s) support vHBA
For libvirt newer than "1.0.4", you can find it out simply by:
# virsh nodedev-list --cap vports
"--cap vports" is to tell "nodedev-list" only outputs the devices
which support "vports" capability, i.e. support vHBA.
And also since version &...
2016 Feb 01
2
Getting "unknown device type" when attaching NPIV (vHBA) to vm
Hi,
I'm trying to attach a host FC HBA to VM (NPIV).
Running ovirt 3.5 on CentOS 6.7, libvirt-0.10.2-46.el6_6.6.x86_64, I created vHBA using nodedev-create command - see below HBA and vHBA.
I wrote a vdsm hook which appends the vHBA xml stanza to the devices xml element but the vm start starts without the vHBA device.
Also, when trying to attach the device manually as a live device - I get:
2016-02-01 21:30:24.216+0000: 129764: d...
2013 Jun 20
2
Question about vport operation for FC HBA
Hi,
When I want to use NPIV for a FC HBA in my Linux machine, I got the
below error msg in virsh:
virsh # nodedev-create /home/kvm/vHBA.xml
error: Failed to create node device from /home/kvm/vHBA.xml
error: internal error Parent device scsi_host20 is not capable of vport
operations
I checked the /sys/class folder for my HBA device that I want to use its
NPIV feature, it's there:
/sys/class/fc_host/host20/vport_create
I can...
2016 Feb 08
2
Re: Getting "unknown device type" when attaching NPIV (vHBA) to vm
...device source address type 'scsi'"
I still can't figure it out, I still have open questions I can't understand from the docs:
Am I using the right subsystem type? Or maybe I should attach the host HBA PCI (QLogic) directly?
Should I use the host scsi_host or should it be the vHBA created uding libvirt?
How exactly I extract the host address and derives the destination address?
-----Original Message-----
From: Michal Privoznik [mailto:mprivozn@redhat.com]
Sent: Wednesday, February 03, 2016 3:49 PM
To: Vaknin, Rami; libvirt-users@redhat.com
Subject: Re: [libvirt-users] Ge...
2013 Jun 27
1
virsh can create vHBA, but returen error msg "Node device not found"
Hi,
I am using the libvirt 1.0.6 with the patch applied:
http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=371c155
The problem I encountered is, with virsh comand 'nodedev-create
/home/kvm/vHBA.xml', the vHBA can be generated as expected on the host,
but error msg will show in the virsh shell:
libvirt: Node Device Driver error : Node device not found
I try to find the reason with gdb, and found that the 'nodedev-create'
command will call virNetClientIOEventLoop() function o...
2016 Feb 03
0
Re: Getting "unknown device type" when attaching NPIV (vHBA) to vm
On 01.02.2016 22:48, Vaknin, Rami wrote:
> Hi,
>
> I'm trying to attach a host FC HBA to VM (NPIV).
>
> Running ovirt 3.5 on CentOS 6.7, libvirt-0.10.2-46.el6_6.6.x86_64, I created vHBA using nodedev-create command - see below HBA and vHBA.
> I wrote a vdsm hook which appends the vHBA xml stanza to the devices xml element but the vm start starts without the vHBA device.
>
> Also, when trying to attach the device manually as a live device - I get:
> 2016-02-01 21:30:24...
2016 Sep 03
1
Re: attaching storage pool error
Hi again!
Need to add here, since I been investigating a bit further, that it seems to be possible to add an NPIV vhba to the guest, using vdsm hooks. I've seen the reference to "host device assignments", which Dan pointed me too, but I didn't really understand the meaning of it at that moment.
It would be interesting to hear from someone that have been doing it, how it would look like in the xml...
2016 Feb 09
0
Re: Getting "unknown device type" when attaching NPIV (vHBA) to vm
...tever as the content), or build your own libvirt of a later
version (not recommended unless you really know what you're doing).
>
> Am I using the right subsystem type? Or maybe I should attach the host HBA PCI (QLogic) directly?
> Should I use the host scsi_host or should it be the vHBA created uding libvirt?
> How exactly I extract the host address and derives the destination address?
>
>
>
> -----Original Message-----
> From: Michal Privoznik [mailto:mprivozn@redhat.com]
> Sent: Wednesday, February 03, 2016 3:49 PM
> To: Vaknin, Rami; libvirt-users@redhat...
2016 Sep 03
2
Ang: Ang: Re: Ang: Ang: Re: Ang: Re: attaching storage pool error
...I have, with trial and error method, during the elapsed time, been able to attach the NPIV pool LUN to a virtio-scsi controller, and it seems it already uses multipath, when I look at the volumes in the host.
It seems for me a little bit confusing with this multipath pool procedure, since an NPIV vhba by nature always is multipath. I will do a very simple test later today, the best test there is: Just pulling a cable, first from one of the FC targets, and put it back again, and then do the same with the other one. This will give me the answer if it runs on multipath or not.
The considerations I...
2016 Sep 02
0
Re: Ang: Ang: Re: Ang: Re: attaching storage pool error
On 08/24/2016 06:31 AM, Johan Kragsterman wrote:
>
> Hi again!
>
I saw this last week while I was at KVM Forum, but just haven't had the
time until now to start thinking about this stuff again ... as you point
out with your questions and replies - NPIV/vHBA is tricky and
complicated... I always have try to "clear the decks" of anything else
before trying to page how this all works back into the frontal cortex.
Once done, I quickly do a page flush.
It was also a bit confusing with respect to how the responses have been
threaded - so I just t...
2016 Sep 03
0
Ang: Re: Ang: Ang: Re: Ang: Re: attaching storage pool error
...I have, with trial and error method, during the elapsed time, been able to attach the NPIV pool LUN to a virtio-scsi controller, and it seems it already uses multipath, when I look at the volumes in the host.
It seems for me a little bit confusing with this multipath pool procedure, since an NPIV vhba by nature always is multipath. I will do a very simple test later today, the best test there is: Just pulling a cable, first from one of the FC targets, and put it back again, and then do the same with the other one. This will give me the answer if it runs on multipath or not.
The considerations I...
2011 Jul 01
1
NPIV + KVM
Is this possible:
I would like to have a VM use a FC LUN exported to a virtual wwn (using
NPIV) as its primary disk.
I was thinking there might be a mechanism to say VM, boot using a LUN
with this vwwn as your primary disk?
Thanks in advance.
--
---------------------------------------------------------------------
Eric Ross
HPC Systems Administrator
Argonne National Laboratory
Leadership
2013 Jun 20
0
Re: Question about vport operation for FC HBA
On 06/20/2013 11:07 AM, Dennis Chen wrote:
> Hi,
>
> When I want to use NPIV for a FC HBA in my Linux machine, I got the below
> error msg in virsh:
>
> virsh # nodedev-create /home/kvm/vHBA.xml
> error: Failed to create node device from /home/kvm/vHBA.xml
> error: internal error Parent device scsi_host20 is not capable of vport
> operations
>
> I checked the /sys/class folder for my HBA device that I want to use its NPIV
> feature, it's there:
> /sys/class/fc...
2013 Jul 25
0
FNIC nested PVM
...I can build the nested environment (using OVM, and I have to step back to
OVM3.2.2 to allow me to do PCI passthrough), but as soon as I start up a VM
with a phys device passed through, the first layer loses all connectivity to
the SAN.
Setup:
* 2 UCS B200M2 blades - configured with 9 vHBAs.
* Linux machines running LIO-ORG''s and SCST''s FCAL target mode
(trying both to decide on which to use going forwards)
The first vHBA is passed through to the "bare metal" OVM3.2.2, and the rest
are managed through xen-pciback. I then install another OVM3....
2017 Feb 25
2
[Bug 99966] New: Crash of nouveau - cache related?
...snd_timer ptp sysfillrect snd sysimgblt
pps_core fb_sys_fops i2c_algo_bit libphy soundcore lpc_ich mei_me battery mei
ac intel_agp shpchp fjes intel_gtt wmi video button acpi_cpufreq
[252778.055804] tpm_tis tpm_tis_core tpm sch_fq_codel vboxnetflt(O)
vboxnetadp(O) pci_stub vboxpci(O) vboxdrv(O) sg vhba(O) ip_tables x_tables
hid_logitech_dj ext4 crc16 jbd2 fscrypto usbhid mbcache hid sr_mod cdrom sd_mod
serio_raw atkbd libps2 ahci libahci libata scsi_mod ehci_pci ehci_hcd usbcore
usb_common i8042 serio
[252778.055881] CPU: 0 PID: 14905 Comm: exe Tainted: G O
4.9.8-1-ARCH #1
[252778.05...
2016 Jul 15
1
NPIV storage pools do not map to same LUN units across hosts.
Link: http://wiki.libvirt.org/page/NPIV_in_libvirt
Topic: Virtual machine configuration change to use vHBA LUN
There is a NPIV storage pool defined on two hosts and pool contains a
total of 8 volumes, allocated from a storage device.
Source:
# virsh vol-list poolvhba0
Name Path
------------------------------------------------------------------------------
unit:0:0:0 /dev/...
2012 May 31
1
NPIV setup?
...currently.
However, I can't find a way to either have the guest's XML config create
the HBA or for the physical server to successfully GIVE the HBA to the
guest. I can give disks all day long, but I can't give the HBA to the
guest.
It seems like libvirt and virsh can only create the vHBA on the physical
box, which defeats the purpose of working with NPIV then... I can just
present the same luns to the REAL WWPNs of the physical boxes that need
access, setup multipathd to give /dev/mapper names in a consistent manner,
and give the raw disks to the guests.
I really want to get the p...
2012 Jun 29
1
Storage Pools & nodedev-create specific scsi_host#?
...has two different volume identifiers based on its path:
UNIT:0:0:13
UNIT:0:1:13
Problem 2 - Specifying scsi_host# in a device XML file
As I mentioned, I've successfully created a virtual HBA using virsh nodedev-create and an XML config. Here's a sample config:
[root at host ~]# cat vm1vhba1.xml
<device>
<parent>scsi_host3</parent>
<capability type='scsi_host'>
<capability type='fc_host'>
<wwnn>a97a3b9220010002</wwnn>
<wwpn>a97a3b9220010001</wwpn>
</capability>
<capability type=&...