The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

synchronize servers

Discussion in 'General Discussion' started by Edizon, Jul 21, 2006.

  1. Edizon

    Edizon Well-Known Member

    Joined:
    Feb 18, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    AZ
    Do owners of multiple servers typically synchronize the root passwords? Is there an easy way to manager multiple servers with cPanel? or once it is clustered can you manage all accounts via one server?

    I have no idea I have only had one server at a time.
     
  2. BeDazzler

    BeDazzler Member

    Joined:
    Feb 20, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    re: Do owners of multiple servers typically synchronize the root passwords?

    Hi There,

    We run multiple hosts and do NOT synchronise root passwords deliberately.
    This way if anything should happen, all hosts have unique credentials for authentication.

    Cheers.
     
  3. Edizon

    Edizon Well-Known Member

    Joined:
    Feb 18, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    AZ
    thanks

    great thanks for the feedback! That is the view I needed.

    Does anyone know when you cluster servers. Can you view and perform tasks on all of the
    clustered servers domains via WHM.

    Say I log into the "master" server which has two servers clustered to it. Will the master server display all of the domains, in "View All Accounts" and allow me to modify the account? or does clustering strictly sync for DNS?

    thanks again
     
  4. sfxx

    sfxx Member

    Joined:
    May 31, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    I think clustering strictly sync for DNS, and won't let you manage multiple server's accounts at one place.
    If you need to do this, some billing softwares might help.
     
  5. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    697
    Likes Received:
    1
    Trophy Points:
    18
    Cpanel does not support clustering except for DNS. There is no email/web/ftp/database or any other clustering system available.
     
  6. kemis

    kemis Well-Known Member

    Joined:
    Feb 17, 2005
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Georgetown, TX
    So maybe this isn't possible with cPanel-written software or instructions, but is it even possible? Is there billing software that does this as sfxx suggested? I'm currently looking into any sort of redundancy I can get my hands on.

    I think I've got the DNS clustering figured out (but not yet attempted), so now I'm trying to see what I can do about setting up a Backup MX for all my accounts? Although some sort of full sync of all cPanel data would be nice, my main concern is with DNS & E-mail.

    Thanks,
    Matt
     
  7. kemis

    kemis Well-Known Member

    Joined:
    Feb 17, 2005
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Georgetown, TX
    Is it possible to use rsync to somehow keep 2 different cPanel servers in sync? The biggest problem I see would be the IP addresses of the accounts wouldn't match. Other than that, though, assuming the accounts were actually in the same directory (i.e. /home), what else would there be to consider?

    It would be so nice if the first cPanel server went down to "flip a switch" (a.k.a. execute a script that updated the DNS zone addresses) so that the internet would find the backup cPanel server.

    What does everyone else do to plan for a serious outage of the primary cP server besides DNS clustering?

    Matt
     
    #7 kemis, Aug 8, 2006
    Last edited: Aug 8, 2006
  8. oldengine

    oldengine Active Member

    Joined:
    Dec 23, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    It sure would have beed good to read an answer to the above post.
     
  9. kemis

    kemis Well-Known Member

    Joined:
    Feb 17, 2005
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Georgetown, TX
    Yeah, I forgot all about this post of mine. I still have to wonder why something like an rsync backup of all config directories, etc, wouldn't be possible. I would definitely pay extra if necessary for this sort of functionality.

    Matt
     
  10. Edizon

    Edizon Well-Known Member

    Joined:
    Feb 18, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    AZ
    Yeah it would have been nice for cPanel to incorporate true sync into WHM. But my new app has that now so I dont need cpanel to do it anymore. It is actually cool to be able to view and administer all the accounts in one screen with on click. Luv it =o)
     
  11. kemis

    kemis Well-Known Member

    Joined:
    Feb 17, 2005
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Georgetown, TX
    I'm sorry but I'm confused. What's your new app? Can you share? :)

    Matt
     
  12. nicklas

    nicklas Well-Known Member

    Joined:
    Dec 22, 2005
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Yes, would be very interesting to know what he uses now...

    Gues its lxadmin ;-)
     
  13. Edizon

    Edizon Well-Known Member

    Joined:
    Feb 18, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    AZ
    Its not lxadmin. It's cPanel/WHM, its an old custom app I built 2 years ago (when I first posted). I am thinking about rebuilding it with the xml_api. I actually havent used it in a long time. I only have one server now =o)

    My last program did a good job importing the accounts from multiple servers. I didn't bother selling it because it just parsed the html from inside WHM. Which if your running a different version, OS, or if a different theme it would not parse correctly. The XML may eliminate this problems I would have had before.

    I am gonna try something tonight on this and get back to you. I will probably just use generic reseller accounts since I only have one server.

    Kyle
     
  14. hodfords

    hodfords Active Member

    Joined:
    Feb 22, 2002
    Messages:
    43
    Likes Received:
    1
    Trophy Points:
    6
    To Sync servers, it would seem the following aspects will need synchronisation to allow DNS load balancing:-

    - Website Files (FTP)
    - Emails
    - Database (MySql or whatever)
    - BIND - But there needs to be a nameserver replacement for all domain names so that the master server (say ns1.xyz.com and ns2.xyz.com) will map to (ns3.xyz.com ns4.xyz.com) on the hot standby
    - Cpanel / WHM Config files

    Now currently for synchronisation we can do the following:-

    - Website Files (FTP) - rsync (once a day)
    - Emails - rsync (one a day)
    - Database - master->master Replication
    - BIND - ?? How can this synchronisation be achieved
    - Cpanel / WHM Config Files - ?? How can this synchronisation be achieved

    Any help that you experts out there can offer will be greatly appreciated.
     
  15. chrismfz

    chrismfz Well-Known Member

    Joined:
    Jul 4, 2007
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Greece
    cPanel Access Level:
    DataCenter Provider
    - BIND - ?? How can this synchronisation be achieved -> DnsCluster

    Nice n easy and your sync completed :)
     
  16. hodfords

    hodfords Active Member

    Joined:
    Feb 22, 2002
    Messages:
    43
    Likes Received:
    1
    Trophy Points:
    6
    OK - thanks for the reply.

    For synchronisation - what about other WHM / Cpanel / Server Configurations and settings like:-

    - Which theme an account uses
    - WHM / Cpanel config - such as retry time for email queue
    - What about /etc/exim.conf - it seems that we can no longer directly edit that file
    - User config - such as the users and groups of the server
    - Log files for webstats, etc.

    It's almost like the whole server needs to be synced and exceptions should be made for certain directories?
     
Loading...

Share This Page