<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>SparkSupport.com Blog</title>
	
	<link>http://www.sparksupport.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 15 Sep 2011 14:39:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/sparksupport" /><feedburner:info uri="sparksupport" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>HYPER-V AND VIRTULIZATION IN WINDOWS</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/m6GEw8qIvUU/hyper-v-and-virtulization-in-windows-2</link>
		<comments>http://www.sparksupport.com/blog/hyper-v-and-virtulization-in-windows-2#comments</comments>
		<pubDate>Thu, 15 Sep 2011 13:34:49 +0000</pubDate>
		<dc:creator>rakeshraj</dc:creator>
				<category><![CDATA[virtualization]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/hyper-v-and-virtulization-in-windows-2</guid>
		<description><![CDATA[Hyper-V Microsoft Hyper-V, codenamed Viridian and formerly known as Windows Server Virtualization, is a hypervisor-based virtualization system for x86-64 systems. Hyper-V exists in two variants: as a stand-alone product called Microsoft Hyper-V Server 2008, and as an installable role in Windows Server 2008 R2 and Windows Server 2008 (the former containing the later release of [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt"><strong>Hyper-V<br />
</strong></span></p>
<p>Microsoft <strong>Hyper-V</strong>, codenamed <strong>Viridian </strong>and formerly known as <strong>Windows Server Virtualization</strong>, is a hypervisor-based virtualization system for x86-64 systems. Hyper-V exists in two variants: as a stand-alone product called Microsoft Hyper-V Server 2008, and as an installable role in Windows Server 2008 R2 and Windows Server 2008 (the former containing the later release of Hyper-V).</p>
<p><span style="font-family: Times New Roman;font-size: 12pt;text-decoration: underline"><strong>Hyper-V on a Familiar Operating System<br />
</strong></span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Unlike some other server virtualization systems that are hosted on the Linux operating system (VMware ESX) or proprietary host systems, Hyper-V runs right on a familiar Microsoft Windows Server operating system. Network administrators do not need to learn a new operating system, management system, or specialized tools. Early adopters of Hyper-V, even without documentation or training, have been able to install the Hyper-V server role, finding it just like installing any other server role (such as installing domain name service [DNS], media services, Internet Information Services [IIS] web services, and the like). The administrative tools for Hyper-V are also just like any other administrative tool in Windows. Therefore, the creation of virtual guest sessions, the monitoring of those sessions, and the administration of guest sessions is a familiar process for IT administrators. The ease of learning, using, and supporting Hyper-V has been a huge factor in organizations adopting Hyper-V for their virtual server environments.<br />
</span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt;text-decoration: underline"><strong>Hyper-V Support More Than Just Windows Guest Sessions<br />
</strong></span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">With the release of Hyper-V, Microsoft made a concerted effort to ensure that Hyper-V not only supports Windows guest sessions (like Windows 2003 and Windows 2008), but also non-Windows guest sessions running Linux. By providing support for a variety of guest sessions, Microsoft is enabling organizations to consolidate both their Windows and non- Windows server systems onto fewer Hyper-V host servers.<br />
</span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">NOTE<br />
</span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Hyper-V in Windows 2008 is supported only on x64-bit systems that have hardware assisted virtualization support. Therefore, an organization cannot load up the 32-bit version of Windows 2008 and try to set up virtual guest sessions on the 32-bit host version of Windows.<br />
</span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt"><br />
</span></p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/m6GEw8qIvUU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/hyper-v-and-virtulization-in-windows-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/hyper-v-and-virtulization-in-windows-2</feedburner:origLink></item>
		<item>
		<title>PRE-INSTALLATION STEPS BEFORE HYPER-V INSTALLATION</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/j6oSZvuO8WQ/pre-installation-steps-before-hyper-v-installation</link>
		<comments>http://www.sparksupport.com/blog/pre-installation-steps-before-hyper-v-installation#comments</comments>
		<pubDate>Thu, 15 Sep 2011 13:22:01 +0000</pubDate>
		<dc:creator>rakeshraj</dc:creator>
				<category><![CDATA[virtualization]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Hyper-V. preinstallation steps for Hyper-V]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/pre-installation-steps-before-hyper-v-installation</guid>
		<description><![CDATA[This post will help you go through a simple but elementary checklist of all the actions that you need to perform prior to installing the Hyper-V role on your Windows Server 2008 R2 machine. These are the settings and changes that need to be made prior to installing the Hyper-V role on your machine: Make [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify">This post will help you go through a simple but elementary checklist of all the actions that you need to perform prior to installing the Hyper-V role on your Windows Server 2008 R2 machine.</p>
<p style="text-align: justify">These are the settings and changes that need to be made prior to installing the Hyper-V role on your machine:</p>
<ol>
<li>
<div style="text-align: justify">Make the necessary BIOS changes.</div>
</li>
<li>
<div style="text-align: justify">Install Windows Updates</div>
</li>
<li>
<div style="text-align: justify">Change the default Host Name.</div>
</li>
<li>
<div style="text-align: justify">Configure the host&#8217;s product key and activate it.</div>
</li>
<li>
<div style="text-align: justify">Change the IP to static addresses.</div>
</li>
<li>
<div style="text-align: justify">Enabled RDP support.</div>
</li>
<li>
<div style="text-align: justify">Join the host to a domain.</div>
</li>
<li>
<div style="text-align: justify">Configure Remote Management.</div>
</li>
<li>
<div style="text-align: justify">Enable remote disk management.</div>
</li>
</ol>
<p style="text-align: justify">&nbsp;</p>
<h2>1. BIOS changes</h2>
<p style="text-align: justify">You must enter the BIOS setup of the server and make sure that &#8220;Virtualization Technology&#8221; and &#8220;Execute Disable&#8221; are both set to Enabled.  In most cases, the required BIOS settings can be found in these BIOS sections (actual names may differ, based upon your server&#8217;s BIOS settings.</p>
<ul>
<li>
<div style="text-align: justify">Security &gt; Execute Disable (set to On)</div>
</li>
<li>
<div style="text-align: justify">Performance &gt; Virtualization (set to On)</div>
</li>
<li>
<div style="text-align: justify">Performance &gt; VT for Direct I/O Access (set to On)</div>
</li>
<li>
<div style="text-align: justify">Performance &gt; Trusted Execution (set to Off)</div>
</li>
</ul>
<p style="text-align: justify">&nbsp;</p>
<h2>2. Install Windows Updates</h2>
<p style="text-align: justify">By default, a Windows Server 2008/R2 machine will receive IP address and other settings automatically from a DHCP (if there is one).With these settings, in most cases, it will be possible for you to access the Internet. If that is correct, one of your first tasks would need to be installing all critical Windows Updates.</p>
<p style="text-align: justify">This can be done through several methods including the UI and the command line, but in this article I&#8217;ll describe the most common method &#8211; through the UI.</p>
<p style="text-align: justify">Use one of the following methods:</p>
<p style="text-align: justify">Open Server Manager &#8211; Click &#8220;Configure Updates&#8221;.</p>
<p style="text-align: justify">In Initial Configuration Tasks &#8211; Click &#8220;Download and install updates&#8221;.</p>
<p style="text-align: justify">On the Start menu &#8211; type &#8220;Update&#8221;, then click &#8220;Windows Update&#8221;.</p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1324_PREINSTALLA1.png" alt="" /></p>
<p style="text-align: justify">You will need to reboot the server once the updates were installed.</p>
<p style="text-align: justify">&nbsp;</p>
<h2>3. Host name</h2>
<p style="text-align: justify">By default, a Windows Server 2008/R2 machine will receive an automatically-generated host name. In most cases, we will want to change this host name to something more meaningful to us.</p>
<p style="text-align: justify">It is possible to change the host name through several methods including the UI and the command line (the NETDOM command), but in this article I&#8217;ll describe the most common method &#8211; through the UI.</p>
<p style="text-align: justify">Use one of the following methods:</p>
<p style="text-align: justify">Open Server Manager &#8211; Click &#8220;Change System Properties&#8221;.</p>
<p style="text-align: justify">In Initial Configuration Tasks &#8211; Click &#8220;Provide computer name and domain&#8221;.</p>
<p style="text-align: justify">On the Computer icon &#8211; right-click and select &#8220;Properties&#8221;, then click &#8220;Change Settings&#8221;.</p>
<p style="text-align: justify">Enter a descriptive computer name (try to limit it to 15 characters if possible) and click &#8220;Ok&#8221;.</p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1324_PREINSTALLA2.png" alt="" /></p>
<p style="text-align: justify">You will need to reboot the machine in order to continue.</p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1324_PREINSTALLA3.png" alt="" /></p>
<p style="text-align: justify">&nbsp;</p>
<h2>4. Product key and activation</h2>
<p style="text-align: justify">Not required if server will be used for a short-period testing, however, in a production environment, you must activate the server.</p>
<p style="text-align: justify">Unlike older OSs, Windows Server 2008 R2 does not ask you for the product key during the setup. You need to provide it after the setup has completed.</p>
<p style="text-align: justify">To enter the product ID you can use the UI or the command line (using SLMGR.VBS command, which is useful for Server Core and remote installations). I will use the UI in this example.</p>
<p style="text-align: justify">Use one of the following methods:</p>
<p style="text-align: justify">Open Server Manager &#8211; Click &#8220;Activate Windows&#8221;.</p>
<p style="text-align: justify">In Initial Configuration Tasks &#8211; Click &#8220;Activate Windows&#8221;.</p>
<p style="text-align: justify">On the Computer icon &#8211; right-click and select &#8220;Properties&#8221;, then click &#8220;Activate Windows&#8221;.</p>
<p style="text-align: justify">Enter the correct product key and click on &#8220;Next&#8221;.</p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1324_PREINSTALLA4.png" alt="" /></p>
<p style="text-align: justify">&nbsp;</p>
<h2>5. Static TCP/IP settings</h2>
<p style="text-align: justify">By default, a Windows Server 2008/R2 machine will receive IP address and other settings automatically. To add the server to a domain and to access it remotely you need to properly configure an IP address, Subnet Mask, Default Gateway and DNS Server IP. These can be configured through DHCP, but since this is a server, you&#8217;d probably want to manually configure them.</p>
<p style="text-align: justify">To do so, you can use the UI or the command line (the NETSH command). I will use the UI in this example.</p>
<p style="text-align: justify">Use one of the following methods:</p>
<p style="text-align: justify">Open Server Manager &#8211; Click &#8220;View Network Connections&#8221;.</p>
<p style="text-align: justify">In Initial Configuration Tasks &#8211; Click &#8220;Configure Networking&#8221;.</p>
<p style="text-align: justify">On the tray area &#8211; right-click the network icon and select &#8220;Open Network and Sharing Center&#8221;, then click &#8220;Change adapter settings&#8221;.</p>
<p style="text-align: justify">On the Start menu, type &#8220;ncpa.cpl&#8221; and press &#8220;Enter&#8221;.</p>
<p style="text-align: justify">In the Network Connections window, right-click the network adapter(s) that&#8217;s connected to the network and select &#8220;Properties&#8221;.</p>
<p style="text-align: justify">Click to select &#8220;Internet Protocol Version 4 (TCP/IPv4)&#8221; and click on &#8220;Properties&#8221;.</p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1324_PREINSTALLA5.png" alt="" /></p>
<p style="text-align: justify">Type in the assigned IP address, Subnet Mask, Default Gateway, and DNS settings.</p>
<p style="text-align: justify">Note that you will need to make sure you properly configure the host&#8217;s DNS settings in order to add it to a domain.</p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1324_PREINSTALLA6.png" alt="" /></p>
<p style="text-align: justify">&nbsp;</p>
<h2>6. Enabled RDP support</h2>
<p style="text-align: justify">Once the server has an IP address it&#8217;s most likely you&#8217;ll want to continue the configuration work remotely. To do so, we need to enable Remote Desktop.</p>
<p style="text-align: justify">Use one of the following methods:</p>
<p style="text-align: justify">Open Server Manager &#8211; Click &#8220;Configure Remote Desktop&#8221;.</p>
<p style="text-align: justify">In Initial Configuration Tasks &#8211; Click &#8220;Enable Remote Desktop&#8221;.</p>
<p style="text-align: justify">On the Computer icon &#8211; right-click and select &#8220;Properties&#8221;, then click &#8220;Remote Settings&#8221;.</p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1324_PREINSTALLA7.png" alt="" /></p>
<p style="text-align: justify">&nbsp;</p>
<h2>7. Join the host to a domain</h2>
<p style="text-align: justify">Hyper-V hosts are best managed if they&#8217;re a member of a domain. Domain membership is also required for other tasks that you might want to perform in the future (such as SCVMM 2008 R2 installation and others).</p>
<p style="text-align: justify">Like name changing, it is possible to add the host to a domain through several methods including the UI and the command line (the NETDOM command), but in this article I&#8217;ll describe the most common method &#8211; through the UI.</p>
<p style="text-align: justify">Use one of the following methods:</p>
<p style="text-align: justify">Open Server Manager &#8211; Click &#8220;Change System Properties&#8221;.</p>
<p style="text-align: justify">In Initial Configuration Tasks &#8211; Click &#8220;Provide computer name and domain&#8221;.</p>
<p style="text-align: justify">On the Computer icon &#8211; right-click and select &#8220;Properties&#8221;, then click &#8220;Change Settings&#8221;.</p>
<p style="text-align: justify">Enter the domain name and click &#8220;Ok&#8221;.</p>
<p style="text-align: justify">You will be asked to type your user name and password for the domain.</p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1324_PREINSTALLA8.png" alt="" /></p>
<p style="text-align: justify">Once you are successfully joined to the domain, you will be prompted to restart your computer. You must restart your computer before the changes take effect.</p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1324_PREINSTALLA9.png" alt="" /></p>
<p style="text-align: justify">&nbsp;</p>
<h2>8. Configure Remote Management</h2>
<p style="text-align: justify">Remote Desktop is ok, but sometimes you do not need a full desktop to make a change or two, and you can use Server Manager or any other type of remote-connection MMC-snap-in (Note that in Windows Server 2008 R2, Server Manager can finally be used remotely).</p>
<p style="text-align: justify"><a href="http://ad1.netshelter.net/jump/ns.petri;kw=;tile=2;sz=300x250,336x280;ord=123456789?" target="_blank"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1324_PREINSTALLA11.png" alt="" /></a></p>
<p style="text-align: justify">To do so, open Server Manager &#8211; Click &#8220;Configure Server Manager Remote Management&#8221;.</p>
<p style="text-align: justify">To let this computer to be managed remotely by using Server Manager, select &#8220;Enable remote management of this server from other computers&#8221;. Click &#8220;Ok&#8221;.</p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1324_PREINSTALLA12.png" alt="" /></p>
<p style="text-align: justify">&nbsp;</p>
<h2>9. Enable remote disks management</h2>
<p style="text-align: justify">This should be done in order to allow you to remotely connect to the host&#8217;s disk subsystem and manage it. In order to connect to the disk subsystem remotely you need to set the Virtual Disk Service (VDS) to Automatic, and start it. Then you need to enable the remote-volume-management firewall exception.</p>
<p style="text-align: justify">To do so, follow these steps:</p>
<p style="text-align: justify">Open a Command Prompt window and type the following command:</p>
<p style="text-align: justify">sc config vds start= auto</p>
<p style="text-align: justify">Next, type:</p>
<p style="text-align: justify">net start vds</p>
<p style="text-align: justify">Next, type the following command to enable the remote-volume-management firewall exceptions:</p>
<p style="text-align: justify">netsh advfirewall firewall set rule group=&#8221;Remote Volume Management&#8221; new enable=yes</p>
<p style="text-align: justify"><strong>Very important note</strong>: Although this may not seem logical, you <span style="text-decoration: underline"><strong>MUST </strong></span>also enable the same firewall exceptions on the machine you&#8217;re connecting <span style="text-decoration: underline"><strong>FROM</strong></span>!!! Otherwise, you&#8217;ll get a &#8220;RPC Service Unavailable&#8221; message when you attempt to connect to the server&#8217;s disk subsystem remotely.</p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1324_PREINSTALLA13.png" alt="" /></p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/j6oSZvuO8WQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/pre-installation-steps-before-hyper-v-installation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/pre-installation-steps-before-hyper-v-installation</feedburner:origLink></item>
		<item>
		<title>INSTALLING HYPER-V</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/Zy0dyDJMgO8/installing-hyper-v</link>
		<comments>http://www.sparksupport.com/blog/installing-hyper-v#comments</comments>
		<pubDate>Thu, 15 Sep 2011 12:42:03 +0000</pubDate>
		<dc:creator>rakeshraj</dc:creator>
				<category><![CDATA[virtualization]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Hyper-V installation]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/installing-hyper-v</guid>
		<description><![CDATA[Installing Hyper-V on Windows Server 2008 R2 To install Hyper-V on Windows Server 2008 R2 you can use one of the following approaches. Note that all methods require a reboot after completion. Method #1 &#8211; Through the GUI Probably the easiest for this specific role. I would use this method. 1. Open Server Manager, wait [...]]]></description>
			<content:encoded><![CDATA[<h1>Installing Hyper-V on Windows Server 2008 R2</h1>
<p>To install Hyper-V on Windows Server 2008 R2 you can use one of the following approaches. Note that all methods require a reboot after completion.</p>
<p><strong><br />
</strong></p>
<h2>Method #1 &#8211; Through the GUI</h2>
<p>Probably the easiest for this specific role. I would use this method.</p>
<p>1. Open Server Manager, wait for it to load.</p>
<p>2. Click on &#8220;Roles&#8221;, wait for it to load.</p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH1.png" alt="" /></p>
<p>3. On the &#8220;Before you begin&#8221; page, click &#8220;Next&#8221;.</p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH2.png" alt="" /></p>
<p>4. In the &#8220;Select Server Roles&#8221; page, click to select the Hyper-V role. Click &#8220;Next&#8221;.</p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH3.png" alt="" /></p>
<p>5. Click &#8220;Next&#8221;.</p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH4.png" alt="" /></p>
<p>6. Select all the Network Interface Cards (NICs) that you wish to assign for the Virtual Machines. Make sure you leave one NIC un-selected for host management. If you only have one NIC, select it, but make a note that it is best to have at least 2 NICS &#8211; one for the host and one for the VMs. These settings can be changed later.</p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH5.png" alt="" /></p>
<p>7. In the &#8220;Confirm Installation Selections&#8221; page click &#8220;Install&#8221;.</p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH6.png" alt="" /></p>
<p>8. Once finished, you will need to reboot the server. Click on the &#8220;Close&#8221; button, and then click &#8220;Yes&#8221; when you are prompted to reboot the server.</p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH7.png" alt="" /></p>
<p>9. When the server reboots, log back into the server and the Server Manager should automatically load and resume the installation process.</p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH8.png" alt="" /></p>
<p>After about a minute, you should see a message telling you that Hyper-V has installed successfully. Click &#8220;Close&#8221; to complete the wizard.</p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH9.png" alt="" /></p>
<p><strong>Note</strong>: Make sure you do not forget to enable the CPU Virtualization Mode and the Execute Disable bit as mentioned in prepare windows server 2008R2 for Hyper V role blog. If you fail to do so, you will receive an error when attempting to start a VM.</p>
<h2>Method #2 &#8211; Using the Command Prompt</h2>
<p>Using the <strong>servermanagercmd.exe</strong> command is easy, and only requires 3 words&#8230; A reboot is required at the end of the installation (which can also be added to the command, making it 4 words&#8230;). However, Hyper-V network connections will need to be changed after the installation.</p>
<p>1. Open a Command Prompt window with elevated permissions.</p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH10.png" alt="" /></p>
<p>2. Type:</p>
<p><strong>servermanagercmd -i Hype-V</strong></p>
<p>If you want to automatically reboot the server when the installation is finished, type:</p>
<p><strong>servermanagercmd -i Hyper-V -restart</strong></p>
<p>Easy and simple. This is probably why Microsoft decided to deprecate the usage of servermanagercmd.exe.<a href="http://ad1.netshelter.net/jump/ns.petri;kw=;tile=2;sz=300x250,336x280;ord=123456789?" target="_blank"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH12.png" alt="" /></a></p>
<h2>Method #3 &#8211; Using PowerShell</h2>
<p>In Windows Server 2008 R2, PowerShell is installed by default. However, in order to install roles with it, you need to import the Server Manager module.</p>
<p>1. Open a PowerShell window and type:</p>
<p><strong>Import-Module servermanager</strong></p>
<p>2. Once imported, type:</p>
<p><strong>Add-WindowsFeature Hyper-V</strong></p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH13.png" alt="" /></p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH14.png" alt="" /></p>
<p>If you want to automatically reboot the server when the installation is finished, type:</p>
<p><strong>Add-WindowsFeature Hyper-V -restart</strong></p>
<p>Easy and simple, but here too, Hyper-V network connections will need to be changed after the installation.</p>
<p><a href="/uri/?id=2133&amp;host=technet.microsoft.com"><br />
</a></p>
<p style="background: #ffffed">&nbsp;</p>
<p><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091511_1244_INSTALLINGH15.png" alt="" /></p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/Zy0dyDJMgO8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/installing-hyper-v/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/installing-hyper-v</feedburner:origLink></item>
		<item>
		<title>LAUNCHING VIRTUAL MACHINES IN HYPER-V</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/7WmmYLupbIY/launching-virtual-machines-in-hyper-v</link>
		<comments>http://www.sparksupport.com/blog/launching-virtual-machines-in-hyper-v#comments</comments>
		<pubDate>Thu, 15 Sep 2011 12:00:15 +0000</pubDate>
		<dc:creator>rakeshraj</dc:creator>
				<category><![CDATA[virtualization]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[installing virtual machines in Hyper-V]]></category>
		<category><![CDATA[virtual machines in Hyper-V]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/?p=1281</guid>
		<description><![CDATA[Once you install the Hyper-V role on Windows Server 2008, a new console will be installed on your machine, and it is called the Hyper-V Manager. Everything related to Hyper-V is done using this MMC console. To open Hyper-V, click on Start &#62; Administrative Tools &#62; Hyper-V Manager The first time you open Hyper-V, an [...]]]></description>
			<content:encoded><![CDATA[<p>Once you install the Hyper-V role on Windows Server 2008, a new console will be installed on your machine, and it is called the <strong>Hyper-V Manager</strong>. Everything related to Hyper-V is done using this MMC console.</p>
<p>To open Hyper-V, click on<strong> Start</strong> &gt; <strong>Administrative Tools</strong> &gt; <strong>Hyper-V Manager</strong></p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/1-Open_Hyper_V.jpg"><img class="aligncenter size-full wp-image-1282" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/1-Open_Hyper_V.jpg" alt="" width="645" height="628" /></a></p>
<p>The first time<strong> </strong>you open <strong>Hyper-V</strong>, an<strong> End User license Agreement (EULA)</strong> page will open, take a moment to read it and then enable the checkbox beside <strong>I have read and agree to the terms of this EULA</strong>, then click on the <strong>Accept</strong> button<strong>. </strong>If you clicked on the <strong>Cancel </strong>button<strong>, </strong>then you will not be able to connect to any server running Hyper-V until you accept the EULA, which will keep popping up whenever you open Hyper-V or even try to connect to a server that has the Hyper-V<strong> </strong>role installed on.</p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/0-EULA.jpg"><img class="aligncenter size-full wp-image-1283" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/0-EULA.jpg" alt="" width="544" height="514" /></a></p>
<p>The Hyper-V Manager console will open</p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/0-1_Connect_to_server.jpg"><img class="aligncenter size-full wp-image-1286" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/0-1_Connect_to_server.jpg" alt="" width="500" height="372" /></a></p>
<p>From the right side pane, under <strong>Actions</strong>, click on Connect to Server                                                   . Hyper-V is installed locally on the machine you are working with, so keep the default selection on <strong>Local Computer (the computer this console is running on)</strong> and then click on <strong>OK.</strong></p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/0-1-1_connect_to_2.jpg"><img class="aligncenter size-full wp-image-1287" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/0-1-1_connect_to_2.jpg" alt="" width="472" height="185" /></a></p>
<p>The server name will be displayed in the left side pane, and now we have more Actions to select from the right side pane</p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/2_Hyper_v.jpg"><img class="aligncenter size-full wp-image-1288" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/2_Hyper_v.jpg" alt="" width="564" height="475" /></a></p>
<p>To Create a new virtual machine, From the right side pane, click on <strong>New &gt; Virtual Machine</strong></p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/4_Click_Virtual_Disk.jpg"><img class="aligncenter size-full wp-image-1289" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/4_Click_Virtual_Disk.jpg" alt="" width="179" height="373" /></a></p>
<p>On the <strong>Before You Begin </strong> page, click <strong>Next</strong></p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/5_Before_you_Begin.jpg"><img class="aligncenter size-full wp-image-1290" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/5_Before_you_Begin.jpg" alt="" width="500" height="364" /></a></p>
<p>On the <strong>Specify Name and Location</strong> page, type a meaningful name for your Virtual Machine, as for the location where the virtual machine will be stored, either keep the default location as shown, or change it to another path and then Click <strong>Next</strong>.</p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/6_Choose_name_Path.jpg"><img class="aligncenter size-full wp-image-1293" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/6_Choose_name_Path.jpg" alt="" width="400" height="292" /></a></p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/7_custom_location.jpg"><img class="aligncenter size-full wp-image-1294" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/7_custom_location.jpg" alt="" width="500" height="367" /></a>On the <strong>Assign Memory</strong> page, specify the amount of memory to allocate to this virtual machine. This depends on how much memory is installed on your system. Either keep the default displayed memory, or increase it. As I&#8217;m going to install Windows Server 2008, I am going to set the memory to be 2 GB. Click <strong>Next</strong></p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/8_default_memory.jpg"><img class="aligncenter size-full wp-image-1298" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/8_default_memory.jpg" alt="" width="500" height="367" /></a></p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/9_custome_memory.jpg"><img class="aligncenter size-full wp-image-1299" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/9_custome_memory.jpg" alt="" width="500" height="367" /></a></p>
<p>Select a Virtual Network from the drop down list on the <strong>Configure Networking </strong>page. You can keep the virtual machine disconnected by not selecting any Virtual Network, Click <strong>Next</strong></p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/10_Network.jpg"><img class="aligncenter size-full wp-image-1300" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/10_Network.jpg" alt="" width="500" height="367" /></a></p>
<p>For Every Virtual Machine, you will need to connect it to a Virtual Hard Disk, on the <strong>Connect Virtual Hard Disk</strong> page, we will need to create a new virtual hard disk, as we do not have any existing virtual hard disk ( you can use existing virtual hard disk if you already have created virtual hard disk before , or if you have downloaded a virtual hard disk from Microsoft site )</p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/11_virtual_HD.jpg"><img class="aligncenter size-full wp-image-1302" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/11_virtual_HD.jpg" alt="" width="500" height="367" /></a>On the <strong>Installation Options</strong> page,  you have multiple options to choose from where you are going to install the operating system, or you can even postpone this operation by choosing <strong>Install an operating system later</strong>. Insert the Windows Server 2008 DVD inside the DVD Drive, and select to <strong>install an operating system from a boot CD/DVD-ROM</strong>, if you have multiple DVD Drives, make sure to select the one which has the Windows Server 2008 DVD into it. Click <strong>Next</strong></p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/12_install_OS.jpg"><img class="aligncenter size-full wp-image-1303" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/12_install_OS.jpg" alt="" width="500" height="367" /></a></p>
<p>On the <strong>Completing the New Virtual Machine Wizard</strong>, take a moment to review your selections and then click <strong>Finish</strong>. If you need the virtual machine to be automatically started after it is created, then select the checkbox <strong>Start the Virtual Machine after it is created</strong></p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/13_Completing_VM_Wizard.jpg"><img class="aligncenter size-full wp-image-1304" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/13_Completing_VM_Wizard.jpg" alt="" width="500" height="367" /></a></p>
<p>Windows Server 2008 files will start to load</p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/connecting.jpg"><img class="aligncenter size-full wp-image-1305" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/connecting.jpg" alt="" width="478" height="369" /></a></p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/15_Loading_Win2k8.jpg"><img class="aligncenter size-full wp-image-1306" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/15_Loading_Win2k8.jpg" alt="" width="500" height="424" /></a></p>
<p><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/15_Loading_Win2k81.jpg"><img class="aligncenter size-full wp-image-1307" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/15_Loading_Win2k81.jpg" alt="" width="500" height="424" /></a></p>
<p>Select the language to install, Time and currency format and the keyboard language, and then click <strong>Next</strong></p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/16_Choose_Language.jpg"><img class="aligncenter size-full wp-image-1309" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/16_Choose_Language.jpg" alt="" width="470" height="410" /></a></p>
<p>Click on <strong>Install Now</strong></p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/17_install_now.jpg"><img class="aligncenter size-full wp-image-1310" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/17_install_now.jpg" alt="" width="498" height="435" /></a></p>
<p>Enter the product key, and keep the checkbox <strong>Automatically activate Windows when I&#8217;m online</strong> to activate your Windows copy when you are online, if you wish not to activate it, as this might be a test lab on your Hyper-V, then deselect this option and then click <strong>Next</strong></p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/product_key.jpg"><img class="aligncenter size-full wp-image-1311" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/product_key.jpg" alt="" width="567" height="494" /></a></p>
<p>Accept the license terms and click <strong>Next</strong></p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/20_Accept_Terms.jpg"><img class="aligncenter size-full wp-image-1312" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/20_Accept_Terms.jpg" alt="" width="547" height="449" /></a></p>
<p>Click <strong>Custom (advanced)</strong>, on the <strong>Type of installation</strong> page</p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/21_Click_Custom.jpg"><img class="aligncenter size-full wp-image-1313" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/21_Click_Custom.jpg" alt="" width="547" height="449" /></a></p>
<p>Select the drive / partition you want to install Windows Server 2008 on it and then click <strong>Next</strong>. <strong><br />
</strong>If you want to divide the virtual hard disk into two partitions, you can do this by selecting the drive , and then clicking on the <strong>Drive options (advanced) </strong>option</p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/22_Choose_Partition.jpg"><img class="aligncenter size-full wp-image-1314" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/22_Choose_Partition.jpg" alt="" width="547" height="449" /></a></p>
<p>To divide the drive into different partitions, click on the<strong> New </strong>option, enter the new partition size, then click on the <strong>Apply</strong> button</p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/partition_drive.jpg"><img class="aligncenter size-full wp-image-1329" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/partition_drive.jpg" alt="" width="549" height="459" /></a></p>
<p style="text-align: center">&nbsp;</p>
<p>Once you are done with creating the partitions, select the one that you want to install Windows Server 2008 on it, and then click on<strong> Next</strong></p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/select_partition.jpg"><img class="aligncenter size-full wp-image-1316" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/select_partition.jpg" alt="" width="470" height="394" /></a></p>
<p>Installation will start</p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/23_Installation_Starts.jpg"><img class="aligncenter size-full wp-image-1317" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/23_Installation_Starts.jpg" alt="" width="549" height="459" /></a></p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/24_installation_2.jpg"><img class="aligncenter size-full wp-image-1318" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/24_installation_2.jpg" alt="" width="549" height="459" /></a></p>
<p>The machine will reboot several times until the installation is completed.</p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/25_installation_completed.jpg"><img class="aligncenter size-full wp-image-1319" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/25_installation_completed.jpg" alt="" width="571" height="494" /></a></p>
<p>One last note, in step # 10 , if you did not select to start the virtual machine after it is created, then to start and connect to the virtual machine, right click on the Virtual machine name inside <strong>Hyper-V Manager</strong> and click on <strong>Start</strong>, this will turn on the Virtual machine</p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/Start_VM.jpg"><img class="aligncenter size-full wp-image-1320" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/Start_VM.jpg" alt="" width="564" height="421" /></a></p>
<p>Then right click on the Virtual machine name and click <strong>Connect</strong>, this will open the Virtual machine window.</p>
<p style="text-align: center"><a href="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/connect_to_vm.jpg"><img class="aligncenter size-full wp-image-1321" src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/connect_to_vm.jpg" alt="" width="563" height="421" /></a></p>
<p><strong>Summary</strong><strong>:</strong></p>
<p>This article,shows you how to use Hyper-V Manager to create your first Virtual Machine, and then to install Windows Server 2008 as a guest operating system.  Start using a virtualized computing environment to improve the efficiency of your computing resources by utilizing more of your hardware resources. Enjoy Hyper-V !</p>
<p><strong>&nbsp;</p>
<p></strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/7WmmYLupbIY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/launching-virtual-machines-in-hyper-v/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/launching-virtual-machines-in-hyper-v</feedburner:origLink></item>
		<item>
		<title>MIGRATION OF VM’S FROM VMWARE TO HYPER-V</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/EH34jjwlkco/migration-of-vm%e2%80%99s-from-vmware-to-hyper-v-2</link>
		<comments>http://www.sparksupport.com/blog/migration-of-vm%e2%80%99s-from-vmware-to-hyper-v-2#comments</comments>
		<pubDate>Wed, 14 Sep 2011 18:44:24 +0000</pubDate>
		<dc:creator>rakeshraj</dc:creator>
				<category><![CDATA[virtualization]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[vmdk to VHD conversion method]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/migration-of-vm%e2%80%99s-from-vmware-to-hyper-v-2</guid>
		<description><![CDATA[CONVERTING VM IN VMWARE TO HYPERV &#160; Performing a Virtual to Virtual Migration of Guest Images A strategy for migrating older images to Hyper-V is to do a virtual to virtual image migration.Via VMM, an administrator can select a running virtual machine (running VMware,XenServer, Virtual Server 2005, or the like) and choose to migrate the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt;text-decoration: underline"><strong>CONVERTING VM IN VMWARE TO HYPERV<br />
</strong></span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt;text-decoration: underline"><strong>Performing a Virtual to Virtual Migration of Guest Images<br />
</strong></span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">A strategy for migrating older images to Hyper-V is to do a virtual to virtual image migration.Via VMM, an administrator can select a running virtual machine (running VMware,XenServer, Virtual Server 2005, or the like) and choose to migrate the image to Hyper-V. This process extracts all the pertinent server image information, applications, data,Registry settings, user settings, and the like and moves the information over to a target Hyper-V host server. Once migrated, the Hyper-V integration tools can be installed, andthe image is now clear and ready to be supported by Hyper-V or VMM.<br />
</span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt;text-decoration: underline">Following are the steps to convert a VMWare VM  to Hyper-V VM<br />
</span></p>
<ol>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">First you need to uninstall the VM tools from your VM<span style="text-decoration: underline"><br />
</span></span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Then shutdown the VM<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">After that add a new IDE disk drive to your VM.<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">You need to boot up your virtual machine with both of the drives that is connected and check that it detects your new IDE drive. You can see the new drive as &#8220;not initialized&#8221; in Disk Management.<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Then power off the virtual machine and remove the newly created IDE disk from the VM. Do not power on VMware Machine again.<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Now you need to convert your VMDK file to VHD format by using the newest Vmdk2Vhd utility.<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">After that you can now uninstall the VMware Server and then install Hyper-V + on the current Windows Updates on your host server<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Then create a new Virtual Machine in the Hyper-V.<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">On the Power and Install the &#8220;Integration Services&#8221; and reboot when prompted<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Assign the original IP address to the new network card.<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Then you can check the device manager<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Then reboot<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">After that check all your applications and services are running<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Finally done.<br />
</span></div>
</li>
</ol>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Note: If you have Win2008 VM&#8217;s then it&#8217;s not necessary to add a temporary IDE disk during migration but you might want to copy the relevant KB949219 (<a href="http://support.microsoft.com/kb/949219">http://support.microsoft.com/kb/949219</a>) update package to your VM before converting it. Otherwise it will start up with three warnings in the Device Manager for &#8220;Microsoft VMBus Video Device&#8221;, &#8220;Microsoft VMBus HID Miniport&#8221; and &#8220;Microsoft VMBus Network Adapter&#8221; &#8211; hence you will have no network access<br />
</span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt;text-decoration: underline"><strong>Converting Vmware files to Hyper-V-compatible files by using VMDK to VHD converter tool:<br />
</strong></span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Open the VMDK file, as shown below<br />
</span></p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091411_1847_MIGRATIONOF13.png" alt="" /><span style="font-family: Times New Roman;font-size: 12pt;text-decoration: underline"><strong><br />
</strong></span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Once the file is open, select a destination for the new VHD file and provide a file name.<br />
</span></p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091411_1847_MIGRATIONOF23.png" alt="" /><span style="font-family: Times New Roman;font-size: 12pt"><br />
</span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Select destination and name VHD file. Click to start Conversion.<br />
</span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">The above mentioned method is for converting guest operating systems in VMWARE to HYPER-V. The guest operating systems can be both windows and Linux based systems.</span></p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/EH34jjwlkco" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/migration-of-vm%e2%80%99s-from-vmware-to-hyper-v-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/migration-of-vm%e2%80%99s-from-vmware-to-hyper-v-2</feedburner:origLink></item>
		<item>
		<title>LINUX VIRTULIZATION AND MIGRATION OF VM’S IN LINUX HOST TO WINDOWS HOST</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/0ONQDp70aSc/linux-virtulization-and-migration-of-vm%e2%80%99s-in-linux-host-to-windows-host</link>
		<comments>http://www.sparksupport.com/blog/linux-virtulization-and-migration-of-vm%e2%80%99s-in-linux-host-to-windows-host#comments</comments>
		<pubDate>Wed, 14 Sep 2011 18:31:22 +0000</pubDate>
		<dc:creator>rakeshraj</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[linux virtulization]]></category>
		<category><![CDATA[migration of virtual machines from linux host to windows host]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/linux-virtulization-and-migration-of-vm%e2%80%99s-in-linux-host-to-windows-host</guid>
		<description><![CDATA[&#160; Top 10 Linux Virtualization Software Virtualization is the latest buzz word. You may wonder computers are getting cheaper every day, why should I care and why should I use virtualization? Virtualization is a broad term that refers to the abstraction of computer resources such as: Platform Virtualization Resource Virtualization Storage Virtualization Network Virtualization Desktop [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify">&nbsp;</p>
<h1>Top 10 Linux Virtualization Software</h1>
<p style="text-align: justify">Virtualization is the latest buzz word. You may wonder computers are getting cheaper every day, why should I care and why should I use virtualization? Virtualization is a broad term that refers to the abstraction of computer resources such as:</p>
<ol>
<li>
<div style="text-align: justify">Platform Virtualization</div>
</li>
<li>
<div style="text-align: justify">Resource Virtualization</div>
</li>
<li>
<div style="text-align: justify">Storage Virtualization</div>
</li>
<li>
<div style="text-align: justify">Network Virtualization</div>
</li>
<li>
<div style="text-align: justify">Desktop Virtualization</div>
</li>
</ol>
<p>This article describes why you need virtualization and list commonly used FOSS and proprietary Linux virtualization software.</p>
<p style="text-align: justify">&nbsp;</p>
<h2>Why should I use virtualization?</h2>
<ul>
<li>
<div style="text-align: justify"><strong>Consolidation</strong> &#8211; It means combining multiple software workloads on one computer system. You can run various virtual machines in order to save money and power (electricity).</div>
</li>
<li>
<div style="text-align: justify"><strong>Testing</strong> &#8211; You can test various configuration. You can create less resource hungry and low priority virtual machines (VM). Often, I test new Linux distro inside VM. This is also good for students who wish to learn new operating systems and programming languages / database without making any changes to working environment. At my work place I give developers virtual test machines for testing and debugging their software.</div>
</li>
<li>
<div style="text-align: justify"><strong>Security and Isolation</strong> &#8211; If mail server or any other app gets cracked, only that VM will be under control of the attacker. Also, isolation means misbehaving apps (e.g. memory leaks) cannot bring down whole server.</div>
</li>
</ul>
<p style="text-align: justify">&nbsp;</p>
<h3>Open Source Linux Virtualization Software</h3>
<ol>
<li>
<div style="text-align: justify"><a href="http://openvz.org/" target="_blank">OpenVZ</a> is an operating system-level virtualization technology based on the Linux kernel and operating system.</div>
</li>
<li>
<div style="text-align: justify"><a href="http://www.xen.org/" target="_blank">Xen</a> is a virtual machine monitor for 32 / 64 bit Intel / AMD (IA 64) and PowerPC 970 architectures. It allows several guest operating systems to be executed on the same computer hardware concurrently. XEN is included with most popular Linux distributions such as Debian, Ubuntu, CentOS, RHEL, Fedora and many others.</div>
</li>
<li>
<div style="text-align: justify"><a href="http://kvm.qumranet.com/" target="_blank">Kernel-based Virtual Machine (KVM)</a> is a Linux kernel virtualization infrastructure. KVM currently supports native virtualization using Intel VT or AMD-V. A wide variety of guest operating systems work with KVM, including many flavours of Linux, BSD, Solaris, and Windows etc. KVM is included with Debian, OpenSuse and other Linux distributions.</div>
</li>
<li>
<div style="text-align: justify"><a href="http://linux-vserver.org/" target="_blank">Linux-VServer</a> is a virtual private server implementation done by adding operating system-level virtualization capabilities to the Linux kernel.</div>
</li>
<li>
<div style="text-align: justify"><a href="http://www.virtualbox.org/" target="_blank">VirtualBox</a> is an x86 virtualization software package, developed by Sun Microsystems as part of its Sun xVM virtualization platform. Supported host operating systems include Linux, Mac OS X, OS/2 Warp, Windows XP or Vista, and Solaris, while supported guest operating systems include FreeBSD, Linux, OpenBSD, OS/2 Warp, Windows and Solaris.</div>
</li>
<li>
<div style="text-align: justify"><a href="http://bochs.sourceforge.net/" target="_blank">Bochs</a> is a portable x86 and AMD64 PC emulator and debugger. Many guest operating systems can be run using the emulator including DOS, several versions of Microsoft Windows, BSDs, Linux, AmigaOS, Rhapsody and MorphOS. Bochs can run on many host operating systems, like Windows, Windows Mobile, Linux and Mac OS X.</div>
</li>
<li>
<div style="text-align: justify"><a href="http://user-mode-linux.sourceforge.net/" target="_blank">User Mode Linux (UML)</a> was the first virtualization technology for Linux. User-mode Linux is generally considered to have lower performance than some competing technologies, such as Xen and OpenVZ. Future work in adding support for x86 virtualization to UML may reduce this disadvantage.</div>
</li>
</ol>
<p style="text-align: justify">&nbsp;</p>
<h3>Proprietary Linux Virtualization Software</h3>
<ul>
<li>
<div style="text-align: justify"><a href="http://www.vmware.com/" target="_blank">VMware ESX Server and VMWare Server</a> &#8211; VMware Server (also known as GSX Server) is an entry-level server virtualization software. VMware ESX Server is an enterprise-level virtualization product providing data center virtualization. It can run various guest operating systems such as FreeBSD, Linux, Solaris, Windows and others.</div>
</li>
<li>
<div style="text-align: justify">Commercial implementations of XEN available with various features and support.</div>
<ul>
<li>
<div style="text-align: justify"><a href="http://citrix.com/" target="_blank">Citrix XenServer</a> : XenServer is based on the open source Xen hypervisor, an exceptionally lean technology that delivers low overhead and near-native performance.</div>
</li>
<li>
<div style="text-align: justify"><a href="http://www.oracle.com/technologies/virtualization/index.html" target="_blank">Oracle VM</a> : Oracle VM is based on the open-source Xen hypervisor technology, supports both Windows and Linux guests and includes an integrated Web browser based management console. Oracle VM features fully tested and certified Oracle Applications stack in an enterprise virtualization environment.</div>
</li>
<li>
<div style="text-align: justify"><a href="http://www.sun.com/software/products/xvm/index.jsp" target="_blank">Sun xVM</a> : The xVM Server uses a bare-metal hypervisor based on the open source Xen under a Solaris environment on x86-64 systems. On SPARC systems, xVM is based on Sun&#8217;s Logical Domains and Solaris. Sun plans to support Microsoft Windows (on x86-64 systems only), Linux, and Solaris as guest operating systems.</div>
</li>
</ul>
</li>
<li>
<div style="text-align: justify"><a href="http://www.parallels.com/" target="_blank">Parallels Virtuozzo Containers</a> &#8211; It is an operating system-level virtualization product designed for large-scale homegenous server environments and data centers. Parallels Virtuozzo Containers is compatible with x86, x86-64 and IA-64 platforms. You can run various Linux distributions inside Parallels Virtuozzo Containers.</div>
</li>
</ul>
<p style="text-align: justify">Personally, I&#8217;ve used VMware ESX / Server and VirtualBox.</p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="text-decoration: underline"><strong>METHODS FOR MIGRATION OF VM&#8217;S IN LINUX HOST TO WINDOWS HOST<br />
</strong></span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">In Linux the virtualization tool used can be one of the above mentioned. Let us take the case of VIRTUAL BOX. The guest in VBOX will have an extension &#8220;.vdi&#8221; and in WINDOWS HYPER-V it will be &#8220;.vhd&#8221;. The steps for converting .vdi to .vhd are given below:<br />
</span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">There are times when you use Virtualbox and for some reason need to convert over to VMWare or Hyper-V (or other).<br />
</span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Finding this process on the Internet is tedious, and usually involves using QEMU, an open-source Virtualization product to perform the .raw &#8211;&gt; .vmdk step. However, if you are running on Windows, the QEMU Windows port will not perform the conversion without failure (at least on Windows 7!). So with that, I decided to go another route with a handy tool that I&#8217;ve used for years in some variation or another, WinImage.<br />
</span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Tools you&#8217;ll need:<br />
</span></p>
<p><span style="font-family: Times New Roman;font-size: 12pt">. Sun VirtualBox &#8211; <a href="http://www.virtualbox.org">http://www.virtualbox.org</a>. WinImage (Shareware) &#8211; <a href="http://www.winimage.com">http://www.winimage.com</a></p>
<p></span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Requirements:<br />
</span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Free disk space should be around 2 times the size of the .vdi disk image file size.<br />
</span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">For the sake of this document, we will use .vmdk as our output file, but the conversion steps are the same when it comes to .vhd.<br />
</span></p>
<p style="text-align: justify">&nbsp;</p>
<div>
<table style="border-collapse: collapse" border="0">
<col style="width: 624px"></col>
<col style="width: 2px"></col>
<tbody>
<tr>
<td style="padding: 1px" colspan="2" valign="middle">
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt"><strong>Convert the .vdi file to a raw disk image (.raw)<br />
</strong></span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Perform a search on your system for existing .vdi files that you are going to convert.<br />
</span></p>
<p style="text-align: justify">&nbsp;</p>
<ol style="margin-left: 72pt">
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Go to a cmd prompt and navigate to the VirtualBox folder (typically c:\program files\sun\VirtualBox).<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">. Execute the following command against the .vdi file in question:<br />
</span></div>
</li>
</ol>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">vboxmanage.exe internalcommands converttoraw &#8220;x\path-to-vdi\diskimage.vdi&#8221; &#8220;x:\path-to-output-folder\diskimage.raw&#8221;<br />
</span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Depending on the size of your .vdi file, the time for conversion may greatly vary. Also, be sure you have around 2 times the available drive space that your existing .vdi currently consumes on your logical volume.<br />
</span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">i.e. if you have a 16gb .vdi file, just to be safe, I would make sure you have 32Gb free on your physical disk to ensure the conversion process can complete without errors. Usually you won&#8217;t need this much, but it is good to be safe. </span></p>
</td>
<td style="padding: 1px" valign="middle"></td>
</tr>
</tbody>
</table>
</div>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091411_1834_LINUXVIRTUL1.png" alt="" /><span style="font-family: Times New Roman;font-size: 12pt"><br />
</span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt"><strong>Convert .raw disk image to .vmdk format using WinImage<br />
</strong></span></p>
<p style="text-align: justify">&nbsp;</p>
<ul style="margin-left: 72pt">
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Open WinImage, click on &#8216;Disk&#8217;&gt; &#8216;Convert Virtual Hard Disk image&#8230;&#8217;<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Next to the &#8216;File name:&#8217; field, click on the file type drop-down and select &#8216;All files (*.*)&#8217;.<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Navigate to the location where you stored your outputted .raw disk file and double-click it.<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Choose whether you wish to &#8216;Create Fixed Size Virtual Hard Disk&#8217; or &#8216;Create Dynamically Expanding Virtual Hard Disk&#8217; (I typically pick the latter) and click &#8216;OK&#8217;.<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Navigate to a folder where you wish to store the newly converted image to. Next to &#8216;Save as type:&#8217; (for the sake of this How-to) choose &#8216;VMWare VMDK (*.vmdk). and click &#8216;Save&#8217;.You should see a &#8216;Reading disk&#8217; progress indicator giving you the status of the conversion process. I&#8217;ve converted 30Gb images in about 10 minutes or less&#8230;but I have no firm numbers.<br />
</span></div>
</li>
<li>
<div style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Once the conversion is complete, you&#8217;ll see a dialog box that will ask you if you wish to connect to the partition. Click &#8216;OK&#8217; if you wish to view the content.<br />
</span></div>
</li>
</ul>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><img src="http://www.sparksupport.com/blog/wp-content/uploads/2011/09/091411_1834_LINUXVIRTUL2.png" alt="" /><span style="font-family: Times New Roman;font-size: 12pt"><br />
</span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt"><strong>Import your disk images into your existing Virtual Infrastructure<br />
</strong></span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Now that the files are converted, copy or move your converted disk image files to your virtualization software&#8217;s datastore/disk storage folder.<br />
</span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Once moved/copied, you should now be able to create a new Virtual Machine and utilize the disks you just converted.<br />
</span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Note that you will need to install the proper guest additions/tools to the virtual machine when you get it booted, so you will likely not have network access right off the bat.<br />
</span></p>
<p style="text-align: justify">&nbsp;</p>
<p style="text-align: justify"><a href="/how_to/show/1152"><span style="font-family: Times New Roman;font-size: 12pt">Conclusion</span></a><span style="font-family: Times New Roman;font-size: 12pt"><strong><br />
</strong></span></p>
<p style="text-align: justify"><span style="font-family: Times New Roman;font-size: 12pt">Indeed, that was a quick How-to, but it&#8217;s an important process that gets easily overlooked. The WinImage step makes quick work of converting the .raw image&#8230;and it is easy!<br />
</span></p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/0ONQDp70aSc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/linux-virtulization-and-migration-of-vm%e2%80%99s-in-linux-host-to-windows-host/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/linux-virtulization-and-migration-of-vm%e2%80%99s-in-linux-host-to-windows-host</feedburner:origLink></item>
		<item>
		<title>Trac Installation on centOS</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/CihyWFPVQZg/trac-installation-on-centos</link>
		<comments>http://www.sparksupport.com/blog/trac-installation-on-centos#comments</comments>
		<pubDate>Fri, 26 Aug 2011 08:07:37 +0000</pubDate>
		<dc:creator>priyans</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/?p=1204</guid>
		<description><![CDATA[A.Dependencies 1.Basic 1.1.Python 2.5 or higher 1.2.Setup tools 1.3.Genshi 1.4.sqlite database Note:- 1.1.Python2.4 is already installed with centOS.It does not support full swing operation of Trac.So install &#8220;virtualenv&#8221; python tool.Get the tar ball from  http://pypi.python.org/pypi/virtualenv.Just untar it,get into the directory and do #python setup.py install Now it&#8217;ll be installed(Python2.7 will be automatically installed with it)!Then [...]]]></description>
			<content:encoded><![CDATA[<p><strong>A.Dependencies</strong><br />
<strong>1</strong>.Basic<br />
1.1.Python 2.5 or higher<br />
1.2.Setup tools<br />
1.3.Genshi<br />
1.4.sqlite database<br />
<strong>Note:-</strong><br />
1.1.Python2.4  is already  installed with centOS.It does not support full swing  operation of  Trac.So install &#8220;virtualenv&#8221; python tool.Get the tar ball  from  <strong><a href="http://pypi.python.org/pypi/virtualenv" target="_blank">http://pypi.python.org/pypi/virtualenv</a></strong>.Just untar it,get into the directory and do</p>
<pre class="brush: bash;"> #python setup.py install </pre>
<p>Now it&#8217;ll be installed(Python2.7 will be automatically installed with it)!Then create an environment by</p>
<pre class="brush: bash;">#python virtualenv.py ENV</pre>
<pre class="brush: bash;">#virtualenv ENV</pre>
<p>Done!!!</p>
<p><strong>Note</strong>:-Now new binaries will be available under &#8216;<strong>/root/ENV/bin</strong>&#8216;. We&#8217;re going to use commands from this directory for further.</p>
<p>Activate the new virtual environment by</p>
<pre class="brush: bash;">#source ./ENV/bin/activate</pre>
<p>(Here ENV is the virtual environment)</p>
<p>From  now onwards,it&#8217;ll take commands from virtual environment itself if  available! Otherwise it will go for default system binaries! If you want to return  to the real environment, trigger</p>
<pre class="brush: bash;">#deactivate</pre>
<p>1.2.Setup tools<br />
This will be installed automatically along the installation of &#8216;virtualenv&#8217;.<br />
1.3.Install Genshi by</p>
<pre class="brush: bash;">#easy_install Genshi</pre>
<p>1.4.Sqlite can be installed using &#8216;yum&#8217;.Install &#8216;devel&#8217; for sqlite also!</p>
<p><strong>2</strong>.mod_wsgi module for apache<br />
For compiling mod_wsgi with apache,simply follow the instructions given in: <strong><a href="http://code.google.com/p/modwsgi/wiki/QuickInstallationGuide" target="_blank">http://code.google.com/p/modwsgi/wiki/QuickInstallationGuide</a></strong></p>
<p><strong>B.Installing Trac</strong></p>
<pre class="brush: bash;">#easy_install Babel==0.9.5
#easy_install Trac
#easy_install -U Trac
#easy_install -U Trac==dev</pre>
<p><strong>C.Creating a project environment</strong></p>
<p><strong>1</strong>.Before  you proceed,create a directory for keeping trac project files under a  directory accessible to apache.(Here default path is used)</p>
<pre class="brush: bash;">#mkdir /var/www/trac</pre>
<p>Now make sure apache user can access all the directories and files under &#8216;trac&#8217;</p>
<pre class="brush: bash;">#chown -R apache.apache /var/www/trac</pre>
<p><strong>2</strong>.Create an environment</p>
<pre class="brush: bash;">#trac-admin /var/www/myproject initenv</pre>
<p>Enter  the name of project and database when you are prompted for. Leave  database name as default if you wish to use the default database!</p>
<p><strong>D.Deploying Trac</strong></p>
<pre class="brush: bash;">#tracd --port 8000 /var/www/trac/myproject</pre>
<p>(include &#8216;-s&#8217; for single instance)</p>
<p>Now open browser and go to : http://localhost:8000 . Trac web-based interface will be appeared!</p>
<p><strong>E.Granting admin rights to admin user</strong></p>
<pre class="brush: bash;">#trac-admin /var/www/myproject permission add admin TRAC_ADMIN</pre>
<p><strong>Warning</strong>:-  If you failed to activate virtual environment as described under  section A-1.1, you will need to specify path for all the commands  (For eg:/root/ENV/bin easy_install) and you may encounter an error &#8220;   File &#8220;/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py&#8221;, line  4, in &lt;module&gt; from pyexpat import * ImportError:  /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so: undefined  symbol: PyUnicodeUCS4_Decode&#8221;. &#8220;.</p>
<p>For resolving this,trigger</p>
<pre class="brush: bash;">#export  PYTHONPATH=/path/to/lib/python2.7/site-packages/</pre>
<p>on each shell or edit files like /etc/profile or /etc/bashrc etc to take a permanent effect. But,this is not recommended and you should activate the virtual environment instead (<em>see</em> A-1.1) to avoid this scenario!!  Happy doing <img src='http://www.sparksupport.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/CihyWFPVQZg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/trac-installation-on-centos/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/trac-installation-on-centos</feedburner:origLink></item>
		<item>
		<title>device-mapper: remove ioctl failed: Device or resource busy</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/Zvi-waViGO4/device-mapper-remove-ioctl-failed-device-or-resource-busy</link>
		<comments>http://www.sparksupport.com/blog/device-mapper-remove-ioctl-failed-device-or-resource-busy#comments</comments>
		<pubDate>Tue, 12 Jul 2011 13:43:10 +0000</pubDate>
		<dc:creator>Shijil T S</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[dmsetup lvremove ioctl failed]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/?p=1195</guid>
		<description><![CDATA[I have jumped into this strange problem when I tried to remove a logical volume. Things would have been easy if I had used lsof command The logical volume was named /dev/lvols/ubuntu64 At first $lvremove /dev/lvols/ubuntu64 This command couldn&#8217;t remove the logical volume the next command I tried was root@manager-desktop:~# dmsetup remove --force /dev/lvols/ubuntu64 device-mapper: [...]]]></description>
			<content:encoded><![CDATA[<p>I have jumped into this strange problem when I tried to remove a logical volume.</p>
<p>Things would have been easy if I had used lsof command</p>
<p>The logical volume was named /dev/lvols/ubuntu64</p>
<p>At first</p>
<pre class="brush: bash;">

$lvremove /dev/lvols/ubuntu64
</pre>
<p>This command couldn&#8217;t remove the logical volume the next command I tried was</p>
<pre class="brush: bash;">

root@manager-desktop:~# dmsetup remove --force /dev/lvols/ubuntu64
device-mapper: remove ioctl failed: Device or resource busy
Command failed
</pre>
<p>So some process is using this logical volume and to find the process id the next command was</p>
<pre class="brush: bash;">

root@manager-desktop:~# lsof /dev/lvols/ubuntu64
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF   NODE NAME
vblade  31213 root    3u   BLK  252,4      0t0 115749 /dev/lvols/../mapper/lvols-ubuntu64
</pre>
<pre class="brush: bash;">

root@manager-desktop:~# kill -9 31213
</pre>
<p>Now issued the commands</p>
<pre class="brush: bash;">

root@manager-desktop:~# dmsetup remove --force /dev/lvols/ubuntu64

root@manager-desktop:~# lvremove /dev/lvols/ubuntu64
 Logical volume &quot;ubuntu64&quot; successfully removed
</pre>
<p>Voila.. simple fix and point to remember is never forget lsof command <img src='http://www.sparksupport.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/Zvi-waViGO4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/device-mapper-remove-ioctl-failed-device-or-resource-busy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/device-mapper-remove-ioctl-failed-device-or-resource-busy</feedburner:origLink></item>
		<item>
		<title>We are hiring BTech/BE 2010, 2011 passed out candidates for our Technical Support and Development divisions</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/udyFcRxqf80/we-are-hiring-btechbe-2010-2011-passed-out-candidates-for-our-technical-support-and-development-divisions</link>
		<comments>http://www.sparksupport.com/blog/we-are-hiring-btechbe-2010-2011-passed-out-candidates-for-our-technical-support-and-development-divisions#comments</comments>
		<pubDate>Wed, 16 Mar 2011 09:17:46 +0000</pubDate>
		<dc:creator>Nisha Ajil</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Recruitment]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/?p=1187</guid>
		<description><![CDATA[Description: We are looking for  BE/Btech freshers from IT, CSE ,EEE, EC branches for our Development and Technical Support wings. Proactive candidates with exceptional coding skills. The candidate must be capable of quickly learning new technologies and capable of working on applications deployed in distributed environment. Basic knowledge of Linux platform , Perl, PHP  will [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Description:</strong></p>
<p>We are looking for  BE/Btech freshers from IT, CSE ,EEE, EC branches  for our Development and Technical Support wings. Proactive candidates with  exceptional  coding skills. The candidate must be capable of quickly  learning new  technologies and capable of working on applications  deployed in distributed environment. Basic knowledge of Linux platform ,  Perl, PHP  will be a plus.</p>
<p><strong>Eligibility Criteria:</strong></p>
<ul>
<li> BTech/ BE &#8211; CSE, ECE , IT, EEE( 60%above final results and should  not have any back papers )</li>
<li>Excellent programming skills ( C, C++) .Basic knowledge of PHP/ Perl/Python  will be a plus. RHCE certified candidates for Technical Support wing.</li>
<li>Consistent academic record</li>
<li>Proactive attitude</li>
<li>Good written and oral communication.</li>
<li>Should be a self starter and must be willing to work on complicated   tasks.</li>
<li>A quick learner.</li>
<li>Familiarity with software development process .</li>
</ul>
<p><strong>Selection procedure:</strong></p>
<ul>
<li> Written Test ( Technical and Aptitude &#8211; objective type )</li>
<li>Technical Interview</li>
<li>Practical test .</li>
<li>HR Round</li>
</ul>
<p><strong>Terms:</strong></p>
<ul>
<li> 6 months on job training period</li>
<li> flat hierarchy</li>
<li> ample opportunities to grow</li>
<li> opportunity to grow with a fast growing  organization</li>
</ul>
<div><strong> </strong></div>
<p><strong>How to apply:</strong></p>
<p>Send your resumes to careers[at] sparksupport[dot]com with a covering   letter and subject line <strong>BTech Freshers</strong> .The openings are  immediate and the candidates should be ready to join  ASAP.</p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/udyFcRxqf80" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/we-are-hiring-btechbe-2010-2011-passed-out-candidates-for-our-technical-support-and-development-divisions/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/we-are-hiring-btechbe-2010-2011-passed-out-candidates-for-our-technical-support-and-development-divisions</feedburner:origLink></item>
		<item>
		<title>Sphinx search server</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/InBZ3eotd9E/sphinx-search-server</link>
		<comments>http://www.sparksupport.com/blog/sphinx-search-server#comments</comments>
		<pubDate>Wed, 02 Mar 2011 16:35:44 +0000</pubDate>
		<dc:creator>Tino Thomas</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/?p=1161</guid>
		<description><![CDATA[Sphinx is an open source search engine designed to search text extremely quickly. It can be included in your programs to provide custom search functionality. In this document I am trying to explain you how to set it up in a linux machine and how php programs, that use mysql database, can call the sphinx [...]]]></description>
			<content:encoded><![CDATA[<p>Sphinx is an open source search engine designed to search text extremely  quickly. It can be included in your programs to provide custom search functionality. In this document I  am trying to explain you how to set it up in a linux machine and how  php programs, that use mysql database, can call the sphinx search engine  to provide custom search feature. So let us start with the  installation part.</p>
<p>Download and extract the tarball of sphinx</p>
<pre class="brush: bash;">

$ tar xzvf sphinx-0.9.8.tar.gz
$ cd sphinx
</pre>
<p>Run the configuration program:</p>
<pre class="brush: bash;">

$ ./configure
</pre>
<p>We can specify the location where sphinx should be installed by using &#8211;prefix option.<br />
Build the binaries.</p>
<pre class="brush: bash;">

$ make
</pre>
<p>Install the binaries.</p>
<pre class="brush: bash;">
$ make install
</pre>
<p>By  default, Sphinx utilities are installed in /usr/local/bin/. Sphinx has  three components: an index generator, a search engine, and a  command-line search utility: The index generator is called indexer. It queries your database, indexes each column in each row of the result, and ties each index entry to the row&#8217;s primary key. The search engine is a daemon called searchd.  The daemon receives search terms and other parameters, scours one or  more indices, and returns a result. If a match is made, searchd returns  an array of primary keys. Given those keys, an application can run a  query against the associated database to find the complete records that  comprise the match. Searchd communicates to applications through a  socket connection on port 3312. The handy search  utility lets you conduct searches from the command line without writing  code. If searchd returns a match, search queries the database and  displays the rows in the match set. The search utility is useful for  debugging your Sphinx configuration.</p>
<p>To  use Sphinx, you will need to create a configuration file. Default  configuration file name is sphinx.conf. All Sphinx programs look for  this file in current working directory by default. Sample  configuration file, sphinx.conf.dist, which has all the options  documented, is created by configure. Copy and edit that sample file to  make your own configuration.</p>
<pre class="brush: bash;">
$ cd /usr/local/etc
$ cp sphinx.conf.dist sphinx.conf
</pre>
<p>To start with sphinx, you must define one or more sources and one or more indexes. A  source identifies the database to index, provides authentication  information, and defines the query to use to construct each row. An  index requires a source (that is, a set of rows) and defines how the  data extracted from the source should be cataloged. You define your  source(s) and index(es) in the sphinx.conf file. Sample configuration file is setup to index documents table from Mysql database test. So there&#8217;s example.sql sample data file to populate that table with a few documents for testing purposes.</p>
<pre class="brush: bash;">

$ mysql -u test &lt; /usr/local/sphinx/etc/example.sql
</pre>
<p>We need to specify database information in configuration file like the following.<strong> </strong><strong> </strong><strong><br />
</strong></p>
<pre class="brush: bash;">

source src1
{
# data source type. mandatory, no default value
# known types are mysql, pgsql, mssql, xmlpipe, xmlpipe2, odbc
type                                    = mysql

#####################################################################
## SQL settings (for 'mysql' and 'pgsql' types)
#####################################################################

# some straightforward parameters for SQL source types
sql_host                                = localhost
sql_user                                = test
sql_pass                                = test
sql_db                                  = test
sql_port                                = 3306  # optional, default is 3306
</pre>
<p>Next,  create a query to produce rows to be indexed. The sql_query must  include the primary key you want to use for subsequent lookups, and it  must include all the fields you want to index and use as groups. It is  specified in the configuration file as the following.</p>
<pre class="brush: bash;">
sql_query                               = \
SELECT id, group_id, UNIX_TIMESTAMP(date_added) AS date_added, title, content \
FROM documents
</pre>
<p>And  the search utility uses sql_query_info to find the records that match.  In the query, $id is replaced with each primary key that searchd  returns.</p>
<pre class="brush: bash;">
sql_query_info          = SELECT * FROM documents WHERE id=$id
</pre>
<p>Next we need to build an index.</p>
<pre class="brush: bash;">
index test1
{
# document source(s) to index
source= src1
# index files path and file name, without extension
# mandatory, path must be writable, extensions will be auto-appended
path                    = /var/test1
}
</pre>
<p>Here source is src1 and path defines  where to store the index data. You have to make sure that this directory exists  before generating the index. The searchd section at bottom configures the searchd daemon itself.</p>
<pre class="brush: bash;">
searchd
{
port                = 3312
log                    = /var/log/searchd/searchd.log
query_log            = /var/log/searchd/query.log
pid_file            = /var/log/searchd/searchd.pid
}
</pre>
<p>We  are now ready to build the index for the database table. Before running  indexer program to generate indices you have to make sure that mysql  program is running.</p>
<pre class="brush: bash;">
$/usr/local/bin/indexer --config /usr/local/etc/sphinx.conf --all
Sphinx 0.9.9-release (r2117)
Copyright (c) 2001-2009, Andrew Aksyonoff
using config file '/usr/local/etc/sphinx.conf'...
indexing index 'test1'...
collected 6 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 6 docs, 243 bytes
total 0.018 sec, 12926 bytes/sec, 319.16 docs/sec
</pre>
<p>The  -all argument rebuilds all the indexes listed in sphinx.conf. You can  use a different argument to rebuild fewer if you don&#8217;t need to rebuild  every index.</p>
<p>You can now test the index with the search utility</p>
<pre class="brush: bash;">
# /usr/local/bin/search --config /usr/local/etc/sphinx.conf spark
Sphinx 0.9.9-release (r2117)
Copyright (c) 2001-2009, Andrew Aksyonoff

using config file '/usr/local/etc/sphinx.conf'...
index 'test1': query 'spark ': returned 2 matches of 2 total in 0.006 sec

displaying matches:
1. document=5, weight=2, group_id=2, date_added=Sun Feb 13 11:50:30 2011
id=5
group_id=2
group_id2=9
date_added=2011-02-13 11:50:30
title=spark
content=spark support
2. document=6, weight=2, group_id=2, date_added=Sun Feb 13 11:53:30 2011
id=6
group_id=2
group_id2=10
date_added=2011-02-13 11:53:30
title=spark cochin
content=spark support cochin
</pre>
<p>To query the index from your PHP scripts, you need to run the search daemon which your script will talk to and Include the API (it&#8217;s located in api/sphinxapi.php) into your own scripts and use it.</p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/InBZ3eotd9E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/sphinx-search-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/sphinx-search-server</feedburner:origLink></item>
	</channel>
</rss>

