<?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>DreamhostPStools &#187; Uncategorized</title>
	<atom:link href="http://dreamhostpstools.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://dreamhostpstools.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 27 Oct 2009 22:39:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>API for PSMySQL servers</title>
		<link>http://dreamhostpstools.com/2009/10/27/api-for-psmysql-servers/</link>
		<comments>http://dreamhostpstools.com/2009/10/27/api-for-psmysql-servers/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 22:39:05 +0000</pubDate>
		<dc:creator>Antonio</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dreamhostpstools.com/?p=48</guid>
		<description><![CDATA[Dreamhost did a cool job launching an API to control many of the aspects of their offered services, and mostly PS servers, with great features like resizing the resources of CPU &#38; memory, but this feature it's only related to the standard PS servers, not the PSMySQL ones. There is a running suggestion requesting to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://dreamhost.com">Dreamhost</a> did a cool job launching an <a href="http://wiki.dreamhost.com/API">API</a> to control many of the aspects of their offered services, and mostly PS servers, with great features like resizing the resources of CPU &amp; memory, but this feature it's only related to the standard PS servers, not the PSMySQL ones.</p>
<p>There is a running suggestion requesting to extend the API to the PSMySQL servers <a href="https://panel.dreamhost.com/index.cgi?treehome.sugg&amp;category_all&amp;searchextend%20web%20panel%20api">here</a>. Do not forget to vote for it <img src='http://dreamhostpstools.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks to Freeman for bringing me this to my attention.</p>
]]></content:encoded>
			<wfw:commentRss>http://dreamhostpstools.com/2009/10/27/api-for-psmysql-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dreamhost API Contest</title>
		<link>http://dreamhostpstools.com/2009/10/27/dreamhost-api-contest/</link>
		<comments>http://dreamhostpstools.com/2009/10/27/dreamhost-api-contest/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 22:12:59 +0000</pubDate>
		<dc:creator>Antonio</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dreamhostpstools.com/?p=44</guid>
		<description><![CDATA[Yeah, I know it's a hell of time since the contest finished and such, and this post it's quite rusty and late for that, but after "returning" to this blog from some sturdy laziness, I guess it's fair to write a few words about it. Why that? Because due that contest many people submited really [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah, I know it's a hell of time since the contest finished and such, and this post it's quite rusty and late for that, but after "returning" to this blog from some sturdy laziness, I guess it's fair to write a few words about it.</p>
<p>Why that? Because due that contest many people submited really great tools and aplications and those shouldn't be forgotten, and also because Dreamhost was so generous giving $100 to everyone who had submitted an application to the contest and didn't won. <img src='http://dreamhostpstools.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can find the winners here: <a href="http://blog.dreamhost.com/2009/06/22/big-boy-time-is-up/">http://blog.dreamhost.com/2009/06/22/big-boy-time-is-up/</a></p>
<p>And the whole list of tools here: <a href="http://wiki.dreamhost.com/API_Apps">http://wiki.dreamhost.com/API_Apps</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dreamhostpstools.com/2009/10/27/dreamhost-api-contest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DreamhostPStools&#8217;s Forums</title>
		<link>http://dreamhostpstools.com/2008/01/17/dreamhostpstoolss-forums/</link>
		<comments>http://dreamhostpstools.com/2008/01/17/dreamhostpstoolss-forums/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 17:39:13 +0000</pubDate>
		<dc:creator>Antonio</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dreamhostpstools.com/2008/01/17/dreamhostpstoolss-forums/</guid>
		<description><![CDATA[Any website usually has its own forums, so here they are: http://dreamhostpstools.com/forums So post there whatever you want to share with us, your suggestions, ideas, questions, or even your problems related with Dreamhost's Private Servers. Maybe we could find a solution for you. Indeed a short post.]]></description>
			<content:encoded><![CDATA[<p>Any website usually has its own forums, so here they are:</p>
<p><strong><a href="http://dreamhostpstools.com/forums">http://dreamhostpstools.com/forums</a></strong></p>
<p>So post there whatever you want to share with us, your suggestions, ideas, questions, or even your problems related with Dreamhost's Private Servers. Maybe we could find a solution for you.</p>
<p>Indeed a short post.</p>
]]></content:encoded>
			<wfw:commentRss>http://dreamhostpstools.com/2008/01/17/dreamhostpstoolss-forums/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saving cash at your Dreamhost PS</title>
		<link>http://dreamhostpstools.com/2007/11/19/saving-cash-at-your-dreamhost-ps/</link>
		<comments>http://dreamhostpstools.com/2007/11/19/saving-cash-at-your-dreamhost-ps/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 23:30:06 +0000</pubDate>
		<dc:creator>Antonio</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dreamhostpstools.com/2007/11/19/saving-cash-at-your-dreamhost-ps/</guid>
		<description><![CDATA[I coded another tool, vpsadjust, this one is saving myself some bucks already and providing a dynamic amount of CPU and memory resources. This script basically does monitoring on the free resources at your PS, if there are some amounts of “wasted” resources, i.e. 300Mb of free memory, it logs at Dreamhost’s control panel and [...]]]></description>
			<content:encoded><![CDATA[<p>I coded another tool, <font color="#ff6600"><strong>vpsadjust</strong></font>, this one is saving myself some bucks already and providing a dynamic amount of CPU and memory resources.</p>
<p>This script basically does monitoring on the free resources at your PS, if there are some amounts of “wasted” resources, i.e. 300Mb of free memory, it logs at <a href="http://panel.dreamhost.com" target="_blank">Dreamhost’s control panel</a> and reduces the CPU/Memory to a lower level. And in the other side, if your PS is already swapping memory, the script logs at the control panel and raises your resources to reduce the <em>swapping</em>.</p>
<p>So, at the end, I only pay for the resources I need and when I’m not using them, they are returned to <a href="http://www.dreamhost.com" target="_blank">Dreamhost</a> reducing my monthly bill.</p>
<p align="center"><img src="http://dreamhostpstools.com/wp-content/uploads/2007/11/balance.png" alt="balance.png" /></p>
<p><span id="more-13"></span><br />
It’s not only a saving matter, it’s also a best service provided to my customers, as my websites won’t show any longer (or not so often) that ugly and disgusting  “<font color="#ff0000">HTTP 500 Internal Server Error</font>” produced by shortage of PS resources.</p>
<p>Check <a href="http://dreamhostpstools.com/my-ps-status/" target="_blank">My PS Status</a> at this site to see my own usage trend <img src='http://dreamhostpstools.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://dreamhostpstools.com/2007/11/19/saving-cash-at-your-dreamhost-ps/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>First post</title>
		<link>http://dreamhostpstools.com/2007/11/19/first-post/</link>
		<comments>http://dreamhostpstools.com/2007/11/19/first-post/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 23:16:20 +0000</pubDate>
		<dc:creator>Antonio</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dreamhostpstools.com/2007/11/19/first-post/</guid>
		<description><![CDATA[It’s not the first time I find that my PS it’s not working properly due it’s has lost NFS mounts, or it went out of memory due a sudden peek of traffic or maybe because a few zombie processes are hanging around produced by my not-so-good programming skill Usually the quick and dirty workaround it’s [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dreamhost.com" target="_blank"></a>It’s not the first time I find that my <a href="http://en.wikipedia.org/wiki/Virtual_private_server" target="_blank">PS</a> it’s not working properly due it’s  has lost NFS mounts, or it went out of memory due a  sudden peek of traffic or maybe because a few zombie processes are hanging around produced by my <em>not-so-good</em> programming skill <img src='http://dreamhostpstools.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
Usually the quick and dirty workaround it’s to reboot the PS, but you only can do it manually at Dreamhost’s <a href="http://panel.dreamhost.com" target="_blank">control panel</a>.</p>
<p>As there is no way I could be checking my PS status all the time, and I’m not going to double the amount I’m paying already to avoid any chance of high rare peeks of traffic, I submitted a ticket to Dreamhost support asking by any way to automate reboots:</p>
<blockquote><p> Hi,</p>
<p>Is there any chance I could automate reboots on my Dreamhost PS?</p>
<p>For example, if the number of zombie process is above 5 -&gt; reboot PS</p>
<p>The hard way it's coding the Perl LWP script that logs in this panel and does the same thing at your form, but that's too crappy and I'd prefer to not take that path <img src='http://dreamhostpstools.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Best regards.</p>
<p>Antonio.</p></blockquote>
<p>And the answer:</p>
<p><span id="more-12"></span></p>
<blockquote><p> Hello Antonio,</p>
<p>&gt; Is there any chance I could automate reboots on my Dreamhost PS?</p>
<p>Sorry! We currently do not have an option to easily reboot your Dreamhost<br />
PS via the console. You will need to (unfortunately) write the script the<br />
access the panel in order to setup this automated reboot process.</p>
<p>If we add anything in the near future I will be glad to let you know, but<br />
right now there is no easy method to automate these reboots.</p>
<p>Thanks!</p></blockquote>
<p>So, this is how is born the first tool at <a href="http://dreamhostpstools.com" target="_blank">DreamhostPStools.com</a>: <font color="#ff6600"><strong>vpsreboot.pl</strong></font></p>
<blockquote><p> perl vpsreboot.pl<br />
13:23:04: Logging at panel...<br />
13:23:09: Logged in succesfully!<br />
13:23:09: Requesting reboot of xxxxxx PS ...<br />
13:23:11: Reboot pending!</p></blockquote>
<p>And voila! PS rebooted and serving pages again <img src='http://dreamhostpstools.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Once the script is executed it schedules the PS reboot, there is not any kind of intelligence to evaluate if the reboot was really needed or not (yet!).</p>
<p>Some improvements which came to my mind are:</p>
<ul>
<li>Send an email to the owner each time a reboot is scheduled.</li>
<li>Add a security delay to avoid queued reboots produced by any kind of mistake or wrong behaviour.</li>
<li>Sites monitoring based on Dreamhost PS, after several errors launch an automated scheduled reboot.</li>
</ul>
<p>And possibly more in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://dreamhostpstools.com/2007/11/19/first-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
