Re: From where does OpenMOSIX read the IP settings

"Ian Latter" <[email protected]> Thu, 15 Feb 2007 13:47:30 +1000
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
Hello,


  IIRC the scripts take the machine's hostname (as in 
"/bin/hostname" or "/bin/uname -n", or the nearest /proc 
equivalent) and look that up (gethostbyname()) to find 
the IP .. thus /etc/hosts is normal.

  Note though, that if your hostname is "localhost", 
resolving to 127.0.0.1 is a good thing.  You may either 
need to tweak your DHCP server config (to send out a 
host name via "option host-name"), or tweak the client 
or client helper scripts.

  Under CHAOS we wrote the /etc/hosts file dynamically -
after the IP address was acquired we'd create a host 
name based on the hex of IP address itself - and before 
enabling the in-kernel openMosix software, to ensure 
that this sort of conflict wouldn't occur.


Hope that helps,


----- Original Message -----
>From: "Irfan Habib" <irfanhab-/[email protected]>
>To: <openmosix-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
>Subject:  [Openmosix-Devel] From where does OpenMOSIX read the IP settings
>Date: Wed, 14 Feb 2007 05:11:53 -0800
>
> Hi,
> 
> I'm using DHCP for the openMOSIX installations, however when I do setpe it says "My own 
IP (127.0.0.1) is not the map file".
> 
> The real IP is actually different, but its assigned via DHCP so I think the default IP is 127.0.0.
1.
> 
> So from where does OpenMOSIX read the ip settings from? rc.inetd?
> 
> Regards,
> Irfan
> 
> 
> 
> 
>  
> 
___________________________________________________________________________
_________
> Never Miss an Email
> Stay connected with Yahoo! Mail on your mobile.  Get started!
> http://mobile.yahoo.com/services?promote=mail
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> openMosix-devel mailing list
> openMosix-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/openmosix-devel
> 


--
Ian Latter
Late night coder ..
http://midnightcode.org/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV