hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : How to update more than one server
Reply

Forum Jump

How to update more than one server

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Newbie
 
Join Date: Dec 2006
Posts: 11

How to update more than one server


Hey friends

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.

Cheers



Sponsored Links
  #2  
Old
Always Learning...
 
Join Date: Aug 2002
Location: Bharat
Posts: 4,663
Are they Linux Servers or Windows?

Are you using any Control Panel?

__________________
Vinsar.Net - Quality Web Hosting at Economical Price on USA & European Servers
Offering domains, shared, reseller & VPS hosting.
Reliable Domain Reseller Account Resell Domains with Confidence

  #3  
Old
Newbie
 
Join Date: Dec 2006
Posts: 11
Hey

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?

Cheers


Sponsored Links
  #4  
Old
Always Learning...
 
Join Date: Aug 2002
Location: Bharat
Posts: 4,663
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.

__________________
Vinsar.Net - Quality Web Hosting at Economical Price on USA & European Servers
Offering domains, shared, reseller & VPS hosting.
Reliable Domain Reseller Account Resell Domains with Confidence

  #5  
Old
Web Hosting Master
 
Join Date: Apr 2002
Location: Australia or US depends
Posts: 5,752
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.

__________________
Techark Web Hosting
Cloud Servers and Managed Dedicated Servers with Live Proactive Monitoring
My Blog of Random Thoughts

  #6  
Old
WebHosting Master
 
Join Date: Dec 2006
Posts: 4,149
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.

  #7  
Old
Newbie
 
Join Date: Oct 2006
Posts: 17
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

__________________
We Sell Your Music Online
Reccomended Host : rentaserv
Used For 1 Year No Ploblems

  #8  
Old
Web Hosting Master
 
Join Date: Apr 2002
Location: Australia or US depends
Posts: 5,752
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.

__________________
Techark Web Hosting
Cloud Servers and Managed Dedicated Servers with Live Proactive Monitoring
My Blog of Random Thoughts

  #9  
Old
Newbie
 
Join Date: Oct 2006
Posts: 17
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

__________________
We Sell Your Music Online
Reccomended Host : rentaserv
Used For 1 Year No Ploblems

  #10  
Old
Newbie
 
Join Date: Dec 2006
Posts: 11
Quote:
Originally Posted by Techark View Post
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.
Techark

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.

  #11  
Old
Community Liaison
 
Join Date: Nov 2002
Location: WebHostingTalk
Posts: 8,766
* Moved to Technical and Security Issues....

Sirius

__________________
I support the Human Rights Campaign!
Your welcome guide to Trinity Florida located just north of the Tampa and St Petersburg / Clearwater Beaches!

  #12  
Old
Engineer
 
Join Date: Jan 2005
Location: Scotland, UK
Posts: 2,533
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
2.6.21.3-admingeekz
2.6.21.3-admingeekz
2.6.21.3-admingeekz
2.6.19.2-grsec
2.6.21.3-admingeekz
2.6.21.3-admingeekz
2.6.21.3-admingeekz
2.6.19.2-grsec

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?

__________________
Server Management - AdminGeekZ.com
Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com

  #13  
Old
Newbie
 
Join Date: Dec 2006
Posts: 11
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.

  #14  
Old
Newbie
 
Join Date: Dec 2006
Posts: 11
Please, someone could help.

Any hint / article / tutorial of how to do to update all the servers at the same time.

  #15  
Old
Web Hosting Guru
 
Join Date: Jul 2006
Location: On top of the Servers
Posts: 320
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.

__________________
|| High Performance Server Management & Outstanding Technical Support
|| Server Optimization ::
Disaster Recovery :: Web Application Development
||
Setup Enterprise Servers:: Server Security :: Server Administration On Demand


Reply

Related posts from TheWhir.com
Title Type Date Posted
WHMCS Encourages Users to Upgrade as Part of Important Security Update Web Hosting News 2014-08-27 12:05:55
Update: Broken Cable Leaves Some Internet Customers in East Coast Region Offline Web Hosting News 2014-01-09 19:10:58
Google Updates Third Party Apps to Improve Security Web Hosting News 2013-11-20 14:52:06
Linode Updates Cloud-Based Load Balancer Service with SSL Support Web Hosting News 2013-11-08 11:50:09
Email Outage Hits Intermedia Users, Network Issues to Blame Web Hosting News 2013-09-04 10:37:28


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?