<?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>Utility Computing dot China &#187; servers</title>
	<atom:link href="http://www.utilitycomputing.com.cn/tag/servers/feed" rel="self" type="application/rss+xml" />
	<link>http://www.utilitycomputing.com.cn</link>
	<description>数 据 嘉 年 华</description>
	<lastBuildDate>Tue, 13 Sep 2011 12:51:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Thermal Failure Protection</title>
		<link>http://www.utilitycomputing.com.cn/china/thermal-failure-protection</link>
		<comments>http://www.utilitycomputing.com.cn/china/thermal-failure-protection#comments</comments>
		<pubDate>Tue, 03 Nov 2009 09:55:36 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[China]]></category>
		<category><![CDATA[The Cloud]]></category>
		<category><![CDATA[idc]]></category>
		<category><![CDATA[openmanage]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[shutdown]]></category>
		<category><![CDATA[snmp]]></category>
		<category><![CDATA[thermal failure]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=402</guid>
		<description><![CDATA[When you have a server (and lets hope it is a real one and not a Zhong Guan Cun job) you should enable thermal protection.  Because A/C units do fail as do fans and other servers.  Thermal protection will cause your systems to shut down gracefully and prevent damage to them and surround devices - like UPS batteries.]]></description>
			<content:encoded><![CDATA[<p>When you have a server (and lets hope it is a real one and not a ZhongGuanCun job) you should enable thermal protection.  Because A/C units do fail as do fans and other servers.  Thermal protection will cause your systems to shut down gracefully and prevent damage to them and surrounding devices &#8211; like UPS batteries.</p>
<p>The following is a screen shot of a log from one client, who has a fairly large rack and a few servers for their thin client deployment.  In this case the A/C failed and the servers shut down gracefully.</p>
<p style="text-align: center;"><a href="http://www.utilitycomputing.com.cn/wp-content/uploads/2009/11/thermalfailure.png"><img class="aligncenter size-medium wp-image-403" title="thermalfailure" src="http://www.utilitycomputing.com.cn/wp-content/uploads/2009/11/thermalfailure-300x74.png" alt="thermalfailure" width="300" height="74" /></a></p>
<p><span id="more-402"></span>First noting the rising temperature and alerting CANDIS through our monitoring system and then when the failure threshold was met &#8211; issuing a shut down command to the OS and then powering off the server.  All this happened on a long weekend and the final shut down was alerted to us as well.</p>
<p>Worked like clock work.  Then again &#8211; I walk into many IDC&#8217;s in China and see flashing red failure LEDs and it seems they are forever on.  Do SysAdmins in China not setup hardware monitoring?  Do they not care?  Why is this?  Why would you want a failure to occur or interrupt your free time or your clients business?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/china/thermal-failure-protection/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nickel and Dimming Vendor Olympics?</title>
		<link>http://www.utilitycomputing.com.cn/uncategorized/nickel-and-dimming-olympics</link>
		<comments>http://www.utilitycomputing.com.cn/uncategorized/nickel-and-dimming-olympics#comments</comments>
		<pubDate>Thu, 15 May 2008 02:51:26 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[big iron]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[configuration fee]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[setup charges]]></category>
		<category><![CDATA[setup fee]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=172</guid>
		<description><![CDATA[In the middle of putting out a proposal for a very large client/tender at the moment. Well over a life time&#8217;s earnings in servers and an as yet un calculated retainer and service rate at this stage &#8211; electricity and bandwidth and human hours all cost money. I always try to get the best prices [...]]]></description>
			<content:encoded><![CDATA[<p>In the middle of putting out a proposal for a very large client/tender at the moment.  Well over a life time&#8217;s earnings in servers and an as yet un calculated retainer and service rate at this stage &#8211; electricity and bandwidth and human hours all cost money.</p>
<p>I always try to get the best prices within the scope of common sense for clients.  Mainly because as a integrated stack vendor, the pricing on one component can blow out the total price of the whole stack.  And hardware is the first place to start (given an understanding of the management systems and risk credentials of the project at hand already).</p>
<p>One thorn in my side is mandated &#8220;Installation and Configuration&#8221; charges.  Which are basically extortion attempts.</p>
<p><span id="more-172"></span></p>
<p>On the one hand no tech from SUN or IBM from their mainframe/mini computer division is going to know or be able to setup all variables in our system as we need &#8211; and as we will do over a long period of time &#8211; IE: the process of &#8220;Configuration&#8221; is Iterative and not finite to one small window of time. :-\</p>
<p>And going back to that whole vertical stack business.  Why should a client pay a hardware vendor for support and then pay the integrator for support?  These built in service charges make it harder for us to win business and sell anything as we have to protect ourselves as we will be doing the support &#8211; and that usually means that the client pays twice!</p>
<p>As much as these hardware firms like to chase the integrators and system builders as a great &#8220;Channel&#8221; to their products buyers in the market place.  Mandatory setup and Configuration fees (Yes they apparently are mutually exclusive in charging if not in the vernacular of the Queen&#8217;s English!) are a great way of say &#8220;Up Yours&#8221; to said channel partners/integrators.</p>
<p>It is not yet clear who will get the Gold Medal &#8211; but the race is very competitive!</p>
<p>:-\</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/uncategorized/nickel-and-dimming-olympics/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Software as a Service, ASPing, ESPing, ISPing and many more “SP’s”</title>
		<link>http://www.utilitycomputing.com.cn/china/software-as-a-service-asping-esping-isping-and-many-more-sps</link>
		<comments>http://www.utilitycomputing.com.cn/china/software-as-a-service-asping-esping-isping-and-many-more-sps#comments</comments>
		<pubDate>Fri, 18 Jan 2008 10:08:51 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Business Development]]></category>
		<category><![CDATA[China]]></category>
		<category><![CDATA[Tech Horizon]]></category>
		<category><![CDATA[The Cloud]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[esp]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[idc]]></category>
		<category><![CDATA[isp]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=141</guid>
		<description><![CDATA[Software as a service. Sounds nice doesn&#8217;t it? How about utility computing or computing as a service? Well it is not until you actually start to UNDERSTAND it &#8211; that you get to appreciate it. All too often the pundits of tech in society (as nice as they are), like twit.tv, cnet.com and zdnet.com &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>Software as a service.  Sounds nice doesn&#8217;t it?  How about utility computing or computing as a service?</p>
<p>Well it is not until you actually start to UNDERSTAND it &#8211; that you get to appreciate it.  All too often the pundits of tech in society (as nice as they are), like twit.tv, cnet.com and zdnet.com &#8211; have a great habit of talking about tech and service &#8211; but never having actually done it themselves or can appreciate it at a deeper and more sophisticated level.</p>
<p>Case in point, is the fact that many people go on about &#8220;I want a real app, not some web app&#8221;.  Or, I need to have connectivity while I am in a cross country flight, etc.  To me it just seems that some people can&#8217;t get with the times from either a tech standpoint, or even from another perspective, say costs.</p>
<p><span id="more-141"></span> I am using software as a service to highlight the missed nuances of many a lay person or tech pundits analysis of such situations and trends.</p>
<p>I look at all the effort that goes into running email infrastructure, the costs of running servers and IDC&#8217;s.  And it is quite common now for people to expect email to work like a light switch (major oversimplification) or to be a single small cost in the case of hosting.</p>
<p>Why is it, that software then and other technologies like thin clients, that seek to change the usage and costing of hardware and software from a disparate and ad-hoc, per person/cpu based exercise to a usage and deployment style that is more akin to hosting and email services, that one encounters so much resistance?</p>
<p>Resistance to change from clients and resistance to change from vendors.  Why do people still see computing and laptops and applications as objects that can be traded and bought and sold like shells and clams?</p>
<p>I know I asked the question, but I can&#8217;t answer it.  I simply can&#8217;t understand it.</p>
<p>Where we must give some props to in this regard is Amazon, Google and Microsoft, for somewhat seeing the light and being industry leaders.  Amazon, offer pay as you need it grid computing power, Google offers online applications and now Microsoft is also offering online applications.</p>
<p>To be fair though, Microsoft has had licensing schemes in place like the SPLA model for a while.  Allowing people to just pay a monthly fee to use all the software that they need.  Never having to worry about upgrade costs or &#8220;upgrade insurance&#8221; as some snake oil salesmen like to push.</p>
<p>Allow me to further expand my thoughts on this, with respect to some recent dealings of mine and in China and some questions that I can answer!  I will do this as a little Q+A session with myself.  <img src='http://www.utilitycomputing.com.cn/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><strong> Richard The Interviewer:</strong></p>
<p>&#8220;Richard, why would you not want to own your own software and hardware and put it inside your office or     in your lap on a laptop?&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Thank you for the thoughtful question Richard, allow me to answer on the issue of hardware first.   You         see Richard, the problem with hardware is that, well it is expensive!  And tis fact is made even worse by the         fact that it is outdated and superseded so quickly.</p>
<p><strong> Richard The Interviewer:</strong></p>
<p>&#8220;But surely even if something loses it&#8217;s value it is still useful?  I have seen many an old car drive around         leaving a trail of rust behind it?&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Yes, to a point.  The problem is that software gets more complicated and our needs get more demanding as we become more used to and comfortable with our technology.  A better way to look at it, is like hand-me-down clothes.  Servers and infrastructure to a degree can just be demoted down the line with new beasts coming in at the top for critical systems and then older ones being eventually upgraded &#8211; or converted into a VPS as they come up for expiry.&#8221;</p>
<p>&#8220;But to answer your question more accurately, it has to do with technologies like Virtualisation, economies of scale, operational costs and idle capacity.  If you look at your infrastructure like a time share holiday house or corporate jet, it suddenly becomes a lot easier to handle, both on cash flow and on your exposure to depreciation, so there really becomes very little in the way of real world value propositions to hold on to that old junk &#8211; this is even without going into the issue of <a href="http://www.utilitycomputing.com.cn/?p=134">power usage</a>!&#8221;</p>
<p>&#8220;For many years people liked to finance their equipment.  That is a great way to do it, as it lets you amortise the costs over the actual useful life of the system and then throw it out and get a new one.  That way, you can look at the leasing fee as a perpetual subscription model.  Just make a payment every month and the system is always online, up to date and fault free.&#8221;</p>
<p>&#8220;Plus it does wonders for your tax exposure when you claim all those leasing payments back against your tax.  Much better than doing it the Chinese way with a <a href="http://www.utilitycomputing.com.cn/?p=107">5 year depreciation curve</a>!&#8221;</p>
<p><strong>Richard The Interviewer:</strong></p>
<p>&#8220;OK, I get it.  Why own it and pay for the depreciation of it &#8211; that will take longer to remove a residual book value than it does to remove any operational value.  And just pay one fee once, per month for life and always have the tech taken care of.&#8221;</p>
<p>&#8220;But it seems that if I do this, I am still having to manage the equipment and run an IT dept, even though I am leasing the hardware?&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Yes, so why manage it then if you have already outsourced the ownership to your financing company?  That is the strange thing that happens.  It is like financing a truck and then paying for a driver.  Why not just use DHL or FedEx instead.  They offer economies of scale and are better at it.&#8221;</p>
<p><strong>Richard The Interviewer:</strong></p>
<p>&#8220;But I need control!!! I am worried about privacy!&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Control = expense.  Digital technology and servers = no privacy.  Your needs to control and keep data secure are very valid.  But to be truthful, simply having equipment on site or in your control does not make it any more secure or better.  These are separate issues.  And companies never really think about them any further than just that.  I have it, so it is safe.  I can touch it, so it is safe.  This is really an illusion of security and control.&#8221;</p>
<p><strong>Richard The Interviewer:</strong></p>
<p>&#8220;Ok, so what about software then?  Software as a service&#8230;.?&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Well software is no different.  Take all that I mentioned above and change hardware to software.  The one exception being that software in most countries does not have any depreciation allowance.  In China for example, software is always booked in as a single transaction once into your overhead.  That is the tax law.  Even if the software cost 1,000,000,000,000 USD and you intend to use it over 20 years, you can&#8217;t book the expense in and match it over many accounting periods.  So you are much better off in China at least operationally by renting or using an ASP service.&#8221;</p>
<p><strong>Richard The Interviewer:</strong></p>
<p>&#8220;So in a single paragraph, what is your main issue then with these old dinosaurs who want to own, control, touch and carry their technology around with them all the time?&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Do I have to be polite?  Well, I would simply say, &#8220;What are you thinking?!&#8221;  Get rid of the big software investments and yearly upgrades and all that hassle.  Just hand over a list of needs to an ASP, get a copy of their SLA (service level agreement) and be done with it.  Problem solved &#8211; for life!&#8221;</p>
<p>&#8220;As to hardware, well, the beauty of an ASP, is that you don&#8217;t need any!&#8221;</p>
<p><strong>Richard The Interviewer:</strong></p>
<p>&#8220;Well thanks for that Richard.  I think I will go and study the intricacies of ASP&#8217;s, ISP&#8217;s, ESP&#8217;s, the tax code, our cash flow, the tech road maps of the various companies out there some more.  And work out just why it is, that I feel so compelled to continue handing over cash by the fist full to continue in this rat race of upgrade cycles, repair windows and deployment plans.&#8221;</p>
<p>&#8220;IT that is like watching a TV or renting a movie online&#8230;..hmm, that would be useful and stress free&#8230;..seems tomorrow has been here for a few years already!&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Maybe next time we can touch on issues like data security, data retention, corporate governance compliance, audit trails, business continuity, capacity budgeting, staff retention, staff acquisition, staff training, staff vetting, staff knowledge pooling and on demand resources?&#8221;</p>
<p><strong>Richard The Interviewer:</strong></p>
<p>&#8220;That would be good.  Is that a whole load of hassle too?&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Well it used to be, but it is all par for the course when dealing with a good ASP, ESP, ISP or any xSP really.  Even more value!&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/china/software-as-a-service-asping-esping-isping-and-many-more-sps/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>China an inefficient truth</title>
		<link>http://www.utilitycomputing.com.cn/china/china-an-inefficient-truth</link>
		<comments>http://www.utilitycomputing.com.cn/china/china-an-inefficient-truth#comments</comments>
		<pubDate>Wed, 09 Jan 2008 08:55:53 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Business Development]]></category>
		<category><![CDATA[China]]></category>
		<category><![CDATA[Tech Horizon]]></category>
		<category><![CDATA[The Cloud]]></category>
		<category><![CDATA[data centre]]></category>
		<category><![CDATA[green computing]]></category>
		<category><![CDATA[idc]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[talent gap]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=134</guid>
		<description><![CDATA[I read this entry over on David Wolf&#8217;s blog before my recent trip back down under about power usage and IT infrastructure. Silicon Hutong And the topic did strike a &#8220;Hey this is real man!!!&#8221; kind of chord with me. A cathartic resonance that shall never come from me with respect to the greater greenhouse [...]]]></description>
			<content:encoded><![CDATA[<p>I read this entry over on David Wolf&#8217;s blog before my recent trip back down under about power usage and IT infrastructure.</p>
<p><a href="http://siliconhutong.typepad.com/silicon_hutong/2007/12/china-and-an-in.html">Silicon Hutong </a></p>
<p>And the topic did strike a &#8220;Hey this is real man!!!&#8221; kind of chord with me. A cathartic resonance that shall never come from me with respect to the greater greenhouse effect crap while the infallible science is still not in.  Nor came to me for any other &#8220;agenda&#8221; or &#8220;crusade of the world&#8221; that seemed to so very trouble all those students over in the Arts and Law faculties.  That seemed to have so much time on their hands, relative to us poor saps in Engineering and Business school.</p>
<p>Politics aside, wastage for the sake of wastage though is not very good.  And I have a rather poignant insider&#8217;s look at <a href="http://siliconhutong.typepad.com/silicon_hutong/2007/12/china-and-an-in.html">this issue </a>that also manages (in my mind at least) to cross paths with <a href="http://siliconhutong.typepad.com/silicon_hutong/2007/12/the-talent-gap.html">this issue</a> about China&#8217;s <a href="http://siliconhutong.typepad.com/silicon_hutong/2007/12/the-talent-gap.html">talent gap</a>, or indeed <a href="http://www.utilitycomputing.com.cn/?p=137">this also about the talent gap</a>.</p>
<p>What does resource wastage and power requirements have to do with a talent gap, or as they lament now in overly taxed and anti-entrepreneurial Australia &#8211; the &#8220;Brain Drain&#8221;?</p>
<p>Allow me to explain.</p>
<p><span id="more-134"></span> Servers cost a lot of money!  Not only do you spend the 5-10K USD for the server and warranty, you then have colocation fees, cooling costs and power costs &#8211; this all adds up.  And if you skimp on something like  cooling, your equipment can age prematurely &#8211; especially bad in China given the tax depts allowed <a href="http://www.utilitycomputing.com.cn/?p=107">deprecation rates</a>!</p>
<p>A good contact of mine who runs an IDC in New York city, mentioned how it is all about the power.  Real estate?  No worries, how much power will we need.  So it seems pretty clear where things are going.  Moore&#8217;s law, computing density increasing and an ever growing appetite for all things information.</p>
<p>With respect to the issues that David Wolf brought up, a major new trend that has been underway for the past 6 years or so and is trying to put a clamp on rising costs of infrastructure is Virtualisation.  This technology allows for less resource wastage and consumables wastage by consolidating many lower end servers into fewer bigger more reliable and cost effective servers.  Picking the low hanging fruit so to speak.</p>
<p>A further evolution of this that I mentioned about <a href="http://www.utilitycomputing.com.cn/?p=114">here</a> is where the actual servers in a  farm can be powered down too when not needed.</p>
<p>Now when it comes to electricity there are always two rates, the so called &#8220;Consumer Rate&#8221; and the &#8220;Industrial Rate&#8221;.  And yes, data centre&#8217;s use the industrial rates, which while are relatively cheaper than consumer rates &#8211; are still not cheap in absolute terms.  And if you go and use a <a href="http://www.dell.com/html/us/products/rack_advisor/index.html">nifty tool like this</a> Dell capacity planner and then do some arithmatic, you can see what your costs will be.  It is through this tool, that CANDIS deduced that paying the premium for higher efficiency power supplies and low voltage processors, actually did pay for themselves in outright power savings over a 2 year period.  Even more if you factor in that less heat is better for stability and system longevity.</p>
<p>So where does the talent gap come into play?  Well, in how many servers you need to do a job and knowing about virtualisation.</p>
<p>We had a client that was struggling to keep up and online with their 8 server cluster.  They kept just purchasing new servers when things went bad and slowed down.  Which seemed to happen all the time.  Now I know this and they didn&#8217;t, is that an out of the box Linux system is not too tuned and the concurrent IP connection tracking vlaue in the kernel is a little conservative.  So instead of them having 8 servers running at 20% capacity and still not managing the load on them as a cluster.  Yours truly made a few changes and now 3 servers are doing the job, with better outward performance to the clusters users.</p>
<p>What made this situation all the more funny, is that in China, capital asset valuations are fair game for being compared to the salary of a team of workers to perform the same job (quality and reaction times not withstanding).</p>
<p>So, in summary, I will go out on a limb here and make a bold assertion.</p>
<p>&#8220;There are probably more servers than needed running in IDC&#8217;s across China, due to engineers not knowing how to admin them properly, not know how to architect systems properly and not knowing how to leverage new technology better.&#8221;</p>
<p>Anyway, I could go on.  I just wanted to illustrate the nexus of those points and how they relate and intersect.  Poorly deployed tech, poorly planned and architected tech and balooning operational costs and resource demands.</p>
<p>Seems that in the past you could be a lazy programmer and no one would notice due to the liberation of faster processors and free cycles.  Or in China, buy a server is better than paying the for the expensive vendor support and optimisation.</p>
<p>However as one famous economist once mused&#8230;. &#8220;there is no such thing as a free lunch&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/china/china-an-inefficient-truth/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PostgreSQL Re-Index, Index Corruption</title>
		<link>http://www.utilitycomputing.com.cn/fossgnulinux/postgresql-re-index-index-corruption</link>
		<comments>http://www.utilitycomputing.com.cn/fossgnulinux/postgresql-re-index-index-corruption#comments</comments>
		<pubDate>Mon, 03 Dec 2007 14:18:25 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[FOSS/GNU/Linux]]></category>
		<category><![CDATA[big iron]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[reindex]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=127</guid>
		<description><![CDATA[Ever had a situation like this: Select from database ID where name = RICHARD; Returns and ID of 55 for example. Then go and do a query like this: Select * from some_other_table where ID = 55; Returns, &#8220;Sorry does not exist, time to die&#8230;..&#8221; Well apparently indexes when corrupt &#8211; which is NOT SUPPOSED [...]]]></description>
			<content:encoded><![CDATA[<p>Ever had a situation like this:</p>
<p>Select from database ID where name = RICHARD;</p>
<p>Returns and ID of 55 for example.</p>
<p>Then go and do a query like this:</p>
<p>Select * from some_other_table where ID = 55;</p>
<p>Returns, &#8220;Sorry does not exist, time to die&#8230;..&#8221;</p>
<p>Well apparently indexes when corrupt &#8211; which is NOT SUPPOSED TO HAPPEN &#8211; can cause PostgreSQL to go all stupid and not do a table lookup for real.  This happened to me.  So I found this:</p>
<p><a href="http://people.planetpostgresql.org/greg/index.php?/archives/88-Performing-a-reindex-of-the-system-tables.html">PlanetPostgresql </a></p>
<p>Turns out that a reindex and a full vacuum can do wonders &#8211; even though a full vacuum is not needed with autovacuum and indexes can&#8217;t get corrupted&#8230;..or so they say.</p>
<p>I have now added a system wide reindex maintenance plan for PostgreSQL every night.  I know that MS-SQL server has an option for this with their maintenance jobs inside enterprise manager.  Maybe someone should make an enterprise manager for PostgreSQL too?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/fossgnulinux/postgresql-re-index-index-corruption/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drive Roaming.  DELL PERC4 Controllers</title>
		<link>http://www.utilitycomputing.com.cn/uncategorized/drive-roaming-dell-perc4-controllers</link>
		<comments>http://www.utilitycomputing.com.cn/uncategorized/drive-roaming-dell-perc4-controllers#comments</comments>
		<pubDate>Sun, 18 Nov 2007 15:31:28 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[big iron]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=124</guid>
		<description><![CDATA[During a recent test run to see if a new PostgreSQL back end server would hasten things up in a main cluster &#8211; that has now become CPU bound and NOT IO&#8230;&#8230; the wizardry of that I will blog about later. In any case, the short of it is, that we were juggling PERC4 cards [...]]]></description>
			<content:encoded><![CDATA[<p>During a recent test run to see if a new PostgreSQL back end server would hasten things up in a main cluster &#8211; that has now become CPU bound and NOT IO&#8230;&#8230; the wizardry of that I will blog about later.</p>
<p>In any case, the short of it is, that we were juggling PERC4 cards around servers (PCI-X here, PCIe there..) and also complete raid 1 and raid 10 arrays too.  The cards are supposed to &#8220;detect&#8221; the correct array type from the drives if the firmware was missing.  Anyway, through a comedy of errors, it worked exactly 1/3 times.  The other times we had to remember the exact settings of our arrays (stripe, etc) and how it was structured.  So we could clear PERC cards and then recreate the arrays &#8211; taking special care to not initalise the new arrays.</p>
<p>So in the end, you can move arrays and channels about.  And with LVM, even designations like /sda /sdb reording is also not an issue.  However you should rely on good old fashioned hand held way of doing things.  Before you start write down all the salient details of your arrays first.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/uncategorized/drive-roaming-dell-perc4-controllers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DRAC4 Reset?</title>
		<link>http://www.utilitycomputing.com.cn/uncategorized/drac4-reset</link>
		<comments>http://www.utilitycomputing.com.cn/uncategorized/drac4-reset#comments</comments>
		<pubDate>Sat, 17 Nov 2007 07:21:28 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[big iron]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[drac]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=123</guid>
		<description><![CDATA[My hosting manager found out this cool info recently. DRAC cards are a pain when they do not work &#8211; which is not rare. They are very important and are only needed in rare circumstances. However if those circumstances arise &#8211; these cards MUST perform. I must say that the PE1800 and DRAC4 that we [...]]]></description>
			<content:encoded><![CDATA[<p>My hosting manager found out this cool info recently.  DRAC cards are a pain when they do not work &#8211; which is not rare.  They are very important and are only needed in rare circumstances.  However if those circumstances arise &#8211; these cards MUST perform.  I must say that the PE1800 and DRAC4 that we have, has been nothing but problems over the years.  Other DRAC&#8217;s and other servers, no issues at all.  We have even had this DRAC replaced twice already and it is still playing funny buggers.</p>
<p><a href="http://www.yaaboobar.com.cn/life/?p=37">DRAC RESET</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/uncategorized/drac4-reset/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gam_server ruining your IO throughput?  Context switches hitting 8,000 a second?</title>
		<link>http://www.utilitycomputing.com.cn/fossgnulinux/gam_server-ruining-your-io-throughput-context-switches-hitting-8000-a-second</link>
		<comments>http://www.utilitycomputing.com.cn/fossgnulinux/gam_server-ruining-your-io-throughput-context-switches-hitting-8000-a-second#comments</comments>
		<pubDate>Mon, 05 Nov 2007 09:11:25 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[FOSS/GNU/Linux]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=115</guid>
		<description><![CDATA[This hit me today. The &#8220;gam_server&#8221; process. Set to identify when any file in the system is changed. A useful action that has benefits. But not when it does it 3-5 times per second and the sever is serving NFS and PostgreSQL! To fix it, just ensure that somewhere in /etc/ (RedHat Base) or /etc/gamin/ [...]]]></description>
			<content:encoded><![CDATA[<p>This hit me today.</p>
<p>The &#8220;gam_server&#8221; process.  Set to identify when any file in the system is changed.  A useful action that has benefits.  But not when it does it 3-5 times per second and the sever is serving NFS and PostgreSQL!</p>
<p>To fix it, just ensure that somewhere in /etc/ (RedHat Base) or /etc/gamin/ (Debian Base) has a file called:</p>
<p><span id="more-115"></span> &#8220;gaminrc&#8221;</p>
<p>Add in one line for each file system type that you have.  For example mine is now:</p>
<p>#</p>
<p>fsset ext3 poll 10</p>
<p>fsset nfs poll 10</p>
<p>fsset xfs poll 10</p>
<p>#</p>
<p>The daemon will now scan every 10 seconds.  Of course for it to do that, make sure to invoke a &#8220;kill -s 9&#8243; first!  <img src='http://www.utilitycomputing.com.cn/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/fossgnulinux/gam_server-ruining-your-io-throughput-context-switches-hitting-8000-a-second/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The New Virtual Infrastructure</title>
		<link>http://www.utilitycomputing.com.cn/tech-horizon/the-new-virtual-infrastrucutre</link>
		<comments>http://www.utilitycomputing.com.cn/tech-horizon/the-new-virtual-infrastrucutre#comments</comments>
		<pubDate>Sun, 04 Nov 2007 19:08:33 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Tech Horizon]]></category>
		<category><![CDATA[The Cloud]]></category>
		<category><![CDATA[big iron]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=114</guid>
		<description><![CDATA[I have been using VMWARE/BOCHS and UML for around 7 years now. And boy have things moved quickly! Most recently VMWARE announced their new products. ESX 3.5 is basically the same as ESX3, the main new feature that all people could use is the central patch management system. The feature that is really putting this [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using VMWARE/BOCHS and UML for around 7 years now.  And boy have things moved quickly!  Most recently VMWARE announced their new products.  ESX 3.5 is basically the same as ESX3, the main new feature that all people could use is the central patch management system.  The feature that is really putting this product well into the &#8220;Enterprise&#8221; class is the SAN motion system.  Think VMOTION for SAN&#8217;s.  Well seeing as most SANS cost around 300,000 RMB, it must be nice to be able to have at least TWO of them, to then use this functionality.</p>
<p>What is a mixed bag in my mind is the new ESX3i.  It will be first released in the new Dell VORSO servers, originally due to ship this month and as confirmed by my DELL Sales manager, is slipping into the new year.  These servers will not need hard disks (So what about core dumps, logs and swap?) but will have embedded flash with the hypervisor installed.</p>
<p><span id="more-114"></span> On the surface it looks like the Hypervisor is now part of the system board.  It ain&#8217;t.  So I don&#8217;t expect ESX3i to give any speed increase.  What I do expect is that it will give a massive boost to deployment times.  If you are deploying new servers at the rate of one or more a week, this is cool.  Right now at CANDIS with blades, we have all the wiring already in place due to the chassis.  But we still need to go in through the management card to setup the OS.  Yes we can open the box and slide in the blade and have a new server fully setup physically.  But not the software.  From the looks of ESX3i, it goes a step further.  Power on the system, it finds a VC server, configures itself, boots up and presents it&#8217;s resources to the farm, ready to be dynamically allocated by the VC server.</p>
<p>Oh, they also have smart power management that can power down systems when their computing resources are not needed.  This is cool.  Since we pay about .2 RMB per kilowatt of power, it does add up.  The new low voltage XEON&#8217;s are great power savers, as are the new high efficiency power supplies.  However add in those dynamic server on/off controls and you will be able to make a serious dent in your power bill.  Oh, and keep the <a href="http://www.greenpeace.org/">&#8220;Eco-Terrorists&#8221;</a> happy too and thus maybe avoid a politically correct jihad aimed at you, unlike poor <a href="http://gizmodo.com/gadgets/greenpeace-vs-iphone/greenpeace-responds-to-alarmist-claims-admits-targeting-apple-grabs-headlines-313728.php">Apple Inc</a>.</p>
<p><a href="http://www.vmware.com"> VMWARE</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/tech-horizon/the-new-virtual-infrastrucutre/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ICP Certificates, Beijing Linux User Group Compliance</title>
		<link>http://www.utilitycomputing.com.cn/china/icp-certificates-linux-user-group-compliance-and-a-move-to-new-york</link>
		<comments>http://www.utilitycomputing.com.cn/china/icp-certificates-linux-user-group-compliance-and-a-move-to-new-york#comments</comments>
		<pubDate>Sat, 03 Nov 2007 11:04:14 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Business Development]]></category>
		<category><![CDATA[China]]></category>
		<category><![CDATA[Beijing]]></category>
		<category><![CDATA[filtering]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[icp]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=112</guid>
		<description><![CDATA[Well, the thing is, in China, you have to have a licence to have a website, called an ICP. It costs money if you are commercial, even more money if an e-commerce site, as well as a bank deposit with a certain amount of registered capital. For non commercial entities it is free and no [...]]]></description>
			<content:encoded><![CDATA[<p>Well, the thing is, in China, you have to have a licence to have a website, called an ICP.  It costs money if you are commercial, even more money if an e-commerce site, as well as a bank deposit with a certain amount of registered capital.  For non commercial entities it is free and no capital is required.   The whole idea is that it is there to keep things (sites and content) legal.  The original intent of this system was that only sites with a ICP would work.  Now any site will work and if audited and no ICP is found, you are taken down by order of the government if you don&#8217;t acquire one somewhat expediently.</p>
<p><span id="more-112"></span>This week, via the trickle down effect in the echelons of the China network, we got informed that a couple of our clients are not compliant and they need to become so, or remove their website.</p>
<p>We have had to remove some clients sites before because they did not have the correct ICP.  They could not get one because they did not have the correct business licences for the type of work they did.</p>
<p>Anyway, while having an ICP is a delicate balance between business licences, residential permits, correct content, correctly licenced IDC and what not, it is a good thing to get done and host in China.  To be official, legit and free to get on with doing business.</p>
<p>For the most part getting an ICP, or the existence of an ICP is not a barrier to hosting or a problem to comply with.  It sounds a whole lot more draconian than it really is.  However it is a hassle.  For you China hands, &#8220;mafan si le&#8221;!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/china/icp-certificates-linux-user-group-compliance-and-a-move-to-new-york/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>When 73GB is not 73GB!  Enter LVM</title>
		<link>http://www.utilitycomputing.com.cn/fossgnulinux/when-73gb-is-not-73g</link>
		<comments>http://www.utilitycomputing.com.cn/fossgnulinux/when-73gb-is-not-73g#comments</comments>
		<pubDate>Sat, 06 Oct 2007 20:38:25 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[FOSS/GNU/Linux]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=99</guid>
		<description><![CDATA[Thought I should write something tech for a change! It is golden week here and all are away on break. So instead of forcing a staff member to come back, I thought I would take care of some stuff myself. My problems started when a client who has a large advertising cluster, was running their [...]]]></description>
			<content:encoded><![CDATA[<p>Thought I should write something tech for a change!  <img src='http://www.utilitycomputing.com.cn/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>It is golden week here and all are away on break.  So instead of forcing a staff member to come back, I thought I would take care of some stuff myself.</p>
<p>My problems started when a client who has a large advertising cluster, was running their main statistics database (for click fraud detection) on a Dell 1950 with only 1 SAS 15K drive.</p>
<p>I had suggested that this node, not being redundant like the tomcat servers be individually redundant, so DRAC card, redundant power and RAID.</p>
<p>Anyway, some new blades, Dell 1955&#8242;s arrived for the cluster and I thought, well, lets save the client some money, image the old 1950 DB server and load it onto a new 1955 server?</p>
<p>I thought this would be simple with Acronis.</p>
<p>No it wasn&#8217;t.</p>
<p>It turns out that a 3.5 Inch 73GB SAS drive is not the same size as a 2.5 Inch 73GB SAS drive.  So I could not write my system image to the blades raid 1 array of 2 x 15K 73GB SAS drives.</p>
<p><span id="more-99"></span> Shite!  If I reinstall the DB server it is not worth my time.  Cheaper to buy the upgrade parts for the 1950.</p>
<p>Then I thought, well, I have LVM, I should be able to do this, after all I have used LVM before many times on large storage arrays.</p>
<p>So my goal was this, I needed a system image that was a couple hundred megs smaller than it was now, so it will go into the 1955&#8242;s ok.</p>
<p>This is where I added in VMWARE to the mix and made this an easy task.  The steps are below:</p>
<ol>
<li>Image the 1950 server to some ACRONIS TIB files somewhere.  I used FTP</li>
<li>Image the TIB file to a new VPS made with a 73GB virtual disk</li>
<li>Create and attach a new 65GB virtual disk to the virtual machine</li>
<li>Image the MBR and /boot partitions using acronis onto the new 65GB virtual disk</li>
<li>Boot virtual machine with a rescue/live CD</li>
<li>Load FDISK for /dev/sdb and create a new LVM (Type 8e) partition in the remaining space on the 65GB virtual drive</li>
<li>Enter LVM with the <em>&#8220;lvm&#8221;</em> command</li>
<li>Activate all Volume Groups with the command <em>&#8220;vgchange -a y&#8221;</em></li>
<li>EXIT out of LVM and then run this command to resize the EXT3 file system, <em>&#8220;resize2fs /dev/VolGroup/LogVol00 40G&#8221;</em>, you may have to run <em>&#8220;e2fschk -f /dev/VolGroup00/LogVol00&#8243; </em>first too</li>
<li>Enter LVM again with the <em>&#8220;lvm&#8221;</em> command</li>
<li>Now we can reduce the Logical Volume that had the recently shrunk EXT3 file system on it with this command, <em>&#8220;lvreduce LogVol00 -L 45G&#8221;</em></li>
<li>Because we are making a new custom boot image and we have already imaged over the /boot partition and MBR, we now want our old 73GB virtual drive to not have any of the same markings as our embryonic new 65GB virtual drive.  To do this we need to change the Volume Group and Logical Volume names to something new:</li>
<li><em>lvrename VolGroup00 LogVol00 LogVol10</em></li>
<li><em>lvrename VolGroup00 LogVol01 LogVol11</em></li>
<li><em>lvchange LogVol10 -a n</em></li>
<li><em>lvchange LogVol11 -a n</em></li>
<li><em>vgchange VolGroup00 VolGroup10</em></li>
<li>Now we can create the new Logical Volumes and Volume Groups on the 65GB virtual disk in preparation for cloning our now 40GB EXT3 file system</li>
<li>Make a new Physical Volume first wit, <em>&#8220;pvcreate /dev/sdb2&#8243;</em></li>
<li><em>pvscan</em></li>
<li><em>vgcreate VolGroup00 /dev/sdb2</em></li>
<li><em>vgscan</em></li>
<li><em>lvcreate VolGroup00 /dev/sdb2 -n LogVol01 -L 2G</em></li>
<li><em>lvcreate VolGroup00 /dev/sdb2 -n LogVol00 -L 50G</em></li>
<li><em>lvscan</em></li>
<li>Now we need to make our new LVM&#8217;s online and visible to the system so we run the command vgchange again,  <em>&#8220;vgchange -a y&#8221;</em></li>
<li>EXIT</li>
<li>Back at the command prompt we need to now setup our new SWAP partition, so we issue the command, <em>&#8220;mkswap /dev/VolGroup00/LogVol01&#8243;</em></li>
<li>Now we can clone our old 40GB EXT3 partion that we shrunk to our new LVM which is larger than 40GB, but smaller than 65GB, so it will image onto the PE1955 2.5 SAS drive array</li>
<li>We use an old favourite for this, <em>&#8220;dd if=/dev/VolGroup10/LogVol10 of=/dev/VolGroup00/LogVol00&#8243;</em></li>
<li>Once done, shutdown the VPS, boot up in Acronis and image the new 65GB virtual drive and then load it onto the PE1955 server.  DONE!</li>
</ol>
<p>I did all of this in single user mode so as to minimise the need for KUDZU to rescan and change all hardware.  I can do this because of the hardware commonality in the 9th generation Dell servers.</p>
<p>Also once done, the new LVM will be smaller than the full capacity of the 73GB SAS 2.5 SAS drive.  This is easily fixed while online. by making a new partition /dev/sda3 of LVM type (8e), making it into a Physical Volume, adding it to VolGroup00 and then extending the LogVol00 logical volume with the newly added extents.   Once that is done, go back to the command prompt and use the ext2online command to finally expand your EXT3 partition to use all the space on the LVM.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/fossgnulinux/when-73gb-is-not-73g/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

