how to provide vm's access to FC SAN through the host HBA module?
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how to provide vm's access to FC SAN through the host HBA module?
Hi,
does any body got any experience on setting up a virtualized environment in which the vm's can access a fiber channel SAN storage? the host access the SAN through its own HBA, but the hba is not recognized inside the virtual machines (KVM virtual machines). does any one tried such a scenario? I use ubuntu on my systems, both host and guests. thanks.
Hi.
I'm not familiar with the KVM solution but we use VMWare ESXi and run several CentOS servers on that and also some Windoze servers. We used to have a Wind... server running on one blade but moved it to VM and we were able to make the logical drives on the SAN (which were available to the server when it was on a separate blade) available to the Wind... server on VM. Not sure it's what you're asking but maybe it points you in some directions...
Hi
you are right, vmWare works well with hba's, and they are simply accessible through the guest system(at least windows guests). and I'm trying to do the same on kvm.
what you need is called PCI passthrough. It allows you to provide a VM with a PCI device. This is still not supported on RHEL/CentOS afaik, but in the newest versions should be possible.
Hi,
does any body got any experience on setting up a virtualized environment in which the vm's can access a fiber channel SAN storage? the host access the SAN through its own HBA, but the hba is not recognized inside the virtual machines (KVM virtual machines). does any one tried such a scenario? I use ubuntu on my systems, both host and guests. thanks.
Just curious - why would you want to have the VM access the SAN directly? Would it not be easier to abstract that part away and have the VM running on a virtual disk?
We use VMware with CentOS 5.x as the guest OS. Then you need to install the iscsi-initiator-utils package and get the initiator name from /etc/iscsi/initiatorname.iscsi. There's more to it than that but Im not sure how to tell you how to do it on ubuntu.
nikwax, easier, but with the extra overhead, databases and other i/o heavy apps will suffer a performance hit
Sure - but you lose some of the benefits of virtualization. Many (most?) applications will work just fine virtualized, including databases and exchange servers. Big databases can be a special case though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.