<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Wisdom Bytes:The journal of a  recovering SysAdmin</title>
	<atom:link href="http://vivekvc.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vivekvc.wordpress.com</link>
	<description>Vivek Varghese Cherian&#039;s blog</description>
	<lastBuildDate>Wed, 15 May 2013 09:23:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='vivekvc.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Wisdom Bytes:The journal of a  recovering SysAdmin</title>
		<link>http://vivekvc.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://vivekvc.wordpress.com/osd.xml" title="Wisdom Bytes:The journal of a  recovering SysAdmin" />
	<atom:link rel='hub' href='http://vivekvc.wordpress.com/?pushpress=hub'/>
		<item>
		<title>The Hacker Lifecycle.</title>
		<link>http://vivekvc.wordpress.com/2013/04/15/the-hacker-lifecycle/</link>
		<comments>http://vivekvc.wordpress.com/2013/04/15/the-hacker-lifecycle/#comments</comments>
		<pubDate>Mon, 15 Apr 2013 16:30:59 +0000</pubDate>
		<dc:creator>vivekvc</dc:creator>
				<category><![CDATA[Entrepreneurship]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://vivekvc.wordpress.com/?p=1386</guid>
		<description><![CDATA[Came an interesting post titled The Hacker Lifecycle on SlashDot. Thought the best way to bookmark the link is to blog about it.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1386&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Came an interesting post titled <a title="The Hacker Lifecycle" href="http://www.benjaminasmith.com/blog/2013/04/12/continuing-education/">The Hacker Lifecycle</a> on SlashDot. Thought the best way to bookmark the link is to blog about it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vivekvc.wordpress.com/1386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vivekvc.wordpress.com/1386/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1386&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vivekvc.wordpress.com/2013/04/15/the-hacker-lifecycle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d6e58abe5ed42565f0c8cc37474c156?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vivekvc</media:title>
		</media:content>
	</item>
		<item>
		<title>How to increase your GNU/Linux swap without re-partitioning</title>
		<link>http://vivekvc.wordpress.com/2013/04/05/how-to-increase-your-gnulinux-swap-without-re-partitioning/</link>
		<comments>http://vivekvc.wordpress.com/2013/04/05/how-to-increase-your-gnulinux-swap-without-re-partitioning/#comments</comments>
		<pubDate>Fri, 05 Apr 2013 11:37:38 +0000</pubDate>
		<dc:creator>vivekvc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vivekvc.wordpress.com/?p=1376</guid>
		<description><![CDATA[1. # dd if=/dev/zero of=idli bs=1000000 count=1 This will create a file - idli - of approx 1 MB size 2. # chmod 0 idli So that no one can ever use it /delete it etc etc 3. # mkswap idli 4. # swapon -v idli 5. Test if your swap has increase by 1 [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1376&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<pre>1. # dd if=/dev/zero of=idli bs=1000000 count=1

   This will create a file - idli - of approx 1 MB size

2. # chmod 0 idli

   So that no one can ever use it /delete it etc etc

3. # mkswap idli

4. # swapon -v idli

5. Test if your swap has increase by 1 MB

   # top

   or

   # cat /proc/swaps
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vivekvc.wordpress.com/1376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vivekvc.wordpress.com/1376/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1376&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vivekvc.wordpress.com/2013/04/05/how-to-increase-your-gnulinux-swap-without-re-partitioning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d6e58abe5ed42565f0c8cc37474c156?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vivekvc</media:title>
		</media:content>
	</item>
		<item>
		<title>Obituary</title>
		<link>http://vivekvc.wordpress.com/2013/02/12/obituary/</link>
		<comments>http://vivekvc.wordpress.com/2013/02/12/obituary/#comments</comments>
		<pubDate>Tue, 12 Feb 2013 09:10:27 +0000</pubDate>
		<dc:creator>vivekvc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vivekvc.wordpress.com/?p=1374</guid>
		<description><![CDATA[Obituary printed in the London Times&#8230;..Absolutely Brilliant !! Today we mourn the passing of a beloved old friend, Common Sense , who has been with us for many years. No one knows for sure how old he was, since his birth records were long ago lost in bureaucratic red tape. He will be remembered as [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1374&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Obituary printed in the London Times&#8230;..Absolutely Brilliant !!</p>
<p> Today we mourn the passing of a beloved old friend, Common Sense , who has been with us for many years. No one knows for sure how old he was, since his birth records were long ago lost in bureaucratic red tape. He will be remembered as having cultivated such valuable lessons as:</p>
<p> &#8211; Knowing when to come in out of the rain;<br /> &#8211; Why the early bird gets the worm;<br /> &#8211; Life isn&#8217;t always fair;<br /> &#8211; And maybe it was my fault.</p>
<p> Common Sense lived by simple, sound financial policies (don&#8217;t spend more than you can earn) and reliable strategies (adults, not children, are in charge).</p>
<p> His health began to deteriorate rapidly when well-intentioned but overbearing regulations were set in place. Reports of a 6-year-old boy charged with sexual harassment for kissing a classmate; teens suspended from school for using mouthwash after lunch; and a teacher fired for reprimanding an unruly student, only worsened his condition.</p>
<p> Common Sense lost ground when parents attacked teachers for doing the job that they themselves had failed to do in disciplining their unruly children.</p>
<p> It declined even further when schools were required to get parental consent to administer sun lotion or an aspirin to a student; but could not inform parents when a student became pregnant and wanted to have an abortion.</p>
<p> Common Sense lost the will to live as the churches became businesses; and criminals received better treatment than their victims.</p>
<p> Common Sense took a beating when you couldn&#8217;t defend yourself from a burglar in your own home and the burglar could sue you for assault.</p>
<p> Common Sense finally gave up the will to live, after a woman failed to realize that a steaming cup of coffee was hot. She spilled a little in her lap, and was promptly awarded a huge settlement.</p>
<p> Common Sense was preceded in death,<br /> -by his parents, Truth and Trust,<br /> -by his wife, Discretion,<br /> -by his daughter, Responsibility,<br /> -and by his son, Reason.</p>
<p> He is survived by his 5 stepbrothers;<br /> &#8211; I Know My Rights<br /> &#8211; I Want It Now<br /> &#8211; Someone Else Is To Blame<br /> &#8211; I&#8217;m A Victim<br /> &#8211; Pay me for Doing Nothing</p>
<p> Not many attended his funeral because so few realized he was gone.</p>
<p> If you still remember him, pass this on. If not, join the majority and do nothing.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vivekvc.wordpress.com/1374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vivekvc.wordpress.com/1374/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1374&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vivekvc.wordpress.com/2013/02/12/obituary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d6e58abe5ed42565f0c8cc37474c156?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vivekvc</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting Started with Salt Stack-the Other Configuration Management System Built with Python</title>
		<link>http://vivekvc.wordpress.com/2013/01/10/getting-started-with-salt-stack-the-other-configuration-management-system-built-with-python/</link>
		<comments>http://vivekvc.wordpress.com/2013/01/10/getting-started-with-salt-stack-the-other-configuration-management-system-built-with-python/#comments</comments>
		<pubDate>Thu, 10 Jan 2013 09:13:02 +0000</pubDate>
		<dc:creator>vivekvc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vivekvc.wordpress.com/?p=1369</guid>
		<description><![CDATA[Getting Started with Salt Stack-the Other Configuration Management System Built with Python: http://www.linuxjournal.com/content/getting-started-salt-stack-other-configuration-management-system-built-python  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1369&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Getting Started with Salt Stack-the Other Configuration Management System Built with Python: <a title="http://www.linuxjournal.com/content/getting-started-salt-stack-other-configuration-management-system-built-python" href="http://www.linuxjournal.com/content/getting-started-salt-stack-other-configuration-management-system-built-python">http://www.linuxjournal.com/content/getting-started-salt-stack-other-configuration-management-system-built-python</a></p>
<p> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vivekvc.wordpress.com/1369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vivekvc.wordpress.com/1369/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1369&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vivekvc.wordpress.com/2013/01/10/getting-started-with-salt-stack-the-other-configuration-management-system-built-with-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d6e58abe5ed42565f0c8cc37474c156?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vivekvc</media:title>
		</media:content>
	</item>
		<item>
		<title>Cap Theorm or Brewer&#8217;s Theorm and OpenStack Swift</title>
		<link>http://vivekvc.wordpress.com/2012/12/21/cap-theorm-or-brewers-theorm-and-openstack-swift/</link>
		<comments>http://vivekvc.wordpress.com/2012/12/21/cap-theorm-or-brewers-theorm-and-openstack-swift/#comments</comments>
		<pubDate>Fri, 21 Dec 2012 10:19:50 +0000</pubDate>
		<dc:creator>vivekvc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vivekvc.wordpress.com/?p=1360</guid>
		<description><![CDATA[In theoretical computer science, the CAP theorem, also known as Brewer&#8217;s theorem states that it is impossible for a distributed computer system to simultaneously provide all three of the following guarantees: Consistency: All nodes see the same data at the same time. Availability: A guarantee that every request receives a response about whether it was [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1360&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In theoretical computer science, the CAP theorem, also known as Brewer&#8217;s theorem states that it is impossible for a distributed computer system to simultaneously provide all three of the following guarantees:</p>
<p>Consistency: All nodes see the same data at the same time.</p>
<p>Availability: A guarantee that every request receives<br />
a response about whether it was successful or failed.</p>
<p>Partition Tolerance: The system continues to operate despite arbitrary message loss or failure of part of the system. </p>
<p>According to the theorm, a distributed system can satisfy any two of these guarantees at the same time, but not all three.Openstack Object Storgage (Swift) chose availability and partition tolerance and dropped consistency. That means that you&#8217;ll always get your data, they will be dispersed on many places, but you could get an old version of them (or no data at all) in some odd cases (like some server overload or failure). This compromise is made to allow maximum availability and scalability of the storage platform.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vivekvc.wordpress.com/1360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vivekvc.wordpress.com/1360/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1360&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vivekvc.wordpress.com/2012/12/21/cap-theorm-or-brewers-theorm-and-openstack-swift/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d6e58abe5ed42565f0c8cc37474c156?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vivekvc</media:title>
		</media:content>
	</item>
		<item>
		<title>Devstack: Documented shell script to build OpenStack environments</title>
		<link>http://vivekvc.wordpress.com/2012/12/21/devstack-documented-shell-script-to-build-openstack-environments/</link>
		<comments>http://vivekvc.wordpress.com/2012/12/21/devstack-documented-shell-script-to-build-openstack-environments/#comments</comments>
		<pubDate>Fri, 21 Dec 2012 09:44:05 +0000</pubDate>
		<dc:creator>vivekvc</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[openstack]]></category>
		<category><![CDATA[Systems/Network Administration]]></category>

		<guid isPermaLink="false">http://vivekvc.wordpress.com/2012/12/21/devstack-documented-shell-script-to-build-openstack-environments/</guid>
		<description><![CDATA[I&#8217;ve been using DevStack for quite a while now. DevStack is a documented shell script from RackSpace Cloud Builders to build complete OpenStack development environments. Would recommend it for any developer trying to get OpenStack up and running with minimum fuss. The complete installation instructions are available at http://devstack.org<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1352&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been using DevStack for quite a while now. DevStack is a documented shell script from RackSpace Cloud Builders to build complete OpenStack development environments. Would recommend it for any developer trying to get OpenStack up and running with minimum fuss. The complete installation instructions are available at <a href="http://devstack.org" title="http://devstack.org">http://devstack.org</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vivekvc.wordpress.com/1352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vivekvc.wordpress.com/1352/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1352&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vivekvc.wordpress.com/2012/12/21/devstack-documented-shell-script-to-build-openstack-environments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d6e58abe5ed42565f0c8cc37474c156?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vivekvc</media:title>
		</media:content>
	</item>
		<item>
		<title>Ceph is a free/open source distributed file system.</title>
		<link>http://vivekvc.wordpress.com/2012/12/21/ceph-is-a-freeopen-source-distributed-file-system/</link>
		<comments>http://vivekvc.wordpress.com/2012/12/21/ceph-is-a-freeopen-source-distributed-file-system/#comments</comments>
		<pubDate>Fri, 21 Dec 2012 09:40:57 +0000</pubDate>
		<dc:creator>vivekvc</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Systems/Network Administration]]></category>

		<guid isPermaLink="false">http://vivekvc.wordpress.com/?p=1348</guid>
		<description><![CDATA[Ceph is a free/open source Software distributed file system Ceph&#8217;s main goals are to be Posix-compatible, and completely distributed without a single point of failure. URL: http://ceph.com/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1348&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><b>Ceph</b> is a free/open source Software distributed file system Ceph&#8217;s main goals are to be Posix-compatible, and completely distributed without a single point of failure.</p>
<p>URL: <a title="http://ceph.com/" href="http://ceph.com/">http://ceph.com/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vivekvc.wordpress.com/1348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vivekvc.wordpress.com/1348/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1348&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vivekvc.wordpress.com/2012/12/21/ceph-is-a-freeopen-source-distributed-file-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d6e58abe5ed42565f0c8cc37474c156?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vivekvc</media:title>
		</media:content>
	</item>
		<item>
		<title>Checking if LibtVirt works on a given hardware</title>
		<link>http://vivekvc.wordpress.com/2012/12/13/checking-if-libtvirt-works-on-a-given-hardware/</link>
		<comments>http://vivekvc.wordpress.com/2012/12/13/checking-if-libtvirt-works-on-a-given-hardware/#comments</comments>
		<pubDate>Thu, 13 Dec 2012 13:49:56 +0000</pubDate>
		<dc:creator>vivekvc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vivekvc.wordpress.com/?p=1216</guid>
		<description><![CDATA[The libvirt library (http://www.libvirt.org) creates a virtual machine abstraction layer between hypervisor interfaces and the software applications that use them. With libvirt, developers and system administrators can focus on a common management framework, common API, and common shell interface (i.e., virsh) to many different hypervisors, including: QEMU/KVM XEN LXC VirtualBox   Check if libvirt is [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1216&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The <tt>libvirt</tt> library (<a title="http://www.libvirt.org" href="http://www.libvirt.org">http://www.libvirt.org</a>) creates a virtual machine abstraction layer between hypervisor interfaces and the software applications that use them. With <tt>libvirt</tt>, developers and system administrators can focus on a common management framework, common API, and common shell interface (i.e., <tt>virsh</tt>) to many different hypervisors, including:</p>
<ul>
<li>QEMU/KVM</li>
<li>XEN</li>
<li>LXC</li>
<li>VirtualBox</li>
</ul>
<p> </p>
<p>Check if libvirt is installed. In my case I have already installed the libvirt-bin package that comes with Ubuntu 12.04.</p>
<p>root@cluster:/etc/apt/sources.list.d# dpkg -l | grep libvirt<br />ii  libvirt-bin                           0.9.8-2ubuntu17.4                programs for the libvirt library<br />ii  libvirt-dev                           0.9.8-2ubuntu17.4                development files for the libvirt library<br />ii  libvirt-glib-1.0-0                    0.0.4-1                          libvirt glib mainloop integration<br />ii  libvirt0                              0.9.8-2ubuntu17.4                library for interfacing with different virtualization systems<br />ii  libvirt0-dbg                          0.9.8-2ubuntu17.4                library for interfacing with different virtualization systems<br />ii  libvirtodbc0                          6.1.4+dfsg1-0ubuntu1             high-performance database &#8211; ODBC libraries<br />ii  python-libvirt                        0.9.8-2ubuntu17.4                libvirt Python bindings</p>
<p>As you can see the libvirt packages have been installed.</p>
<p>Now install qemu and/or kvm. Though qemu or kvm is not necessary for libvirt to function, I am using it to launch a VM and check if LibVirt can connect to the instance.</p>
<p>root@cluster:~# apt-get install qemu qemu-kvm-extras qemu-kvm-extras-static qemu-kvm-spice<br />Reading package lists&#8230; Done<br />Building dependency tree       <br />Reading state information&#8230; Done<br />The following extra packages will be installed:<br />  binfmt-support libbluetooth3 libbrlapi0.5 libfdt1 libjpeg-turbo8 libjpeg8 libpixman-1-0<br />  libspice-server1 libvde0 libvdeplug2 qemu-keymaps qemu-system qemu-user qemu-user-static vde2<br />Suggested packages:<br />  samba vde2-cryptcab<br />The following NEW packages will be installed:<br />  binfmt-support libbluetooth3 libbrlapi0.5 libfdt1 libjpeg-turbo8 libjpeg8 libpixman-1-0<br />  libspice-server1 libvde0 libvdeplug2 qemu qemu-keymaps qemu-kvm-extras qemu-kvm-extras-static<br />  qemu-kvm-spice qemu-system qemu-user qemu-user-static vde2<br />0 upgraded, 19 newly installed, 0 to remove and 3 not upgraded.<br />Need to get 41.1 MB of archives.<br />After this operation, 160 MB of additional disk space will be used.<br />Do you want to continue [Y/n]?</p>
<p> </p>
<p>Now check of KVM hardware acceleration can be possible </p>
<p>root@cluster:~# kvm-ok<br />INFO: Your CPU does not support KVM extensions<br />KVM acceleration can NOT be used<br />root@cluster:~#</p>
<p>In my case the hardware is non VT enabled hence KVM acceleration cannot be used. I can still use qemu to launch virtual machines.</p>
<p> </p>
<p>Once KVM is installed check if you can connect directly to libvirt using the virsh console.</p>
<p>root@cluster:~# virsh -c qemu:///system list<br /> Id Name                 State<br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Create a domain with the instructions found at<a title=" http://wiki.libvirt.org/page/VM_lifecycle#Creating_a_domain" href="http://wiki.libvirt.org/page/VM_lifecycle#Creating_a_domain"> http://wiki.libvirt.org/page/VM_lifecycle#Creating_a_domain</a></p>
<p>root@cluster:~# virt-install  &#8211;connect qemu:///system &#8211;virt-type qemu &#8211;name cluster-test-vm &#8211;ram 512 &#8211;disk path=/home/cssoss/rhel6.img,size=8 &#8211;vnc &#8211;cdrom /home/cssoss/rhel-server-6.0-x86_64-dvd.iso &#8211;network network=default,mac=52:54:00:9c:94:3b &#8211;os-variant rhel6</p>
<p> </p>
<p>root@cluster:~# virsh<br />Welcome to virsh, the virtualization interactive terminal.</p>
<p>Type:  &#8216;help&#8217; for help with commands<br />       &#8216;quit&#8217; to quit</p>
<p> </p>
<p>Now list the VM with virsh.</p>
<p>virsh # list<br /> Id Name                 State<br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />  1 cluster-test-vm      running</p>
<p>virsh #</p>
<p> </p>
<p>Now try connecting to the VM from virsh.</p>
<p>virsh # console cluster-test-vm<br />Connected to domain cluster-test-vm<br />Escape character is ^]</p>
<p>There you go libvirt is installed and works on the hardware.</p>
<p> </p>
<p> </p>
<p> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vivekvc.wordpress.com/1216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vivekvc.wordpress.com/1216/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1216&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vivekvc.wordpress.com/2012/12/13/checking-if-libtvirt-works-on-a-given-hardware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d6e58abe5ed42565f0c8cc37474c156?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vivekvc</media:title>
		</media:content>
	</item>
		<item>
		<title>RIP Raj &#8220;oldmonk&#8221; Mathur</title>
		<link>http://vivekvc.wordpress.com/2012/12/13/rip-raj-oldmonk-mathur/</link>
		<comments>http://vivekvc.wordpress.com/2012/12/13/rip-raj-oldmonk-mathur/#comments</comments>
		<pubDate>Thu, 13 Dec 2012 08:50:06 +0000</pubDate>
		<dc:creator>vivekvc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vivekvc.wordpress.com/2012/12/13/rip-raj-oldmonk-mathur/</guid>
		<description><![CDATA[RIP Raj &#8220;oldmonk&#8221; Mathur. http://www.mail-archive.com/ilugd@lists.linux-delhi.org/msg29557.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1215&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>RIP Raj &#8220;oldmonk&#8221; Mathur. <a href="http://www.mail-archive.com/ilugd@lists.linux-delhi.org/msg29557.html" target="_blank" rel="nofollow nofollow">http://www.mail-archive.com/ilugd@lists.linux-delhi.org/msg29557.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vivekvc.wordpress.com/1215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vivekvc.wordpress.com/1215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1215&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vivekvc.wordpress.com/2012/12/13/rip-raj-oldmonk-mathur/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d6e58abe5ed42565f0c8cc37474c156?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vivekvc</media:title>
		</media:content>
	</item>
		<item>
		<title>Playing around with git.</title>
		<link>http://vivekvc.wordpress.com/2012/12/03/playing-around-with-git/</link>
		<comments>http://vivekvc.wordpress.com/2012/12/03/playing-around-with-git/#comments</comments>
		<pubDate>Mon, 03 Dec 2012 15:07:21 +0000</pubDate>
		<dc:creator>vivekvc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vivekvc.wordpress.com/?p=1194</guid>
		<description><![CDATA[Decided to play around with git to commit some of the Python Code I&#8217;ve been using to master &#8216;How to think like a Computer Scientist&#8217; to github. Basic Steps to commit your code to github are as follows. 1) Create an account on github.com (My username is vivekvc) 2) Generate an ssh key and upload [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1194&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Decided to play around with git to commit some of the Python Code I&#8217;ve been using to master &#8216;How to think like a Computer Scientist&#8217; to github.</p>
<p>Basic Steps to commit your code to github are as follows.</p>
<p>1) Create an account on github.com (My username is vivekvc)</p>
<p>2) Generate an ssh key and upload the public key on github.</p>
<p>3) Create a project using git hub (my project name is python-code)</p>
<p>4) Create a directory using mkdir &lt;directory_name&gt; on your local machine.</p>
<p>5) Create or Copy the files you want to be add to git hub to the newly created directory</p>
<p>6) Issue the git init command inside the directory.</p>
<p>frodo@shire:~/python-code$ git init<br />Initialized empty Git repository in /home/frodo/python-code/.git/</p>
<p>7) Copy the git origin for your project from github.</p>
<p>frodo@shire:~/python-code$ git remote add origin git@github.com:vivekvc/python-code.git</p>
<p>8) issue the git add command</p>
<p>frodo@shire:~/python-code$ git add .</p>
<p>9) Commit your code with the -m option</p>
<p>frodo@shire:~/python-code$ git commit -m &#8216;Python Code&#8217;<br />[master (root-commit) 00521fd] Python Code<br /> 14 files changed, 196 insertions(+)<br /> create mode 100644 computer-scientist/degree-radians.py<br /> create mode 100644 computer-scientist/degree-radians.py~<br /> create mode 100644 computer-scientist/expressions.py<br /> create mode 100644 computer-scientist/functions.py<br /> create mode 100644 computer-scientist/functions.py~<br /> create mode 100644 computer-scientist/functions1.py<br /> create mode 100644 computer-scientist/functions1.py~<br /> create mode 100644 computer-scientist/logtest.py<br /> create mode 100644 computer-scientist/math1.py<br /> create mode 100644 computer-scientist/math2.py<br /> create mode 100644 computer-scientist/print.py<br /> create mode 100644 computer-scientist/python.log<br /> create mode 100644 computer-scientist/variables_parameters_local.py<br /> create mode 100644 computer-scientist/variables_parameters_local.py~</p>
<p>11) Push your changes to github.</p>
<p>frodo@shire:~/python-code$ git push -u origin master<br />Counting objects: 17, done.<br />Compressing objects: 100% (13/13), done.<br />Writing objects: 100% (17/17), 1.97 KiB, done.<br />Total 17 (delta 5), reused 0 (delta 0)<br />To git@github.com:vivekvc/python-code.git<br /> * [new branch]      master -&gt; master<br />Branch master set up to track remote branch master from origin.</p>
<p>There you go <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p> </p>
<p> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vivekvc.wordpress.com/1194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vivekvc.wordpress.com/1194/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vivekvc.wordpress.com&#038;blog=206851&#038;post=1194&#038;subd=vivekvc&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vivekvc.wordpress.com/2012/12/03/playing-around-with-git/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2d6e58abe5ed42565f0c8cc37474c156?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vivekvc</media:title>
		</media:content>
	</item>
	</channel>
</rss>
