Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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,608
    Likes Received:
    32
    Trophy Points:
    238
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. YIFY

    YIFY Registered

    Joined:
    Sep 5, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    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,608
    Likes Received:
    32
    Trophy Points:
    238
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice