<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 03/07/13 15:22, denis bahati wrote:<br>
</div>
<blockquote
cite="mid:1372828964.24370.YahooMailNeo@web171801.mail.ir2.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:12pt"><span
style="background-color: transparent;">Is there any body got
any experience on setting up a virtualized environment in
which the vm's can access a fiber channel SAN storage
connected to host? the host access the SAN through its own
HBA, but the hba is not recognized inside the virtual
machines. Please let me know the step to go through this.</span><br>
</div>
</blockquote>
<br>
How you use this storage depends on whether you plan to do migration
from one server to another.<br>
<br>
If you're not going to be migrating then you can just allocate the
FC LUN to LVM volume group and carve off logical volumes for the KVM
VMs to use. These can then have meaningful LVM names in
/dev/vg_(VG)/lv_(LV) that can be allocated to the VM. See
system-config-lvm.<br>
<br>
If you're planning to migrate between machines then the LVM solution
is not going to work. In that case then you might need to create
volumes on you FC controller that will be seen as individual
devices/luns on the host servers. There is a consistent device name
that can be used that appears under /dev/disk/by-id. This will be
identical on any host servers that can see that volume. This can be
allocated to the VM and will be consistent for a migration. Using
this method requires careful management and meticulous documentation
of which LUNs have been allocated to which VM. The lun ids are not
very user friendly.<br>
<br>
We've also have good results with DRBD for times when you want to be
able to migrate between machines but do not have a SAN. You have
to allocate all the storage on each server but you gain by having a
sort of backup.<br>
<br>
Finally, I can recommend convirt as a good system manager interface.<br>
<br>
<br>
Regards<br>
Brett<br>
<br>
<pre class="moz-signature" cols="90">--
/) _ _ _/_/ / / / _ _//
/_)/</= / / (_(_/()/< ///
</pre>
</body>
</html>