<?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>Web Hosting Reviews - Compare &#124; Independent &#124; Objective</title>
	<atom:link href="http://serversreview.net/feed" rel="self" type="application/rss+xml" />
	<link>http://serversreview.net</link>
	<description>Reviews That You Cannot Trust Before You Try It Yourself</description>
	<lastBuildDate>Wed, 16 May 2012 10:41:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Web Hosting Reviews Today</title>
		<link>http://serversreview.net/web-hosting-reviews-today</link>
		<comments>http://serversreview.net/web-hosting-reviews-today#comments</comments>
		<pubDate>Mon, 02 Apr 2012 07:43:51 +0000</pubDate>
		<dc:creator>2298</dc:creator>
				<category><![CDATA[GENERAL]]></category>
		<category><![CDATA[hosting comments]]></category>
		<category><![CDATA[http://serversreview.net/web-hosting-reviews-today]]></category>
		<category><![CDATA[serversreview.net]]></category>
		<category><![CDATA[typing web reviews]]></category>
		<category><![CDATA[web host comments]]></category>
		<category><![CDATA[web hosting a competitive market]]></category>
		<category><![CDATA[web hosting comments]]></category>
		<category><![CDATA[web servers benchmark]]></category>

		<guid isPermaLink="false">http://serversreview.net/?p=1835</guid>
		<description><![CDATA[Most industries today are very competitive and the biggest impact of that condition are in the economy sector. But in fact, the perfect condition of competition in industry doesn&#8217;t exist....]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Most industries today are very competitive and the biggest impact of that condition are in the economy sector. But in fact, the perfect condition of competition in industry doesn&#8217;t exist. That happens because still there are some providers in the industries who have a power to influence the price. So, the condition in the consumer market with the best price while on the other side the business environtment doesn&#8217;t bother and get their best of the best profits, that is perfect competition. Then we can conclude that the stock price in the market depends on two related thing which is how buyers and sellers appreciate the company. But in a highly competitive market like this, interference can possibly happens to create such unwanted condition. For instance if the government invests their money by buying lots of shares in the market, then basically the government have a power to control the price as they are the biggest shareholder in the company.</p>
<p style="text-align: justify;">If we want to fail the statement about someone can interfere the price then web hosting industry today is the answer. There are no such a famous provider or famous buyer can affect the price of this industry, which makes webhosting service is a perfect competitive market in implementation. There are so many hosting companies and they keep growing because everyday people build a new hosting company. They are keep voicing that the best web are us. Various plans and lots of coupons are mandatory for the newly created hosting company. How could that thing happens? The explanation is simple, by purchasing one reseller account then you can instantly create a new hosting company. The effect for consumer is they getting confused how to choose the best between the requirement and price. In this case, <strong>web hosting reviews</strong> play very important role. The comparison between one to another hosting company provided by web hosting reviews where you can find a lot by typing web hosting reviews query in google is considerably help. But in order to find a best web hosting company from web hosting reviews, you also need to read the reviews from the trusted source, not just a bunch of text judging that a hosting company is bad because my site cannot be accessed in 24 hour but without any tests or proof.</p>
<p style="text-align: justify;">Web hosting industry is a come and go business. I can told you that because you can easily enter the market with one reseller account, one domain name, and one copy paste web design for a few bucks and then leave the business as easy as you turn a palm of your hand. No one can ever interfere with that, even government. So that makes web hosting industry is like a jungle of business area, the best hosting company with good management, promotions, and ideas will survive.</p>
<p style="text-align: justify;">Then how can you find a responsible and established web hosting company from reviews? The answer is very easy, as i said before you can see the content provider by web hosting reviews site, is it only a set of unclear texts or is it with some proof? Moreover, do not just trust a hosting review site like you trust your mom. If you have decided your choice, then test it for one to three months to make sure that your choice is not a come and go hosting company. Not just a performance, support is also very important, so they are like two sides of coins, cannot be separated.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversreview.net/web-hosting-reviews-today/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bass Host Unmanaged VPS Hosting Review</title>
		<link>http://serversreview.net/bass-host-unmanaged-vps-hosting-review</link>
		<comments>http://serversreview.net/bass-host-unmanaged-vps-hosting-review#comments</comments>
		<pubDate>Fri, 03 Feb 2012 03:59:03 +0000</pubDate>
		<dc:creator>2298</dc:creator>
				<category><![CDATA[VIRTUAL PRIVATE SERVER]]></category>
		<category><![CDATA[1 ghz vps review and speed]]></category>
		<category><![CDATA[9$ unmanaged vps]]></category>
		<category><![CDATA[bass host]]></category>
		<category><![CDATA[basshost]]></category>
		<category><![CDATA[basshost experiences]]></category>
		<category><![CDATA[basshost port speed]]></category>
		<category><![CDATA[basshost review]]></category>
		<category><![CDATA[basshost server]]></category>
		<category><![CDATA[basshost vps review]]></category>
		<category><![CDATA[best vps]]></category>
		<category><![CDATA[cache:qmhqwwcwi9qj:serversreview.net/nginx-auto-installer-php-mysql nginx auto installer]]></category>
		<category><![CDATA[deutschland unmanaged vps]]></category>
		<category><![CDATA[dhrystone 2 using register variables]]></category>
		<category><![CDATA[downlode]]></category>
		<category><![CDATA[fdcservers review]]></category>
		<category><![CDATA[independent review vps hosting]]></category>
		<category><![CDATA[kakao]]></category>
		<category><![CDATA[lifespeed]]></category>
		<category><![CDATA[q9550 bogomips]]></category>
		<category><![CDATA[server review samples]]></category>
		<category><![CDATA[serversreview.net]]></category>
		<category><![CDATA[unmanaged vps germany]]></category>
		<category><![CDATA[unmanaged vps review]]></category>
		<category><![CDATA[unmanaged vps reviews]]></category>
		<category><![CDATA[unmanaged vps with 8 cpu]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[vps basshost reviews]]></category>
		<category><![CDATA[vps hosting]]></category>
		<category><![CDATA[vps hosting benchmark]]></category>
		<category><![CDATA[vps hosting review]]></category>
		<category><![CDATA[vps hosting unmanaged]]></category>
		<category><![CDATA[vps unmanaged]]></category>

		<guid isPermaLink="false">http://serversreview.net/?p=1815</guid>
		<description><![CDATA[Website: http://basshost.com Whois Spec and Features System Information Download and Upload From International Location Location: US – Port Speed: 1Gbit – Method: WGET &#38; cURL Location: DE – Port Speed:...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><strong>Website: <a href="http://basshost.com" rel="nofollow">http://basshost.com</a></strong></p>
<p style="text-align: justify;"><strong>Whois</strong><br />
<a href="http://serversreview.net/wp-content/uploads/2012/02/whois.jpg"><img class="alignnone size-medium wp-image-1818" title="Basshost Whois" src="http://serversreview.net/wp-content/uploads/2012/02/whois-300x141.jpg" alt="" width="300" height="141" /></a></p>
<p style="text-align: justify;"><strong>Spec and Features</strong><br />
<a href="http://serversreview.net/wp-content/uploads/2012/02/specnfeatures.jpg"><img class="alignnone size-medium wp-image-1819" title="Basshost Spec and Features" src="http://serversreview.net/wp-content/uploads/2012/02/specnfeatures-300x233.jpg" alt="" width="300" height="233" /></a></p>
<p style="text-align: justify;"><strong>System Information</strong><br />
<a href="http://serversreview.net/wp-content/uploads/2012/02/sysfo.jpg"><img class="alignnone size-medium wp-image-1820" title="Basshost System Information" src="http://serversreview.net/wp-content/uploads/2012/02/sysfo-274x300.jpg" alt="" width="274" height="300" /></a></p>
<p><span id="more-1815"></span></p>
<p style="text-align: justify;"><strong>Download and Upload From International Location</strong><br />
Location: US – Port Speed: 1Gbit – Method: WGET &amp; cURL<br />
<a href="http://serversreview.net/wp-content/uploads/2012/02/IX-IX-US.jpg"><img class="alignnone size-medium wp-image-1821" title="IX-IX (US)" src="http://serversreview.net/wp-content/uploads/2012/02/IX-IX-US-300x150.jpg" alt="" width="300" height="150" /></a></p>
<p style="text-align: justify;">Location: DE – Port Speed: 1Gbit – Method: WGET &amp; cURL<br />
<a href="http://serversreview.net/wp-content/uploads/2012/02/IX-IX-DE.jpg"><img class="alignnone size-medium wp-image-1822" title="IX-IX (DE)" src="http://serversreview.net/wp-content/uploads/2012/02/IX-IX-DE-300x148.jpg" alt="" width="300" height="148" /></a></p>
<p style="text-align: justify;"><strong>Disk I/O Test</strong><br />
<a href="http://serversreview.net/wp-content/uploads/2012/02/Disk-I-O-test.jpg"><img class="alignnone size-medium wp-image-1823" title="Basshost Disk I/O test" src="http://serversreview.net/wp-content/uploads/2012/02/Disk-I-O-test-300x151.jpg" alt="" width="300" height="151" /></a></p>
<p style="text-align: justify;"><strong>Benchmark Test</strong> (I/O test disabled)</p>
<pre class="brush:bash">1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x Execl Throughput  1 2 3

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

1 x Shell Scripts (16 concurrent)  1 2 3

2 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

2 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

2 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

2 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

2 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

2 x Process Creation  1 2 3

2 x Execl Throughput  1 2 3

2 x Shell Scripts (1 concurrent)  1 2 3

2 x Shell Scripts (8 concurrent)  1 2 3

2 x Shell Scripts (16 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: server.xxx.xxx: GNU/Linux
   OS: GNU/Linux -- 2.6.18-274.xxx -- #1 SMP Mon Oct 24 20:49:2
4 MSD 2011
   Machine: i686 (i386)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz (5665.5 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT,
SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz (5664.5 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT,
SYSCALL/SYSRET, Intel virtualization
   05:36:41 up 49 min,  1 user,  load average: 0.42, 0.23, 0.09; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Fri Feb 03 2012 05:36:41 - 06:02:28
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       11861780.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2604.8 MWIPS (10.0 s, 7 samples)
Execl Throughput                               4111.3 lps   (29.8 s, 2 samples)
Pipe Throughput                              823349.9 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 263677.5 lps   (10.0 s, 7 samples)
Process Creation                              12901.8 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3335.7 lpm   (60.3 s, 2 samples)
Shell Scripts (16 concurrent)                   276.8 lpm   (60.2 s, 2 samples)
Shell Scripts (8 concurrent)                    525.9 lpm   (60.3 s, 2 samples)
System Call Overhead                         726400.8 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   11861780.8   1016.4
Double-Precision Whetstone                       55.0       2604.8    473.6
Execl Throughput                                 43.0       4111.3    956.1
Pipe Throughput                               12440.0     823349.9    661.9
Pipe-based Context Switching                   4000.0     263677.5    659.2
Process Creation                                126.0      12901.8   1024.0
Shell Scripts (1 concurrent)                     42.4       3335.7    786.7
Shell Scripts (16 concurrent)                     ---        276.8      ---
Shell Scripts (8 concurrent)                      6.0        525.9    876.5
System Call Overhead                          15000.0     726400.8    484.3
                                                                   ========
System Benchmarks Index Score (Partial Only)                          742.6

------------------------------------------------------------------------
Benchmark Run: Fri Feb 03 2012 06:02:28 - 06:29:20
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       11921027.5 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     5183.8 MWIPS (10.1 s, 7 samples)
Execl Throughput                               4289.9 lps   (29.9 s, 2 samples)
Pipe Throughput                              823052.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 281592.4 lps   (10.0 s, 7 samples)
Process Creation                              13055.4 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   4285.4 lpm   (60.0 s, 2 samples)
Shell Scripts (16 concurrent)                   299.4 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                    573.8 lpm   (60.3 s, 2 samples)
System Call Overhead                         727678.4 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   11921027.5   1021.5
Double-Precision Whetstone                       55.0       5183.8    942.5
Execl Throughput                                 43.0       4289.9    997.6
Pipe Throughput                               12440.0     823052.4    661.6
Pipe-based Context Switching                   4000.0     281592.4    704.0
Process Creation                                126.0      13055.4   1036.1
Shell Scripts (1 concurrent)                     42.4       4285.4   1010.7
Shell Scripts (16 concurrent)                     ---        299.4      ---
Shell Scripts (8 concurrent)                      6.0        573.8    956.4
System Call Overhead                          15000.0     727678.4    485.1
                                                                   ========
System Benchmarks Index Score (Partial Only)                          844.0</pre>
<p style="text-align: justify;"><strong>Summary</strong><br />
Let&#8217;s review this unmanaged vps hosting provide, Bass Host, if you take a look at the logo on their page, it is a bass (large mouth) fish showed within their logo. I don&#8217;t know maybe the founder of basshost&#8217;s hobby is fishing bass fish or something like that, but certainly it has nothing to do with the web hosting thing, lol. Allright, look at the whois picture of Bass Host, they are using server(s) from FDC Servers, i heard so much bad review about it but that&#8217;s just another people&#8217;s review, don&#8217;t trust. Okay next, for five bucks you got 384MB memory, 25GB storage, and 250GB data transfer @ i don&#8217;t have any idea how much port speed they are using, because sometimes they are fast and some other time they are slow, but i got a good speed when i tested from two of my servers located in United States and Deutschland. For the disk I/O test we cannot rely on this unmanaged (or we could probably say budget) vps, 50MB/s on average and around 800 for benchmark score (two Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz). I guess that is for my personal review, five bucks is still worthed for this VPS, 8 points from 10 points for this provider.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversreview.net/bass-host-unmanaged-vps-hosting-review/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>NginX: Load Balancing, Failover, and Geo Location (Part 3)</title>
		<link>http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-3</link>
		<comments>http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-3#comments</comments>
		<pubDate>Tue, 24 Jan 2012 07:16:39 +0000</pubDate>
		<dc:creator>2298</dc:creator>
				<category><![CDATA[HTTP MAID NOTE]]></category>
		<category><![CDATA[/etc/init.d/mysql start]]></category>
		<category><![CDATA[/usr/local/mysql/bin/]]></category>
		<category><![CDATA[backend server]]></category>
		<category><![CDATA[bas will not load after database failover]]></category>
		<category><![CDATA[best load balancer]]></category>
		<category><![CDATA[cache:10ag0wxqpzsj:serversreview.net/nginx-load-balancing-failover-and-geo-location-part-3 nginx failover]]></category>
		<category><![CDATA[centos 5]]></category>
		<category><![CDATA[centos 6 nginx loadbalancer failover]]></category>
		<category><![CDATA[cheap failover with geolocation]]></category>
		<category><![CDATA[database load balancing mysql nginx]]></category>
		<category><![CDATA[ec2 load balance geolocation]]></category>
		<category><![CDATA[enabling geo ip support in nginx]]></category>
		<category><![CDATA[etc/init.d/mysql]]></category>
		<category><![CDATA[failover geo-balancing]]></category>
		<category><![CDATA[failover nginx]]></category>
		<category><![CDATA[failover nginx load-balancing]]></category>
		<category><![CDATA[failover ngnix]]></category>
		<category><![CDATA[failover with nginx]]></category>
		<category><![CDATA[geo balancing nginx]]></category>
		<category><![CDATA[geo failover]]></category>
		<category><![CDATA[geo location mysql]]></category>
		<category><![CDATA[geo location nginx]]></category>
		<category><![CDATA[geo nginx]]></category>
		<category><![CDATA[geo nginx nginx]]></category>
		<category><![CDATA[geoip based error docs nginx]]></category>
		<category><![CDATA[geoip load balancing nginx]]></category>
		<category><![CDATA[geoip nginx locator]]></category>
		<category><![CDATA[geoip with failover]]></category>
		<category><![CDATA[how to download geoipcountrycsv.zip]]></category>
		<category><![CDATA[how to load balance / failover 2 vps 2012]]></category>
		<category><![CDATA[how to load balance between mysql 5.5 slaves]]></category>
		<category><![CDATA[http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-2]]></category>
		<category><![CDATA[http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-3]]></category>
		<category><![CDATA[init.d]]></category>
		<category><![CDATA[installing mysql 5.5.20 ubuntu ec2]]></category>
		<category><![CDATA[ip-based geolocation nginx]]></category>
		<category><![CDATA[keep nginx slaves sync]]></category>
		<category><![CDATA[load balance by geolocation]]></category>
		<category><![CDATA[load balance nginx review]]></category>
		<category><![CDATA[load balancer nginx]]></category>
		<category><![CDATA[load balancer review]]></category>
		<category><![CDATA[load balancer reviews]]></category>
		<category><![CDATA[load balancer reviews 2012]]></category>
		<category><![CDATA[load balancing]]></category>
		<category><![CDATA[load balancing 2 nginx frontend]]></category>
		<category><![CDATA[load balancing mail geo]]></category>
		<category><![CDATA[load balancing nginx]]></category>
		<category><![CDATA[load balncing vps dengan nginx]]></category>
		<category><![CDATA[loadbalance vps nginx]]></category>
		<category><![CDATA[loadbalancing maxmind]]></category>
		<category><![CDATA[location based load balancing nginx]]></category>
		<category><![CDATA[maxmind database nginx]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql 5.5.20 install libaio]]></category>
		<category><![CDATA[mysql load balancer with nginx]]></category>
		<category><![CDATA[mysql load balancing]]></category>
		<category><![CDATA[mysql master slave nginx]]></category>
		<category><![CDATA[mysql-5.5.20-linux2.6-i686.tar.gz installation]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[nginx 1.0.11]]></category>
		<category><![CDATA[nginx and mysql replication]]></category>
		<category><![CDATA[nginx centos]]></category>
		<category><![CDATA[nginx database sql]]></category>
		<category><![CDATA[nginx different locations based on geo]]></category>
		<category><![CDATA[nginx dynamic upstream]]></category>
		<category><![CDATA[nginx failover]]></category>
		<category><![CDATA[nginx failover load balancing]]></category>
		<category><![CDATA[nginx failover load blancing]]></category>
		<category><![CDATA[nginx failover mail]]></category>
		<category><![CDATA[nginx for load balancing]]></category>
		<category><![CDATA[nginx for mysql load balancing]]></category>
		<category><![CDATA[nginx geo]]></category>
		<category><![CDATA[nginx geo $geo]]></category>
		<category><![CDATA[nginx geo balancing]]></category>
		<category><![CDATA[nginx geo based location]]></category>
		<category><![CDATA[nginx geo behind load balancer]]></category>
		<category><![CDATA[nginx geo database]]></category>
		<category><![CDATA[nginx geo example]]></category>
		<category><![CDATA[nginx geo file dynamic location]]></category>
		<category><![CDATA[nginx geo ip]]></category>
		<category><![CDATA[nginx geo ip part i]]></category>
		<category><![CDATA[nginx geo load balancer]]></category>
		<category><![CDATA[nginx geo location]]></category>
		<category><![CDATA[nginx geobalancing]]></category>
		<category><![CDATA[nginx geoip]]></category>
		<category><![CDATA[nginx geoip 2 backends]]></category>
		<category><![CDATA[nginx geoip how to]]></category>
		<category><![CDATA[nginx geoip load balance]]></category>
		<category><![CDATA[nginx geoip seeing load-balancer ip]]></category>
		<category><![CDATA[nginx geoipcountrycsv.zip]]></category>
		<category><![CDATA[nginx imap two backends]]></category>
		<category><![CDATA[nginx install geoip]]></category>
		<category><![CDATA[nginx libaio]]></category>
		<category><![CDATA[nginx load balance based on ip]]></category>
		<category><![CDATA[nginx load balanced]]></category>
		<category><![CDATA[nginx load balancer]]></category>
		<category><![CDATA[nginx load balancer 2 servers]]></category>
		<category><![CDATA[nginx load balancer conf]]></category>
		<category><![CDATA[nginx load balancer failover]]></category>
		<category><![CDATA[nginx load balancer in different location servers]]></category>
		<category><![CDATA[nginx load balancer konf]]></category>
		<category><![CDATA[nginx load balancer master backup]]></category>
		<category><![CDATA[nginx load balancer part ii]]></category>
		<category><![CDATA[nginx load balancer vps]]></category>
		<category><![CDATA[nginx load balancing]]></category>
		<category><![CDATA[nginx load balancing database]]></category>
		<category><![CDATA[nginx load balancing determine available]]></category>
		<category><![CDATA[nginx load balancing dynamicy add new server]]></category>
		<category><![CDATA[nginx load balancing example]]></category>
		<category><![CDATA[nginx load balancing failover]]></category>
		<category><![CDATA[nginx load balancing geo]]></category>
		<category><![CDATA[nginx load balancing geoip]]></category>
		<category><![CDATA[nginx load balancing large downloads]]></category>
		<category><![CDATA[nginx load balancing location example]]></category>
		<category><![CDATA[nginx load balancing multiple]]></category>
		<category><![CDATA[nginx load balancing mysql]]></category>
		<category><![CDATA[nginx load balancing primary backup]]></category>
		<category><![CDATA[nginx load balancing tutorial]]></category>
		<category><![CDATA[nginx load balancing two web servers]]></category>
		<category><![CDATA[nginx load balancing types]]></category>
		<category><![CDATA[nginx load balncing]]></category>
		<category><![CDATA[nginx loadbalancer failover]]></category>
		<category><![CDATA[nginx maxmind geoip]]></category>
		<category><![CDATA[nginx mysql backend]]></category>
		<category><![CDATA[nginx mysql failover]]></category>
		<category><![CDATA[nginx mysql replication load balancer]]></category>
		<category><![CDATA[nginx prevent geoip server]]></category>
		<category><![CDATA[nginx review]]></category>
		<category><![CDATA[nginx selecting server based on visitor ip]]></category>
		<category><![CDATA[nginx slave]]></category>
		<category><![CDATA[nginx upstream based on server load]]></category>
		<category><![CDATA[nginx upstream different weight]]></category>
		<category><![CDATA[nginx upstream failover]]></category>
		<category><![CDATA[nginx worker_connections examples and preferable]]></category>
		<category><![CDATA[ngnix faillover]]></category>
		<category><![CDATA[open source load balancer with geolocation]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[save your geolocation into a mysql]]></category>
		<category><![CDATA[serversreview.net]]></category>
		<category><![CDATA[simple load balancer nginx]]></category>
		<category><![CDATA[use nginx as load balancer]]></category>
		<category><![CDATA[visitors to nginx proxy backend wordpress server]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[worker_processes 1;]]></category>
		<category><![CDATA[xen load balancing rest]]></category>

		<guid isPermaLink="false">http://serversreview.net/?p=1784</guid>
		<description><![CDATA[Okay we continue to the third part of this post title, on the previous part we use NginX as load balancer and failover, now we use NginX with Geo IP...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Okay we continue to the third part of this post title, on the previous part we use NginX as load balancer and failover, now we use NginX with Geo IP based to determine the best backend for the visitors to put, here is the illustration.<br />
<a href="http://serversreview.net/wp-content/uploads/2012/01/load-balancer-with-geo-locater.jpg"><img class="alignnone  wp-image-1785" title="NginX with GeoIP Locater" src="http://serversreview.net/wp-content/uploads/2012/01/load-balancer-with-geo-locater.jpg" alt="" width="627" height="235" /></a><br />
For instance, we have two backend servers located in UK and DE, then we put the visitors from United Kingdom to the UK backend, visitors from Germany to DE backend, and the rest will be divided into those two backend servers, let&#8217;s deal with it.</p>
<p style="text-align: justify;">I assume you have installed NginX in your frontend and two backend servers, you can check the <a href="http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-2">previous post</a> for NginX installation. This GeoIP based location needs GeoIP database for the frontend server to determine where to put the visitor, so first we download and extract Lite version of <a href="http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip">GeoIP</a> database from <a title="Maxmind" href="http://maxmind.com">Maxmind</a> with geo2nginx.pl script from <a href="http://markmaunder.com">http://markmaunder.com</a>.</p>
<pre class="brush:bash">wget http://serversreview.net/pkgs/txt/geo2nginx.pl
chmod 755 geo2nginx.pl
wget http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip
unzip GeoIPCountryCSV.zip
./geo2nginx.pl &lt; GeoIPCountryWhois.csv &gt; geo.conf
mv geo.conf /etc/nginx/</pre>
<p style="text-align: justify;">GeoIP database has been added to NginX directory, now to the configuration, here is the example of main configuration</p>
<p><span id="more-1784"></span></p>
<pre class="brush:bash">user www www;
worker_processes  1;

events {
	worker_connections  1024;
}

http {
	include	mime.types;
	default_type	application/octet-stream;
	sendfile	on;
	keepalive_timeout	65;
	gzip	on;

	geo $geo {
		default default;
		include geo.conf;
	}
    upstream default.backend {
    	server 178.22.70.2:8080 weight=2;
		server 206.253.165.98:8080;
    }
    upstream UK.backend {
    	server 178.22.70.2:8080;
    }
    upstream DE.backend {
    	server 206.253.165.98:8080;
    }

	server {
		listen 80;
		server_name serversreview.net.net;
		location / {
			proxy_pass http://$geo.backend;
		}
	}
}</pre>
<p style="text-align: justify;">Let&#8217;s just move to the http section, as you can see geo.conf is declared with $geo as variable for the upstream, so</p>
<blockquote><p>e.g. 1.1.1.1 = UK ; 2.2.2.2 = CN</p>
<ul>
<li>if visitor comes from 1.1.1.1, then $geo = UK, so the visitor will be sent to UK.backend upstream</li>
<li>if visitor comes from 2.2.2.2, then $geo = default, so the visitor will be sent to either the first or the second backend</li>
</ul>
</blockquote>
<p style="text-align: justify;">Backend setting is as the same as usual, you can check the previous post for backend setting. Simple and easy right? Next thing you do is trial and error to meet your best configuration.</p>
<p style="text-align: justify;">Take a look once again at the illustration, besides NginX GeoIP based, there is also two different location of databases, here i want to talk about MySQL (the most widely used database) replication. Nowadays, websites are not only using static files, they are using dynamic script with database to save the resource of space, and most of them are using MySQL Community as a free and opensource database. So it is also good to have MySQL live backup for the prevention of -for instance- MySQL failure or another MySQL problem that could happened, more interesting, right? Told you so :p</p>
<p style="text-align: justify;">I will use two CentOS 5 32bit VPS for MySQL master and slave, first we install MySQL in both master and slave server.</p>
<pre class="brush:bash">yum install libaio libaio-devel
wget http://pkgs.serversreview.net/files/mysql-5.5.20-linux2.6-i686.tar.gz
tar -zxvf mysql-5.5.20-linux2.6-i686.tar.gz
mv mysql-5.5.20-linux2.6-i686 /usr/local/mysql
groupadd mysql
useradd -r -g mysql mysql
cd /usr/local/mysql
chown -R mysql .
chgrp -R mysql .
/usr/local/mysql/scripts/mysql_install_db --user=mysql –-ldata=/usr/local/mysql
chown -R root .
chown -R mysql data</pre>
<p style="text-align: justify;">choose one of MySQL configuration that meet your needs</p>
<blockquote><p>/usr/local/mysql/support-files/my-huge.cnf<br />
/usr/local/mysql/support-files/my-innodb-heavy-4G.cnf<br />
/usr/local/mysql/support-files/my-large.cnf<br />
/usr/local/mysql/support-files/my-medium.cnf<br />
/usr/local/mysql/support-files/my-small.cnf</p></blockquote>
<p style="text-align: justify;">I will use my-small.cnf for example</p>
<pre class="brush:bash">mv /usr/local/mysql/support-files/my-small.cnf /etc/my.cnf
cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysql
chmod +x /etc/init.d/mysql
echo "/etc/init.d/mysql start" &gt;&gt; /etc/rc.d/rc.local
/etc/init.d/mysql start</pre>
<p style="text-align: justify;">Okay, MySQL has been installed on the first and second VPS, now we will configure the first and the second server to be master and slave.</p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>MASTER</strong></span><br />
Login to your mysql root and use the following command to add and grant user for slave.</p>
<pre class="brush:bash">/usr/local/mysql/bin/mysql -uroot -pyourmysqlrootpassword
mysql&gt; GRANT REPLICATION SLAVE ON *.* TO 'slave_user'@'%' IDENTIFIED BY 'slave_password';
mysql&gt; FLUSH PRIVILEGES;
mysql&gt; exit</pre>
<p style="text-align: justify;">Where &#8220;slave_user&#8221; is your preferred user for slave user and &#8220;slave_password&#8221; is your preferred password for slave user password.</p>
<p style="text-align: justify;">And then edit your master&#8217;s my.cnf, make sure &#8220;server-id&#8221; value in my.cnf is set to &#8220;1&#8243;</p>
<pre class="brush:bash">nano /etc/my.cnf</pre>
<blockquote><p>[mysqld]<br />
log-bin=mysql-bin<br />
server-id=1</p></blockquote>
<p style="text-align: justify;">And then restart MySQL</p>
<pre class="brush:bash">/etc/init.d/mysql restart</pre>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>SLAVE</strong></span><br />
Edit your slave&#8217;s my.cnf &#8220;server-id&#8221; value to &#8220;2&#8243;</p>
<pre class="brush:bash">nano /etc/my.cnf</pre>
<blockquote><p>server-id=2</p></blockquote>
<p style="text-align: justify;">Restart MySQL</p>
<pre class="brush:bash">/etc/init.d/mysql restart</pre>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>MASTER</strong></span><br />
We will backup target database for replication in master, but before that we need to close all open tables and lock it with command</p>
<pre class="brush:bash">/usr/local/mysql/bin/mysql -uroot -p
mysql&gt; FLUSH TABLES WITH READ LOCK;
mysql&gt; exit</pre>
<p style="text-align: justify;">and then backup the target database</p>
<pre class="brush:bash">/usr/local/mysql/bin/mysqldump selected_database -uroot -pmysqlrootpassword &gt; database.sql;
gzip database.sql</pre>
<p style="text-align: justify;">After that, move that backup database to your slave server, you can use curl, scp, or wget from slave server.</p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>SLAVE</strong></span><br />
Create new MySQL database</p>
<pre class="brush:bash">/usr/local/mysql/bin/mysql -uroot -p
mysql&gt; CREATE DATABASE `my_database`;
mysql&gt; FLUSH PRIVILEGES;
mysql&gt; exit</pre>
<p style="text-align: justify;">extract MySQL database you have downloaded from master server, and then import to your newly created database in</p>
<pre class="brush:bash">gunzip database.sql.gz
/usr/local/mysql/bin/mysql -uroot -pmysqlrootpassword my_database  &lt; database.sql</pre>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>MASTER</strong></span><br />
Login to your MySQL root and then type command show master status</p>
<pre class="brush:bash">/usr/local/mysql/bin/mysql -uroot -p
mysql&gt; SHOW MASTER STATUS;
	+------------------+----------+--------------+------------------+
	| File             | Position | Binlog_Do_DB | Binlog_Ignore_DB |
	+------------------+----------+--------------+------------------+
	| mysql-bin.000002 |      107 | bijionta     |                  |
	+------------------+----------+--------------+------------------+</pre>
<p style="text-align: justify;">Keep that on your screen, and then move to your slave server.</p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>SLAVE</strong></span></p>
<pre class="brush:bash">/usr/local/mysql/bin/mysql -uroot -p
mysql&gt; slave stop;
mysql&gt; CHANGE MASTER TO MASTER_HOST='master_ip_address',
       MASTER_USER='replication_user_name',
       MASTER_PASSWORD='replication_user_password',
       MASTER_LOG_FILE='mysql-bin.000002',
       MASTER_LOG_POS=107;
mysql&gt; slave start;</pre>
<pre class="brush:bash"></pre>
<p style="text-align: justify;">you can see more directives for Change Master To at: <a title="MySQL Change Master To" href="http://dev.mysql.com/doc/refman/5.0/en/change-master-to.html">http://dev.mysql.com/doc/refman/5.0/en/change-master-to.html</a> After that, back to master server. <span style="text-decoration: underline;"><strong>MASTER</strong></span> Unlock all tables that you close and lock when you backup your target database</p>
<pre class="brush:bash">/usr/local/mysql/bin/mysql -uroot -p
mysql&gt; unlock tables;</pre>
<p style="text-align: justify;">That&#8217;s it for MySQL replication, anyway if you are using MyISAM engine, then it is recommended for you to add the following settings to your my.cnf</p>
<blockquote><p>innodb_flush_log_at_trx_commit=1<br />
sync_binlog=1</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-3/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>NginX: Load Balancing, Failover, and Geo Location (Part 2)</title>
		<link>http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-2</link>
		<comments>http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-2#comments</comments>
		<pubDate>Sun, 22 Jan 2012 07:34:54 +0000</pubDate>
		<dc:creator>2298</dc:creator>
				<category><![CDATA[HTTP MAID NOTE]]></category>
		<category><![CDATA[allow your_frontend_server_ip_address]]></category>
		<category><![CDATA[backend frontend access]]></category>
		<category><![CDATA[backend server]]></category>
		<category><![CDATA[centos 5]]></category>
		<category><![CDATA[checks load balancing nginx]]></category>
		<category><![CDATA[configure geo location redirection with failover]]></category>
		<category><![CDATA[configure geolocation proxy server -anonymous]]></category>
		<category><![CDATA[crossroads load balancer vs nginx]]></category>
		<category><![CDATA[default_type nginx]]></category>
		<category><![CDATA[dns failover]]></category>
		<category><![CDATA[failover nginx]]></category>
		<category><![CDATA[failover server]]></category>
		<category><![CDATA[frontend backend]]></category>
		<category><![CDATA[geo balancing nginx]]></category>
		<category><![CDATA[geo load balancing nginx]]></category>
		<category><![CDATA[geo location balancing]]></category>
		<category><![CDATA[geo location nginx module]]></category>
		<category><![CDATA[geo location nginx proxy pass]]></category>
		<category><![CDATA[geo nginx]]></category>
		<category><![CDATA[geo var nginx]]></category>
		<category><![CDATA[geolocation failover and load balancing webserver]]></category>
		<category><![CDATA[hosting failover]]></category>
		<category><![CDATA[how to add more web server path nginx]]></category>
		<category><![CDATA[how to check load balancing in nginx]]></category>
		<category><![CDATA[how to config nginx load balancing]]></category>
		<category><![CDATA[how to configure two email servers failover in different geographical location]]></category>
		<category><![CDATA[how to setup geolocation failover for web server]]></category>
		<category><![CDATA[how to test nginx load balancing]]></category>
		<category><![CDATA[http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-2]]></category>
		<category><![CDATA[httpcoremodule how to edit nginx]]></category>
		<category><![CDATA[index.php]]></category>
		<category><![CDATA[init.d]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[load balance 2 vps nginx]]></category>
		<category><![CDATA[load balancing]]></category>
		<category><![CDATA[load balancing 2 nginx server]]></category>
		<category><![CDATA[load balancing geographic based nginx]]></category>
		<category><![CDATA[load balancing mail geo]]></category>
		<category><![CDATA[load balancing nginx]]></category>
		<category><![CDATA[load balancing nginx ip user]]></category>
		<category><![CDATA[load balancing nginx proxy_set_header host $http_host]]></category>
		<category><![CDATA[load balancing server]]></category>
		<category><![CDATA[location nginx]]></category>
		<category><![CDATA[lock connection balancing server nginx]]></category>
		<category><![CDATA[mail server illustration]]></category>
		<category><![CDATA[maximo load balancing port error]]></category>
		<category><![CDATA[nginex load balancing]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[nginx and proxy failover]]></category>
		<category><![CDATA[nginx as backend cinfiguration events]]></category>
		<category><![CDATA[nginx as proxy failover]]></category>
		<category><![CDATA[nginx backend fail over]]></category>
		<category><![CDATA[nginx backend restart]]></category>
		<category><![CDATA[nginx balancing]]></category>
		<category><![CDATA[nginx di folder home]]></category>
		<category><![CDATA[nginx fail over]]></category>
		<category><![CDATA[nginx failover]]></category>
		<category><![CDATA[nginx failover 30 seconds]]></category>
		<category><![CDATA[nginx failover load balancing]]></category>
		<category><![CDATA[nginx failover mail]]></category>
		<category><![CDATA[nginx failover proxy how to]]></category>
		<category><![CDATA[nginx failover redirect]]></category>
		<category><![CDATA[nginx failover server howto]]></category>
		<category><![CDATA[nginx failover site]]></category>
		<category><![CDATA[nginx front end and backend server]]></category>
		<category><![CDATA[nginx frontend]]></category>
		<category><![CDATA[nginx frontend iis]]></category>
		<category><![CDATA[nginx geo]]></category>
		<category><![CDATA[nginx geo ipv6]]></category>
		<category><![CDATA[nginx geo location proxy]]></category>
		<category><![CDATA[nginx geo module]]></category>
		<category><![CDATA[nginx load b]]></category>
		<category><![CDATA[nginx load balance module]]></category>
		<category><![CDATA[nginx load balanced add server id in headers]]></category>
		<category><![CDATA[nginx load balancer]]></category>
		<category><![CDATA[nginx load balancer conf]]></category>
		<category><![CDATA[nginx load balancer failover]]></category>
		<category><![CDATA[nginx load balancer http header]]></category>
		<category><![CDATA[nginx load balancer log destination ip]]></category>
		<category><![CDATA[nginx load balancer part ii]]></category>
		<category><![CDATA[nginx load balancer performance virtual server]]></category>
		<category><![CDATA[nginx load balancer virtual host]]></category>
		<category><![CDATA[nginx load balancing]]></category>
		<category><![CDATA[nginx load balancing failover]]></category>
		<category><![CDATA[nginx load balancing geolocation redirect]]></category>
		<category><![CDATA[nginx load balancing logging]]></category>
		<category><![CDATA[nginx load balancing over other locations]]></category>
		<category><![CDATA[nginx load balancing with 2 servers]]></category>
		<category><![CDATA[nginx load failover]]></category>
		<category><![CDATA[nginx loadbalancer check backend http string]]></category>
		<category><![CDATA[nginx location]]></category>
		<category><![CDATA[nginx location another server]]></category>
		<category><![CDATA[nginx logs backend]]></category>
		<category><![CDATA[nginx monitor loadbalancing]]></category>
		<category><![CDATA[nginx proxy failover]]></category>
		<category><![CDATA[nginx proxy nginx backend -apache]]></category>
		<category><![CDATA[nginx proxy pass http 1.1]]></category>
		<category><![CDATA[nginx proxy upstream log]]></category>
		<category><![CDATA[nginx proxy_pass failover]]></category>
		<category><![CDATA[nginx restart backend]]></category>
		<category><![CDATA[nginx reviews]]></category>
		<category><![CDATA[nginx upstream failover]]></category>
		<category><![CDATA[nginx upstream frontend for each domain]]></category>
		<category><![CDATA[nginx upstream load balancing]]></category>
		<category><![CDATA[nginx.conf]]></category>
		<category><![CDATA[nginx.conf checking upstream]]></category>
		<category><![CDATA[nginx/1.1.13]]></category>
		<category><![CDATA[ngnix]]></category>
		<category><![CDATA[performance nginx with http_mp4_module]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[proxy_set_header  host  nameserver]]></category>
		<category><![CDATA[rhel ip-failover nginx]]></category>
		<category><![CDATA[rotating backend with nginx restart]]></category>
		<category><![CDATA[script to test nginx load balancer]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[server load balance geolocalization requests]]></category>
		<category><![CDATA[server load balancing]]></category>
		<category><![CDATA[serversreview.net]]></category>
		<category><![CDATA[virtual host load balancing nginx]]></category>
		<category><![CDATA[web server failover geo]]></category>
		<category><![CDATA[with-http_flv_module]]></category>
		<category><![CDATA[wordpress index.php]]></category>
		<category><![CDATA[worker_processes 1;]]></category>
		<category><![CDATA[working nginx proxy redirect to backend servers]]></category>

		<guid isPermaLink="false">http://serversreview.net/?p=1765</guid>
		<description><![CDATA[On the previous post we were talking about simple dns failover using two nameservers / ip addresses, now we will move the conversation to the more exciting one, we will...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">On the previous post we were talking about simple dns failover using two nameservers / ip addresses, now we will move the conversation to the more exciting one, we will use frontend server to control the backend servers, here is the illustration.<br />
<a href="http://serversreview.net/wp-content/uploads/2012/01/load-balancer.jpg"><img class="alignnone size-full wp-image-1773" title="Load Balancer" src="http://serversreview.net/wp-content/uploads/2012/01/load-balancer.jpg" alt="" width="600" height="300" /></a><br />
One frontend server decides whether to put the visitor to the server A or server B, here i am using NginX as frontend and also NginX as backend server.</p>
<blockquote><p>Why don&#8217;t you use another web server as the backend?</p></blockquote>
<p style="text-align: justify;">I like NginX, for me it is easy to understand NginX configuration than another web server. Before we start to configure it, install NginX on the frontend and backend servers. I&#8217;m using CentOS 5 by the way.</p>
<pre class="brush:bash">wget http://pkgs.serversreview.net/files/nginx-1.1.13.tar.gz
tar -zxvf nginx-1.1.13.tar.gz
cd nginx-1.1.13
useradd www
passwd www
./configure --prefix=/usr --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx/nginx.pid --lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/tmp/nginx/client/ --http-proxy-temp-path=/var/tmp/nginx/proxy/ --http-fastcgi-temp-path=/var/tmp/nginx/fcgi/  --user=www --group=www --with-http_ssl_module --with-http_flv_module --with-http_mp4_module --with-http_gzip_static_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_image_filter_module --with-http_geoip_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_stub_status_module --with-http_perl_module --with-mail --with-file-aio --with-mail_ssl_module --with-ipv6
make
make install</pre>
<p style="text-align: justify;">in the configurations above, as usual i am using &#8220;www&#8221; user and group for NginX. Next download NginX init script and make it executable.</p>
<p><span id="more-1765"></span></p>
<pre class="brush:bash">wget -O /etc/rc.d/init.d/nginx http://pkgs.serversreview.net/txt/nginx
chmod +x /etc/init.d/nginx
chkconfig --add nginx
chkconfig nginx on</pre>
<p style="text-align: justify;">Okay, NginX has been installed on the frontend and backend servers, now we configure the frontend server. Here is the very basic working NginX configuration for the frontend server.</p>
<pre class="brush:bash">user www www;
worker_processes  1;

events {
	worker_connections  1024;
}

http {
	include	mime.types;
	default_type	application/octet-stream;
	sendfile	on;
	keepalive_timeout	65;
	gzip	on;

    upstream backend {
    	server backend_ip1:backend_port_other_than_80;
    	server backend_ip2:backend_port_other_than_80;
    }
	server {
		listen 80;
		server_name serversreview.net;
		location / {
			proxy_pass http://backend;
		}
	}

}</pre>
<p style="text-align: justify;">As you can see from the above, the very first configuration is &#8220;www&#8221; user and group for NginX, the second configuration is &#8220;EventsModule&#8221;, that is for how NginX deal with connections, and the configuration you need to take a look is within the &#8220;HttpCoreModule&#8221;, check the &#8220;upstream&#8221; tag. NginX <a href="http://wiki.nginx.org/HttpUpstreamModule">HttpUpstreamModule</a> is used for load balancing across backend servers.</p>
<pre class="brush:bash">upstream backend {
    server backend_ip1:backend_port_other_than_80;
    server backend_ip2:backend_port_other_than_80;
}</pre>
<p style="text-align: justify;">set your backend server ip 1 and 2, also set the port other than 80, for instance 8080. And then you call the backend variable with</p>
<pre class="brush:bash">location / {
	proxy_pass http://backend;
}</pre>
<p style="text-align: justify;">another directive for upstream module is &#8220;weight&#8221;, this can be used if you want to be more specific about weight request of your backend servers, for instance you want the first backend server serves more requests than the second backend server, than you can set</p>
<pre class="brush:bash">server backend_ip1:backend_port_other_than_80 weight=5;
server backend_ip2:backend_port_other_than_80;</pre>
<p style="text-align: justify;">those configuration above means 5:1, five from six request will be sent to the first backend server and another one will be sent to the second backend server.</p>
<p style="text-align: justify;">more directives for failover is &#8220;max_fails&#8221; and &#8220;fail_timeout&#8221;</p>
<pre class="brush:bash">server backend_ip1:backend_port_other_than_80 max_fails=3 fail_timeout=30s;
server backend_ip2:backend_port_other_than_80;</pre>
<p style="text-align: justify;">the request will be sent to the first backend server for 3 tries at 30 seconds timeout before sent to the second backend server.</p>
<p style="text-align: justify;">Okay we have finished the basic settings for the frontend server, now for the backend server, the configuration is as same as the usual NginX virtualhost setting. First we create the folder for domain, public_html, and logs under &#8220;www&#8221; user.</p>
<pre class="brush:bash">mkdir /home/www/serversreview.net/public_html /home/www/serversreview.net/logs</pre>
<p style="text-align: justify;">And this above is the basic setting for the backend server.</p>
<pre class="brush:bash">user www www;
worker_processes  1;

events {
	worker_connections  1024;
}

http {
	include	mime.types;
	default_type	application/octet-stream;
	sendfile	on;
	keepalive_timeout	65;
	gzip	on;

	server {
	  listen 8080;
	  server_name serversreview.net;
	  access_log /home/www/serversreview.net/logs/access.log;
	  error_log /home/www/serversreview.net/logs/error.log;

	  location / {
		root /home/www/serversreview.net/public_html/;
		index index.html index.htm index.php;
	  }
	}
}</pre>
<p style="text-align: justify;">check the server tag inside HttpCoreModule</p>
<ul style="text-align: justify;">
<li>&#8220;listen 8080;&#8221; so i am using port 8080 for backend server, set port 8080 also in the upstream directive at you frontend server.</li>
<li>&#8220;root /home/www/serversreview.net/public_html/;&#8221;, this is the location of my public_html directory, under domain folder and www user.</li>
</ul>
<p style="text-align: justify;">After add or edit nginx.conf, do not forget to restart your NginX</p>
<pre class="brush:bash">/etc/init.d/nginx restart</pre>
<p style="text-align: justify;">Okay your configuration for backend and frontend is finished, now test whether if the configuration works or not, write one html file inside &#8220;/home/www/serversreview.net/public_html&#8221; and try to access it via browser, if your html file appears in your browser then success!</p>
<p style="text-align: justify;">Yeah, yippie, yippie!!!</p>
<p style="text-align: justify;">Wait, there are a few configuration&#8217;s that you can use to optimize your virtualhost setting:</p>
<ul style="text-align: justify;">
<li>First, you may not want if your visitor accessing your site via ip address from the backend server, e.g. your site should be accessed is via domain: http://serversreview.net:80 (frontend), but your visitor can access your site from http://212.121.212.121:8080 (backend). Then you need to add the following directives within your &#8220;location&#8221; tag of your backend server
<pre class="brush:bash">allow your_frontend_server_ip_address;
deny all;</pre>
<p>so if your visitor accessing your site via backend server, then they will meet your 403 error page. That&#8217;s good but i think it is still not very good to have that 403 error page appear from accessing the ip address. How about we redirect 403 to your domain? So if someone accessing your backend ip, it will be redirected to your main site, add the following directive inside your &#8220;server&#8221; tag</p>
<pre class="brush:bash">error_page  403 http://serversreview.net;</pre>
<p>where http://serversreview.net is your frontend / domain.</li>
<li>Second, if you want to add more than one domain, you can just add another virtualhost configuration in the frontend and backend just like the above, but you need to add &#8220;proxy_set_header Host $http_host;&#8221; directive to each of your frontend&#8217;s virtualhost
<pre class="brush:bash">location / {
	proxy_set_header Host $http_host;
	proxy_pass http://backend;
}</pre>
<p>That will make NginX read your request-header &#8220;Host&#8221; (domain, not the ip), if you don&#8217;t, then each request of your domain will be sent to your first virtualhost in your backend server.</li>
</ul>
<p style="text-align: justify;">Is that all? Yeah that&#8217;s all for the second part, in the third part we will go to the more exciting section, later.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NginX: Load Balancing, Failover, and Geo Location (Part 1)</title>
		<link>http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-1</link>
		<comments>http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-1#comments</comments>
		<pubDate>Fri, 20 Jan 2012 04:19:14 +0000</pubDate>
		<dc:creator>2298</dc:creator>
				<category><![CDATA[HTTP MAID NOTE]]></category>
		<category><![CDATA[auto]]></category>
		<category><![CDATA[cache:0ccy528r0xkj:serversreview.net/nginx-load-balancing-failover-and-geo-location-part-1 nginx load balancing failover]]></category>
		<category><![CDATA[centos 5 64bit]]></category>
		<category><![CDATA[dialahost]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dns failover]]></category>
		<category><![CDATA[dns geo location load balance]]></category>
		<category><![CDATA[examples of network failover]]></category>
		<category><![CDATA[failover dns]]></category>
		<category><![CDATA[failover domain]]></category>
		<category><![CDATA[failover nginx]]></category>
		<category><![CDATA[failover nginx load-balancing]]></category>
		<category><![CDATA[geo balancing nginx]]></category>
		<category><![CDATA[geo failover rsync]]></category>
		<category><![CDATA[geo location below balancer]]></category>
		<category><![CDATA[geolocation failover and load balancing web server]]></category>
		<category><![CDATA[geolocation on server behind nginx]]></category>
		<category><![CDATA[geolocation servers performance reliability]]></category>
		<category><![CDATA[how to setup geolocation failover for web server]]></category>
		<category><![CDATA[http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-1]]></category>
		<category><![CDATA[implementing failover with nginx]]></category>
		<category><![CDATA[ip failover]]></category>
		<category><![CDATA[livebackup kvm-img]]></category>
		<category><![CDATA[load balancing]]></category>
		<category><![CDATA[loadbalancer failover 2 nginx]]></category>
		<category><![CDATA[lowendbox load ballancer]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[nginx assign ip]]></category>
		<category><![CDATA[nginx dns failover]]></category>
		<category><![CDATA[nginx dont return server ip address]]></category>
		<category><![CDATA[nginx failover]]></category>
		<category><![CDATA[nginx failover site]]></category>
		<category><![CDATA[nginx failover to static content]]></category>
		<category><![CDATA[nginx geo balancing]]></category>
		<category><![CDATA[nginx geo location]]></category>
		<category><![CDATA[nginx geobalancing]]></category>
		<category><![CDATA[nginx imap fail-over]]></category>
		<category><![CDATA[nginx load balancer failover]]></category>
		<category><![CDATA[nginx load balancing dns]]></category>
		<category><![CDATA[nginx load balancing failover]]></category>
		<category><![CDATA[nginx load balancing geo]]></category>
		<category><![CDATA[nginx load balancing rsync]]></category>
		<category><![CDATA[nginx load balancing same ip]]></category>
		<category><![CDATA[nginx loadbalancer failover]]></category>
		<category><![CDATA[nginx location both server]]></category>
		<category><![CDATA[nginx rsync]]></category>
		<category><![CDATA[round robin dns nginx]]></category>
		<category><![CDATA[rsync and nginx]]></category>
		<category><![CDATA[rsync from site5]]></category>
		<category><![CDATA[rsync static files synchronize]]></category>
		<category><![CDATA[serversreview.net]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[wordpress review geo location]]></category>

		<guid isPermaLink="false">http://serversreview.net/?p=1740</guid>
		<description><![CDATA[Yeah guys, let&#8217;s talk about this post title, really it is interesting, i mean for me this is very interesting :p. If you have a site, and then something happen...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Yeah guys, let&#8217;s talk about this post title, really it is interesting, i mean for me this is very interesting :p. If you have a site, and then something happen to your server&#8217;s network, and unfortunately your site does not have backup or mirror site which is very essential because your site is your income. So the first thing you need to do is this, do not put your site in shared / reseller hosting. Why? Because in shared hosting, your site is not alone, there are so much neighbor in it, and your site could be exploited from those neighbor, for instance bug in script. Another thing is you cannot get root access from shared hosting, your creativity is limited by non-ssh regular user assigned to your account. So take a look at <a href="http://lowendbox.com">LowEndBox</a> and get a vps for your shared hosting substitution.</p>
<p style="text-align: justify;">Nuff said for the appetizer, let&#8217;s get to the main course. The simplest failover method for website is round robin dns, the illustration would be like this:<br />
<a href="http://serversreview.net/wp-content/uploads/2012/01/dns-failover.jpg"><img class="alignnone size-full wp-image-1744" title="DNS Failover" src="http://serversreview.net/wp-content/uploads/2012/01/dns-failover.jpg" alt="" width="600" height="300" /></a><br />
where the server has been assigned with two or more ip addresses, so if end user fail to access the server with the first ip address, it will be routed to the second ip address. To use that settings, you simply</p>
<p><span id="more-1740"></span></p>
<ul style="text-align: justify;">
<li>Install DNS in your server and create nameservers with your ip addresses<br />
<blockquote><p>ns1.domain.com 212.121.212.121<br />
ns2.domain.com 212.121.212.122</p></blockquote>
<p>after that assign the nameservers to your domain in your domain panel.</li>
<li>If you don&#8217;t want to use DNS, you can add your ip addresses directly in your domain panel by creating A Record for each ip, for instance:<br />
<blockquote><p>A Record domain.com 212.121.212.121 100ms<br />
A Record domain.com 212.121.212.122 100ms</p></blockquote>
<p>but not all domain panels support two or more of the same hostname, so you can do research for supported domain panel or using DNS.</li>
</ul>
<p style="text-align: justify;">The illustration below is as same as the failover method above, but this is more reliable because using an additional / separated server for live backup.<br />
<a href="http://serversreview.net/wp-content/uploads/2012/01/clustered-failover.jpg"><img class="alignnone size-full wp-image-1753" title="Clustered Failover" src="http://serversreview.net/wp-content/uploads/2012/01/clustered-failover.jpg" alt="" width="600" height="300" /></a><br />
If the network or assigned ip address in server a is troubled or have an issue, then it will automatically routed to the second server&#8217;s network. The setting for ip addresses is same as the above, add the first server&#8217;s ip address to your domain A Record and same thing for the second server&#8217;s ip address. The files within both server is synchronized one each other with a software like rsync. Here is the way to install and run rsync.</p>
<pre class="brush:bash">wget http://pkgs.serversreview.net/files/rsync-3.0.9.tar.gz
tar -zxvf rsync-3.0.9.tar.gz
./configure
make
make install</pre>
<p style="text-align: justify;">Here&#8217;s one example of using rsync, you want to synchronize <strong>all of your files inside</strong> your public_html directory to the second server, and the public_html directory is located in <strong>/home/www/serversreview.net/public_html/</strong>, so here is the command</p>
<pre class="brush:bash">rsync -avz /home/www/serversreview.net/public_html/ user@second_servers_ip_or_host:/home/www/serversreview.net/public_html</pre>
<p style="text-align: justify;">now take a look at below command</p>
<pre class="brush:bash">rsync -avz /home/www/serversreview.net/public_html user@second_servers_ip_or_host:/home/www/serversreview.net</pre>
<p style="text-align: justify;">the command is almost the same with the first command, but the second command is syncronizing / copying <strong>public_html directory and its content</strong> to the path <strong>/home/www/serversreview.net</strong> of the second server.</p>
<p style="text-align: justify;">I usually use rsync with cron daemon, the command will run either every x minute or every x hour depending on my needs, for more information about commands and manuals you can visit <a href="http://rsync.samba.org/documentation.html">rsync documentation page</a>.</p>
<p style="text-align: justify;">The advantage of using this trick is you do not need to spend large money, especially for the first method, you only need to spend about one or two more dollars to get the second ip address assigned to your server, or double your server cost by adding one more if you want it to be more reliable. Also the setting is not too complicated, just add the nameserver / ip and install rsync. If there&#8217;s advantage, so there will be disadvantage, the dns failover depends on the end user&#8217;s dns, if end user&#8217;s dns is good then the dns shifting from the dead ip to the live ip will not be taking a long time, resolving the dns will be fast and smooth, otherwise if there&#8217;s a problem with end user&#8217;s dns, then the shifting will take more time, especially if you are implementing the second way and your both servers are located in two different areas or datacenters.</p>
<p style="text-align: justify;">So that&#8217;s it for the simple failover (dns and static only files), we will continue later with the more advance failover.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversreview.net/nginx-load-balancing-failover-and-geo-location-part-1/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>AmeriNOC XEN-HVM VPS Review</title>
		<link>http://serversreview.net/amerinoc-xen-hvm-vps-review</link>
		<comments>http://serversreview.net/amerinoc-xen-hvm-vps-review#comments</comments>
		<pubDate>Wed, 18 Jan 2012 05:38:09 +0000</pubDate>
		<dc:creator>2298</dc:creator>
				<category><![CDATA[VIRTUAL PRIVATE SERVER]]></category>
		<category><![CDATA[245960#245960]]></category>
		<category><![CDATA[amerinoc]]></category>
		<category><![CDATA[amerinoc disk io]]></category>
		<category><![CDATA[amerinoc download speed]]></category>
		<category><![CDATA[amerinoc i/o]]></category>
		<category><![CDATA[amerinoc location]]></category>
		<category><![CDATA[amerinoc promo]]></category>
		<category><![CDATA[amerinoc review]]></category>
		<category><![CDATA[amerinoc vps]]></category>
		<category><![CDATA[amerinoc vps review]]></category>
		<category><![CDATA[amerinox xen vps benchmark]]></category>
		<category><![CDATA[benchmark lps per second]]></category>
		<category><![CDATA[cache:qmhqwwcwi9qj:serversreview.net/nginx-auto-installer-php-mysql nginx auto installer]]></category>
		<category><![CDATA[dhrystone 2 using register variables]]></category>
		<category><![CDATA[i/o tests]]></category>
		<category><![CDATA[lps vs vps preview]]></category>
		<category><![CDATA[review amerinoc]]></category>
		<category><![CDATA[serversreview.net]]></category>
		<category><![CDATA[sh3ll vps review]]></category>
		<category><![CDATA[site5.com vps unixbench]]></category>
		<category><![CDATA[throughput 1 2 3 4 5 6 7 8 9]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[what is the benchmark for 1 2/3math]]></category>
		<category><![CDATA[wht amerinoc]]></category>
		<category><![CDATA[xen hvm hosting]]></category>
		<category><![CDATA[xen hvm vps]]></category>

		<guid isPermaLink="false">http://serversreview.net/?p=1641</guid>
		<description><![CDATA[Website: http://www.amerinoc.com Whois Datacenter Whois Spec and Features System Information Download and Upload From International Location Location: US – Port Speed: 1Gbit – Method: WGET &#38; cURL Disk I/O Test...]]></description>
			<content:encoded><![CDATA[<p><strong>Website: <a rel="nofollow" href="http://www.amerinoc.com">http://www.amerinoc.com</a></strong></p>
<p><strong>Whois</strong><br />
<a href="http://serversreview.net/wp-content/uploads/2011/12/whois3.jpg"><img class="alignnone size-medium wp-image-1716" title="whois" src="http://serversreview.net/wp-content/uploads/2011/12/whois3-300x137.jpg" alt="" width="300" height="137" /></a></p>
<p><strong>Datacenter Whois</strong><br />
<a href="http://serversreview.net/wp-content/uploads/2012/01/datacenterwhois.jpg"><img class="alignnone size-medium wp-image-1717" title="Amerinoc Datacenter Whois" src="http://serversreview.net/wp-content/uploads/2012/01/datacenterwhois-300x131.jpg" alt="" width="300" height="131" /></a></p>
<p><strong>Spec and Features</strong><br />
<a href="http://serversreview.net/wp-content/uploads/2012/01/specnfeatures.jpg"><img class="alignnone size-medium wp-image-1718" title="Amerinoc Spec and Features" src="http://serversreview.net/wp-content/uploads/2012/01/specnfeatures-300x160.jpg" alt="" width="300" height="160" /></a><span id="more-1641"></span></p>
<p><strong>System Information</strong><br />
<a href="http://serversreview.net/wp-content/uploads/2012/01/sysfo.jpg"><img class="alignnone size-medium wp-image-1719" title="Amerinoc System Information" src="http://serversreview.net/wp-content/uploads/2012/01/sysfo-267x300.jpg" alt="" width="267" height="300" /></a></p>
<p><strong>Download and Upload From International Location</strong><br />
Location: US – Port Speed: 1Gbit – Method: WGET &amp; cURL<br />
<a href="http://serversreview.net/wp-content/uploads/2012/01/IX-IX-US-1Gbit.jpg"><img class="alignnone size-medium wp-image-1720" title="IX - IX (US - 1Gbit)" src="http://serversreview.net/wp-content/uploads/2012/01/IX-IX-US-1Gbit-300x150.jpg" alt="" width="300" height="150" /></a></p>
<p><strong>Disk I/O Test</strong><br />
<a href="http://serversreview.net/wp-content/uploads/2012/01/Disk-I-O-test.jpg"><img class="alignnone size-medium wp-image-1721" title="Disk I/O test" src="http://serversreview.net/wp-content/uploads/2012/01/Disk-I-O-test-300x151.jpg" alt="" width="300" height="151" /></a></p>
<p><strong>Benchmark Test</strong> (I/O test disabled)</p>
<pre class="brush:bash">1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x Execl Throughput  1 2 3

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

1 x Shell Scripts (16 concurrent)  1 2 3

2 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

2 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

2 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

2 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

2 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

2 x Process Creation  1 2 3

2 x Execl Throughput  1 2 3

2 x Shell Scripts (1 concurrent)  1 2 3

2 x Shell Scripts (8 concurrent)  1 2 3

2 x Shell Scripts (16 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: marlin: GNU/Linux
   OS: GNU/Linux -- 2.6.32-x-xxx -- #1 SMP Thu Nov 3 04:23:54 UTC 2011
   Machine: i686 (unknown)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (4800.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT
   CPU 1: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (4798.5 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT
   23:34:10 up 21 days, 17:29,  2 users,  load average: 0.08, 0.02, 0.01; runlev
el 2

------------------------------------------------------------------------
Benchmark Run: Tue Jan 17 2012 23:34:10 - 23:58:21
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       13891196.0 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2514.5 MWIPS (10.0 s, 7 samples)
Execl Throughput                               3592.8 lps   (30.0 s, 2 samples)
Pipe Throughput                             1627274.3 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 323155.8 lps   (10.0 s, 7 samples)
Process Creation                               9063.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   6728.0 lpm   (60.0 s, 2 samples)
Shell Scripts (16 concurrent)                   743.2 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                   1473.6 lpm   (60.0 s, 2 samples)
System Call Overhead                        2786067.0 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   13891196.0   1190.3
Double-Precision Whetstone                       55.0       2514.5    457.2
Execl Throughput                                 43.0       3592.8    835.5
Pipe Throughput                               12440.0    1627274.3   1308.1
Pipe-based Context Switching                   4000.0     323155.8    807.9
Process Creation                                126.0       9063.1    719.3
Shell Scripts (1 concurrent)                     42.4       6728.0   1586.8
Shell Scripts (16 concurrent)                     ---        743.2      ---
Shell Scripts (8 concurrent)                      6.0       1473.6   2456.0
System Call Overhead                          15000.0    2786067.0   1857.4
                                                                   ========
System Benchmarks Index Score (Partial Only)                         1107.3

------------------------------------------------------------------------
Benchmark Run: Tue Jan 17 2012 23:58:21 - 00:22:35
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       28201519.6 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     5059.9 MWIPS (10.1 s, 7 samples)
Execl Throughput                               8966.0 lps   (30.0 s, 2 samples)
Pipe Throughput                             3257035.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 646900.5 lps   (10.0 s, 7 samples)
Process Creation                              29956.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  11452.2 lpm   (60.0 s, 2 samples)
Shell Scripts (16 concurrent)                   728.7 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                   1464.8 lpm   (60.1 s, 2 samples)
System Call Overhead                        3960326.0 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   28201519.6   2416.6
Double-Precision Whetstone                       55.0       5059.9    920.0
Execl Throughput                                 43.0       8966.0   2085.1
Pipe Throughput                               12440.0    3257035.4   2618.2
Pipe-based Context Switching                   4000.0     646900.5   1617.3
Process Creation                                126.0      29956.3   2377.5
Shell Scripts (1 concurrent)                     42.4      11452.2   2701.0
Shell Scripts (16 concurrent)                     ---        728.7      ---
Shell Scripts (8 concurrent)                      6.0       1464.8   2441.3
System Call Overhead                          15000.0    3960326.0   2640.2
                                                                   ========
System Benchmarks Index Score (Partial Only)                         2105.3</pre>
<p style="text-align: justify;"><strong>Summary</strong><br />
Yeah, again i got special promotion VPS, now it is XEN-HVM VPS product of AmeriNOC, but i am not going to write down about this discount, because it is just a regular packages with discounted prices for a special day, not special packages with special prices. Okay so now let&#8217;s start with CPU Power, just like stated in their sales page, Dual Xeon Westmere E5620 @ 2.4GHz, great CPU Node actually. For the speed, the information i read they are using Dedicated Gigabit Network Interface Card per node and 100Mbps VNIC per VPS, that&#8217;s why i only got 6 &#8211; 10 megabyte per second maximum, i suppose if they are using also Gigabit VNIC it will be very good, lol. Next, disk I/O tests result was great, 210MB/s in average, because most of VPS provider&#8217;s disk I/O tests only 150 &#8211; 180MB per second in average. The final test is benchmark using UnixBench, and the score is 2105.3 points, this provider can be classified as mid to hi-end vps provider. AmeriNOC price versus box specification is reasonable, i mean it is not very cheap also not to expensive. So i will personally give 9 points out of 10 points for AmeriNOC XEN-HVM VPS.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversreview.net/amerinoc-xen-hvm-vps-review/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is Jailed SSH?</title>
		<link>http://serversreview.net/what-is-jailed-ssh</link>
		<comments>http://serversreview.net/what-is-jailed-ssh#comments</comments>
		<pubDate>Mon, 16 Jan 2012 03:19:35 +0000</pubDate>
		<dc:creator>2298</dc:creator>
				<category><![CDATA[HTTP MAID NOTE]]></category>
		<category><![CDATA[105446#p105446]]></category>
		<category><![CDATA[and so it is]]></category>
		<category><![CDATA[cpanel ssh jail shell]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[jailed ssh]]></category>
		<category><![CDATA[locked down ssh jail shell]]></category>
		<category><![CDATA[master reseller web hosting leave comment]]></category>
		<category><![CDATA[serversreview.net]]></category>
		<category><![CDATA[ssh jailed]]></category>
		<category><![CDATA[ssh jailed shell]]></category>
		<category><![CDATA[ssh root directory]]></category>
		<category><![CDATA[what is jailed]]></category>
		<category><![CDATA[what is jailled]]></category>
		<category><![CDATA[what is the jailed]]></category>
		<category><![CDATA[◦jailed ssh]]></category>

		<guid isPermaLink="false">http://serversreview.net/?p=1620</guid>
		<description><![CDATA[Most of shared / reseller hosting providers that use cPanel as their control panel must have this order in their cPanel structure. Example one Server with one IP address using...]]></description>
			<content:encoded><![CDATA[<p>Most of shared / reseller hosting providers that use cPanel as their control panel must have this order in their cPanel structure.</p>
<p>Example one Server with one IP address using cPanel</p>
<blockquote><p>cPanel root / super user -&gt; master reseller -&gt; reseller -&gt; shared</p></blockquote>
<p>further down that many users / domains would use the ip</p>
<p><a href="http://serversreview.net/wp-content/uploads/2011/12/ex1.jpg"><img class="size-medium wp-image-1617" title="Example 1" src="http://serversreview.net/wp-content/uploads/2011/12/ex1-300x17.jpg" alt="Example 1" width="300" height="17" /></a></p>
<p>also cPanel shared hosting usually creates user directory under <strong>/home</strong> directory, so normally it will be hundreds of user directory right? but the screenshot says different, there is only one user directory</p>
<p><a href="http://serversreview.net/wp-content/uploads/2011/12/ex2.jpg"><img class="size-medium wp-image-1618" title="Example 2" src="http://serversreview.net/wp-content/uploads/2011/12/ex2-300x151.jpg" alt="Example 2" width="300" height="151" /></a></p>
<p>and when I up to directory above <strong>/home</strong>, there is no root directory</p>
<p><a href="http://serversreview.net/wp-content/uploads/2011/12/ex3.jpg"><img class="size-medium wp-image-1619" title="Example 3" src="http://serversreview.net/wp-content/uploads/2011/12/ex3-300x150.jpg" alt="Example 3" width="300" height="150" /></a></p>
<p>It is a little bit odd right? Yes and so it is called jailed SSH.</p>
<p style="text-align: justify;">Basically, jailed ssh creates a shell scene within a particular directory where your shell activities locked in there. This intended to locked you into that directory instead of you being able to go freely to any other directories, something like ftp server does restrict you to your home directory. Also system administrator or host can decide or restrict what command or program can run in the jailed shell scene, usually they are disabling super user commands, so only basic shell command allowed to run in the jailed ssh.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversreview.net/what-is-jailed-ssh/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hostigation KVM 128 Xmas Special Review</title>
		<link>http://serversreview.net/hostigation-kvm-128-xmas-special-review</link>
		<comments>http://serversreview.net/hostigation-kvm-128-xmas-special-review#comments</comments>
		<pubDate>Tue, 10 Jan 2012 03:46:26 +0000</pubDate>
		<dc:creator>2298</dc:creator>
				<category><![CDATA[VIRTUAL PRIVATE SERVER]]></category>
		<category><![CDATA[128 kvm]]></category>
		<category><![CDATA[dhrystone 2 using register variables]]></category>
		<category><![CDATA[hostigation]]></category>
		<category><![CDATA[hostigation 128 kvm]]></category>
		<category><![CDATA[hostigation 1gbit]]></category>
		<category><![CDATA[hostigation kvm]]></category>
		<category><![CDATA[hostigation kvm 14.99]]></category>
		<category><![CDATA[hostigation kvm benchmark]]></category>
		<category><![CDATA[hostigation port mb]]></category>
		<category><![CDATA[hostigation port speed]]></category>
		<category><![CDATA[hostigation review]]></category>
		<category><![CDATA[hostigation upload speed]]></category>
		<category><![CDATA[hostigation virtual io]]></category>
		<category><![CDATA[hostigation wget]]></category>
		<category><![CDATA[hostigatipn special]]></category>
		<category><![CDATA[hostingation]]></category>
		<category><![CDATA[kvm 128 x 128]]></category>
		<category><![CDATA[kvm benchmark]]></category>
		<category><![CDATA[kvm opennebula]]></category>
		<category><![CDATA[kvm system load hostigation]]></category>
		<category><![CDATA[rate https://hostigation.com/]]></category>
		<category><![CDATA[review hostigation]]></category>
		<category><![CDATA[serversreview.net]]></category>
		<category><![CDATA[test hostigation speed]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://serversreview.net/?p=1633</guid>
		<description><![CDATA[Website: http://hostigation.com Whois Spec and Features System Information Download and Upload From International Location Location: US – Port Speed: 1Gbit – Method: WGET &#38; cURL Disk I/O Test Benchmark Test...]]></description>
			<content:encoded><![CDATA[<p><strong>Website: <a rel="nofollow" href="http://hostigation.com">http://hostigation.com</a></strong></p>
<p><strong>Whois</strong><br />
<a href="http://serversreview.net/wp-content/uploads/2011/12/whois2.jpg"><img class="size-medium wp-image-1634" title="Hostigation Whois" src="http://serversreview.net/wp-content/uploads/2011/12/whois2-300x141.jpg" alt="Hostigation Whois" width="300" height="141" /></a></p>
<p><strong>Spec and Features</strong><br />
<a href="http://serversreview.net/wp-content/uploads/2011/12/specnfeatures2.jpg"><img class="size-medium wp-image-1635" title="Hostigation Spec and Features" src="http://serversreview.net/wp-content/uploads/2011/12/specnfeatures2-300x280.jpg" alt="Hostigation Spec and Features" width="300" height="280" /></a></p>
<p><strong>System Information</strong><br />
<a href="http://serversreview.net/wp-content/uploads/2011/12/sysfo2.jpg"><img class="size-medium wp-image-1636" title="Hostigation System Information" src="http://serversreview.net/wp-content/uploads/2011/12/sysfo2-270x300.jpg" alt="Hostigation System Information" width="270" height="300" /></a><span id="more-1633"></span></p>
<p><strong>Download and Upload From International Location</strong><br />
Location: US – Port Speed: 1Gbit – Method: WGET &amp; cURL<br />
<a href="http://serversreview.net/wp-content/uploads/2011/12/IX-IX-US2.jpg"><img class="size-medium wp-image-1637" title="IX - IX (US)" src="http://serversreview.net/wp-content/uploads/2011/12/IX-IX-US2-300x150.jpg" alt="IX - IX (US)" width="300" height="150" /></a></p>
<p><strong>Disk I/O Test</strong><br />
<a href="http://serversreview.net/wp-content/uploads/2011/12/disk-I-O-test1.jpg"><img class="size-medium wp-image-1638" title="Disk I/O test" src="http://serversreview.net/wp-content/uploads/2011/12/disk-I-O-test1-300x150.jpg" alt="Disk I/O test" width="300" height="150" /></a></p>
<p><strong>Benchmark Test</strong> (I/O test disabled)</p>
<pre class="brush:bash">1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x Execl Throughput  1 2 3

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

1 x Shell Scripts (16 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: snapper: GNU/Linux
   OS: GNU/Linux -- 2.6.32-5-686 -- #1 SMP Thu Nov 3 04:23:54 UTC 2011
   Machine: i686 (unknown)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: QEMU Virtual CPU version (cpu64-rhel6) (6784.9 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   01:48:30 up 1 day, 19:58,  1 user,  load average: 0.24, 0.07, 0.02; runlevel
2

------------------------------------------------------------------------
Benchmark Run: Thu Dec 29 2011 01:48:30 - 02:12:35
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       19050443.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3291.8 MWIPS (10.0 s, 7 samples)
Execl Throughput                               7224.8 lps   (29.9 s, 2 samples)
Pipe Throughput                             2355731.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 459056.4 lps   (10.0 s, 7 samples)
Process Creation                              26374.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   8588.7 lpm   (60.0 s, 2 samples)
Shell Scripts (16 concurrent)                   563.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1125.3 lpm   (60.0 s, 2 samples)
System Call Overhead                        3855864.2 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   19050443.3   1632.4
Double-Precision Whetstone                       55.0       3291.8    598.5
Execl Throughput                                 43.0       7224.8   1680.2
Pipe Throughput                               12440.0    2355731.2   1893.7
Pipe-based Context Switching                   4000.0     459056.4   1147.6
Process Creation                                126.0      26374.1   2093.2
Shell Scripts (1 concurrent)                     42.4       8588.7   2025.6
Shell Scripts (16 concurrent)                     ---        563.6      ---
Shell Scripts (8 concurrent)                      6.0       1125.3   1875.6
System Call Overhead                          15000.0    3855864.2   2570.6
                                                                   ========
System Benchmarks Index Score (Partial Only)                         1610.6</pre>
<p><strong>Summary</strong></p>
<p style="text-align: justify;">It was a good offer from Hostingation, &#8220;Get it while it lasts, will not be seen again&#8221;. I will start with the VPS specification. 5GB space, 128MB Memory, 1 Core CPU, 500GB data transfers, and it is KVM. See the benchmark score of this box, 1610 points, it is very good and i guess because KVM. Disk I/O test also quite good, 100MB/s rate average. Next about the speed access, unfortunately i only got 1 Megabyte per second, or maybe 10mb/s. If this box used 100mb/s port then it will be a really good Xmas gift, but with 20 dollars a year or $ 1.6 per month it is worth it than your $3 or $5 OpenVZ VPS <img src='http://serversreview.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . So i will give Hostigation&#8217;s Xmas KVM special 9 points from 10 points.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversreview.net/hostigation-kvm-128-xmas-special-review/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site5 Cloud Hosting Review</title>
		<link>http://serversreview.net/site5-cloud-hosting-review</link>
		<comments>http://serversreview.net/site5-cloud-hosting-review#comments</comments>
		<pubDate>Thu, 29 Dec 2011 05:22:16 +0000</pubDate>
		<dc:creator>2298</dc:creator>
				<category><![CDATA[SHARED HOSTING]]></category>
		<category><![CDATA["site5"]]></category>
		<category><![CDATA[164181#post164181]]></category>
		<category><![CDATA[cache:stk_tch-k3uj:serversreview.net/running-php-5-2-and-5-3-on-the-same-server php configure lib-prefix]]></category>
		<category><![CDATA[cloud host wordpress review]]></category>
		<category><![CDATA[cloud hosting review]]></category>
		<category><![CDATA[cloud hosting reviews]]></category>
		<category><![CDATA[cloud hosting using site5]]></category>
		<category><![CDATA[cloud server reviews]]></category>
		<category><![CDATA[cloud web hosting reviews]]></category>
		<category><![CDATA[cpanel için curl]]></category>
		<category><![CDATA[custom cpanel header]]></category>
		<category><![CDATA[ec2 vs site5]]></category>
		<category><![CDATA[host php cloud]]></category>
		<category><![CDATA[ix ix]]></category>
		<category><![CDATA[objective of hosting the datacenter at different location]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php cloud hosting review]]></category>
		<category><![CDATA[review of site5 cloud hosting]]></category>
		<category><![CDATA[review site5 cloud services]]></category>
		<category><![CDATA[serversreview.net]]></category>
		<category><![CDATA[site 5 cloud hosting]]></category>
		<category><![CDATA[site5 "cloud hosting" review]]></category>
		<category><![CDATA[site5 cloud]]></category>
		<category><![CDATA[site5 cloud hosting]]></category>
		<category><![CDATA[site5 cloud hosting downtime]]></category>
		<category><![CDATA[site5 cloud hosting reviews]]></category>
		<category><![CDATA[site5 cloud review]]></category>
		<category><![CDATA[site5 host review]]></category>
		<category><![CDATA[site5 server reviews]]></category>
		<category><![CDATA[site5 shared cloud hosting reviews]]></category>
		<category><![CDATA[site5 socks proxy]]></category>
		<category><![CDATA[site:serversreview.net nginxauto install]]></category>

		<guid isPermaLink="false">http://serversreview.net/?p=1604</guid>
		<description><![CDATA[Website: http://www.site5.com Whois Datacenter Whois Spec and Features System Information Custom cPanel Download and Upload From International Location Location: US – Port Speed: 1Gbit – Method: WGET &#38; cURL Load...]]></description>
			<content:encoded><![CDATA[<p><strong>Website: <a rel="nofollow" href="http://www.site5.com">http://www.site5.com</a></strong></p>
<p><strong>Whois</strong></p>
<p><a href="http://serversreview.net/wp-content/uploads/2011/12/whois1.jpg"><img class="size-medium wp-image-1605" title="Site5 Whois" src="http://serversreview.net/wp-content/uploads/2011/12/whois1-300x143.jpg" alt="Site5 Whois" width="300" height="143" /></a></p>
<p><strong>Datacenter Whois</strong></p>
<p><a href="http://serversreview.net/wp-content/uploads/2011/12/datacenterwhois.jpg"><img class="size-medium wp-image-1606" title="Datacenter Whois" src="http://serversreview.net/wp-content/uploads/2011/12/datacenterwhois-300x144.jpg" alt="Datacenter Whois" width="300" height="144" /></a></p>
<p><strong>Spec and Features</strong></p>
<p><a href="http://serversreview.net/wp-content/uploads/2011/12/specnfeatures1.jpg"><img class="size-medium wp-image-1607" title="Site5 Spec and Features" src="http://serversreview.net/wp-content/uploads/2011/12/specnfeatures1-300x213.jpg" alt="Site5 Spec and Features" width="300" height="213" /></a><span id="more-1604"></span></p>
<p><strong>System Information</strong></p>
<p><a href="http://serversreview.net/wp-content/uploads/2011/12/sysfo1.jpg"><img class="size-medium wp-image-1608" title="Site5 System Information" src="http://serversreview.net/wp-content/uploads/2011/12/sysfo1-261x300.jpg" alt="Site5 System Information" width="261" height="300" /></a></p>
<p><strong>Custom cPanel</strong></p>
<p><a href="http://serversreview.net/wp-content/uploads/2011/12/custom_cpanel.jpg"><img class="size-medium wp-image-1615" title="Custom cPanel" src="http://serversreview.net/wp-content/uploads/2011/12/custom_cpanel-300x190.jpg" alt="Custom cPanel" width="300" height="190" /></a></p>
<p><strong>Download and Upload From International Location</strong><br />
Location: US – Port Speed: 1Gbit – Method: WGET &amp; cURL</p>
<p><a href="http://serversreview.net/wp-content/uploads/2011/12/IX-IX-US1.jpg"><img class="size-medium wp-image-1609" title="IX - IX (US)" src="http://serversreview.net/wp-content/uploads/2011/12/IX-IX-US1-300x150.jpg" alt="IX - IX (US)" width="300" height="150" /></a></p>
<p><strong>Load Time</strong></p>
<p><a href="http://serversreview.net/wp-content/uploads/2011/12/http-header.jpg"><img class="size-medium wp-image-1610" title="http header" src="http://serversreview.net/wp-content/uploads/2011/12/http-header-300x28.jpg" alt="http header" width="300" height="28" /></a></p>
<p><a href="http://serversreview.net/wp-content/uploads/2011/12/load-time.jpg"><img class="size-medium wp-image-1611" title="Load Time" src="http://serversreview.net/wp-content/uploads/2011/12/load-time-300x135.jpg" alt="Load Time" width="300" height="135" /></a></p>
<p style="text-align: justify;"><strong>Summary</strong><br />
This is the first time ever i reviewed Cloud Hosting (Shared) provider, Site5 offers 30 Day trial before you decide to go with them, okay let&#8217;s begin. First about their engine, take a look at the CPU, Intel Xeon X5675 @ 3.07GHz, what a great CPU Power. Unfortunately, great CPU Power doesn&#8217;t come with huge memory power, i detected that they are using only 8GB memory. For the speed, 100Mbps port i guess, i got 80% of their port speed when i tested with wget, it is good. Load test result was also good, 40 clients accessing this hosting took 1 second to complete the request, i am using wordpress standard installation anyway.</p>
<p style="text-align: justify;">Last thing i want to talk about is the price, but before talking about the price, i want to review about the cloud hosting first. Here is what i know about cloud hosting, more than one set of computer and located in different place (we could say datacenter / network), all of those sets of computer are interconnected and we can access all of those sets of computer&#8217;s resources through the internet network. I may say that i have one PHP wget script in the first drive of computer one in the first cluster on the first datacenter, i run that PHP script and the result of the script is downloaded to the second drive of computer six in the third cluster on the second datacenter, at the same time the script using the power of the tenth computer&#8217;s cpu in the seventh cluster on the fifth datacenter. So cloud computing is scalable and full accessible, unimaginable how much cost to create such computer structure, and also the advantages that we could get from cloud hosting, for a basic example is failover. From those explanation, i guess their price vs spec is equal. So 9 points out of 10 points will be given to Site5.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversreview.net/site5-cloud-hosting-review/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running PHP 5.2 and 5.3 On The Same Server</title>
		<link>http://serversreview.net/running-php-5-2-and-5-3-on-the-same-server</link>
		<comments>http://serversreview.net/running-php-5-2-and-5-3-on-the-same-server#comments</comments>
		<pubDate>Thu, 22 Dec 2011 11:09:46 +0000</pubDate>
		<dc:creator>2298</dc:creator>
				<category><![CDATA[HTTP MAID NOTE]]></category>
		<category><![CDATA["cd php-5.2.17/"]]></category>
		<category><![CDATA["powered by wordpress" intitle:server review]]></category>
		<category><![CDATA[/usr/local/mysql/bin/]]></category>
		<category><![CDATA[auto]]></category>
		<category><![CDATA[both php version same host]]></category>
		<category><![CDATA[can i install php 5.2 and 5.3 on the same machine?]]></category>
		<category><![CDATA[can php 5.2 and 5.3 run on the same machine]]></category>
		<category><![CDATA[can you run php 5.2 and 5.3]]></category>
		<category><![CDATA[can you run php 5.2 and 5.3 on the same server ?]]></category>
		<category><![CDATA[compile php 5.2.16 diff.gz]]></category>
		<category><![CDATA[compiling php 5.2 & 5.3 on the same server]]></category>
		<category><![CDATA[different port php 5.2 and php5.3 ssl port]]></category>
		<category><![CDATA[disable-sysvsem]]></category>
		<category><![CDATA[enable freetype on php 5.2.17]]></category>
		<category><![CDATA[enable mbregex with php.ini]]></category>
		<category><![CDATA[enable mysql in php version 5.2.17]]></category>
		<category><![CDATA[enable-dio php in php 5.3.8]]></category>
		<category><![CDATA[force a file to run php 5.2]]></category>
		<category><![CDATA[force php 5.2 5.3]]></category>
		<category><![CDATA[forcing php 5.2 on 5.3 server]]></category>
		<category><![CDATA[freetype library php 5.2.17]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[how to change php version 5.3 to 5.2 in cloud server]]></category>
		<category><![CDATA[how to enable xsl in php 5.2.17]]></category>
		<category><![CDATA[how to enable xslt in php 5.2.17]]></category>
		<category><![CDATA[how to install php 5.2 and 5.3 together]]></category>
		<category><![CDATA[how to install php-5.2.17.tar.gz]]></category>
		<category><![CDATA[how to run php version 5.2 and 5.3 on the same server]]></category>
		<category><![CDATA[how to use php version 5.3 and 5.2 in cloud server]]></category>
		<category><![CDATA[index.php]]></category>
		<category><![CDATA[init.d]]></category>
		<category><![CDATA[instalar php-5.2.17.tar.gz cd make]]></category>
		<category><![CDATA[install php 5.2]]></category>
		<category><![CDATA[install php 5.2 and 5.3 together]]></category>
		<category><![CDATA[install php 5.2.17 manual]]></category>
		<category><![CDATA[install php fpm 5.2.17]]></category>
		<category><![CDATA[install php5.3 .tar.gz]]></category>
		<category><![CDATA[installing php 5.2 and 5.3 on the same server]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql 5.2.17.tar]]></category>
		<category><![CDATA[mysql pdo gd jpg gif png]]></category>
		<category><![CDATA[mysqli]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[nginx and php]]></category>
		<category><![CDATA[nginx auto]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php 5.2 5.3 same]]></category>
		<category><![CDATA[php 5.2 5.3 together]]></category>
		<category><![CDATA[php 5.2 and 5.3 on one server]]></category>
		<category><![CDATA[php 5.2 and 5.3 on same server]]></category>
		<category><![CDATA[php 5.2 and 5.3 on the same server]]></category>
		<category><![CDATA[php 5.2 and 5.3 on the same server port]]></category>
		<category><![CDATA[php 5.2 and 5.3 together]]></category>
		<category><![CDATA[php 5.2 and php 5.3 on same machine]]></category>
		<category><![CDATA[php 5.2 and php 5.3 on same server]]></category>
		<category><![CDATA[php 5.2 and php 5.3 on the same server]]></category>
		<category><![CDATA[php 5.2 e 5.3 in the same machine]]></category>
		<category><![CDATA[php 5.2 fpm configuration]]></category>
		<category><![CDATA[php 5.2 hosting servers]]></category>
		<category><![CDATA[php 5.2 php 5.2 together]]></category>
		<category><![CDATA[php 5.2 use dio]]></category>
		<category><![CDATA[php 5.2.17 error ./configure --with-mb-string]]></category>
		<category><![CDATA[php 5.2.17 php-sysvsem]]></category>
		<category><![CDATA[php 5.2.17 sysvshm]]></category>
		<category><![CDATA[php 5.2configuration]]></category>
		<category><![CDATA[php 5.3 and 5.2 on same server]]></category>
		<category><![CDATA[php 5.3 and 5.2 same servers]]></category>
		<category><![CDATA[php 5.3 and php 5.2 on same server]]></category>
		<category><![CDATA[php 5.3 and php 5.2 on the same system]]></category>
		<category><![CDATA[php 5.3 libdir]]></category>
		<category><![CDATA[php 5.3.8 stop php-fpm]]></category>
		<category><![CDATA[php can i run version 5.3 and 5..2 on t6he same machine]]></category>
		<category><![CDATA[php cgi 5.3 and 5.2]]></category>
		<category><![CDATA[php configuration 5.2 to 5.3]]></category>
		<category><![CDATA[php fpm 5.2 and 5.3]]></category>
		<category><![CDATA[php fpm xml include vhost 5.2]]></category>
		<category><![CDATA[php how to enable dom in php 5.2]]></category>
		<category><![CDATA[php odbc 5.2.17 tgz]]></category>
		<category><![CDATA[php version 5.3]]></category>
		<category><![CDATA[php version 5.3.8 enable gd]]></category>
		<category><![CDATA[php-5.2 and php-5.3 on one server]]></category>
		<category><![CDATA[php-5.2.17 php-cgi performance]]></category>
		<category><![CDATA[php-5.2.17-fpm-0.5.14]]></category>
		<category><![CDATA[php-5.2.17-fpm-0.5.14.diff.gz]]></category>
		<category><![CDATA[php-5.3.8 wget]]></category>
		<category><![CDATA[php-cgi php-fpm 5.2.17]]></category>
		<category><![CDATA[php-fpm 5.2.17]]></category>
		<category><![CDATA[php-fpm 5.3 optimize]]></category>
		<category><![CDATA[php-fpm both php 5.2]]></category>
		<category><![CDATA[php-fpm php-5.2.17 nginx install]]></category>
		<category><![CDATA[php-fpm53]]></category>
		<category><![CDATA[php5.2 with php5.3 on same serveur]]></category>
		<category><![CDATA[port 9000 already occupied php-fpm.conf]]></category>
		<category><![CDATA[port php 5.3 to 5.2]]></category>
		<category><![CDATA[possible to run .php 5.2 on 5.3 server]]></category>
		<category><![CDATA[run php 5.2 and 5.3 in the same server]]></category>
		<category><![CDATA[run php 5.2 and 5.3 same server]]></category>
		<category><![CDATA[run php 5.2 and php 5.3 on same machine]]></category>
		<category><![CDATA[runing php 5.3 in 5.2]]></category>
		<category><![CDATA[running 2 php on same server]]></category>
		<category><![CDATA[running both php 5.2 and 5.3]]></category>
		<category><![CDATA[running php 5.2 and 5.3 on same server]]></category>
		<category><![CDATA[running php 5.2 and php 5.3 on same server]]></category>
		<category><![CDATA[running php 5.2 and php 5.3 on the same server]]></category>
		<category><![CDATA[running php version 5.2 and 5.3 on same server]]></category>
		<category><![CDATA[servers running php 5.2]]></category>
		<category><![CDATA[serversreview.net]]></category>
		<category><![CDATA[site5 php ini for 5.3]]></category>
		<category><![CDATA[site5 where is php 5.3 binary]]></category>
		<category><![CDATA[socket]]></category>
		<category><![CDATA[zend install php 5.2 and php 5.3 on same machine]]></category>

		<guid isPermaLink="false">http://serversreview.net/?p=1567</guid>
		<description><![CDATA[Even though most of PHP applications is now running with PHP version 5.3, there are a few PHP applications are still running on PHP version 5.2, you can see what...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Even though most of PHP applications is now running with PHP version 5.3, there are a few PHP applications are still running on PHP version 5.2, you can see what makes that thing happens here: <a title="PHP Backward Incompatible" href="http://php.net/manual/en/migration53.incompatible.php">http://php.net/manual/en/migration53.incompatible.php</a></p>
<p style="text-align: justify;">So i guess it will be good for PHP programmer / developer to have PHP version 5.2 and 5.3 installed and running on the same machine (more economical than using two machines for each PHP version). So let&#8217;s get started.</p>
<p style="text-align: justify;">Anyway i will use NginX as the webserver, so the main principle of two PHP version running on the same machine is CGI works using different localhost port.</p>
<p style="text-align: justify;">Before installing PHP, we usually install webserver and database first, i assume that you all have installed NginX and MySQL, so i just skip to the PHP installation.</p>
<p style="text-align: justify;"><strong><span style="text-decoration: underline;">note:</span></strong> the configuration below is my usual config and dependencies, if you are experiencing error while configure or make php, try to find out about the missing dependencies by looking at this blog&#8217;s older posts or googling. The first four configuration of PHP will be the important note because we will separate PHP 5.3 and 5.2 configuration (<strong>php.ini</strong>) path.</p>
<pre class="brush:bash">--prefix=/usr/local53 --libdir=/usr/local53/lib --with-libdir=lib --with-config-file-path=/usr/local53/lib
--prefix=/usr/local52 --libdir=/usr/local52/lib --with-libdir=lib --with-config-file-path=/usr/local52/lib</pre>
<p><span style="color: #ff6600;"><strong>Install PHP 5.3.8 with PHP-FPM</strong></span></p>
<pre class="brush:bash">wget http://pkgs.serversreview.net/files/autoconf-2.13.tar.gz
tar -zxvf autoconf-2.13.tar.gz
cd autoconf-2.13
./configure
make &amp;&amp; make install

wget http://pkgs.serversreview.net/files/php-5.3.8.tar.gz
tar -zxvf php-5.3.8.tar.gz
cd php-5.3.8
./buildconf --force
./configure --prefix=/usr/local53 --libdir=/usr/local53/lib --with-libdir=lib --with-config-file-path=/usr/local53/lib --enable-force-cgi-redirect --enable-fpm --enable-cli --with-mcrypt --enable-mbstring --with-openssl --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/var/lib/mysql/mysql.sock --with-pdo-mysql=/usr/local/mysql --with-gd --with-zlib --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-png --with-jpeg --with-gmp --with-sqlite --enable-pdo --with-xpm-dir=/usr/lib --with-freetype-dir=/usr/include/freetype2 --with-ttf=/usr/include/freetype2 --enable-gd-native-ttf --enable-fileinfo --disable-debug --with-pic --with-bz2 --with-curl --with-curlwrappers --without-gdbm --with-gettext --with-iconv --with-pspell --with-pcre-regex --with-imap --with-imap-ssl=/usr/lib --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --disable-sysvsem --disable-sysvshm --disable-sysvmsg --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-kerberos --enable-ucd-snmp-hack --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --with-mime-magic --with-system-tzdata --with-odbc --enable-gd-jis-conv --enable-dom --disable-dba --enable-xmlreader --enable-xmlwriter --with-tidy  --with-xml --with-xmlrpc --with-xsl --enable-bcmath --enable-soap --enable-zip --enable-inline-optimization --with-mhash --enable-mbregex
make
make install

cp php.ini-production /usr/local53/lib/php.ini</pre>
<p><span id="more-1567"></span><br />
<span style="color: #ff6600;"><strong>Install PHP 5.2.17 with PHP-FPM patch</strong></span></p>
<pre class="brush:bash">wget http://pkgs.serversreview.net/files/libevent-2.0.16-stable.tar.gz
tar -zxvf libevent-2.0.16-stable.tar.gz
cd libevent-2.0.16-stable
./configure --prefix=/usr --libdir=/usr/lib
make
make install

wget http://pkgs.serversreview.net/files/php-5.2.17.tar.gz
tar -zxvf php-5.2.17.tar.gz
cd php-5.2.17
wget http://pkgs.serversreview.net/files/php-5.2.17-fpm-0.5.14.diff.gz
gunzip php-5.2.17-fpm-0.5.14.diff.gz
patch -p1 &lt; php-5.2.17-fpm-0.5.14.diff
./configure --prefix=/usr/local52 --libdir=/usr/local52/lib  --with-libdir=lib --with-config-file-path=/usr/local53/lib --enable-force-cgi-redirect --enable-fastcgi --enable-fpm --with-libevent=/usr/lib --enable-cli --with-mcrypt --enable-mbstring --with-openssl --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/var/lib/mysql/mysql.sock --with-pdo-mysql=/usr/local/mysql --with-gd --with-zlib --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --enable-zend-multibyte --with-png --with-jpeg --with-gmp --with-sqlite --enable-pdo --with-xpm-dir=/usr/lib --with-freetype-dir=/usr/include/freetype2 --with-ttf=/usr/include/freetype2 --enable-gd-native-ttf --with-mime-magic --disable-debug --with-pic --with-bz2 --with-curl --with-curlwrappers --without-gdbm --with-gettext --with-iconv --with-pspell --with-pcre-regex --with-imap --with-imap-ssl=/usr/lib --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --disable-sysvsem --disable-sysvshm --disable-sysvmsg --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-kerberos --enable-ucd-snmp-hack --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --with-mime-magic --with-system-tzdata --with-odbc --enable-gd-jis-conv --enable-dom --disable-dba --enable-xmlreader --enable-xmlwriter --with-tidy  --with-xml --with-xmlrpc --with-xsl --enable-bcmath --enable-soap --enable-zip --enable-inline-optimization --with-mhash --enable-mbregex --enable-memcache
make
make install
strip /usr/bin/php-cgi
sed -i 's/extension_dir/;extension_dir/g' php.ini-recommended
cp php.ini-recommended /usr/local52/lib/php.ini</pre>
<p>Next the configuration for php-fpm.conf PHP 5.3 and 5.2, the point you need to take a look is localhost and listen port</p>
<p><span style="color: #ff6600;"><strong>Version 5.3</strong></span></p>
<pre class="brush:bash">mv /usr/local53/etc/php-fpm.conf.default /usr/local53/etc/php-fpm.conf
nano /usr/local53/etc/php-fpm.conf</pre>
<p>check listening port and set it to 9000, also don&#8217;t forget to change user and group to www</p>
<blockquote><p><span style="color: #ff0000;">user = www</span><br />
<span style="color: #ff0000;"> group = www</span><br />
<span style="color: #ff0000;"> listen = 127.0.0.1:9000</span></p></blockquote>
<p><span style="color: #ff6600;"><strong>Version 5.2</strong></span></p>
<pre class="brush:bash">nano /usr/local52/etc/php-fpm.conf</pre>
<p>check listening port and set it to 9001, change user and group to www</p>
<blockquote><p><span style="color: #ff0000;">name=listen_address 127.0.0.1:9001</span><br />
<span style="color: #ff0000;"> name=user www</span><br />
<span style="color: #ff0000;"> name=group www</span></p></blockquote>
<p>I am using &#8220;<strong>www</strong>&#8220;user and group for NginX and PHP, the rest setting for PHP 5.3 and 5.2 is yours.</p>
<p>Now we create init script for both PHP-FPM 5.3 and 5.2</p>
<p><span style="color: #ff6600;"><strong>Init script 5.3</strong></span></p>
<pre class="brush:bash">nano /etc/rc.d/init.d/php-fpm53</pre>
<pre class="brush:bash">case "$1" in
	start)
		/usr/local53/sbin/php-fpm --fpm-config /usr/local53/etc/php-fpm.conf
		echo "PHP-FPM started successfully"
		exit 1
	;;

	stop)
		pkill php-fpm
		echo "PHP-FPM stopped"
		exit 1
	;;
	restart)
		echo "Stopping php-fpm"
		pkill php-fpm
		sleep 2
		echo "Starting php-fpm"
		/usr/local53/sbin/php-fpm --fpm-config /usr/local53/etc/php-fpm.conf
		echo "PHP-FPM restarted successfully"
		exit 1
	;;
	*)
		echo "Usage: start - stop - restart"
		exit 1
	;;
esac</pre>
<p><span style="color: #ff6600;"><strong>Init script 5.2</strong></span></p>
<pre class="brush:bash">ln -s /usr/local52/sbin/php-fpm /etc/init.d/php-fpm</pre>
<p>make those init scripts executable</p>
<pre class="brush:bash">chmod +x /etc/init.d/php-fpm53 /etc/init.d/php-fpm52</pre>
<p>Now let&#8217;s start both init scripts</p>
<pre class="brush:bash">/etc/init.d/php-fpm53 start
/etc/init.d/php-fpm52 start</pre>
<p>Check both PHP 5.3 and 5.3 binary files if they are already running</p>
<pre class="brush:bash">ps aux</pre>
<p><a href="http://serversreview.net/wp-content/uploads/2011/12/php-5.3-and-5.2-running-together.jpg"><img class="size-full wp-image-1580" title="php 5.3 and 5.2 running together" src="http://serversreview.net/wp-content/uploads/2011/12/php-5.3-and-5.2-running-together.jpg" alt="php 5.3 and 5.2 running together" width="643" height="98" /></a></p>
<p style="text-align: justify;">Okay PHP 5.3 and 5.2 is now running together on the same machine, last thing you have to do is determine whether you want to use PHP 5.3 or 5.2 or both, here is the example of virtual host configuration using serversreview.net as domain.</p>
<pre class="brush:bash">user www www;
.....
.....
http {
	  server {
	  listen 80;
	  server_name serversreview.net;
	  access_log /home/www/serversreview.net/logs/access.log;
	  error_log /home/www/serversreview.net/logs/error.log;

	  location / {
		root /home/www/serversreview.net/public_html/;
		index index.html index.htm index.php;
	  }

	  location ~ \.php$ {
		include /etc/nginx/fastcgi_params;
		fastcgi_pass 127.0.0.1:9000;
		fastcgi_index index.php;
		fastcgi_param SCRIPT_FILENAME /home/www/serversreview.net/public_html$fastcgi_script_name;
	  }
	}
}</pre>
<p>you just need to switch the port 9000 for PHP version 5.3 and 9001 for PHP version 5.2 in this line</p>
<pre class="brush:bash">fastcgi_pass 127.0.0.1:9000;</pre>
<p style="text-align: justify;">That&#8217;s it! You are ready to roll your machine with PHP 5.3 and 5.2, if there is something you don&#8217;t understand or error while you are setting this up, remember that <strong>Google</strong> is your first aid, or we can discuss toghether about your confusion here. <img src='http://serversreview.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://serversreview.net/running-php-5-2-and-5-3-on-the-same-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

