From: Date: December 29 2004 3:48pm Subject: Re: host names don't work in config.ini List-Archive: http://lists.mysql.com/cluster/1298 Message-Id: MIME-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Hi Lewis, 2004-12-28 kl. 22.15 skrev Lewis Bergman: > After comparing Alex's config.ini and setup and mine they are both=20 > identical except he uses IP's and I was using host names. After=20 > changing mine to IP's both nodes connected. > > Can't seem to get the API's going yet but at least the nodes look=20 > right. > > This seems like a documentation glitch unless I am way off base with=20= > what i have tried. Hostnames certainly work with MySQL Cluster. But using hostnames=20 introduces quite a few error sources since a proper DNS lookup system must be set-up, sometimes /etc/hosts must be edited=20 and their might be security blocks ensuring that communication between certain machines is not possible other than on=20 certain ports. I remember a problem 5 years ago when at one site I needed to use hostnames without the full name (only=20= the name in the domain, e.g. mysql1) and in another site I needed to use full names e.g. mysql1.domain.se. Thus if there are problems with host names it seems like a good path to=20= use IP-addresses instead. MySQL Cluster uses gethostbyname or a variant of it to translate name=20 so to debug hostname problems please check: man gethostbyname where particularly /etc/host.conf and /etc/hosts aer mentioned as=20 important and this manual page refer to the named service which uses /etc/bind/named.conf* as configuration files. Rgrds Mikael > --=20 > Lewis Bergman > Texas Communications > 4309 Maple St. > Abilene, TX 79602-8044 > 325-691-3301 > 800-299-6962 > > --=20 > MySQL Cluster Mailing List > For list archives: http://lists.mysql.com/cluster > To unsubscribe: =20 > http://lists.mysql.com/cluster?unsub=3Dmikael@stripped > > Mikael Ronstr=F6m, Senior Software Architect MySQL AB, www.mysql.com Clustering: http://www.infoworld.com/article/04/04/14/HNmysqlcluster_1.html http://www.eweek.com/article2/0,1759,1567546,00.asp