Wheezy Clustered setup DB<->WEB internal ip

Discussion in 'Installation/Configuration' started by ngoyette, Apr 2, 2014.

  1. ngoyette

    ngoyette Member

    Hello,

    i've just made a multiserver setup on hyper-v following your guide Thank you!

    now i have a small modification / question.

    For both my DB server and my Web server i have configured a second network interface eth1 , with internal ip 10.10.11.0/24 these are routed trough hyper-v on a private managed switch.

    i am correct to assume that if i change /etc/hosts to
    for web server change public ip to local
    Code:
    10.10.11.1   db.mydomainname.net
    and for db server change public ip to local
    Code:
    10.10.11.2   web.mydomainname.net
    all communication between web and db will go trough local network instead of public ip network ?

    thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    yes, thats correct. But you will have to do this before you install ispconfig. if you do it afterwards, then edit all records in the mysql "mysql" database for the user permissions and change the external to the internal ip or the server nodes will loose their connection in ispconfig.
     
  3. ngoyette

    ngoyette Member

    ok thank you,

    so i checked the "mysql" db and i changed the external ip to internal for my 2 server .

    thank you
     

Share This Page