var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
How to update more than one server
I am with 13 servers in the planet. It would like to know it has as it updates them in a way simpler that I am doing. I update 1 for 1.
Sorry my english.
Are they Linux Servers or Windows?
Are you using any Control Panel?
Sorry, I forgot to write these information in post previous.
I use Linux in all machines and use WHM.
Despite I use Linux in all machines, in case I bought a server windows, would it be possible to update more than one for time?
Most of the control panel has got the ability to upgrade system softwares using cron or scheduling.
Explore WHM and you will see that you can set it up to upgrade itself on regular basis.
Is what you want a mass management script. One where you run a command from a mother server that will log into all other servers at once and run that command on all servers.
Is that what you are wanting to do?
For instance I have mine set up so that when I want to run for example a update on mod_security I can type the command and it will run it on all servers at once.
Maybe you can setup 1 server to perfection, then rsync it to the rest.
Then afterwards, keep doing rsyncs to keep the config/changes intact on the other servers as well.
From i understand cpanel has a global time that if you server is on automatic updates it will sync with cpanel at this time well with my 5 servers ive noticed they all update at midnight uk time every night and there in different location this may not be the same for you i dont know its just a theory
Cpanel updates via cron nightly if you set it for auto updates but that is not what he is wanting to do.
There are many times you need to run the same command on all servers, I think what he wants to avoid is having to log into each server one at a time and run the command.
No i mean i have upcp alerts delivered to my email ok i dont log into the server to do them it does it sutomatically but i always recieve the emails at the same time for each server
Originally Posted by
It is exactly that that I want to do. It would like to just to type once and sweep all the other servers automatically. Thus, I would go to avoid have to keep updating one for one.
* Moved to Technical and Security Issues....
The simple answer is scripts.
To execute on all servers you are going to need to use keys for ease of use and then you can just for loop the list of servers.
For example I normally do something like this,
# for i in `cat /etc/servers | head -n 8`;do $(/root/execute $i "uname -r");done
with /root/execute just using ssh from the command line to specify which key to use (the keys are stored as the hostname) and then which port etc.
It's one of the easier methods, you can also use cronjobs but you might want to stay away from that route.
What exactly do you want to "update" as such?
AdminGeekZ.com Infrastructure Management
, Web Application Performance,
. System Automation.
WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
Contact us for quote:
Well, I would like to update the system whenever it has an alert. I use RedHat and am written in newsletter. Whenever it arises a bug, I have to update of one for a. So, I wanted whenever it was necessary to update, update all of an unique time.
Please, someone could help.
Any hint / article / tutorial of how to do to update all the servers at the same time.
You need to write a shell script to accomplish this task. Develop a shell script that performs the "update" and write another script that will log into each servers and download the update script and runs it. In this way, you can run the update on all servers. Most of the system administers, I for one, follow this method to perform a task on multiple servers.
Related Posts from theWHIR.com