New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Multiple VPS Management Script
Hey guys,
I'm working on a script to make VPS management dead easy.
Here's the basic idea:
- ssh script that lets you manage your Debian boxes.
- do initial server setup (i.e. create accounts, install firewall, update packages, etc..)
- install web server
- install db (mysql, postgres)
- install email (postfix, dovecot)
- setup a backup server
- backup vps to ^^predefined server
- update packages
- benchmark
- check free memory
- reboot (thru solusvm api)
Best of all, it will maintain a list of VPSes to be managed. You'll be able to add/delete servers to/from the list, and run the above commands on one or more or even all of the servers. Currently, my plan is to support Debian only, but I might consider CentOS.
The project is in the planning stage right now, if any of you like the idea, I'd appreciate any input or help you can offer.
So, if you're experienced with shell scripting and are willing to help out, PM me. The project will open source and hosted on Github.
Comments
Sounds like a great idea. Let us know when you get closer to a beta stage.
Please consider CentOS
+1
Why reboot through solusvm, and not just ssh in like the rest does? :P
In my experience, sometimes OpenVZ acts stupid when you try to reboot from within the container.
I haven't had this problem at all
I did. Not lately tho, probably depends on host.
M
Any particular reason to do it this way, rather than using Puppet or CFEngine?
... or SaltStack, or Ansible
I had this with my first buyvm, could not understan why a reboot should take 10 minutes to complete. It was however, fixed later.
Prometeus reboots quicker than I can load up another putty session to reconnect.