Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st June 2012, 02:50
georgeopalmer georgeopalmer is offline
Junior Member
 
Join Date: Jun 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Some questions about multiserver setup

Hi,

I've just finished the multiserver tutorial and there are a couple things I'm not too clear about.

Does every server need its fqdn in the host file of every other server? And if this is the case is there anyway to automate this when adding a new slave server?

If I ever need to change the mysql root password on the master or a slave server, how should I do this?

Thank you,

George
Reply With Quote
Sponsored Links
  #2  
Old 21st June 2012, 11:37
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,492
Thanks: 835
Thanked 5,534 Times in 4,352 Posts
Default

Quote:
Does every server need its fqdn in the host file of every other server?
Yes, otherwise the system will not be able to sync changes after installation as mysql authentication will fail.

Quote:
If I ever need to change the mysql root password on the master or a slave server, how should I do this?
Change it as usual with phpmyadmin. The slaves dont use the root password to connect to the master, the root password is only used during installation. Afterwards change the root password in the file /usr/local/ispconfig/server/lib/mysql_clientdb.conf on the master server too (not on the slaves).
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
georgeopalmer (21st June 2012)
  #3  
Old 21st June 2012, 11:52
georgeopalmer georgeopalmer is offline
Junior Member
 
Join Date: Jun 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Till,

Thanks for the clarification.

If every server essentially needs the same hosts file, can this not just be synced or shared between the servers?

I'm looking to have around 40 slaves initially, but adding another one would be a nightmare if I have to modify the hosts file of every server.

Thank you,

George
Reply With Quote
  #4  
Old 21st June 2012, 12:19
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,492
Thanks: 835
Thanked 5,534 Times in 4,352 Posts
Default

Quote:
If every server essentially needs the same hosts file, can this not just be synced or shared between the servers?
Yes, this should work as well. It might even work without the hosts file when all hostnames get resolved correctly from dns, you might want to try that. The reason for host file syncing is just mysql as the mysql daemon is a bit picky when it compares the hostname of a incoming connection request with the permission tables.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 21st June 2012, 13:31
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 49 Times in 28 Posts
 
Default

When I have setup slaves in the past, I have never used the host file method. I have always used DNS to handle it for me.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MultiServer Setup abintipl Installation/Configuration 0 29th November 2011 16:40
Multiserver Setup Debian - Jobqueue not working / DNS MaddinXx HOWTO-Related Questions 1 22nd October 2011 22:03
Multiserver Setup on Centos 5.5 dfinehub Installation/Configuration 3 24th October 2010 13:47
multiserver setup IzFazt Installation/Configuration 8 8th August 2010 18:58
General questions regarding ISPConfig setup FXT Installation/Configuration 9 16th March 2008 13:32


All times are GMT +2. The time now is 13:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.