Archive for the 'Uncategorized' Category

API for PSMySQL servers

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 & memory, but this feature it's only related to the standard PS servers, not the PSMySQL ones.

There is a running suggestion requesting to extend the API to the PSMySQL servers here. Do not forget to vote for it :)

Thanks to Freeman for bringing me this to my attention.

Dreamhost API Contest

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 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. :)

You can find the winners here: http://blog.dreamhost.com/2009/06/22/big-boy-time-is-up/

And the whole list of tools here: http://wiki.dreamhost.com/API_Apps

DreamhostPStools’s Forums

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.

Saving cash at your Dreamhost PS

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 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 swapping.

So, at the end, I only pay for the resources I need and when I’m not using them, they are returned to Dreamhost reducing my monthly bill.

balance.png

Continue reading 'Saving cash at your Dreamhost PS'

First post

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 :D
Usually the quick and dirty workaround it’s to reboot the PS, but you only can do it manually at Dreamhost’s control panel.

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:

Hi,

Is there any chance I could automate reboots on my Dreamhost PS?

For example, if the number of zombie process is above 5 -> reboot PS

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 :D

Best regards.

Antonio.

And the answer:

Continue reading 'First post'