<?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>Sun, 29 Apr 2012 12:21:24 +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>RAID Technology</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/dc81FOmBzTk/raid</link>
		<comments>http://www.sparksupport.com/blog/raid#comments</comments>
		<pubDate>Thu, 26 Apr 2012 07:27:58 +0000</pubDate>
		<dc:creator>roshan</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/?p=1486</guid>
		<description><![CDATA[RAID (Redundant Array of Independent Disks)﻿ Nowadays,several storage virtualization technologies are in use in order to enable better functionality and more advanced features within the storage system. RAID is such a powerful storage virtualization technology defined by David Patterson,Garth A Gibson,and Randy Katz at University of California,Berkeley in 1987. This blog will make you walk [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #339966"><strong><span style="color: #008000">RAID (Redundant Array of Independent Disks)</span>﻿</strong></span></p>
<p>Nowadays,several  storage virtualization technologies are in use in order to enable  better functionality and more advanced features within the storage  system. RAID is such a powerful storage virtualization technology defined  by <strong>David Patterson</strong>,<strong>Garth A Gibson</strong>,and <strong>Randy Katz</strong> at <strong>University of California</strong>,<strong>Berkeley</strong> in <strong>1987.</strong></p>
<p>This blog will make you walk through the various aspects of RAID.</p>
<p><span style="color: #008000"><strong>RAID Defined</strong></span></p>
<p>RAID  is the acronym for “Redundant Array of Independent Disks”. RAID combines  multiple small, independent disk drives into a single logical unit  .This will yield performance exceeding that of one large, independent  drive. Such logical units are commonly known as RAID arrays which appear  to the computer as a single virtual drive.All the hard disks in RAID  array will be accessed in parallel.</p>
<p><span style="color: #008000"><strong>Why do we use RAID?</strong></span></p>
<p>The need for RAID can be described in two points given below:</p>
<p>1,<strong>Overall increase in I/O performance</strong>: Array of disks accessed in parallel will give more data throughput than a single disk.</p>
<p>2,<strong>Provides data redundancy</strong>: Provides fault-tolerance by redundantly storing information in various ways.</p>
<p><strong><span style="color: #008000">RAID Implementations </span></strong></p>
<p>There are two forms of implementation for RAID, hardware and software.</p>
<p><strong>Software RAID:</strong></p>
<p>Software  RAID is part of OS,which works on partition level. It runs on the  server’s CPU and is directly dependent on server CPU performance and  load. It is more suitable for RAID 0 and RAID 1 setup.Its a low cost  solution which makes it a perfect buddy for home and small business  users. Since it occupies the host system memory and CPU cycles ,it may  result in the degradation of server performance,which makes it least  recommended for implementing higher order RAID levels which uses parity  functions. Another drawback is that It does not support advanced RAID  features like Hot Swapping(process of replacing the faulty hard disk  without shutting down the server).</p>
<p><strong>Hardware RAID:</strong></p>
<p>It  uses dedicated hardware RAID controller to manage the RAID array. Since  It runs on Raid controllers CPU,there won’t be any overhead(CPU ,RAM  etc). Host CPU can execute applications while the array adapter&#8217;s  processor simultaneously executes array functions. Hardware RAID  controllers interface with the system and hard drives through <strong>SCSI</strong> or  <strong>IDE/ATA</strong>. RAID controllers can either be integrated with the system  motherboard itself(<strong>Bus-Based or Controller Card Hardware RAID</strong>) or it can be an external dedicated hardware solution(<strong>I</strong><strong>ntelligent</strong>, External RAID Controller). Since it provides the highest performance possible,it can be used for mission critical applications.</p>
<p><span style="color: #008000"><strong>RAID Levels:</strong></span></p>
<p>Raid  can be classified into six levels based on how the Raid Controller  distribute the data in virtual hard disk to the physical disks. Six RAID  levels are <strong>RAID-0 to RAID-5</strong>. Each RAID levels has different disk fault  tolerance and trade-offs in features and performance. Among the different  RAID levels,only RAID 0, 1, 3 and 5 are commonly used.<br />
Apart from the above mentioned levels,certain combinations like RAID 10,RAID 01 etc are also possible.</p>
<p><span style="color: #008000"><strong>RAID-0</strong></span></p>
<p><span style="color: #008000"><strong><a href="http://www.sparksupport.com/blog/wp-content/uploads/2012/04/RAID-01.png"><img class="alignnone size-full wp-image-1559" src="http://www.sparksupport.com/blog/wp-content/uploads/2012/04/RAID-01.png" alt="" width="193" height="260" /></a><br />
</strong></span></p>
<p><strong>Figure 1   RAID- 0 layout</strong></p>
<p><strong>Technique(s) used:</strong> Block Level Striping.</p>
<p><strong>Explanation:</strong> In  RAID 0,the data is broken into block sized units and it is striped  across the hard disks. In this example, the first block of data, A0, is  written to the first disk, the second block of data, A1, is written to  the second disk, the third block of data, B0, is written to the first  disk, and so on. Striping data across the disks means that the overall  write performance of the disk set is very fast, usually much faster than  a single disk. When a read request is received by the RAID controller,it  reads both A0 and A1 at the same time since they are on separate  disks,doubling the read performance relative to a single disk. Performance  is very good but the failure of any one disk in the array results in data  loss.</p>
<p>Minimum number of disks needed to setup a RAID-0 array is 2.</p>
<p>The capacity of RAID 0 can be calculated as:</p>
<p><strong><span style="color: #008080">Capacity = n * min(disk sizes)</span></strong></p>
<p>where <strong>n</strong> = number of disks in the array.<br />
<strong> min(disk sizes)</strong> = minimum common capacity across the drives.</p>
<p><strong>Merits:</strong></p>
<p><strong> </strong> High I/O performance</p>
<p><strong>De-merits</strong>:</p>
<p>No data redundancy.</p>
<p><span style="color: #008000"><strong>RAID-1</strong></span></p>
<p><span style="color: #008000"><strong><a href="http://www.sparksupport.com/blog/wp-content/uploads/2012/04/RAID-1.png"><img class="alignnone size-full wp-image-1558" src="http://www.sparksupport.com/blog/wp-content/uploads/2012/04/RAID-1.png" alt="" width="184" height="249" /></a><br />
</strong></span></p>
<p><strong>Figure-2  RAID-1 layout</strong></p>
<p><strong>Technique(s) used</strong> : Mirroring</p>
<p><strong>Explanation</strong>: It  is the first real implementation of RAID which offers Redundancy. RAID 1  uses Mirroring technique to provide redundancy.RAID-1 takes an incoming  block of data to one drive and creates a mirror image (copy) of it on a  second drive.In this illustration when block A1 is written to disk 0,  the same block is also written to disk 1. So the overall write performance of a RAID-1 array is the same as a single disk .The read  performance is actually faster for a RAID-1 array relative to a single  disk. If one of the drives fails, the other drive still has all the data  that existed on the system. This provides a full level of redundancy  for the data on the system.</p>
<p>Minimum number of disks needed to setup RAID-1 array is 2.</p>
<p>Storage capacity is only as large as the smallest drive. Capacity of the RAID-1 array can be calculated using</p>
<p><strong><span style="color: #008080">Capacity = min(disk sizes)</span></strong></p>
<p>where<strong>,min(disk sizes)</strong> = minimum common capacity across the drives.</p>
<p><strong>Merit: </strong></p>
<p>Provides full redundancy of data and good read performance.</p>
<p><strong>De-Merits</strong>:</p>
<p>Limited write performance.</p>
<p><span style="color: #008000"><strong>RAID-2</strong></span></p>
<p><strong>Techniques used:</strong> Bit level striping+Hamming code error correction.</p>
<p><strong>Explanation</strong>:The  basic concept is that,RAID-2 stripes data at the bit level instead of  the block level and uses a <strong>Hamming Coding</strong> for parity computations. In  RAID 2,first bit is written on first disk,second bit is written to  second disk and so on. Then Hamming Code is calculated for the bits and  the resulting bit is stored on a separate disk. This level of RAID is  intended for use in drives which do not have built-in error detection. If  one of the disks fail the remaining bits of the byte and the associated<strong> ECC(Error Correction Codes)</strong> bits can be used to reconstruct the data.</p>
<p><strong>RAID-2</strong> is no longer really used,since the hard disks nowadays uses has built-in error correction techniques.</p>
<p><span style="color: #008000"><strong>RAID-3</strong></span></p>
<p><span style="color: #008000"><strong><a href="http://www.sparksupport.com/blog/wp-content/uploads/2012/04/RAID-3.png"><img class="alignnone size-full wp-image-1557" src="http://www.sparksupport.com/blog/wp-content/uploads/2012/04/RAID-3.png" alt="" width="275" height="278" /></a><br />
</strong></span></p>
<p><strong>Figure 3  RAID-3 layout</strong></p>
<p><strong>Technique(s) used</strong>:Byte level striping + parity.</p>
<p><strong>Explanation:</strong> It  uses multiple data disks, and a dedicated disk to store parity.A chunk  of data is split into bytes. Byte A0 is written to disk 0,byte A1 is  written to disk 1,and byte A2 written to disk 2 and so on.Then the  parity of bytes A0,A1 and A2 are computed and written to disk 3.Since  parity is used, a RAID 3 can withstand a single disk failure without  losing data or access to data.Parity is calculated using <strong>XOR Operation</strong>. A  RAID-3 array tolerates the loss of any single drive. Data in the failed  drive can be reconstructed by XOR ing the data bytes in the remaining  drives in the array without much degradation in performance. Accessing a  single block of data requires access to more than one hard disks,so that  the spindles should be synchronized.</p>
<p>Minimum number of disks needed to setup RAID-3 array is 3. The three disks has to be identical.</p>
<p>Capacity of the RAID-3 array can be calculated using<br />
<span style="color: #008080"><strong> </strong></span></p>
<p><span style="color: #008080"><strong>Capacity = min(disk sizes) * (n-1</strong></span>)</p>
<p>where, <strong>n</strong> = number of disks in the array.<br />
<strong> min(disk sizes)</strong> = minimum common capacity across the drives.</p>
<p><strong>Merit</strong>:</p>
<p>1)RAID-3 provides high throughput (both read and write) for large data transfers<br />
2) Disk failures do not significantly slow down throughput.</p>
<p><strong>De-merit:</strong></p>
<p>1) Cannot be implemented using software RAID since it is more resource intensive.<br />
2) Performance is slower for small I/O operations                                                                      3) Controller design is fairly complex.</p>
<p><span style="color: #008000"><strong>RAID-4</strong></span></p>
<p><img src="https://lh5.googleusercontent.com/pHT7C1kpeTlF95gn3argROp4jTWX9KvvBg5hePQduIW2ny2vD9f-RFB2lj0lP2qYn8ztcnTFYUKa8xLRA51WUTs7lXRvWlOo4EEVs2rjcTkZcqAh1Vk" alt="" width="331" height="279" /></p>
<p><strong>Figure-4 RAID-4 layout</strong></p>
<p><strong>Technique(s) used</strong>: Block level striping +Parity</p>
<p><strong>Description:</strong> RAID  4 is quite similar to that of RAID 3. It also uses a dedicated parity  disk, but the difference is that, it stripes the data at block level. A  chunk of data is splitted into blocks. Block A0 is written to Disk-0,A1 is written to Disk-1 and A2 is written  to Disk-2 and so on. The parity of the blocks(Ap) are calculated and stored in the dedicated parity disk. Since the data is striped at the block level ,hard disks can be accessed independently during data read/write. It can tolerate the loss of one drive</p>
<p>Minimum number of disks needed to setup RAID-4 array is 3(Two disks for storing the data and third one for storing parity information) . All the disks should be identical.</p>
<p>Capacity of RAID-4 array can be calculated using:</p>
<p><strong><span style="color: #33cccc">Capacity = min(disk sizes) * (n-1)</span></strong></p>
<p><strong>where n</strong> = number of disks in the array.<br />
<strong> min(disk sizes)</strong> = minimum common capacity across the drives.</p>
<p><strong>Merits</strong>:</p>
<p>1) Unlike RAID 3, it does not require synchronized spindles.                                                     2) Good read performance since all of the drives are read at the same time.</p>
<p><strong>De-merits:</strong></p>
<p>Write performance is not that good because of the bottleneck of the parity drive.</p>
<p><span style="color: #008000"><strong>RAID-5</strong></span></p>
<p><span style="color: #008000"><strong><a href="http://www.sparksupport.com/blog/wp-content/uploads/2012/04/RAID-5.png"><img class="alignnone size-medium wp-image-1556" src="http://www.sparksupport.com/blog/wp-content/uploads/2012/04/RAID-5-300x280.png" alt="" width="300" height="280" /></a></strong></span></p>
<p><span style="color: #008000"><strong><a href="http://www.sparksupport.com/blog/wp-content/uploads/2012/04/RAID-5.png"></a></strong></span><strong>Figure:5 RAID 5 layout</strong></p>
<p><strong>Technologies used</strong>:Striping+Distributed parity</p>
<p><strong>Description:</strong> This  is the most popular RAID level.It uses block level striping and parity  is distributed across all the drives in the array. It offers higher  performance than level 1-4.It also provides high storage capacity. Here  parity information will also be stored along with the data disks.</p>
<p>Minimum number of disks needed is 3(two disks for storing data and the third one for storing parity information.). All the 3 disks should be identical.</p>
<p>Capacity of the RAID-5 array can be calculated using</p>
<p><strong><span style="color: #33cccc">Capacity = min(disk sizes) * (n-1)</span></strong></p>
<p>where<strong> n</strong> =  number of disks in the array.<br />
<strong>min(disk sizes)</strong> =  minimum common capacity across the drives.</p>
<p><strong>Merits:</strong></p>
<p>1) Good data redundancy/availability (can tolerate the lose of 1 drive)<br />
2) Very good read performance since all of the drives can be read at the same time.</p>
<p><strong>De-merits:</strong></p>
<p>1) Write performance is adequate (better than RAID-4).<br />
2) Write performance for small I/O is poor.</p>
<p><span style="color: #008000"><strong>Conclusion</strong></span></p>
<p>RAID is a good solution for those who need more  transfer performance, redundancy, and storage capacity in their data  storage systems. I hope you&#8217;ve enjoyed reading this article and maybe even learned more about RAID.</p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/dc81FOmBzTk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/raid/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/raid</feedburner:origLink></item>
		<item>
		<title>Apache prefork tuning.</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/eOcqefPLM48/apache-prefork-tuning</link>
		<comments>http://www.sparksupport.com/blog/apache-prefork-tuning#comments</comments>
		<pubDate>Sat, 21 Apr 2012 04:41:17 +0000</pubDate>
		<dc:creator>hans</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[MaxClients]]></category>
		<category><![CDATA[MPM]]></category>
		<category><![CDATA[prefork]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/?p=1443</guid>
		<description><![CDATA[Modular structure of apache is one of the reason for its global dominance among webservers.We have the flexibility to adding or droping modules.Before we deal with apache prefork MPM we need to have a basic idea about apache Multi Processing Modules,Multi processing Modules (MPM) are the multiple request (hundreds to kilos) handling &#8216;department&#8217; of apache.We [...]]]></description>
			<content:encoded><![CDATA[<p>Modular structure of apache is one of the reason for its global dominance  among webservers.We have the flexibility to adding or droping  modules.Before we deal with apache prefork MPM we need to have a basic idea about apache Multi Processing Modules,Multi processing Modules (MPM) are the multiple  request (hundreds to kilos) handling &#8216;department&#8217; of apache.We can compare MPM as &#8216;valve&#8217; of apache , it accept requests, spawn  the child processes according to the inflow of requests  and assign the child process  for the incoming connections.<br />
Worker and Prefork are two major MPMs used in Linux platform.Both have their own pros and cons. Prefork is a non-threaded MPM while Worker is a threaded MPM. i.e prefork  will generate pre-defined number of httpd procesesses(StartServers parameter)  during startup and dispatch more child processes as the request increases. But in the case threaded worker MPM it will startup pre-defined number of httpd processes and a single process will hadle multiple connections.</p>
<p>Since prefork have a one process per thread structure it can provide isolation among different connections. So we can say that it is more secure at the cost of more RAM and CPU power.  Worker MPM  needs less RAM and CPU power but does not provide same level of request-to-request isolation as a process-based MPM does.Now let us look in to the prefork MPM tuning which is more common MPM  than worker.</p>
<p><strong>Prefork Directives</strong></p>
<p>Example for prefork directives</p>
<p>StartServers            8<br />
MinSpareServers         5<br />
MaxSpareServers        10<br />
MaxClients            30<br />
MaxRequestsPerChild  500</p>
<p><strong>StartServers </strong>:  Number of apache child processes generated during the apache startup.</p>
<p><strong>MinSpareServers:</strong> Spare servers are child processes in idle(not handling any requests). If the total idle processes are  less than<br />
MinSpareServers directive then apache parent process will create child processes up to MinSpareServers .</p>
<p><strong>MaxSpareServers:</strong> If the total idle child processes is more than this directive , then parent pocess will kill additional idle processes.</p>
<p><strong>MaxClients:</strong> This is the most important MPM directive for tuning apache performance.Parent process will dynamically spawn new child     processes as the incoming request raises. MaxClients is the maximum child processes created for handling requests or in other words it is the max simultaneous requests apache can handle. This value should be optimal. If it is too low apache can only handle few requests and excess requests will be queued and it may get timed out.If it is too high server will begin to swap and it seriously affects entire server performance.</p>
<p><strong>MaxRequestsPerChild:</strong> After handling this much requests child process will die .MaxRequestsPerChild is the requests that a child process will handle in its life time.If it is too low in a busy server, apache will utilize a good CPU power for killing and spawning new child processes which may cause  more CPU burden. But at the same time it is always good to recycle it in a timely manner, otherwise it may cause common issues like memory leak , process bloat etc.</p>
<p><strong>How to set MaxClients.</strong></p>
<p>Before choosing a value we need to analyze the server , i.e  check the RAM size  and applications running other than apache like mysql , java applications etc. Then roughly calculate the memory dedicated for those applications . For example ,we might have  defined innodb buffer spool size for mysql and java heap size for java applications . Substract that much memory from total RAM size. Suppose you have 2 GB RAM and 500 MB allocated for mysql(it depends on your DB size) and 250 for java  and reserved some memory for system applications ,in this setup we can reserve memory up to 1 GB for apache . On next step we need to calculate avereage  process memory usage for apache. For calculating it , during the  peak traffic time run the following command</p>
<p><strong>ps aux| awk &#8216;/apach[e]/{total+=$6}END{print total}&#8217; </strong> this calculates total physical memory used by all apache process , to calculate average memory usage ,devide above value with total apache processes .<br />
Finally we can optimize MaxClients value by deviding memory reserved for apache (1G)  by process&#8217;s average memory usage. (Lets imagine its 35M here) .</p>
<p><strong>MaxClients  &lt;= 1G/35 M = 30.</strong> We can reduce avg memory usage by removing unwanted apache modules and using php cache like PHP op-code cache/accelerator .If serever have good traffic, then fix the MaxRequestsPerChild  deirective some higher values like 2000. Thoroughly observe server for some days after  tuning , some time you need to tweak it  2 &#8211; 3 times for getting the best result. Good Luck!</p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/eOcqefPLM48" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/apache-prefork-tuning/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/apache-prefork-tuning</feedburner:origLink></item>
		<item>
		<title>Quick Guide for Spacewalk</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/eywUGPZDfR4/quick-guide-for-spacewalk</link>
		<comments>http://www.sparksupport.com/blog/quick-guide-for-spacewalk#comments</comments>
		<pubDate>Thu, 12 Apr 2012 02:38:24 +0000</pubDate>
		<dc:creator>Sathish</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[rhnpush]]></category>
		<category><![CDATA[spacewalk]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/?p=1458</guid>
		<description><![CDATA[Spacewalk is an open source (GPLv2) Linux systems management solution. It is the upstream community project from which the Red Hat Network Satellite product is derived. According to spacewalk definition it provides Inventory your systems (hardware and software information) Install and update software on your systems Collect and distribute your custom software packages into manageable [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify"><strong>Spacewalk</strong> is an open source (GPLv2) Linux systems management solution. It is the upstream community project from which the Red Hat Network Satellite product is derived. According to spacewalk definition it provides</p>
<ul style="text-align: justify">
<li> Inventory your systems (hardware and software information)</li>
<li>Install and update software on your systems</li>
<li>Collect and distribute your custom software packages into manageable groups</li>
<li>Provision (kickstart) your systems</li>
<li>Manage and deploy configuration files to your systems</li>
<li>Monitor your systems</li>
<li>Provision virtual guests</li>
<li>Start/stop/configure virtual guests</li>
<li>Distribute content across multiple geographical sites in an efficient manner</li>
</ul>
<p style="text-align: justify">It  manages software content updates for Red Hat derived distributions such as Fedora, CentOS, and Scientific Linux, within your firewall. Limited support for Debian is also available. Spacewalk allows administrators to efficiently manage the systems on their network. Through a simple user interface, administrators can perform patch management, updates, monitoring, and maintenance. And because Spacewalk is Web-based, it can be accessed from anywhere. Spacewalk or Proxy server options provide advanced capabilities and the ability to get updates directly from Red Hat with even greater levels of security and reduced network bandwidth. As I mentioned already spacewalk is the upstream project of Redhat Network Satellite (RHN). The Changes will occur frequenty in the Spacewalk project to fulfill this mission of having the latest technology. However, if your needs require stability and support over access to the latest management technology, you may decide that a Satellite subscription is right for you.</p>
<p><span style="color: #008000"><strong>Creating Channels</strong></span></p>
<p>1. Create a base channel within Spacewalk.</p>
<p><strong>Channels &gt; Manage Software Channels &gt; Create New Channel</strong></p>
<p>2. Fill up all the required fields such as Channel Name, Channel Label, and Channel Summary</p>
<p>3. Select the Parent (its depends upon your channel)</p>
<p>4. Select the channel architecture from the drop down list</p>
<p>5. Select the Checksum type</p>
<p>6. Write a description about your channel</p>
<p>7. Fill the Contact support information, Channel access control and security GPG</p>
<p>8. Now click the “Create Channel” button.</p>
<p>The channel with the specified name has been created.</p>
<p><span style="color: #008000"><strong>Creating activation key </strong></span></p>
<p>Activation keys are used to register a system to spacewalk server. System registered with an activation key will inherit the characteristics defined by that key.</p>
<p>1. To create an activation key</p>
<p><strong>Systems &gt; Activation keys &gt; Create new key</strong></p>
<p>2. Enter the description of the activation key</p>
<p>3. If you have a specific key value, type it in the key textbox else leave it as blank. Spacewalk will generate a key after clicking create key button.</p>
<p>4. Enter a numeric value for the limited usage of the key. In case if you want to use the key unlimited times leave the usage textbox as blank.</p>
<p>5. Select the base channel from the drop down list box or choose “Spacewalk Default” to allow systems to register to the default Red Hat provided channel that corresponds to their installed version of Red Hat Enterprise Linux.</p>
<p>6. Enable the universal default check box and click “Create Activation Key”</p>
<p><span style="color: #008000"><strong>Registering Clients</strong></span></p>
<p>Install the client-tools in the client</p>
<p><strong>For RHEL 5 / CentOS 5</strong></p>
<p><code># rpm -Uvh http://spacewalk.redhat.com/yum/1.7/RHEL/5/i386/spacewalk-client-repo-1.7-5.el5.noarch.rpm</code></p>
<p><strong>For CentOS 6</strong></p>
<p><code># rpm -Uvh http://spacewalk.redhat.com/yum/1.7/RHEL/6/i386/spacewalk-client-repo-1.7-5.el6.noarch.rpm</code></p>
<p>To register the client host, you need to install the client registration tools. But those tools are not avail in the redhat repository. You can found those packages in EPEL repository</p>
<p><strong>For RHEL 5 / CebtOS 5</strong></p>
<p><code># BASEARCH=$(uname -i)# rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/$BASEARCH/epel-release-5-4.noarch.rpm</code></p>
<p><strong>For CentOS 6</strong></p>
<p><code># BASEARCH=$(uname -i)# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/$BASEARCH/epel-release-6-5.noarch.rpm</code></p>
<p>Now install the client packages</p>
<p><code># yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin</code></p>
<p>Register your CentOS or Red Hat Enterprise Linux system to Spacewalk using the activation key you created earlier</p>
<p><code># rhnreg_ks --serverUrl=http://YourSpacewalk.example.org/XMLRPC --activationkey=&lt;key-with-rhel-custom-channel&gt;</code></p>
<p style="text-align: justify"><strong>rhnreg_ks</strong> is used for registration of clients to Spacewalk. If you need to re-register a client to your Spacewalk server or change registration from one environment or server to another Spacewalk server then use the &#8220;&#8211;force&#8221; flag with rhnreg_ks, otherwise there is no need to use &#8220;&#8211;force&#8221;.</p>
<p style="text-align: justify"><span style="color: #008000"><strong>Adding packages to repository</strong></span></p>
<p style="text-align: justify">There are two ways to add packages to the spacewalk server. We can either add using<strong> spacewalk-repo-sync or rhnpush</strong> command.</p>
<p style="text-align: justify"><strong>Spacewalk-repo-sync</strong></p>
<p style="text-align: justify">The  spacewalk-repo-sync tool is used to sync packages from external or local yum repositories. All the packages within the specified repository will be added to the channel.Any url supported by yum is supported by this utility, including mirror lists.  If the url is not supplied, the tool will look to see what  repositories are associated with the specified channel and use those.</p>
<p>Example</p>
<p><code>spacewalk-repo-sync --channel=repo1 --url=http://example.com/yum-repo/<br />
spacewalk-repo-sync --channel=repo2 --url=file:///var/share/localrepo/<br />
spacewalk-repo-sync --channel=repom --url=http://example.com/mirrorlist.xml/</code></p>
<p style="text-align: justify">You can also use WebGUI and this is the easiest way to create repositories</p>
<ul>
<li>Goto <strong>Channels -&gt; Manage Software Channels -&gt; Manage Repositories -&gt; create new repository</strong></li>
</ul>
<p style="text-align: justify">After creating the repository, you need to link it to one or more Software Channels.</p>
<ul>
<li>Goto: <strong>Channels -&gt; Manage Software Channels -&gt; Choose the channel to be linked -&gt; Repositories -&gt; Select the repositories to be linked to the channel -&gt; Update Repositories.</strong></li>
</ul>
<p style="text-align: justify"><strong></strong> Now you can sync the repository by clicking on the sync tab.</p>
<p style="text-align: justify">Click on sync now or schedule a sync.</p>
<p style="text-align: justify"><strong>RHNpush</strong></p>
<p style="text-align: justify">The  RHN  Satellite Package Pusher (rhnpush) pushes RPMs into locally managed channels on an RHN Satellite Server. Rhnpush has three configuration files called <strong>/etc/sysconfig/rhn/rhnpushrc, ~/.rhnpushrc, and ./.rhnpushrc.</strong></p>
<p style="text-align: justify"><em>/etc/sysconfig/rhn/rhnpushrc</em> is the system-wide default settings for rhnpush.<br />
<em>~/.rhnpushrc</em> is the user-specific settings that override the system-wide settings.<br />
<em>./.rhnpushrc</em> controls the directory specific settings that override the user-specific and system-specific settings.</p>
<p style="text-align: justify"><em>/etc/sysconfig/rhn/rhnpushrc</em> must be present for rhnpush to function correctly. If it is missing, rhnpush will attempt to use a series of  default  settings  stored  internally as a replacement.<em> ~/.rhnpushrc</em> and<em> ./.rhnpushrc</em> are not required to be present, but will be used if they are present. They are not created automatically by rhnpush.</p>
<p style="text-align: justify">Rhnpush uses a cache, stored at ~/.rhnpushcache, to temporarily hold the username and password for a user. If the cache is missing, it will be created by rhnpush.<br />
If the cache is present and not too old, the usename-password combo will be used as a convenience for the user. The amount of time a cache lasts is configurable in any of the three configuration files. If your username/password combination gets messed up you have two options. One, you can wait until the cache expires, which takes  minutes  by  default. Two, you can use the &#8211;new_cache option to force rhnpush to let you reenter your username/password.</p>
<p style="text-align: justify">Using  the  &#8211;stdin  and &#8211;dir options at the same time works as follows: rhnpush will let you type in rpm names, each rpm name on a separate line. When       you have finished entering in rpm names, hit Ctrl-D. Rhnpush will then grab the files from directory you specified with &#8211;dir, put them in a  list  with       the rpms you listed through standard input, and send them to the channel that was listed on the command-line or in the configuration files.</p>
<p style="text-align: justify">Note : Make sure /var/satellite exists on the Spacewalk server and has owner:group apache before pushing.</p>
<p style="text-align: justify"><code>[root@sathishhost ~]# chgrp apache /var/satellite/ -R</code></p>
<p style="text-align: justify">[root@sathishhost ~]# ls -l /var | grep satellite</p>
<p style="text-align: justify">drwxr-xr-x.  3 apache apache 4096 Mar 20 10:06 satellite</p>
<p style="text-align: justify">Example</p>
<p><code>rhnpush --server localhost -u &lt;username&gt; -p &lt;password&gt; --channel &lt;channel-name&gt; /usr/local/src/additional/*.rpm<br />
</code></p>
<p><code>rhnpush --server localhost -u sathish -p redhat --channel spacewalk-nightly-rhel-6-x86_64 /usr/local/src/additional/*.rpm<br />
</code></p>
<p><code>rhnpush -v --channel=&lt;channel-name&gt; --server=http://localhost/APP --dir=&lt;package-dir&gt;<br />
</code></p>
<p><code>rhnpush -v --channel=spacewalk-nightly-rhel-6-x86_64 --server=http://localhost/APP --dir=/usr/local/src/additional</code></p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/eywUGPZDfR4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/quick-guide-for-spacewalk/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/quick-guide-for-spacewalk</feedburner:origLink></item>
		<item>
		<title>Perl Dancer</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/ZDEQsJB5Yeo/perl-dancer</link>
		<comments>http://www.sparksupport.com/blog/perl-dancer#comments</comments>
		<pubDate>Tue, 10 Apr 2012 14:43:12 +0000</pubDate>
		<dc:creator>Sai Kottuvally</dc:creator>
				<category><![CDATA[perl]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/?p=1451</guid>
		<description><![CDATA[Ever since I learned perl, i was dreaming to write a web app of my own. I was scared by the terms sessions, cookies, content rendering, SQL integration etc. But Dancer eased my way. Thanks to Dancer, i just deployed a Music Web App &#8211; &#8220;Spark Impulse&#8221; in our office. What is Dancer ? Dancer [...]]]></description>
			<content:encoded><![CDATA[<p>Ever since I learned perl, i was dreaming to write a web app of my own. I was scared by the terms sessions, cookies, content rendering, SQL integration etc. But Dancer eased my way.</p>
<p>Thanks to Dancer, i just deployed a Music Web App &#8211; &#8220;Spark Impulse&#8221; in our office.</p>
<p><strong>What is Dancer ?</strong></p>
<p>Dancer is a simple but powerful web application framework in Perl. Dancer stole the approach from Sinatra, a web framework for Ruby. Yes, The bad artists imitate, The great artists steal !!</p>
<p><strong>Why Dancer ?</strong></p>
<ul>
<li>LightWeight</li>
<li>StandAlone</li>
<li>PSGI/Plack Compliant</li>
<li>Expressive Syntax</li>
<li>Few Dependencies</li>
<li>Few Configuration Steps</li>
</ul>
<p><strong>Installation</strong></p>
<p>Using cpanminus</p>
<p><code>spark$ curl -L http://cpanmin.us | perl - --sudo Dancer</code></p>
<p>Using cpan shell</p>
<p><code>spark$ perl -MCPAN -e shell</code></p>
<p><code>cpan shell -- CPAN exploration and modules installation (v1.9402)<br />
Enter 'h' for help.</code></p>
<p><code> </code></p>
<p><code>cpan[1]&gt; <strong>install Dancer</strong><br />
</code></p>
<p>Or even by hand</p>
<p><code>spark$ wget http://search.cpan.org/CPAN/authors/id/X/XS/XSAWYERX/Dancer-1.3095.tar.gz<br />
spark$ tar -zxf Dancer-1.3095.tar.gz<br />
spark$ cd Dancer-1.3095<br />
spark$ perl Makefile.PL<br />
spark$ make<br />
spark$ make test<br />
spark$ make install<br />
</code></p>
<p>A Dancer script itself is a webserver. Yes, you read it correctly &#8211; run the script from command prompt and your web application will spring into existance.</p>
<p><code>spark$ ./myapp.pl<br />
&gt;&gt; Dancer 1.3092 server 9194 listening on http://0.0.0.0:3000<br />
&gt;&gt; Dancer::Plugin::Database (1.81)<br />
&gt;&gt; Dancer::Plugin::Database::Handle (0.12)<br />
== Entering the development dance floor ...</code></p>
<p>With the following code in your myapp.pl script you say a big hello to the world at http://:3000/</p>
<p><code>#!/usr/bin/env perl<br />
use Dancer;<br />
get '/' =&gt; sub {<br />
"Hello World !"<br />
};<br />
dance;</code></p>
<p>Dancer app is defined with route handlers. A route handler is basically a &#8216;sub&#8217; ( function ) associated to an HTTP method and a path pattern. Valid HTTP methods are GET, POST, PUT, DELETE. But usually it will either be a GET or a POST !</p>
<p>Path Patterns includes Named Matching, WildCards Matching, Regex Matching, Conditional Matching as shown below. A route pattern can also contain one or more tokens (a word prefixed with &#8216;:&#8217;).</p>
<p><code>get '/hello/:name' =&gt; sub {<br />
"Hi" . param('name') . ", Welcome here!";<br />
}</code></p>
<p>When you access http://localhost:3000/hello/Peter, server should respond with a page &#8211; Hi Peter, Welcome here!</p>
<p>To make the token optional suffix it with a &#8220;?&#8221;</p>
<p><code>get '/hello/:name?' =&gt; sub {<br />
"Hello there " . (param('name') || "whoever you are!");<br />
};</code></p>
<p>You may use regex patterns for defining routes. And Dancer will return the matches in an arrayref, accessible via the keyword &#8216;splat&#8217;.</p>
<p><code>get '/download/*.*' =&gt; sub {<br />
my ($file, $ext) = splat;<br />
# do something with $file.$ext here<br />
};</code></p>
<p><code> </code></p>
<p><code>get qr{/hello/([\w]+)} =&gt; sub {<br />
my ($name) = splat;<br />
return "Hello $name";<br />
}<br />
</code><br />
So processing a HTTP request is equal to finding a matching route handler. When a request matches with a route handler, dancer executes that route handler.</p>
<p>Enough to start with !</p>
<p>I&#8217;m planning to add more blogs under the same topic. Till then, make some simple moves and start dancing !!</p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/ZDEQsJB5Yeo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/perl-dancer/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/perl-dancer</feedburner:origLink></item>
		<item>
		<title>Finding an offshore Business Partner for online Business</title>
		<link>http://feedproxy.google.com/~r/sparksupport/~3/GA6NBJDk2PQ/finding-an-offshore-business-partner-for-online-business</link>
		<comments>http://www.sparksupport.com/blog/finding-an-offshore-business-partner-for-online-business#comments</comments>
		<pubDate>Mon, 09 Apr 2012 08:10:30 +0000</pubDate>
		<dc:creator>Shijil T S</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://www.sparksupport.com/blog/?p=1447</guid>
		<description><![CDATA[It has been a while I have done blogging and today I got a perfect topic, which according to me one of the intriguing question in the mind of every online business man. My article specifically address the companies in India who provides Software development and infrastructure Support. At the outset of 2012 India has [...]]]></description>
			<content:encoded><![CDATA[<p>It has been a while I have done blogging and today I got a perfect topic, which according to me one of the intriguing question in the mind of every online business man. My article specifically address the companies in India who provides Software development and infrastructure Support.</p>
<p>At the outset of 2012 India has already acclaimed as the best country to provide IT related services. There are enough brands to prove this claim, Wipro, Infosys, TCS etc. West already knows these companies can give a huge traction to their business if they engage with these companies, but what about smaller players who wants to run their online business and their budgets are limited to few thousands dollars. Its obvious that they can&#8217;t approach these big companies and its hard for them to identify trust-able small players either, who can provide quality service for their business.</p>
<p>Companies like SparkSupport fill this gap. So what should be the ideal checklist for a businessman who wants to engage with an offshore business partner. Its easy to get the websites of the companies providing the services of his requirement and now he should start communicating with them. From the initial conversation he should get a basic picture of the company structure.</p>
<p>In India a Private Limited Company will give you an authenticity that company is existing. Try to avoid Partnership or Proprietorship they will have no liabilities and they can shut down any day. Only people who are serious about their business will register as a Private Limited Company.</p>
<p>Always start with a pilot project. You can gauge the following qualities in the pilot project.</p>
<p><strong>Trust</strong></p>
<p>As the word denotes you should be filled with confidence that this company deliver what they have promised. If you have given only a part of the major project, by now you should be able to analyse how good is the team to handle the whole project.</p>
<p><strong>Reporting</strong></p>
<p>You would have chosen either hourly billing or dedicated staff for the project you have outsourced. Whatever be the case to know the project status you shouldn&#8217;t call them up, if the company has got a process they would intimate you with daily updates what all things completed and what all left. If the company provides this without asserting upon this point, then you can assume this company is worth.</p>
<p><strong>Communication</strong></p>
<p>In any projects communication is really important. Requirements are susceptible to changes and you might have identified some drastic changes which you want in the project. Its not easy for you to communicate this to your team as they will come up with lot of arguments to block your desire. But you should understand you are the business man and you know the real game of making money better than anyone else. You know when, where and how to spend your money on something and you know how to reap money out of it. But its very difficult for the developers or coders to understand and they are the least educated about running a business. These situations makes it really hard for you  though you are ready to revise your budget to make it happen. So the point here is you should have other people  who are in the management of the company with whom you can talk to and who understands you better than the coders.</p>
<p><strong>Diverse Skill-set</strong></p>
<p>The company you choose should have a diverse portfolio. It won&#8217;t be easier for you to run around different companies to complete a project. Moreover signing NDA , SLA with all these companies will be cumbersome. If the chosen company has diverse skill set other than coding then it will be much convenient for you in completing the project. Take the scenario that you have decided to build an online webstore. Other then coding the project requires,  a hosting space to host the site,  a team to help you with the deployment, a team to design your store , an advanced team if you decide to host it in a cloud environment etc. So always look out for companies who can provide you all this.</p>
<p>By the above points you can now weed out the incompetent ones and choose the best company with whom you can build a strong relationship which lasts forever.</p>
<p>Reach out to me if you need any assistance info[@]sparksupport.com</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/sparksupport/~4/GA6NBJDk2PQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/finding-an-offshore-business-partner-for-online-business/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.sparksupport.com/blog/finding-an-offshore-business-partner-for-online-business</feedburner:origLink></item>
		<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>
	</channel>
</rss>

