Web Hosting Talk







View Full Version : Changing cPanel packages on multiple servers at the same time


thefast
04-20-2007, 05:03 PM
I have on multiple servers with cPanel the same packages. Now i want to upgrade thes packages. is there a way to change them on all servers at the same time ?

Vinayak_Sharma
04-20-2007, 06:12 PM
I am not sure if there is a way, but maybe you would like to ask the same at cPanel forums at http://forums.cpanel.net

thefast
04-21-2007, 03:53 AM
I am not sure if there is a way, but maybe you would like to ask the same at cPanel forums at http://forums.cpanel.net


I already look around there, but i will ask the question there also. Lot's of hosters are using cPanel so i think there must be a way.

M3TechSolutions
04-21-2007, 07:54 AM
How many servers are we talking about here?

thefast
04-21-2007, 08:52 AM
How many servers are we talking about here?

Around 30.

page-zone
04-22-2007, 08:38 AM
Yes, find the config file that holds the packages and rsync it to all servers.

Requires the use of SecureCRT and a command using the "send chat to all tabs" area of secureCRT.

Something like this sent to all servers should work, but is totally untested, so might want to double check it on one before issuing it to all.

rsync -av -e ssh 127.0.0.0:/var/cpanel/packages/* /var/cpanel/packages/

rsync uses "source --> destination" so the 127... needs changed to the actual IP the wanted files are at.

thefast
04-22-2007, 08:59 AM
Yes, find the config file that holds the packages and rsync it to all servers.

Requires the use of SecureCRT and a command using the "send chat to all tabs" area of secureCRT.

Something like this sent to all servers should work, but is totally untested, so might want to double check it on one before issuing it to all.

rsync -av -e ssh 127.0.0.0:/var/cpanel/packages/* /var/cpanel/packages/

rsync uses "source --> destination" so the 127... needs changed to the actual IP the wanted files are at.


I will look into this, thanks.

vx|brian
04-22-2007, 09:03 AM
You can just go modify the package in WHM, it changes every user's package when you modify it.

30 servers shouldn't take _that_ long as you're not changing them one by one.

thefast
04-23-2007, 07:24 AM
You can just go modify the package in WHM, it changes every user's package when you modify it.

30 servers shouldn't take _that_ long as you're not changing them one by one.

The question was if anybody has a script to do it. Ofcourse i know i can do it manually :p