<?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>robertalks.com &#187; server</title> <atom:link href="http://blog.robertalks.com/index.php/tag/server/feed/" rel="self" type="application/rss+xml" /><link>http://blog.robertalks.com</link> <description>here I talk</description> <lastBuildDate>Tue, 01 Nov 2011 17:30:19 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Xen vs. OpenVZ</title><link>http://blog.robertalks.com/index.php/2009/04/03/xen-vs-openvz/</link> <comments>http://blog.robertalks.com/index.php/2009/04/03/xen-vs-openvz/#comments</comments> <pubDate>Fri, 03 Apr 2009 19:48:13 +0000</pubDate> <dc:creator>robert</dc:creator> <category><![CDATA[Anything]]></category> <category><![CDATA[General]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Talk]]></category> <category><![CDATA[openvz]]></category> <category><![CDATA[parallels]]></category> <category><![CDATA[server]]></category> <category><![CDATA[virtual]]></category> <category><![CDATA[virtualization]]></category> <category><![CDATA[vmware]]></category> <category><![CDATA[xen]]></category> <guid
isPermaLink="false">http://blog.robertalks.com/?p=311</guid> <description><![CDATA[As I wrote in a previous post, I wanna share my conclusion about this two virtualization technologies, Xen and OpenVZ. Even if its kind of late, I still will share this conclusions with you guys. Now both of this technologies are usually used in VPS&#8217;s (virtual private servers) and small enterprise environments, well mostly Xen.
This [...]]]></description> <content:encoded><![CDATA[<p>As I wrote in a previous post, I wanna share my conclusion about this two virtualization technologies, Xen and OpenVZ. Even if its kind of late, I still will share this conclusions with you guys. Now both of this technologies are usually used in VPS&#8217;s (virtual private servers) and small enterprise environments, well mostly Xen.</p><p><span
id="more-311"></span>This are low cost techniques to give everyone the possibility to have a dedicated environment for work or for a web server, mail server and so on. The basic idea is the same, but within them they are totally different, because Xen is more of a physical virtualization, when OpenVZ is more of a container on already running server. OpenVZ doesn&#8217;t really create a virtual server, its creates an environment similar to a chroot environment with more flexibility and totally isolated from the physical server. Xen technology is very similar to VMware ESX, will create a virtual server, which can be managed and modified as a real server, modules can be loaded into the kernel, full iptables support, proper development environment and of course just like OpenVZ, is totally private or isolated.</p><p>The main issue with Xen is that usually is limited in hardware, meaning that when you chose a system with 256MB of memory, pretty much that&#8217;s what you get, unlike OpenVZ, which can have something like soft limit and hard limit when it comes to memory and cpu. This means that if you get an OpenVZ VPS and you get it with 256MB of memory, its possible to use even 1024MB of memory, if its available and depends on settings done by the provider. Like I said before OpenVZ is very similar to a chroot environment, in which you limit the user to a certain amount of memory, disk, bandwidth, but you also give the user the possibility in choosing the OS, packages and different settings. Both of them have root access and possibility of having users, services and static ip addresses and so on.</p><p>The main issue would be that they are kind of slow, due to a software layer which needs to communicate with the server kernel on which they reside which also then needs to communicate with the hardware. The response of a VPS is much slower, when compared to a physical system with the same specification but without being a virtual layer itself.</p><p>When it comes to Xen and OpenVZ, to compare them, Xen will have to win. First of all, Xen is more of a hardware virtualization, which means its more closer to a physical system, unlike OpenVZ, which is more similar to chroot environment or software virtualization. Other issues, in OpenVZ, would be the fact that you are very limited to what you can setup, what you can modify or even build. In all cases, OpenVZ doesn&#8217;t really support any modules and in fact I do believe it can&#8217;t even load any kernel modules, also because of this, iptables is very limited too. OpenVZ doesn&#8217;t have swap space, is using the physical system swap space, can&#8217;t have its own time server or locale, as is using the physical system&#8217;s settings, but if you need a small system for a website, with not a lot of hits, maybe a blog or company site, then OpenVZ will be able to do the job. If you need something more serious, like maybe development environment, true hardware resources, jvm servers, an e-shop, then Xen is the winner and not just, like I said, its more useful to have Xen, as the performance is in every way much better, the only issue would be that it can&#8217;t be managed using a panel like OpenVZ and can&#8217;t have burstable RAM or CPU.</p><p>Now, I know, this is not what most of you expected, but the reality is the Xen is better, its much more serious as a server and it does look and behave a lot like a physical server or dedicated server. I would say that the main difference between Xen and OpenVZ would be that, those who pick OpenVZ don&#8217;t really wanna work or do not know how to work with the console, as with the panel from Parallels they can do any job they need with a click of a button. You don&#8217;t really need to know anything about Linux or administrating a server. Xen, just like a physical server needs to be configured and setup from the console, you need to login into the server, thru the console or ssh and do everything by hand, which can be a bit of a hassle for a beginner or Windows guy <img
src='http://blog.robertalks.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p><p>Anyway, at anytime without any doubt, I would always go for Xen, well actually I would love VMware ESX or IBM LPARs, but my pocket is way to small for them <img
src='http://blog.robertalks.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://blog.robertalks.com/index.php/2009/04/03/xen-vs-openvz/feed/</wfw:commentRss> <slash:comments>18</slash:comments> </item> <item><title>Visualserver.org update!</title><link>http://blog.robertalks.com/index.php/2009/03/03/visualserverorg-update/</link> <comments>http://blog.robertalks.com/index.php/2009/03/03/visualserverorg-update/#comments</comments> <pubDate>Tue, 03 Mar 2009 09:47:52 +0000</pubDate> <dc:creator>robert</dc:creator> <category><![CDATA[Anything]]></category> <category><![CDATA[General]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[server]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[update]]></category> <category><![CDATA[visualserver.org]]></category> <guid
isPermaLink="false">http://blog.robertalks.com/?p=256</guid> <description><![CDATA[As some of you may know, besides this blog, I do have some other servers running online and one of them is visualserver.org which is used to providing free shells and free hosting. The server physically is in my house and its running 24/7 backup up with a APC ups. The connection is from upc.cz, [...]]]></description> <content:encoded><![CDATA[<p>As some of you may know, besides this blog, I do have some other servers running online and one of them is <a
href="http://www.visualserver.org" target="_blank">visualserver.org</a> which is used to providing free shells and free hosting. The server physically is in my house and its running 24/7 backup up with a APC ups. The connection is from upc.cz, cable line at 30 Mbit/s. Now this is not the update, the update is the total migration of the hardware from the old KME case to a new and better Cooler Master case. Besides this the server got new power supply from LC-Power with 420W output, new CPU fan, a clean up of the GPU cooler and the newest Ubuntu kernel 2.6.24-21.</p><p><span
id="more-256"></span>One of the updates should have been the bios update, but I&#8217;m not 100% sure its such a good idea. The problem is the testing part, as I can&#8217;t test the new bios firmware on some other motherboard, before upgrading the actual server. At the moment, the server will stay with the original bios and I will see in the future if to really do the update or not&#8230; its a risky business.</p><p>Here are some server specs: Intel Pentium D @ 3.2Ghz, 4GB DDR2 Kingston, 200GB SATA2 Samsung, DVD-RW LG, Cooler Master Dominator case, LC-Power 420W Black Silent power supply, APC 700VA CybeFort II ups and running Ubuntu Server 8.04.2.</p><p>So anyway, this is it&#8230; the impressive updates <img
src='http://blog.robertalks.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> If you are interested in the server or the hosting part check out the web page: <a
href="http://www.visualserver.org" target="_blank">visualserver.org</a></p> ]]></content:encoded> <wfw:commentRss>http://blog.robertalks.com/index.php/2009/03/03/visualserverorg-update/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>MySQL: mysqltunner.pl and why to use it.</title><link>http://blog.robertalks.com/index.php/2009/01/21/mysql-mysqltunnerpl-and-why-to-use-it/</link> <comments>http://blog.robertalks.com/index.php/2009/01/21/mysql-mysqltunnerpl-and-why-to-use-it/#comments</comments> <pubDate>Wed, 21 Jan 2009 14:13:58 +0000</pubDate> <dc:creator>robert</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[optimization]]></category> <category><![CDATA[server]]></category> <guid
isPermaLink="false">http://blog.robertalks.com/?p=76</guid> <description><![CDATA[Most of us who run a server, use the basic stuff, Apache, PHP, MySQL, to provide a web site, a blog, a forum and so on. I also use MySQL on all of my server, but when it comes to a proper optimization, not just table optimization, I&#8217;m just dump. I don&#8217;t know MySQL server [...]]]></description> <content:encoded><![CDATA[<p>Most of us who run a server, use the basic stuff, Apache, PHP, MySQL, to provide a web site, a blog, a forum and so on. I also use MySQL on all of my server, but when it comes to a proper optimization, not just table optimization, I&#8217;m just dump. I don&#8217;t know MySQL server as I should, to be able to provide for my web site and users the speed, stability and security which they would need.</p><p><span
id="more-76"></span>For this I have found mysqltunner.pl. This can be downloaded from <a
title="mysqltuner.com" href="http://mysqltuner.com" target="_blank">mysqltuner.com</a> and it comes as a small Perl script, which checks your MySQL configuration and based on that will give you different tips and tricks how to improve the MySQL server.</p><p>I&#8217;ve been using this script for a while now and it did help me improve the MySQL server performance.</p><p>Here is a sample:</p><blockquote><p>[root@viperhost /root]# mysqltuner.pl</p><p>&gt;&gt;  MySQLTuner 1.0.0 &#8211; Major Hayden &lt;major@mhtx.net&gt;<br
/> &gt;&gt;  Bug reports, feature requests, and downloads at http://mysqltuner.com/<br
/> &gt;&gt;  Run with &#8216;&#8211;help&#8217; for additional options and output filtering<br
/> Please enter your MySQL administrative login: root<br
/> Please enter your MySQL administrative password:</p><p>&#8212;&#8212;&#8211; General Statistics &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br
/> [--] Skipped version check for MySQLTuner script<br
/> [OK] Currently running supported MySQL version 5.1.30-log<br
/> [OK] Operating on 32-bit architecture with less than 2GB RAM</p><p>&#8212;&#8212;&#8211; Storage Engine Statistics &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br
/> [--] Status: -Archive -BDB -Federated -InnoDB -ISAM -NDBCluster<br
/> [--] Data in MyISAM tables: 1M (Tables: 47)<br
/> [!!] Total fragmented tables: 2</p><p>&#8212;&#8212;&#8211; Performance Metrics &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br
/> [--] Up for: 20m 21s (624 q [0.511 qps], 45 conn, TX: 1M, RX: 68K)<br
/> [--] Reads / Writes: 70% / 30%<br
/> [--] Total buffers: 96.0M global + 960.0K per thread (300 max threads)<br
/> [OK] Maximum possible memory usage: 377.2M (37% of installed RAM)<br
/> [OK] Slow queries: 0% (0/624)<br
/> [OK] Highest usage of available connections: 2% (6/300)<br
/> [OK] Key buffer size / total MyISAM indexes: 32.0M/301.0K<br
/> [OK] Key buffer hit rate: 97.7% (1K cached / 44 reads)<br
/> [OK] Query cache efficiency: 56.0% (252 cached / 450 selects)<br
/> [OK] Query cache prunes per day: 0<br
/> [OK] Sorts requiring temporary tables: 0% (0 temp sorts / 18 sorts)<br
/> [OK] Temporary tables created on disk: 17% (5 on disk / 28 total)<br
/> [OK] Thread cache hit rate: 86% (6 created / 45 connections)<br
/> [OK] Table cache hit rate: 90% (70 open / 77 opened)<br
/> [OK] Open file limit used: 3% (141/4K)<br
/> [OK] Table locks acquired immediately: 100% (311 immediate / 311 locks)</p><p>&#8212;&#8212;&#8211; Recommendations &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br
/> General recommendations:<br
/> Run OPTIMIZE TABLE to defragment tables for better performance<br
/> MySQL started within last 24 hours &#8211; recommendations may be inaccurate</p></blockquote><p>As you can see from the sample, this small script can tell you a lot regarding you MySQL configuration, also what to do with it. How to increase some of the variables in the server configuration to improve performance or stability and so on. Now the most simple way to get this script is like this:</p><p>Example:</p><blockquote><p>[root@viperhost /root]# cd /usr/local/bin<br
/> [root@viperhost /usr/local/bin]# wget <a
title="download mysqtunner.pl" href="http://mysqltuner.com/mysqltuner.pl" target="_blank">http://mysqltuner.com/mysqltuner.pl</a><br
/> &#8211;15:06:03&#8211;  http://mysqltuner.com/mysqltuner.pl<br
/> Resolving mysqltuner.com&#8230; 209.20.89.226<br
/> Connecting to mysqltuner.com|209.20.89.226|:80&#8230; connected.<br
/> HTTP request sent, awaiting response&#8230; 200 OK<br
/> Length: 38688 (38K) [text/plain]<br
/> Saving to: `mysqltuner.pl&#8217;</p><p>15:06:04 (330 KB/s) &#8211; `mysqltuner.pl&#8217; saved [38688/38688]</p><p>[root@viperhost /usr/local/bin]# chmod +x mysqltuner.pl</p></blockquote><p>After downloading the script and setting executing rights, you just need to type ./mysqltunner.pl, enter your user, most cases &#8220;root&#8221; and the password for this user. I think the best idea will be to run the script using &#8220;root&#8221; user, most of the normal users don&#8217;t have rights to check different settings and variables in the MySQL Server.</p><p>Try it out, I would like to hear some ideas or issues regarding this script. I ran this already on CentOS 5 on 32bits and 64bits also on Ubuntu Server 8.04 and in all cases it worked perfectly.</p><p>Good luck!</p> ]]></content:encoded> <wfw:commentRss>http://blog.robertalks.com/index.php/2009/01/21/mysql-mysqltunnerpl-and-why-to-use-it/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
