LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-15-2007, 12:51 AM   #1
sgware
LQ Newbie
 
Registered: Jul 2006
Location: New Orleans, LA
Distribution: Kubuntu 6.10: Edgy Eft
Posts: 26

Rep: Reputation: 15
Is it enough to set the IP Address and Hostname in a LAN?


Hi LQ,

I'm in the process of building a Beowulf cluster. All of the nodes in the cluster are running Linux and are networked together, and I am using the 192.168.0.x address range for my LAN.

I have added the following two lines to each computer's /etc/rc.d/rc.local file, which is a shell script that gets executed after all the other setup happens.
Code:
ifconfig eth0 192.168.0.<number> netmask 255.255.255.0
hostname node<number>
where <number> is the number of the computer.

I've added the necessary aliases to the /etc/hosts files, so that each computer can identify the others by hostname. The nodes use SSH to communicate with each other, and I have set up proper SSH authentication so that no password is required when nodes communicate with each other or run remote commands.

The application I am trying to run on the cluster is returning various TCP errors. Are steps mentioned above enough to effectively change the identities of the computers on the network, or is there more I need to do?

The errors I am getting (if they are any help) are:
Code:
rmcd: getaddrinfo: Temporary failure in name resolution
TCP connect error: Unknown error message.
TCP connect error: return value errno=43
TCP: Connect failed. node01 -> masternode:32809
This is on Aurora Linux, which is Fedora 6 for SPARC chips, running bash.

Thanks very much for your help,
Stephen
 
Old 11-15-2007, 01:05 AM   #2
cyberfishee
Member
 
Registered: Mar 2005
Distribution: Debian Testing
Posts: 133

Rep: Reputation: 15
the gateway ip?
 
Old 11-15-2007, 01:15 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Look in your /etc/resolve.conf and /etc/host.conf and /etc/nsswitch.conf files.
Code:
 cat /etc/host.conf
#
# /etc/host.conf - resolver configuration file
#
# Please read the manual page host.conf(5) for more information.
#
#
# The following option is only used by binaries linked against
# libc4 or libc5. This line should be in sync with the "hosts"
# option in /etc/nsswitch.conf.
#
order hosts, bind
Make sure that hosts is listed and it is first.

In /etc/nsswitch.conf, make sure that files is listed first.
Code:
hosts:          files mdns4_minimal [NOTFOUND=return] dns
networks:       files dns
Check that you have the libaries "libnss_files" and "libnss_compat" installed.
Example:
/lib64/libnss_files.so.2

Make sure that you can ping every host by name.

I'm not as familiar with working with clusters. Could the program be trying to set up unix pipe between the hosts instead of going through ssh? Something about the overhead of going through ssh tunnels in a cluster seems counter productive to me, but you have far more experience with clusters than I do ( which for me is none ). Do you have ssh tunnels set up for certain ports that this program uses?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I set 1 lan card host 2 IP address? combilli Linux - Networking 1 02-15-2007 10:21 PM
Set IP address to static from DHCP assigned address jborn Linux - Networking 4 02-02-2007 08:38 PM
DHCP seems to set hostname = Mac address, doesn't reverse lookup techsimian Linux - Networking 4 08-15-2006 04:11 PM
how to use the hostname instead of ip address? tuxtamer Linux - Newbie 1 04-15-2005 07:29 AM
hostname to IP address bruse Linux - Networking 5 03-29-2005 11:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration