2 Servers one for sql and another for forum files

Discussion in 'Site & Server Administration' started by ASTRAPI, Sep 17, 2009.

  1. #1
    Hello

    I was wondering how can i setup this scenario as many users recommend it in high traffic forums.

    1)Let's say server one for my forum files (php) i will need a server using Centos and cpanel and nothing else i think or...

    2)Second server must have centos (32 or 64bit does matter?) and mysql only in it.

    3)So i will be able to upload my db to the second server using ssh as in the past?

    4)How can i connect both servers so my forum start working?

    5)Someone told me using Whm but which tool and how?

    Thank you
     
    ASTRAPI, Sep 17, 2009 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    Bohra, Sep 17, 2009 IP
  3. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    More details please?

    I will need on both server cpanel?

    Any document or video tutorial for that?

    Thank you
     
    ASTRAPI, Sep 18, 2009 IP
  4. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #4
    Hi there, I have set this up before. A couple of notes.

    1. Make sure that both servers have two network cards. One card on each server will be used to talk to each other, and the second card on each server will be used for network access.

    2. Once cPanel is installed on the first machine, copy the entire /scripts folder to the second machine. The second machine will not need cPanel installed on it.

    3. Go to WHM on the first machine, and use the "Setup Remote MySQL server" option. This will install mysql and anything else it needs.

    4. Make sure your configuration files use the IP address of the second server for the host, instead of 'localhost'. This of course, should be something like 192.168.100.2, and the two machines should be tied directly together, and this should not be the external IP address of the second machine.

    That should get you rolling of the right path.
     
    RHS-Chris, Sep 18, 2009 IP