As I had to stop vpsadjust development due this unforeseen event, I started to prepare two new tools which I think could be useful for any Dreamhost PS owner. Right now I only have the ideas and expected features, with the time we'll see the final result. The tools are the following:
- vpsguardian. This tool will replace in some way the job done by vpsadjust, as right now it's not possible to have automatic resources configuration, this tool will provide information and trigger actions to help you maintain stable your CPU and memory settings. The different behaviours will be configurable. Main features:
- When memory is running out will disable crawlers access in all the domains by replacing or updating robots.txt to all denied. As soon the resources are spare again previous robots.txt file will be restored.
- When memory is running out and CPU is too high, some of the previously configured domains will be set to a redirected custom webpage. This action it's to lower load average and memory usage to let high priority domains have spare resources (i.e. e-commerce websites). The custom webpage could have a standard message saying something like "We are having a heavy usage spike. Please come back later". As soon the resources are spare again, redirection would be disabled.
- Owner's PS will get warning emails of any special action applied.
- Optionally vpsguardian will supervise users processes usage. Thresholds could be configured.
- Optionally vpsguardian will disable custom user services when load and/or memory is too high and enable them after resources are spare.
- Optionally vpsguardian will kill or renice user's owned processes (from a previously configured list) when load and/or memory is too high.
- Preconfiguration based on automatic settings taken from panel.dreamhost.com.
- Store CPU/Memory trends to offer settings recommendations based on historical data.
- vpsbackup. This one it's trivial, it's goal it's to backup all the domains configured in a PS. Optionally include in the backup set MySQL databases. Main features:
- Preconfiguration based on automatic settings taken from panel.dreamhost.com.
- Owner's PS optionally will receive reports of all the jobs by email.
- Historical reports of backup jobs executions (web reports).
- Possibility to launch pre-backup actions and post-backup actions. I.e. trigger cleaning scripts.
- Historical backups, to keep several backups at the same time from different days.
- Optionally upload backup to remote server (using FTP).
- Optionally encrypt backups.
This sounds excellent! BTW, I do not have the captcha thingy on my Dreamhost PS page, and would love to be able to try and use your vpsadjust program.