<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>WinBlogs.... &#187; server</title>
	<atom:link href="http://www.winblogs.net/index.php/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.winblogs.net</link>
	<description>Just another Windows geek blog...</description>
	<lastBuildDate>Thu, 27 Oct 2011 21:56:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>SCVMM? errr&#8230;System Center Virtual Machine Manager and HyperV whining :)</title>
		<link>http://www.winblogs.net/index.php/2011/06/10/scvmm-errr-system-center-virtual-machine-manager-and-hyperv-whining/</link>
		<comments>http://www.winblogs.net/index.php/2011/06/10/scvmm-errr-system-center-virtual-machine-manager-and-hyperv-whining/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 00:06:40 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[hyper v]]></category>
		<category><![CDATA[HyperV]]></category>
		<category><![CDATA[hypervisor]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=471</guid>
		<description><![CDATA[Couple of days ago I installed SCVMM  in order to test it out, since we are developing our IAAS solution. Everything seemed great until I found out that SVCMM doesnt have any API which can be used to create/turn on/off  new machines.  Yes, I know everything can be scripted thru Powershell, but it sucks that [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.winblogs.net/wp-content/uploads/2011/06/frustrated.jpg"><img class="alignleft size-medium wp-image-472" title="frustrated" src="http://www.winblogs.net/wp-content/uploads/2011/06/frustrated-300x300.jpg" alt="" width="232" height="232" /></a></p>
<p>Couple of days ago I installed SCVMM  in order to test it out, since we are developing our IAAS solution. Everything seemed great until I found out that SVCMM doesnt have any API which can be used to create/turn on/off  new machines.  Yes, I know everything can be scripted thru Powershell, but it sucks that we need to create separate applicatons that will give us that feature. Imagine a solution where PRTG, Nagios or any other tools monitors your server&#8230; sees that the CPU load went up ( or any other condition) and starts up a new virtual machine  using API?</p>
<p>Its funny how the guys at MS fails to see the basic requirements for a modern cloud solution; do I have to mention that after years of HyperV being RTM-ed, we still dont have an option to limit a machines uplink speed!? Come on guys&#8230;SERIOUSLY!?!?</p>
<p>&nbsp;</p>
<p>I know that you already have this  little piece of software created, release it&#8230;pretty please!? I know that Microsoft sees HyperV in some giant corporation where they  dont have a need to limit the uplink of a virtual machine, but IMHO,  hosters are having a bigger &#8220;market&#8221; share  than big corporations, think  about us, pretty please with sugar on top <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p>Oh, what about promiscous mode for network cards? You  have no idea how much would I like to use SNORT on my HyperV virtual switch, but&#8230;I cant <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>What about the limit on only 4 cores per virtual machine? This is a VERY limiting factor. I&#8217;m in a situation where i have a 2x six core, 48 GB ram server which I want to turn into ONE virtual machine ( live migrations, scaling, etc&#8230;), but I cant&#8230;I can only turn it into a 4 core, 44 GB machine, effectively, wasting other 8 cores!?</p>
<p>I would really love to get in touch with someone from Microsoft Virtualization team and send them a list of must-have changes <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Someone knows some insiders? <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Let me make one thing clear, I love Microsoft, but lets face it, there is lots of work that needs to be done. Admit it or not, the guys at the &#8220;Linux Camp&#8221; have much more options and features regarding virtualization. I really, really love HyperV, but some limitations are just plain unlogical/stupid.</p>
<p>Sorry for a bitter post, but I had to throw out my frustrations <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<div class="shr-publisher-471"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2011/06/10/scvmm-errr-system-center-virtual-machine-manager-and-hyperv-whining/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SpamBots+bad application+SQL server = PROBLEMS!</title>
		<link>http://www.winblogs.net/index.php/2010/10/25/spambotsbad-applicationsql-server-problems/</link>
		<comments>http://www.winblogs.net/index.php/2010/10/25/spambotsbad-applicationsql-server-problems/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 18:45:19 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=413</guid>
		<description><![CDATA[So&#8230;today I had a very interesting issue. All of a sudden Nagios went red with the message: CRITICAL : &#8211; total: 232.82 Gb &#8211; used: 212.67 Gb (91%) &#8211; free 20.15 Gb (9%) on one of our SQL server. I was like..&#8221;NO! It cannot be. I clearly remember that this machine had over 150 Gb [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>So&#8230;today I had a very interesting issue. All of a sudden Nagios went red with the message: <strong>CRITICAL : &#8211; total: 232.82 Gb &#8211; used: 212.67 Gb (91%) &#8211; free 20.15 Gb (9%)</strong> on one of our SQL server. I was like..&#8221;NO! It cannot be. I clearly remember that this machine had over 150 Gb of free space yesterday!&#8221;</p>
<p>I log in to the machine, and automatically go to the data folder of SQL server thinking that some customer has a HUGE! log file on his database; so, right click &#8211; Select All -&gt; Properties&#8230; only 50 Gbs of data&#8230;hmm&#8230;not here!</p>
<p>At that moment I notice that the server isnt &#8220;jumpy&#8221; as usual, so I start Performance monitor and see that the Avg. Disk Queue is off the chart! <strong> That definatelly isnt right&#8230;</strong></p>
<p>Since that machine is using Windows 2003, theres no too good way to see what application is using so much disk I/O ( beside FileMon ) , I start the FileMon and se that the SQL service is writing HUGE amount of data to its ERRORLOG file.</p>
<p>By navigating to the folder, I see that the ERRORLOG file is over 120 Gb big so opening it in Notepad, Context or some other file was out of the question, since it would kill the machine completely.</p>
<p>So, lets turn to powershell once more. In order to be sure to not kill the machine, since its in production , I have moved the file to an empty machine to opened it there.</p>
<p>Powershell : cat errorlog +ENTER <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  after that powershell started to list the entire content of the file, and it took about 15 mins until it reached the end. AMAZING</p>
<p>By examining the log, I notice ( it was hard to NOT notice it ) litterally millions of these entries:</p>
<p><strong>Could not allocate space for object &#8216;dbo.tblComments&#8217;.'tblComments&#8217; in database &#8216;DATABASEname&#8217; because the &#8216;PRIMARY&#8217; filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.</strong></p>
<p><strong>What happened here? </strong></p>
<p>The site that was using that database is poorly written and was allowing everyone to post comments on the articles without any security check, so it soon reached the size limit set on the database.  By further digging on the issue, I saw that the bots are posting about 4-5 comments each second which comes to about 18000 comments/hour&#8230;multiply that by 15-16 hours it took to fill the error log to that size, we roughly come to 280000 comments&#8230;that&#8217;s A LOT of comments! <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>After disabling the site and sending the email to the customer, situation on the machine looks like this :</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2010/10/mssql.jpg"><img class="alignleft size-medium wp-image-414" title="mssql" src="http://www.winblogs.net/wp-content/uploads/2010/10/mssql-300x213.jpg" alt="" width="300" height="213" /></a></p>
<p><strong>The big drop on the green line is the moment where I disabled the problematic web site.</strong></p>
<div class="shr-publisher-413"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2010/10/25/spambotsbad-applicationsql-server-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bit Rate Throttling? &#8211; HELL YEAH!</title>
		<link>http://www.winblogs.net/index.php/2010/10/15/bit-rate-throttling-hell-yeah/</link>
		<comments>http://www.winblogs.net/index.php/2010/10/15/bit-rate-throttling-hell-yeah/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 15:15:28 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[IIS server]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[bit rate throttling]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[iis bit rate throttling]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server setup]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[web platform installer]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=396</guid>
		<description><![CDATA[Fact number one: If you have a streaming server, you must install this extension! Great, now that we&#8217;ve got this fact covered, we can move on. IIS site says: Bit Rate Throttling, an IIS Media Services extension, saves money on network costs by metering the download speed of media and data files. For media, Bit [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.winblogs.net/wp-content/uploads/2010/10/iis-bit-rate-throttling.jpg"><img class="alignleft size-medium wp-image-398" style="margin: 3px;" title="iis bit rate throttling" src="http://www.winblogs.net/wp-content/uploads/2010/10/iis-bit-rate-throttling-300x225.jpg" alt="" width="194" height="145" /></a></p>
<p><strong>Fact number one: If you have a streaming server, you must install this extension! </strong></p>
<p>Great, now that we&#8217;ve got this fact covered, we can move on.</p>
<p>IIS site says:</p>
<p>Bit Rate Throttling, an IIS Media Services  extension, saves money on network costs by metering the download speed of media and data files. For media, Bit Rate Throttling accomplishes this by automatically detecting the encoded bit rates of 11 common media formats, such as Windows Media Video (WMV), Flash Video (FLV), and MPEG 4 (MP4), and then throttling the response to the client. For any other file or MIME type, Bit Rate Throttling allows administrators to configure custom throttling rules.</p>
<p><strong>Now, lets explain the same thing in a bit simpler way.</strong></p>
<p>If you have a server which streams any kind of media files, Im sure you have noticed extremely high bandwidht usage on that machine. In my experience, over 40% of the bandwidth is wasted! WAIT! WHY, HOW?</p>
<p><span id="more-396"></span></p>
<p><strong>Answer is simple!</strong></p>
<p>Scenario 1 ( server without Bit Rate Throttling extension ):</p>
<p>Lets say that you have a 100 Mbit link on your machine. A visitor with a 20 Mbit link will come to your site and click &#8220;play&#8221; on the newest promo movie you have uploaded.  What will happen, the server will send the ENTIRE video to the visitor in couple of seconds ( buffering ) and on the half of the movie, the visitor will see that he doesnt like your movie and go away.</p>
<p>What happened here? Half of the downloaded movie is wasted. The visitor downloaded the entire movie, but only looked at half of it. Efectively, you&#8217;ve wasted 50% of that movies bandwidth ( in a 100 Mb file, thats 50 Mb of bandwidth wasted )</p>
<p><strong>This is where Bit Rate Throttling jumps in and saves the day!</strong></p>
<p>Scenario2 ( Server with Bit Rate Throttling Extension installed ) :</p>
<p>Lets say that you have a 100 Mbit link on your machine. A visitor with a  20 Mbit link will come to your site and click &#8220;play&#8221; on the newest  promo movie you have uploaded.  What will happen, the server will see that the movie is encoded at 700 kbps ( example ) and reduce the speed its sending you the movie ( buffering )  to 800 kbps or 850 kbps ( depening on what setting you choose ) so that you still have a smooth playback and some buffer in reserve ).   In this case, amount of bandwidht that could potentially be wasted is a lot smaller than the amount of bandwidth that would be wasted without this extension.</p>
<p><strong>As I said before, improvements in bandwidth costs can be improved up to 40%! Thats not a small amount!</strong></p>
<p>Features of Bit Rate Throttling:</p>
<ul>
<li>Seamless integration into IIS 7.x Manager</li>
<li>Out-of-the box compatibility for the following media types: .asf, .avi, .flv, .m4v, .mov, .mp3, .mp4, .rm, .rmvb, .wma and .wmv</li>
<li>Dynamic throttling adjustment based on:
<ul>
<li>The file types and their encoded bit rate</li>
<li>The available bandwidth of the connection</li>
<li>Default and maximum throttling rates</li>
<li>Concurrent connection limits</li>
<li>Target throughput rate for the site</li>
</ul>
</li>
<li>Throttling rules configurable at various levels including server, site  	and virtual directory</li>
<li>Fast Start experience for optimal user experience</li>
<li>Extensibility to enable other media formats and file types</li>
<li>Better-together solution when combined with <a href="http://www.iis.net/WebPlaylists">Web Playlists</a></li>
</ul>
<p>Have a nice day! Alesandro</p>
<div class="shr-publisher-396"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2010/10/15/bit-rate-throttling-hell-yeah/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cook!? Can you warm up my application? NO! I cannot!:D</title>
		<link>http://www.winblogs.net/index.php/2010/10/13/cook-can-you-warm-up-my-application/</link>
		<comments>http://www.winblogs.net/index.php/2010/10/13/cook-can-you-warm-up-my-application/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 17:28:37 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[IIS server]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[Application Warm-Up]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[installing iis]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[web platform installer]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=378</guid>
		<description><![CDATA[In the beginning, some c/p from IIS site: IIS Application Warm-Up for IIS 7.5 enables IT Professionals to improve the responsiveness of their Web sites by loading the Web applications before the first request arrives. By proactively loading and initializing all the dependencies such as database connections, compilation of ASP.NET code, and loading of modules, [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.winblogs.net/wp-content/uploads/2010/10/IIS7Logo.jpg"><img class="alignleft size-medium wp-image-379" style="border: 1px solid black; margin: 2px;" title="IIS7Logo" src="http://www.winblogs.net/wp-content/uploads/2010/10/IIS7Logo-300x88.jpg" alt="" width="300" height="88" /></a><strong>In the beginning, some c/p from IIS site:</strong></p>
<p>IIS Application Warm-Up for IIS 7.5 enables IT Professionals to improve the  responsiveness of their Web sites by loading the Web applications before the  first request arrives. By proactively loading and initializing all the  dependencies such as database connections, compilation of ASP.NET code, and  loading of modules, IT Professionals can ensure their Web sites are responsive  at all times even if their Web sites use a custom request pipeline or if the  Application Pool is recycled.</p>
<p>Now, ME!</p>
<p>At first glimse you can say : &#8220;<strong>WOW&#8221; this extension rocks</strong>!!! I dont have to wait for my application to compile! My site will load much much faster!</p>
<p>And, imagine, you would be completely RIGHT! This is a great extension, but ( yeah, there&#8217;s a but ), I would NEVER install this extension on a shared hosting server! Why you ask?</p>
<p><strong>Biggest reason is the WASTE of resources! </strong></p>
<p>By preloading some site that has 5-10 unique visitors/day ( yes there are sites like that ), you are efectively wasting resources on the server. Imagine what would happen if you had around 500-600 applications on the server, all preloaded? How much RAM would the machine need to have to keep all those applications preloaded? I guess the answer is : A LOT!</p>
<p><strong>So, conclusion, when to use IIS Application Warm-Up?</strong></p>
<p>Use it on your own machine! When you have a dedicated machine just for 1-2 websites.  You, and your users will benefit from preloaded applications. Everything will open more faster!</p>
<p>If you have a shared hosting machine, MY reccomendation is to NOT use the IIS Application Warm-Up extension!</p>
<div class="shr-publisher-378"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2010/10/13/cook-can-you-warm-up-my-application/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using compression on IIS servers?  Yes or no?</title>
		<link>http://www.winblogs.net/index.php/2010/10/08/using-compression-on-iis-servers-yes-or-no/</link>
		<comments>http://www.winblogs.net/index.php/2010/10/08/using-compression-on-iis-servers-yes-or-no/#comments</comments>
		<pubDate>Fri, 08 Oct 2010 13:29:56 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[IIS server]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[iis 6 compression]]></category>
		<category><![CDATA[iis 7 compression]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server setup]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=349</guid>
		<description><![CDATA[Well&#8230;in the very beginning, my answer is pretty much simple : yes AND no!  Why you ask?  Just keep reading&#8230; Compression, regardless if its the compression of static or dynamic content is using CPU &#8211; that is a fact we can all agree upon. Lets say compression is a tradeoff &#8211; CPU for bandwidth..use more [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.winblogs.net/wp-content/uploads/2010/10/compression.jpg"><img class="alignleft size-thumbnail wp-image-356" style="margin: 3px; border: 0pt none;" title="compression" src="http://www.winblogs.net/wp-content/uploads/2010/10/compression-150x150.jpg" alt="" width="100" height="100" /></a><strong></strong></p>
<p><strong>Well&#8230;in the very beginning, my answer is pretty much simple : yes AND no!  Why you ask?  Just keep reading&#8230;</strong></p>
<p>Compression, regardless if its the compression of static or dynamic content is using CPU &#8211; that is a fact we can all agree upon. <strong></strong></p>
<p><strong>Lets say compression is a tradeoff &#8211; CPU for bandwidth..use more cpu to &#8220;burn&#8221; less bandwidth.</strong></p>
<p><strong>The big question here is how to decide if you will benefit from turning on compression or not.</strong></p>
<p>Most of us have &#8220;multi-purpose&#8221; servers which run various roles at the same time ( database server ( MYSQL , MSSQL, etc&#8230;) , mail server, web server, etc.. and all of those services are spending a certain amount of CPU time.</p>
<p>By turning on the compression, you will automatically &#8220;lose&#8221; some CPU time which could have been used for faster execution of some database queries i.e&#8230;<span id="more-349"></span></p>
<p>This is the key problem in our case. Is your machine powerfull enough to handle all the services it is already running + compression? Because in the end, you could end up with an even slower server!!!</p>
<p>If you have a small server ( 1 x quad core cpu, 4-8 gb ram ) which is under heavy or moderate load and you want your applications to be &#8220;jumpy&#8221; ( i.e : fast editing of some articles in your favourite CMS system ),  or you have lots of queries on your database service: DONT use compression, save your CPU time.  If you have some CPU time to spare,  turn on compression of static content which doesn&#8217;t change a lot or only needs to be downloaded every once in a while ( browser cache expires )</p>
<p>In case you have a big machine ( 2x quad core nehalems, 24 gb ram, 4x enterprise level hdd&#8217;s with hw raid controller, etc&#8230;)  and you have CPU time to spare, by all means, turn on the compression of both static and dynamic content. You will notice great improvements on your bandwidth costs <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In my experience, the biggest bottleneck on 99% of the server is the disk system. Ofcourse, in my case we are talking about some small RAIDs with 4-8 disks.</p>
<p><strong>Great example of that case are these two pictures:</strong></p>
<p>CPU usage on a 2xQUAD core server with 16 gb of RAM.</p>
<p style="text-align: center;"><a href="http://www.winblogs.net/wp-content/uploads/2010/10/cpu-day.png"><img class="size-medium wp-image-350 aligncenter" title="cpu-day" src="http://www.winblogs.net/wp-content/uploads/2010/10/cpu-day-300x81.png" alt="" width="300" height="81" /></a></p>
<p>As we can see, the server peaks out at 28% of cpu usage, which means it has lots of CPU time to spare for compression.</p>
<p>However, lets have a look at its disk system:</p>
<p style="text-align: center;"><a href="http://www.winblogs.net/wp-content/uploads/2010/10/hdd.png"><img class="size-medium wp-image-351 aligncenter" title="hdd" src="http://www.winblogs.net/wp-content/uploads/2010/10/hdd-300x124.png" alt="" width="300" height="124" /></a></p>
<p>As we can see on the graph, average DISK FREE TIME is 64%, which is a bit low for my personal taste. I would be much more comfortable that this number is around 70 -75% .</p>
<p>This machine would definatelly benefit from turning on compression, since it has lots of CPU time to spare.</p>
<p><strong>But I own a small server&#8230;is there any hope for me???</strong></p>
<p><strong>NEVER FEAR IIS 7 IS HERE!!!</strong></p>
<p>One great feature in IIS 7 and IIS 7.5 is that it  offers CPU roll-off function.  When CPU usage goes   above certain level you set,  IIS server will stop compression and when usage  drops below the level you have set up, it will start compressing content again.  This function is  controlled by the staticCompressionEnableCpuUsage and  dynamicCompressionDisableCpuUsage attributes.</p>
<p>For the owners of smaller machines, this function is just AWESOME! It will save you from unpleasant suprises like getting a call at 2-3 AM with a complaint that the SQL server is very sloooow.</p>
<p>In the end; you be the judge. Will you turn on compression on your server or not? Let me know&#8230;</p>
<div class="shr-publisher-349"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2010/10/08/using-compression-on-iis-servers-yes-or-no/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows hosting cluster anyone?</title>
		<link>http://www.winblogs.net/index.php/2010/10/04/windows-hosting-cluster-anyone/</link>
		<comments>http://www.winblogs.net/index.php/2010/10/04/windows-hosting-cluster-anyone/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 22:47:42 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[IIS server]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[WebSitePanel Fixes]]></category>
		<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server setup]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[websitepanel]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<category><![CDATA[windows cluster]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=341</guid>
		<description><![CDATA[Since cloud hosting has become very popular today I have decided to try creating windows cluster for plain old hosting service. Since we are already using WebSitePanel as our main control panel for windows server, the goal is to leave everything running the way it is now, but with the possiblity to add new servers [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.winblogs.net/wp-content/uploads/2010/10/servers.jpg"><img class="alignleft size-medium wp-image-342" style="border: 1px solid black; margin: 2px;" title="servers" src="http://www.winblogs.net/wp-content/uploads/2010/10/servers-300x206.jpg" alt="" width="300" height="206" /></a>Since cloud hosting has become very popular today <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I have decided to try creating windows cluster for plain old hosting service. Since we are already using WebSitePanel as our main control panel for windows server, the goal is to leave everything running the way it is now, but with the possiblity to add new servers to the server pool without affecting current customers and &#8220;fooling&#8221; WebSitePanel that it thinks its running on a single machine, so that it isnt aware of the cluster at all.</p>
<p><strong>How did it all start? </strong></p>
<p>Well, to be honest, I was very interested to migrate all of our customers from WebSitePanel to Enkompass when I saw that they are offering cluster based hosting. By going a bit deeper into the scheme of their solution I saw that its basically very simple;  ARR and a big hog of a storage server which even doesnt have to run on windows!!!</p>
<p><strong>Ofcourse, I would LOVE to try Windows Storage Server and give Microsoft money for it, but&#8230;since I&#8217;m not an OEM manufacturer, I can only dream about it <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </strong></p>
<p>Since I work at a hosting company which offers linux and windows hosting, we got to an idea to serve all clients from a cluster of storage servers, rather than having 2 separate clusters of storage servers, one for each hosting type ( Windows and Linux ) .</p>
<p>I have the entire thing &#8220;visualized&#8221; in my head&#8230;and some paper, so  I&#8217;m hoping that in month-two I will have a WORKING solution of my idea <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Im already seeing some blade servers <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  hihihihi&#8230;</p>
<div class="shr-publisher-341"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2010/10/04/windows-hosting-cluster-anyone/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Setuping a server for web hosting – part 4: Installing PHP</title>
		<link>http://www.winblogs.net/index.php/2010/04/14/setuping-a-server-for-web-hosting-part-4-installing-php/</link>
		<comments>http://www.winblogs.net/index.php/2010/04/14/setuping-a-server-for-web-hosting-part-4-installing-php/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 03:17:05 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[IIS server]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[fopen]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[installing php]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[register globals]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server setup]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[video tutorial]]></category>
		<category><![CDATA[web platform installer]]></category>
		<category><![CDATA[windows 2008]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=280</guid>
		<description><![CDATA[Hello after a very long pause . Continuing the &#8220;Setuping a server for web hosting&#8221; series with the new smashing video of how to install PHP on your machine! AWESOME right? In the very begining of the post, lets learn what PHP is exactly. So, Wikipedia says ( and I add that I agree with [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hello after a very long pause <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . Continuing the &#8220;Setuping a server for web hosting&#8221; series with the new smashing video of how to install PHP on your machine! AWESOME right? <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In the very begining of the post, lets learn what PHP is exactly.</p>
<p>So, Wikipedia says ( and I add that I agree with her <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  :</p>
<p><strong>PHP: Hypertext Preprocessor</strong> is a widely used, general-purpose scripting language that was originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into  the HTML source document and interpreted by a web  server with a PHP processor module, which generates the web page document. As a general-purpose programming language, PHP code is  processed by an interpreter application in command-line mode performing desired operating  system operations and producing program output on its standard output  channel. It may also function as a graphical application. PHP is  available as a processor for most modern web servers and as standalone  interpreter on most operating systems and computing platforms.<br />
<span id="more-280"></span><br />
PHP was originally created by Rasmus Lerdorf in 1995 and has been in continuous development ever since. The main  implementation of PHP is now produced by The PHP Group and serves as the  <em>de facto</em><a title="De  facto standard" href="http://en.wikipedia.org/wiki/De_facto_standard"> standard</a> for PHP as there is no formal specification.PHP is free software released under the PHP  License.</p>
<p>So, now when we know what PHP is, lets check the basic PHP syntax:</p>
<ul><code> </code></p>
<pre>&lt;?php
    echo "Hello World";
   /* echo("Hello World"); works as well, although echo isn't a
    function (it's a language construct). In some cases, such
    as when multiple parameters are passed to echo, parameters
    cannot be enclosed in parentheses */
?&gt;</pre>
</ul>
<p>You can find out more about the PHP project on <a href="http://www.http://php.net/">www.php.net</a>.</p>
<p>In this case, I will use Windows Web Platform Installer to install PHP on my machine. By going on <a href="http://www.microsoft.com/WEB/platform/phponwindows.aspx">this link</a> you can use the installer to install PHP on your machine (same link is also used in the video).</p>
<p>Check out the video ( dont forget to put it in full screen mode <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  :</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="505" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/WT0ymPhxWOU&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;hd=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="505" src="http://www.youtube.com/v/WT0ymPhxWOU&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>So, now when you&#8217;re all full of excitement and thinking &#8220;LOL, installing PHP is extra easy, everyone could do it&#8221; &#8230;.NAH!!! and the host says: You lost <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>First, lets check it the PHP is working at all on our server. Yes, we could use the above stated syntax, but that just isnt fun <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . To get some detailed info on our PHP lets use this command:</p>
<ul>
<pre>&lt;?php phpinfo(); ?&gt;</pre>
</ul>
<p>Lets navigate to c:\inetpub\wwwroot\ and create a file called &#8220;phptest.php&#8221; . We will do that by clicking with the right mouse click , New &#8211; Text Document.  We will call it phptest.php.</p>
<p>Inside the document we will paste the above piece of code, save it and hold your fingers <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p>Point your browser to your server address, and to the phptest.php file.</p>
<p>If everything went smoothly you should see a page like this:</p>
<p style="text-align: center;"><a href="http://www.winblogs.net/wp-content/uploads/2010/04/php.jpg"><img class="size-medium wp-image-307 aligncenter" style="margin-top: 2px; margin-bottom: 2px; border: 0pt none;" title="php" src="http://www.winblogs.net/wp-content/uploads/2010/04/php-214x300.jpg" alt="" width="214" height="300" /></a></p>
<p style="text-align: center;">
<p>If you see the page that means that the PHP on our server is working properly.</p>
<p>Now, lets have some fun with security issues in PHP.</p>
<p>First of all, we have to check the php.ini file which is located in C:\Program Files (x86)\PHP\php.ini  . Lets open it with Notepad.</p>
<p>Most of the option are explained in the file itself, so we will skip  them. Focus will be only on the most important ones.</p>
<p>One of the interesting lines is this :</p>
<ul> <strong>; &#8211; magic_quotes_gpc = Off         [Performance]<br />
</strong></ul>
<p>As we can see, that option is commented out and DISABLED, and its best to leave it like that since its been deprecated in PHP 5.3.X .</p>
<p>Second option is:</p>
<ul><strong>register_globals</strong> = Off -</ul>
<p><strong>LEAVE THAT TURNED OFF</strong>. If you have clients who have ancient applications, tell them to rewrite them <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .  More about the discussion on using register globals can be found on this <a href="http://www.php.net/manual/en/security.globals.php">link</a></p>
<p>Third one that should be disabled is :</p>
<ul>allow_url_fopen = On</ul>
<p>Standard setting in the instllation is &#8220;On&#8221;, which is bad and wrong for many reasons <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . This setting should be turned of because of cross site scripting and security holes in lots of CMS/Forum scripts. When fopen is turned on, a potential attacker has an oportunity to use some security hole in your application to include his own file and gain access over your entire account. I really think you dont want that <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But, never fear , alternative is here <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .Tell your customers or yourself to use <strong>curl </strong>for fetching remote content.</p>
<p>Standard<strong> fopen</strong> function should be replaced with a curl function :</p>
<p><strong>Fopen function</strong></p>
<ul>
<pre><code>    &lt;?
    $result = fopen($url,r);
    ?&gt;
</code></pre>
</ul>
<p><strong>Curl function</strong></p>
<ul>
<pre><code>&lt;?
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_HEADER, 0);
$result = curl_exec($ch);
curl_close($ch);
?&gt;
</code></pre>
</ul>
<p>Next very important setting is :</p>
<ul>disable_functions =</ul>
<p>By standard, its empty&#8230;</p>
<p>Here are some of the most common functions to be disabled : <strong>system, exec, shell_exec, passthru, set_time_limit, error_log,  ini_alter, dl, pfsockopen, openlog, syslog, readlink, symlink, link,  leak, fsockopen, popen, escapeshellcmd, apache_child_terminate  apache_get_modules, apache_get_version, apache_getenv,  apache_note,apache_setenv,virtual </strong></p>
<p><strong>Google a bit to find what these functions do, but for an example, I would disable the &#8220;exec&#8221; command ( among others) , but you find out why <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </strong><br />
<span style="font-size: x-small;"><em>( hint : net user /add useraccountname mypassword )<br />
</em></span></p>
<p>When you&#8217;re done setting the <strong>php.ini</strong> file, all you need to do is restart IIS server and thats it.</p>
<p>Next step is to install some PHP based application and admire your work.</p>
<p>Ofcourse, this is a very fast tutorial on installing PHP . <strong>Configuration of it is the trickiest part and you should use the official php site and google to help you with it!</strong></p>
<p>Cheers, Alesandro<strong><br />
</strong></p>
<p><strong><br />
</strong></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 2453px; width: 1px; height: 1px; overflow: hidden;"><strong>system, exec, shell_exec, passthru, set_time_limit, error_log,  ini_alter, dl, pfsockopen, openlog, syslog, readlink, symlink, link,  leak, fsockopen, popen, escapeshellcmd, apache_child_terminate  apache_get_modules, apache_get_version, apache_getenv,  apache_note,apache_setenv,virtual </strong></div>
<div class="shr-publisher-280"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2010/04/14/setuping-a-server-for-web-hosting-part-4-installing-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Don’t run production ASP.NET Applications with debug=true</title>
		<link>http://www.winblogs.net/index.php/2009/11/29/dont-run-production-asp-net-applications-with-debug-true/</link>
		<comments>http://www.winblogs.net/index.php/2009/11/29/dont-run-production-asp-net-applications-with-debug-true/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 01:02:42 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[IIS server]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[debug on or off]]></category>
		<category><![CDATA[debug=true]]></category>
		<category><![CDATA[DotNetPanel]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=260</guid>
		<description><![CDATA[Found an awesome post on DotNetPanel blog so I had to repost it One of the things you want to avoid when deploying an ASP.NET application into production is to accidentally (or deliberately) leave the &#60;compilation debug=”true”/&#62; switch on within the application’s web.config file. Doing so causes a number of non-optimal things to happen including: [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Found an awesome post on DotNetPanel blog so I had to repost it <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>One of the things you want to avoid when deploying an ASP.NET application into production is to accidentally (or deliberately) leave the<strong> &lt;compilation debug=”true”/&gt;</strong> switch on within the application’s web.config file.</p>
<p>Doing so causes a number of non-optimal things to happen including:</p>
<p>1) The compilation of ASP.NET pages takes longer (since some batch optimizations are disabled)</p>
<p>2) Code can execute slower (since some additional debug paths are enabled)</p>
<p>3) Much more memory is used within the application at runtime</p>
<p>4) Scripts and images downloaded from the WebResources.axd handler are not cached</p>
<p>This last point is particularly important, since it means that all client-javascript libraries and static images that are deployed via <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/webresource.asp">WebResources.axd</a> will be continually downloaded by clients on each page view request and not cached locally within the browser.  This can slow down the user experience quite a bit for things like Atlas, controls like TreeView/Menu/Validators, and any other third-party control or custom code that deploys client resources.  Note that the reason why these resources are not cached when debug is set to true is so that developers don’t have to continually flush their browser cache and restart it every-time they make a change to a resource handler (our assumption is that when you have debug=true set you are in active development on your site).</p>
<p>When <strong>&lt;compilation debug=”false”/&gt;</strong> is set, the WebResource.axd handler will automatically set a long cache policy on resources retrieved via it – so that the resource is only downloaded once to the client and cached there forever (it will also be cached on any intermediate proxy servers).  If you have Atlas installed for your application, it will also automatically compress the content from the WebResources.axd handler for you when &lt;compilation debug=”false”/&gt; is set – reducing the size of any client-script javascript library or static resource for you (and not requiring you to write any custom code or configure anything within IIS to get it).</p>
<p><strong>What about binaries compiled with debug symbols?</strong></p>
<p>One scenario that several people find very useful is to compile/pre-compile an application or associated class libraries with debug symbols so that more detailed stack trace and line error messages can be retrieved from it when errors occur.</p>
<p>The good news is that you can do this without having the have the &lt;compilation debug=”true”/&gt; switch enabled in production.  Specifically, you can use either a web deployment project or a web application project to pre-compile the code for your site with debug symbols, and then change the &lt;compilation debug=”true”/&gt; switch to false right before you deploy the application on the server.</p>
<p>The debug symbols and metadata in the compiled assemblies will increase the memory footprint of the application, but this can sometimes be an ok trade-off for more detailed error messages.</p>
<p><strong>The &lt;deployment retail=”true”/&gt; Switch in Maching.config</strong></p>
<p>If you are a server administrator and want to ensure that no one accidentally deploys an ASP.NET application in production with the &lt;compilation debug=”true”/&gt; switch enabled within the application’s web.config file, one trick you can use with ASP.NET V2.0 is to take advantage of the &lt;deployment&gt; section within your machine.config file.</p>
<p>Specifically, by setting this within your machine.config file:</p>
<p>&lt;configuration&gt;</p>
<p>&lt;system.web&gt;</p>
<p>&lt;deployment retail=”true”/&gt;</p>
<p>&lt;/system.web&gt;</p>
<p>&lt;/configuration&gt;</p>
<p>You will disable the<strong> &lt;compilation debug=”true”/</strong>&gt; switch, disable the ability to output trace output in a page, and turn off the ability to show detailed error messages remotely.  Note that these last two items are security best practices you really want to follow (otherwise hackers can learn a lot more about the internals of your application than you should show them).</p>
<p>Setting this switch to true is probably a best practice that any company with formal production servers should follow to ensure that an application always runs with the best possible performance and no security information leakages.  There isn’t a ton of documentation on this switch – but you can learn a little more about it <a href="http://msdn2.microsoft.com/en-US/library/ms228298%28VS.80%29.aspx">here</a>.</p>
<p>So, dear developers, keep on eye on debug state&#8230;it will make you and the server happier <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>ALL CREDITS OF THIS TEXT GO TO DOTNETPANEL BLOG!</strong></p>
<p><strong>Source : <a href="http://forum.dotnetpanel.com/blogs/dan/archive/2008/09/10/don-t-run-production-asp-net-applications-with-debug-true-enabled.aspx" target="_blank">DotNetPanel Blog</a></strong></p>
<div class="shr-publisher-260"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2009/11/29/dont-run-production-asp-net-applications-with-debug-true/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setuping a server for web hosting – part 3: Installing MySQL</title>
		<link>http://www.winblogs.net/index.php/2009/11/01/setuping-a-server-for-web-hosting-%e2%80%93-part-3-installing-mysql/</link>
		<comments>http://www.winblogs.net/index.php/2009/11/01/setuping-a-server-for-web-hosting-%e2%80%93-part-3-installing-mysql/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 14:57:13 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[installing mysql]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server setup]]></category>
		<category><![CDATA[video tutorial]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=212</guid>
		<description><![CDATA[Back by popular demand part 3 of the &#8220;setup my web server&#8221; tutorials In this post we will cover the instalation of MySQL on a Windows 2008 R2 based server. The process is the same if you would have a Windows 2003 machine also. At the beginning, lets see what MySQL is. MySQL is a [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Back by popular demand <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  part 3 of the &#8220;setup my web server&#8221; tutorials <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In this post we will cover the instalation of MySQL on a Windows 2008 R2 based server. The process is the same if you would have a Windows 2003 machine also.</p>
<p>At the beginning, lets see what MySQL is.</p>
<p><strong>MySQL</strong> is a <a title="Relational database management system" href="http://en.wikipedia.org/wiki/Relational_database_management_system">relational database management system</a> (RDBMS)<sup id="cite_ref-0"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-0"><span>.</span></a></sup><sup id="cite_ref-sun-mysql_1-0"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-sun-mysql-1"></a></sup> MySQL stands for &#8220;My <a title="SQL" href="http://en.wikipedia.org/wiki/SQL">Structured Query Language</a>&#8220;. The program runs as a server providing multi-user access to a number of databases.</p>
<p>The project has made its source code available under the terms of the <a title="GNU General Public License" href="http://en.wikipedia.org/wiki/GNU_General_Public_License">GNU General Public License</a>, as well as under a variety of proprietary agreements. MySQL is owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now a subsidiary of <a title="Sun Microsystems" href="http://en.wikipedia.org/wiki/Sun_Microsystems">Sun Microsystems</a>. As of 2009<sup style="display: none;"><a rel="nofollow" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit">[update]</a></sup> <a title="Oracle Corporation" href="http://en.wikipedia.org/wiki/Oracle_Corporation">Oracle Corporation</a> began the process of acquiring Sun Microsystems; Oracle holds the copyright to most of the MySQL codebase.</p>
<p>MySQL is often used in free software projects which require a full-featured database management system, such as <a title="WordPress" href="http://en.wikipedia.org/wiki/WordPress">WordPress</a>, <a title="PhpBB" href="http://en.wikipedia.org/wiki/PhpBB">phpBB</a> and other software built on the <a title="LAMP (software bundle)" href="http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29">LAMP</a> software stack. It is also used in very high-scale <a title="World Wide Web" href="http://en.wikipedia.org/wiki/World_Wide_Web">World Wide Web</a> products including <a title="Wikipedia" href="http://en.wikipedia.org/wiki/Wikipedia">Wikipedia</a>, <a title="Google" href="http://en.wikipedia.org/wiki/Google">Google</a> and <a title="Facebook" href="http://en.wikipedia.org/wiki/Facebook">Facebook</a><sup style="white-space: nowrap;" title="This claim needs references to reliable sources from September 2009"><em>.</em></sup></p>
<p>Many web applications use MySQL as the database component of a <a title="LAMP (software bundle)" href="http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29">LAMP</a> software stack. Its popularity for use with web applications is closely tied to the popularity of <a title="PHP" href="http://en.wikipedia.org/wiki/PHP">PHP</a>, which is often combined with MySQL.</p>
<p>So, what is the process of installing MySQL on a Windows machine? Well, it&#8217;s pretty straight forward so there is no need to write step-by-step tuturial..look at the video rather than reading <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Dont forget to choose HD and the &#8220;full screen&#8221; option.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="525" height="444" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/InsSDz6rmCk&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="525" height="444" src="http://www.youtube.com/v/InsSDz6rmCk&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Song in the video is from Thievery Corporation. Song name is : Lebanese Blonde <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-212"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2009/11/01/setuping-a-server-for-web-hosting-%e2%80%93-part-3-installing-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setuping a server for web hosting &#8211; part 2: Installing SQL 2008 Express</title>
		<link>http://www.winblogs.net/index.php/2009/10/24/setuping-a-server-for-web-hosting-part-2-installing-sql-2008-express/</link>
		<comments>http://www.winblogs.net/index.php/2009/10/24/setuping-a-server-for-web-hosting-part-2-installing-sql-2008-express/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 03:19:23 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[installing mssql]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server setup]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[video tutorial]]></category>
		<category><![CDATA[web platform installer]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=185</guid>
		<description><![CDATA[Hello there&#8230; In order to  install SQL 2008 Express, we have to download it first . Fire up your favorite browser and point it to http://www.microsoft.com/express/download/ . After that, find the box with the SQL 2008 Express, and click download. On the next step you have the option to register with Microsoft or download the [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hello there&#8230;</p>
<p>In order to  install SQL 2008 Express, we have to download it first . Fire up your favorite browser and point it to<a href="http://www.microsoft.com/express/download/"> http://www.microsoft.com/express/download/</a> . After that, find the box with the SQL 2008 Express, and click download.</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/10/sqlexpress.PNG"><img class="aligncenter size-full wp-image-186" title="sqlexpress" src="http://www.winblogs.net/wp-content/uploads/2009/10/sqlexpress.PNG" alt="sqlexpress" width="369" height="232" /></a></p>
<p>On the next step you have the option to register with Microsoft or download the software without registration.  I will choose the &#8220;no registration part&#8221;.</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/10/sqlexpressdownloadpage.PNG"><img class="aligncenter size-full wp-image-188" title="sqlexpressdownloadpage" src="http://www.winblogs.net/wp-content/uploads/2009/10/sqlexpressdownloadpage.PNG" alt="sqlexpressdownloadpage" width="471" height="160" /></a></p>
<p>In the new window, choose the version you would like to install. Personally, I will choose &#8220;<strong>Runtime with advanced services</strong>&#8220;. By clicking on install, Microsoft will ask to install the <strong>Microsoft Web Platform installer</strong>. If you dont have it installed, click on the picture to install it.</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/10/webplatforminstaller.PNG"><img class="aligncenter size-full wp-image-187" title="webplatforminstaller" src="http://www.winblogs.net/wp-content/uploads/2009/10/webplatforminstaller.PNG" alt="webplatforminstaller" width="199" height="54" /></a></p>
<p>Choose<strong> &#8220;Run&#8221;</strong>, and after the download, again, choose<strong> &#8220;Run</strong>&#8220;. Wait for the installtion to finish and look at the top of the browser, a little bar will pop up and ask us if we want to run Active X control.  <strong>Make sure the publisher is &#8220;Microsoft Corporation&#8221;</strong>. Click on &#8220;<strong>Run</strong>&#8220;, and then on<strong> Allow</strong>.</p>
<p>Now, look at the video of the installation I have made for you. The video will show you the process of installing<strong> SQL Server 2008 Express.</strong></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/lWUjAG8Ab7I&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/lWUjAG8Ab7I&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>After that, all you need to do is run the <strong>&#8220;SQL Server Configuration Manager</strong>&#8221; under<strong> &#8220;Configuration Tools&#8221;</strong> and configure it the way you want it.</p>
<p>BTW, the track used is <span id="now-playing-info"><strong>La Noche</strong> by Coca &amp; Villa .IT&#8217;s AWESOME!!!</span></p>
<p><span>Have fun&#8230;bye!<br />
</span></p>
<div class="shr-publisher-185"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2009/10/24/setuping-a-server-for-web-hosting-part-2-installing-sql-2008-express/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

