LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This 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



Reply
 
Search this Thread
Old 03-07-2010, 11:16 AM   #1
chakoshi
LQ Newbie
 
Registered: Mar 2010
Posts: 17

Rep: Reputation: 7
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.
 
Old 03-17-2010, 06:49 PM   #2
OdinnBurkni
Member
 
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 126

Rep: Reputation: 20
Fb san

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...
 
Old 03-18-2010, 03:33 AM   #3
chakoshi
LQ Newbie
 
Registered: Mar 2010
Posts: 17

Original Poster
Rep: Reputation: 7
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.
 
Old 03-19-2010, 02:00 PM   #4
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 848

Rep: Reputation: 91
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.
 
Old 04-11-2010, 03:15 PM   #5
nikwax
LQ Newbie
 
Registered: May 2009
Posts: 25

Rep: Reputation: 0
Quote:
Originally Posted by chakoshi View Post
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?
 
Old 04-12-2010, 04:23 AM   #6
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 848

Rep: Reputation: 91
nikwax, easier, but with the extra overhead, databases and other i/o heavy apps will suffer a performance hit
 
Old 04-12-2010, 04:24 AM   #7
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 848

Rep: Reputation: 91
nikwax, easier, but with the extra overhead, databases and other i/o heavy apps will suffer a performance hit
 
Old 04-13-2010, 03:06 PM   #8
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 43
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.
 
Old 04-13-2010, 04:22 PM   #9
nikwax
LQ Newbie
 
Registered: May 2009
Posts: 25

Rep: Reputation: 0
Quote:
Originally Posted by dyasny View Post
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.
 
  


Reply

Tags
hba, kvm, san


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
provide scp access without ssh lothario Linux - Networking 2 04-06-2008 07:15 PM
unable to provide access to windows computer prashsharma Linux - Networking 9 09-20-2007 08:47 PM
how to provide sudo access mokku Linux - Newbie 1 09-12-2007 03:09 PM
help how to install driver of Fibre channel Host Bus Adapter(HBA) on Slackware 10 zhouj Slackware 1 12-06-2004 09:37 AM
Connecting to SAN from Freebsd through hba crypto76 *BSD 0 09-23-2004 12:45 PM


All times are GMT -5. The time now is 05:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration