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.

Sync 2 cPanels

Discussion in 'General Discussion' started by YIFY, Sep 5, 2011.

  1. YIFY

    YIFY Registered

    Joined:
    Sep 5, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi,

    I would like to know how to be able to sync up content/sql/settings between TWO different cPanels on 2 Different webhost servers. is this possible, if not what is a good solution


    What i am trying to achieve is a bit of load balancing and redundancy issues if one goes down.

    Please help
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    For MySQL, do both machines have InnoDB disabled? If they do not, flat file rsycing wouldn't be supported between the servers, since it can easily result in database table corruption.
     
  3. YIFY

    YIFY Registered

    Joined:
    Sep 5, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    How would I go about checking this, and also if it is disabled how would I go about syncing ?
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Run the following command:

    Code:
    mysql -e 'select table_name FROM INFORMATION_SCHEMA.tables where table_type="BASE TABLE" and engine = "InnoDB"' mysql
    If you get a return, InnoDB is enabled. If you do not get a return, it is not enabled.

    As for syncing, while we do not support rsync, you might use the suggestions in this thread for rsyncing for redundancy purposes:

    rsync backups
     
Loading...

Share This Page