LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-22-2006, 10:18 AM   #1
nuro305
Member
 
Registered: Mar 2004
Location: New Mexico
Distribution: FC4, SuSE 9.3 Pro, SuSE 10.1, SLED 10 SDK
Posts: 128

Rep: Reputation: 15
Need to SSH into cluster node by machine name !?


Hi,

I'm setting a new cluster (all FC4) with the head-node handing out IP's dynamically to all 5 nodes when they boot up. Works great...

I need to be able to SSH into any node by it's HOSTNAME. Since each node has a different IP each time it boots, I first have to find it's IP then SSH into it Via IP.

What's an easy way to "Connect" the computer's hostname to it's IP regardless of what it is for that session so I can just PING or SSH into the node like this:
ssh node1.myshop.com

(I have the head-node in a Domain. eg.
schroedinger.myshop.com - schroedinger is the HOSTNAME of the head-node... )

Thanks!!!!!!!!
 
Old 06-23-2006, 03:10 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
How are the DHCP leases given? From some hardware device (like a router), or from a machine under your control?

If you are running the server that is giving out the leases, you want to look into enabling DDNS for the LAN.
 
Old 06-23-2006, 10:07 AM   #3
nuro305
Member
 
Registered: Mar 2004
Location: New Mexico
Distribution: FC4, SuSE 9.3 Pro, SuSE 10.1, SLED 10 SDK
Posts: 128

Original Poster
Rep: Reputation: 15
Thanks for the reply,

I'm running the leases, the DHCP server is the head-node. I configured DHCP from the examples I found on the net and used the default lease settings for now. I control everything. I can hard-code whatever I need because this system will never be connected to a network or the Internet. It's a cluster running scientific mod/sim applications.

I'll look into your recomendation. If anyone has a down-and-dirty way to get this done, just tell me what files I have to modify on the head-node and/or each node ;-)

Thanks!
 
Old 06-23-2006, 10:41 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I think you might want to try out dnsmasq.

While I have not used this software myself yet, from what I have gathered about it in the past, it combines a small DHCP server and DNS server into one program, which will allow you to revolve DHCP client's hostnames though DNS.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Update/upgrade cluster through one node? jford_oldman Debian 8 11-02-2005 07:09 PM
Problem in a Parallel program for a 4 node CLUSTER nedian123 Linux - Networking 1 07-22-2004 03:05 AM
3 node Apache WebServer Linux Cluster youngclusterman Linux - Networking 12 01-29-2004 12:13 PM
cant ping a node in a cluster.. dogma Linux - Networking 3 05-21-2003 11:06 PM
how do I SSH into a cluster node? dogma Linux - Newbie 4 05-15-2003 04:31 PM

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

All times are GMT -5. The time now is 07:12 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