ISPConfig 3 - MultiServer Setup - With Dedicated Control Panel - How?

Discussion in 'Installation/Configuration' started by SuperJC, Oct 12, 2012.

  1. SuperJC

    SuperJC New Member

    Hi All,

    We've been successful in installing an multiserver setup exactly as in the documents, but now we would like to split it into 6 servers instead of 5 and add a dedicated ISPConfig Control Panel Server. However we are not exactly clear on what options should be selected on the Control Panel & the Web Servers. Any help is appreciated!

    Desired setup:

    1. CP Server (Dedicated Control Panel)
    2. Web Server
    3. Mail Server
    4. DB Server
    5. DNS1 Server
    6. DNS2 Server

    Basically we need help in what options to select during the ISPConfig setup script phase, and what roles to select for both the CP Server & the Web Server. (In WebUI: ISPConfig > System > Server Services > <server>)

    Thanks again,

    SuperJC
    :cool:
     
  2. SuperJC

    SuperJC New Member

    Think we have it mostly figured out. Here's our choices for the ISPConfig install script:

    ## Control Panel
    --------------------------------------------------------------------------------
    _____ ___________ _____ __ _ ____
    |_ _/ ___| ___ \ / __ \ / _(_) /__ \
    | | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ /
    | | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ |
    _| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \
    \___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/
    __/ |
    |___/
    --------------------------------------------------------------------------------
    >> Initial configuration
    Operating System: Debian 6.0 (Squeeze/Sid) or compatible
    Following will be a few questions for primary configuration so be careful.
    Default values are in [brackets] and can be accepted with <ENTER>.
    Tap in "quit" (without the quotes) to stop the installer.
    Select language (en,de) [en]: en
    Installation mode (standard,expert) [standard]: expert
    Full qualified hostname (FQDN) of the server, eg server1.domain.tld [cp1.example.com]: cp1.example.com
    MySQL server hostname [localhost]: localhost
    MySQL root username [root]: <user>
    MySQL root password []: <password>
    MySQL database to create [dbispconfig]: dbispconfig
    MySQL charset [utf8]: utf8
    The next two questions are about the internal ISPConfig database user and password.
    It is recommended to accept the defaults which are 'ispconfig' as username and a random password.
    If you use a different password, use only numbers and chars for the password.
    ISPConfig mysql database username [ispconfig]: ispconfig
    ISPConfig mysql database password [<password>]:
    Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: n
    Adding ISPConfig server record to database.
    Configure Mail (y,n) [y]: n
    Configure Jailkit (y,n) [y]: n
    Configure FTP Server (y,n) [y]: n
    Configure DNS Server (y,n) [y]: n
    Hint: If this server shall run the ISPConfig interface, select 'y' in the 'Configure Apache Server' option.
    Configure Apache Server (y,n) [y]: y
    Configuring Apache
    Configuring Vlogger
    Configuring Apps vhost
    Configure Firewall Server (y,n) [y]: y
    Configuring Bastille Firewall
    Install ISPConfig Web Interface (y,n) [y]: y
    Installing ISPConfig
    ISPConfig Port [8080]: 8080
    Enable SSL for the ISPConfig web interface (y,n) [y]: y
    Generating RSA private key, 4096 bit long modulus
    .++
    ................................................................................................................................++
    e is 65537 (0x10001)
    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    Country Name (2 letter code) [AU]:<Country>
    State or Province Name (full name) [Some-State]:<State>
    Locality Name (eg, city) []:<Locality>
    Organization Name (eg, company) [Internet Widgits Pty Ltd]:<Organization>
    Organizational Unit Name (eg, section) []:<Unit>
    Common Name (eg, YOUR name) []:cp1.example.com
    Email Address []:[email protected]
    Please enter the following 'extra' attributes
    to be sent with your certificate request
    A challenge password []:<password>
    An optional company name []:<Company>
    writing RSA key
    Configuring DBServer
    Installing ISPConfig crontab
    no crontab for <user>
    Restarting web server: apache2 ... waiting .
    Installation completed.
    ##
    ## Web
    --------------------------------------------------------------------------------
    _____ ___________ _____ __ _ ____
    |_ _/ ___| ___ \ / __ \ / _(_) /__ \
    | | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ /
    | | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ |
    _| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \
    \___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/
    __/ |
    |___/
    --------------------------------------------------------------------------------
    >> Initial configuration
    Operating System: Debian 6.0 (Squeeze/Sid) or compatible
    Following will be a few questions for primary configuration so be careful.
    Default values are in [brackets] and can be accepted with <ENTER>.
    Tap in "quit" (without the quotes) to stop the installer.
    Select language (en,de) [en]: en
    Installation mode (standard,expert) [standard]: expert
    Full qualified hostname (FQDN) of the server, eg server1.domain.tld [web1.example.com]: web1.example.com
    MySQL server hostname [localhost]: localhost
    MySQL root username [root]: <user>
    MySQL root password []: <password>
    MySQL database to create [dbispconfig]: dbispconfig
    MySQL charset [utf8]: utf8
    The next two questions are about the internal ISPConfig database user and password.
    It is recommended to accept the defaults which are 'ispconfig' as username and a random password.
    If you use a different password, use only numbers and chars for the password.
    ISPConfig mysql database username [ispconfig]: ispconfig
    ISPConfig mysql database password [<password>]:
    Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: y
    MySQL master server hostname []: cp1.example.com
    MySQL master server root username [root]: <user>
    MySQL master server root password []: <password>
    MySQL master server database name [dbispconfig]: dbispconfig
    Adding ISPConfig server record to database.
    Configure Mail (y,n) [y]: n
    Configure Jailkit (y,n) [y]: y
    Configuring Jailkit
    Configure FTP Server (y,n) [y]: y
    Configuring Pureftpd
    Restarting ftp server: ...
    Configure DNS Server (y,n) [y]: n
    Hint: If this server shall run the ISPConfig interface, select 'y' in the 'Configure Apache Server' option.
    Configure Apache Server (y,n) [y]: n
    Configure Firewall Server (y,n) [y]: y
    Configuring Bastille Firewall
    Install ISPConfig Web Interface (y,n) [y]: n
    Configuring DBServer
    Installing ISPConfig crontab
    no crontab for <user>
    Restarting web server: apache2 ... waiting .
    Installation completed.
    ##
    ## Mail
    --------------------------------------------------------------------------------
    _____ ___________ _____ __ _ ____
    |_ _/ ___| ___ \ / __ \ / _(_) /__ \
    | | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ /
    | | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ |
    _| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \
    \___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/
    __/ |
    |___/
    --------------------------------------------------------------------------------
    >> Initial configuration
    Operating System: Debian 6.0 (Squeeze/Sid) or compatible
    Following will be a few questions for primary configuration so be careful.
    Default values are in [brackets] and can be accepted with <ENTER>.
    Tap in "quit" (without the quotes) to stop the installer.
    Select language (en,de) [en]: en
    Installation mode (standard,expert) [standard]: expert
    Full qualified hostname (FQDN) of the server, eg server1.domain.tld [mail1.example.com]: mail1.example.com
    MySQL server hostname [localhost]: localhost
    MySQL root username [root]: <user>
    MySQL root password []: <password>
    MySQL database to create [dbispconfig]: dbispconfig
    MySQL charset [utf8]: utf8
    The next two questions are about the internal ISPConfig database user and password.
    It is recommended to accept the defaults which are 'ispconfig' as username and a random password.
    If you use a different password, use only numbers and chars for the password.
    ISPConfig mysql database username [ispconfig]: ispconfig
    ISPConfig mysql database password [<password>]:
    Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: y
    MySQL master server hostname []: cp1.example.com
    MySQL master server root username [root]: <user>
    MySQL master server root password []: <password>
    MySQL master server database name [dbispconfig]: dbispconfig
    Adding ISPConfig server record to database.
    Configure Mail (y,n) [y]: y
    Configuring Postfix
    Generating a 2048 bit RSA private key
    .................................+++
    .........+++
    writing new private key to 'smtpd.key'
    -----
    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    Country Name (2 letter code) [AU]:<Country>
    State or Province Name (full name) [Some-State]:<State>
    Locality Name (eg, city) []:<Locality>
    Organization Name (eg, company) [Internet Widgits Pty Ltd]:<Organization>
    Organizational Unit Name (eg, section) []:<Unit>
    Common Name (eg, YOUR name) []:mail1.example.com
    Email Address []:[email protected]
    Configuring Mailman
    Configuring Dovecot
    Configuring Spamassassin
    Configuring Amavisd
    Configuring Getmail
    Stopping Postfix Mail Transport Agent: postfix.
    Starting Postfix Mail Transport Agent: postfix.
    Stopping amavisd: amavisd-new.
    Starting amavisd: amavisd-new.
    Stopping ClamAV daemon: clamd.
    Starting ClamAV daemon: clamd .
    If you have trouble with authentication failures,
    enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
    This message goes away after the first successful login.
    Restarting IMAP/POP3 mail server: dovecot.
    Configure Jailkit (y,n) [y]: n
    Configure FTP Server (y,n) [y]: n
    Configure DNS Server (y,n) [y]: n
    Configure Firewall Server (y,n) [y]: y
    Configuring Bastille Firewall
    Install ISPConfig Web Interface (y,n) [y]: n
    Configuring DBServer
    Installing ISPConfig crontab
    no crontab for <user>
    no crontab for getmail
    Installation completed.
    ##
    ## DB
    --------------------------------------------------------------------------------
    _____ ___________ _____ __ _ ____
    |_ _/ ___| ___ \ / __ \ / _(_) /__ \
    | | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ /
    | | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ |
    _| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \
    \___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/
    __/ |
    |___/
    --------------------------------------------------------------------------------
    >> Initial configuration
    Operating System: Debian 6.0 (Squeeze/Sid) or compatible
    Following will be a few questions for primary configuration so be careful.
    Default values are in [brackets] and can be accepted with <ENTER>.
    Tap in "quit" (without the quotes) to stop the installer.
    Select language (en,de) [en]: en
    Installation mode (standard,expert) [standard]: expert
    Full qualified hostname (FQDN) of the server, eg server1.domain.tld [db1.example.com]: db1.example.com
    MySQL server hostname [localhost]: localhost
    MySQL root username [root]: <user>
    MySQL root password []: <password>
    MySQL database to create [dbispconfig]: dbispconfig
    MySQL charset [utf8]: utf8
    The next two questions are about the internal ISPConfig database user and password.
    It is recommended to accept the defaults which are 'ispconfig' as username and a random password.
    If you use a different password, use only numbers and chars for the password.
    ISPConfig mysql database username [ispconfig]: ispconfig
    ISPConfig mysql database password [<password>]:
    Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: y
    MySQL master server hostname []: cp1.example.com
    MySQL master server root username [root]: <user>
    MySQL master server root password []: <password>
    MySQL master server database name [dbispconfig]: dbispconfig
    Adding ISPConfig server record to database.
    Configure Mail (y,n) [y]: n
    Configure Jailkit (y,n) [y]: n
    Configure FTP Server (y,n) [y]: n
    Configure DNS Server (y,n) [y]: n
    Configure Firewall Server (y,n) [y]: y
    Configuring Bastille Firewall
    Install ISPConfig Web Interface (y,n) [y]: n
    Configuring DBServer
    Installing ISPConfig crontab
    no crontab for <user>
    Installation completed.
    ##
    ## DNS
    --------------------------------------------------------------------------------
    _____ ___________ _____ __ _ ____
    |_ _/ ___| ___ \ / __ \ / _(_) /__ \
    | | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ /
    | | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ |
    _| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \
    \___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/
    __/ |
    |___/
    --------------------------------------------------------------------------------
    >> Initial configuration
    Operating System: Debian 6.0 (Squeeze/Sid) or compatible
    Following will be a few questions for primary configuration so be careful.
    Default values are in [brackets] and can be accepted with <ENTER>.
    Tap in "quit" (without the quotes) to stop the installer.
    Select language (en,de) [en]: en
    Installation mode (standard,expert) [standard]: expert
    Full qualified hostname (FQDN) of the server, eg server1.domain.tld [dns1.example.com]: dns1.example.com
    MySQL server hostname [localhost]: localhost
    MySQL root username [root]: <user>
    MySQL root password []: <password>
    MySQL database to create [dbispconfig]: dbispconfig
    MySQL charset [utf8]: utf8
    The next two questions are about the internal ISPConfig database user and password.
    It is recommended to accept the defaults which are 'ispconfig' as username and a random password.
    If you use a different password, use only numbers and chars for the password.
    ISPConfig mysql database username [ispconfig]: ispconfig
    ISPConfig mysql database password [<password>]:
    Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: y
    MySQL master server hostname []: cp1.example.com
    MySQL master server root username [root]: <user>
    MySQL master server root password []: <password>
    MySQL master server database name [dbispconfig]: dbispconfig
    Adding ISPConfig server record to database.
    Configure Mail (y,n) [y]: n
    Configure Jailkit (y,n) [y]: n
    Configure FTP Server (y,n) [y]: n
    Configure DNS Server (y,n) [y]: y
    Configuring BIND
    Configure Firewall Server (y,n) [y]: y
    Configuring Bastille Firewall
    Install ISPConfig Web Interface (y,n) [y]: n
    Configuring DBServer
    Installing ISPConfig crontab
    no crontab for <user>
    Installation completed.
    ##

    For Server Roles:

    Control Panel Server: Deselect All
    Web Server: Only Web & File Selected

    For installation we installed the Control Panel Server the same as a Control Panel/Web Server in the Multi Server How-To doc. Possibly some packages could be skipped. For instance, the ftp packages? Any suggestions?

    Any additional input would be welcome!

    Thanks,

    SuperJC
    :cool:
     
  3. SuperJC

    SuperJC New Member

    Found a small modification to the above was necessary.

    Code:
    Hint: If this server shall run the ISPConfig interface, select 'y' in the 'Configure Apache Server' option.
    Configure Apache Server (y,n) [y]: y
    Although the hint would seem to indicate that this is only necessary for the server running the Control Panel, it seems to be necessary for the Web Server too. (Does make sense that we would want to configure it, just the hint is somewhat vague.)

    Anyone have any other input, suggestions, etc?

    Thanks,

    SuperJC
    :cool:
     
  4. webguy12

    webguy12 New Member

    How would you add dns on the control panel server Doing the same setup but I need to add the DNS to the control panel server and the web server..
     
  5. SuperJC

    SuperJC New Member

    I wouldn't know exactly. You would have to use some extrapolation and combine the webserver/control panel server parts with the dns server parts during the install from a guide such as this: Multiserver Setup With Dedicated Web, Email, DNS & MySQL Database Servers On Debian Squeeze With ISPConfig 3 (Of course depending on your distro, you may have to find another guide.)

    During the ISPConfig install script section, I guess you would also answer yes to the DNS Server part for both systems. And then for the roles also adapt the method I posted here http://www.howtoforge.com/forums/showthread.php?t=59037 accordingly. Or of course you could just use the WebUI to modify the roles.

    Thanks,

    SuperJC
    :cool:
     

Share This Page