<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Provisioning KVM virtual machines on iSCSI with QNAP + virt-manager (Part 2 of 2)</title>
	<atom:link href="http://berrange.com/posts/2010/05/04/provisioning-kvm-virtual-machines-on-iscsi-with-qnap-virt-manager-part-2-of-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://berrange.com/posts/2010/05/04/provisioning-kvm-virtual-machines-on-iscsi-with-qnap-virt-manager-part-2-of-2/</link>
	<description>Writing about photography, open source software, virtualization &#38; more</description>
	<lastBuildDate>Sun, 13 May 2012 09:58:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Tim</title>
		<link>http://berrange.com/posts/2010/05/04/provisioning-kvm-virtual-machines-on-iscsi-with-qnap-virt-manager-part-2-of-2/comment-page-1/#comment-12200</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 23 Mar 2011 00:33:41 +0000</pubDate>
		<guid isPermaLink="false">http://berrange.com/?p=344#comment-12200</guid>
		<description>Hi Daniel, Great tutorial. There are a couple of us having and issue with virt-manager and iscsi. I have added my issues to the bugzilla , I was just wondering if you had seen these issues with recent versions of libvirt/virt-manager 

https://bugzilla.redhat.com/show_bug.cgi?id=669935</description>
		<content:encoded><![CDATA[<p>Hi Daniel, Great tutorial. There are a couple of us having and issue with virt-manager and iscsi. I have added my issues to the bugzilla , I was just wondering if you had seen these issues with recent versions of libvirt/virt-manager </p>
<p><a href="https://bugzilla.redhat.com/show_bug.cgi?id=669935" rel="nofollow">https://bugzilla.redhat.com/show_bug.cgi?id=669935</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://berrange.com/posts/2010/05/04/provisioning-kvm-virtual-machines-on-iscsi-with-qnap-virt-manager-part-2-of-2/comment-page-1/#comment-2620</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Tue, 24 Aug 2010 13:32:07 +0000</pubDate>
		<guid isPermaLink="false">http://berrange.com/?p=344#comment-2620</guid>
		<description>&quot;Obviously care should be taken to not run the same VM on two machines at once though. Ideally use clustering software to protect against this scenario.&quot;  Have you found a good clustering solution for this?  I have VM live migration with iSCSI working just great, but the ability to start a VM on multiple nodes is a big concern for production systems.

I had my eye on the Ovirt project, but it seems to have died down a bit.</description>
		<content:encoded><![CDATA[<p>&#8220;Obviously care should be taken to not run the same VM on two machines at once though. Ideally use clustering software to protect against this scenario.&#8221;  Have you found a good clustering solution for this?  I have VM live migration with iSCSI working just great, but the ability to start a VM on multiple nodes is a big concern for production systems.</p>
<p>I had my eye on the Ovirt project, but it seems to have died down a bit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amadeus</title>
		<link>http://berrange.com/posts/2010/05/04/provisioning-kvm-virtual-machines-on-iscsi-with-qnap-virt-manager-part-2-of-2/comment-page-1/#comment-2479</link>
		<dc:creator>Amadeus</dc:creator>
		<pubDate>Sun, 15 Aug 2010 05:42:15 +0000</pubDate>
		<guid isPermaLink="false">http://berrange.com/?p=344#comment-2479</guid>
		<description>Looking at /etc/rc3.d/

S02lvm2-monitor -&gt; ../init.d/lvm2-monitor*

S07iscsid -&gt; ../init.d/iscsid*

S13iscsi -&gt; ../init.d/iscsi*

S97libvirtd -&gt; ../init.d/libvirtd*

Could the problem be, that lvm2-monitor is started before iscsi?</description>
		<content:encoded><![CDATA[<p>Looking at /etc/rc3.d/</p>
<p>S02lvm2-monitor -&gt; ../init.d/lvm2-monitor*</p>
<p>S07iscsid -&gt; ../init.d/iscsid*</p>
<p>S13iscsi -&gt; ../init.d/iscsi*</p>
<p>S97libvirtd -&gt; ../init.d/libvirtd*</p>
<p>Could the problem be, that lvm2-monitor is started before iscsi?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amadeus</title>
		<link>http://berrange.com/posts/2010/05/04/provisioning-kvm-virtual-machines-on-iscsi-with-qnap-virt-manager-part-2-of-2/comment-page-1/#comment-2478</link>
		<dc:creator>Amadeus</dc:creator>
		<pubDate>Sun, 15 Aug 2010 05:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://berrange.com/?p=344#comment-2478</guid>
		<description>If I don&#039;t run &quot;vgchange -ay vg00&quot; then I don&#039;t get /dev/vg00. When I remote /dev/vg00 is gone. Can I add an LVM storage pool in virt-manager without the /dev/vg00 path?

I use:

localhost:~# rpm -qa&#124;grep virt&#124;sort

libvirt-0.6.3-33.el5_5.3

libvirt-0.6.3-33.el5_5.3

libvirt-python-0.6.3-33.el5_5.3

python-virtinst-0.400.3-9.el5

virt-manager-0.6.1-12.el5

virt-viewer-0.0.2-3.el5

localhost:~#</description>
		<content:encoded><![CDATA[<p>If I don&#8217;t run &#8220;vgchange -ay vg00&#8243; then I don&#8217;t get /dev/vg00. When I remote /dev/vg00 is gone. Can I add an LVM storage pool in virt-manager without the /dev/vg00 path?</p>
<p>I use:</p>
<p>localhost:~# rpm -qa|grep virt|sort</p>
<p>libvirt-0.6.3-33.el5_5.3</p>
<p>libvirt-0.6.3-33.el5_5.3</p>
<p>libvirt-python-0.6.3-33.el5_5.3</p>
<p>python-virtinst-0.400.3-9.el5</p>
<p>virt-manager-0.6.1-12.el5</p>
<p>virt-viewer-0.0.2-3.el5</p>
<p>localhost:~#</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Berrange</title>
		<link>http://berrange.com/posts/2010/05/04/provisioning-kvm-virtual-machines-on-iscsi-with-qnap-virt-manager-part-2-of-2/comment-page-1/#comment-2476</link>
		<dc:creator>Daniel Berrange</dc:creator>
		<pubDate>Sun, 15 Aug 2010 02:09:45 +0000</pubDate>
		<guid isPermaLink="false">http://berrange.com/?p=344#comment-2476</guid>
		<description>That shouldn&#039;t be required subsequently, since libvirt automatically runs &#039;vgchange -ay $NAME&#039; when it starts a LVM storage pool.  In fact it shouldn&#039;t really have been required in the first instance either. libvirt has a method to discover valid storage pool sources and thus in theory virt-manager should have been able to present you with a list of LVM pool names automatically.</description>
		<content:encoded><![CDATA[<p>That shouldn&#8217;t be required subsequently, since libvirt automatically runs &#8216;vgchange -ay $NAME&#8217; when it starts a LVM storage pool.  In fact it shouldn&#8217;t really have been required in the first instance either. libvirt has a method to discover valid storage pool sources and thus in theory virt-manager should have been able to present you with a list of LVM pool names automatically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amadeus</title>
		<link>http://berrange.com/posts/2010/05/04/provisioning-kvm-virtual-machines-on-iscsi-with-qnap-virt-manager-part-2-of-2/comment-page-1/#comment-2475</link>
		<dc:creator>Amadeus</dc:creator>
		<pubDate>Sun, 15 Aug 2010 01:52:47 +0000</pubDate>
		<guid isPermaLink="false">http://berrange.com/?p=344#comment-2475</guid>
		<description>Okay, I sort of found out the solution =)

vgchange -ay vg00

gives me /dev/vg00

But it doesn&#039;t happen by it self after reboot, and suspect it should happen quite early in the boot sequence, so adding it to rc.local wouldn&#039;t probably be early enough for libvirt?

What would you do in this situation?</description>
		<content:encoded><![CDATA[<p>Okay, I sort of found out the solution =)</p>
<p>vgchange -ay vg00</p>
<p>gives me /dev/vg00</p>
<p>But it doesn&#8217;t happen by it self after reboot, and suspect it should happen quite early in the boot sequence, so adding it to rc.local wouldn&#8217;t probably be early enough for libvirt?</p>
<p>What would you do in this situation?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amadeus</title>
		<link>http://berrange.com/posts/2010/05/04/provisioning-kvm-virtual-machines-on-iscsi-with-qnap-virt-manager-part-2-of-2/comment-page-1/#comment-2474</link>
		<dc:creator>Amadeus</dc:creator>
		<pubDate>Sun, 15 Aug 2010 01:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://berrange.com/?p=344#comment-2474</guid>
		<description>Okay, now I have connected a target with 1 LUN which contains an LVM partition, which contains a Volume Group (called vg00)with 1 Logical Volume.

Now I would like to add this LVM partition to libvirt&#039;s storage pool, so I select LVM in your &quot;Adding a storage pool&quot;.

Then I have to enter a path for the Volume Group.

The problem is that I don&#039;t see /dev/vg00 as I would expect. I have a local LVM partition called &quot;vol&quot; and I can add that by /dev/vol to libvirt, and it works perfectly in virt-manager.

The path for vg00 is

/dev/disk/by-path/ip-192.168.0.4:3260-iscsi-iqn.2004-04.com.qnap:ts-509:iscsi.linux02.ba4731-lun-0-part1

But I can&#039;t enter that. virt-manager file chooser wants a directory, not a file.

Do you know how to add this Volume Group as a storage pool?</description>
		<content:encoded><![CDATA[<p>Okay, now I have connected a target with 1 LUN which contains an LVM partition, which contains a Volume Group (called vg00)with 1 Logical Volume.</p>
<p>Now I would like to add this LVM partition to libvirt&#8217;s storage pool, so I select LVM in your &#8220;Adding a storage pool&#8221;.</p>
<p>Then I have to enter a path for the Volume Group.</p>
<p>The problem is that I don&#8217;t see /dev/vg00 as I would expect. I have a local LVM partition called &#8220;vol&#8221; and I can add that by /dev/vol to libvirt, and it works perfectly in virt-manager.</p>
<p>The path for vg00 is</p>
<p>/dev/disk/by-path/ip-192.168.0.4:3260-iscsi-iqn.2004-04.com.qnap:ts-509:iscsi.linux02.ba4731-lun-0-part1</p>
<p>But I can&#8217;t enter that. virt-manager file chooser wants a directory, not a file.</p>
<p>Do you know how to add this Volume Group as a storage pool?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amadeus</title>
		<link>http://berrange.com/posts/2010/05/04/provisioning-kvm-virtual-machines-on-iscsi-with-qnap-virt-manager-part-2-of-2/comment-page-1/#comment-2371</link>
		<dc:creator>Amadeus</dc:creator>
		<pubDate>Tue, 10 Aug 2010 12:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://berrange.com/?p=344#comment-2371</guid>
		<description>Excellent. Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Excellent. Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Berrange</title>
		<link>http://berrange.com/posts/2010/05/04/provisioning-kvm-virtual-machines-on-iscsi-with-qnap-virt-manager-part-2-of-2/comment-page-1/#comment-2368</link>
		<dc:creator>Daniel Berrange</dc:creator>
		<pubDate>Tue, 10 Aug 2010 02:37:31 +0000</pubDate>
		<guid isPermaLink="false">http://berrange.com/?p=344#comment-2368</guid>
		<description>If you have multiple hosts and want different LUNs visible on each host, then you might want multiple targets - each host would login to a different target, thus seeing different LUNs. If you want all your hosts to always see the same LUNs, then 1 target with multiple LUNs would work just fine. Personally I just use one target, many LUNs.</description>
		<content:encoded><![CDATA[<p>If you have multiple hosts and want different LUNs visible on each host, then you might want multiple targets &#8211; each host would login to a different target, thus seeing different LUNs. If you want all your hosts to always see the same LUNs, then 1 target with multiple LUNs would work just fine. Personally I just use one target, many LUNs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amadeus</title>
		<link>http://berrange.com/posts/2010/05/04/provisioning-kvm-virtual-machines-on-iscsi-with-qnap-virt-manager-part-2-of-2/comment-page-1/#comment-2367</link>
		<dc:creator>Amadeus</dc:creator>
		<pubDate>Tue, 10 Aug 2010 00:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://berrange.com/?p=344#comment-2367</guid>
		<description>Ok, now I am ready to deploy your howto.

I have 1 QNAP and 3 KVM hosts. I will give each KVM host a LUN with LVM inside.

Are you aware of pros and cons in using &quot;1 target + 3 LUNs&quot; or &quot;3 targets + 3 LUNs&quot;?

What would you recommend?</description>
		<content:encoded><![CDATA[<p>Ok, now I am ready to deploy your howto.</p>
<p>I have 1 QNAP and 3 KVM hosts. I will give each KVM host a LUN with LVM inside.</p>
<p>Are you aware of pros and cons in using &#8220;1 target + 3 LUNs&#8221; or &#8220;3 targets + 3 LUNs&#8221;?</p>
<p>What would you recommend?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

