Primary-secondary DNS mirroring?

Discussion in 'Installation/Configuration' started by crt, Aug 12, 2013.

  1. crt

    crt New Member


    I have set up an Debian Wheezy Ispconfig3 multiserver environment with 3 servers and I wanted to set up a mirrored primary-secondary DNS based on this howto:

    How To Run Your Own DNS Servers (Primary And Secondary) With ISPConfig 3 (Debian Squeeze)

    However, if I set up 'Is mirror of Server' option to the main server in the configuration of the selected host according to the howto, I cannot select that server host when I add a new Site/Email/DNS.

    Is it possible to mirror only the DNS data? What does 'Is mirror of Server' option exactly do?

    Thank you for your help.
  2. till

    till Super Moderator Staff Member ISPConfig Developer


    Irt mirrors all configuration changes done on the master server to the slave server for services configured in ispconfig.
  3. crt

    crt New Member

    Hi Till,

    Ok, I see, thank you.

    Another question:

    I wanted to install Ispconfig3 on two servers with Mysql master-master replication with Ispconfig3 interface on both of the hosts based on this howto:

    Installing A Web, Email & MySQL Database Cluster On Debian 6.0 With ISPConfig 3

    I have set up Mysql master-master replication and I have installed Ispconfig3 on both servers. The master server was a standard installation, the slave was an expert one. I chose different ispconfig database name and also the ispconfig user name for both hosts. Then, I copied /usr/local/ispconfig/interface/lib/ from the master server to the slave.

    My problem is:
    I can log in the Ispconfig3 interface on the master server, I can see both servers there and I can change the admin password, it works OK.
    But, I cannot login with the changed password on the slave server, I can only log in with the default one and I can only see the slave server among the server and monitor lists.

    I don't understand that, because mysql replication works perfectly, I can see the same databases and mysql users on both phpmyadmin interface but Ispconfig3 interfaces seems to be working separately.

    Do you have an idea what I could do to solve this problem?

    Thank you very much.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There must be a issue with the master/master replication. by copying the file Then, I copied /usr/local/ispconfig/interface/lib/ from the master server to the slave., you instructed the interface on the slave to connect to the database with the same name that is used on the master server, as all login credentials are stored in mysql, the login must be the same as on the master then if mysql replication works.
  5. crt

    crt New Member

    Hi Till,

    Indeed, it was a problem with replication, thank you.

Share This Page