gomd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gomd-devel] <DAEMON> (legacy) openMosix map support => first import.


From: Gian Paolo Ghilardi
Subject: [gomd-devel] <DAEMON> (legacy) openMosix map support => first import.
Date: Sun, 19 Oct 2003 22:53:30 +0200

Hi all.

As required on openmosix-devel, now gomd supports the (legacy) openMosix map
file (/etc/[open]mosix.map).
The support must be enabled manually via a new daemon command line
option: --readmap/-rm

If the map file contains hostname, they will be automagically resolved as IP
before being inserted in the knownGomdsMap (and before being added in the
/etc/gomd/knownGomds.conf file). If the host has two or more IPs, the first
one will be choosed (I'll fix this behaviour ASAP => we should choose the IP
on the same subnet of the local node!).

So, ATM, this support is not complete.
Moreover the "ALIAS" macro (for oM map) is not implemented ATM.

Byez.

<rejected>

<< CVS NOTES >>

NOTE: from this release the daemon can be forced to read the (legacy)
openMosix map file (/etc/[open]mosix.map) and use it instead of using the
autodiscovery facility.
Check the new daemon command line option: "--readmap/-rm".

IN utils.h/utils.cpp
(+) added containsLetters() function to check if a string contains letters
=> used in gomdSearcher::

IN constants.h
(+) added new #define OM_NODESMAP_FILE to set the path to the openMosix map
file

IN csCollector.cpp
(+) added readOpenMosixMapFile() to enable the start parsing of the (legacy)
openMosix map file

IN gomdSearcher.h/gomdSearcher.cpp
(+) added getIPByHostname function to do a DNS lookup and to get the IP of a
machine (given the hostname)
(+) added getHostnameByIP() function to do a DNS reverse lookup and to get
the hostName of a machine (given the IP)
(+) added parseOmMapFileAndFillKnownGomdsMap() function to parse the
(legacy) openMosix map file (/etc/[open]mosix.map)
(+) added createKnownGomdMapEntry() to translate each line of /legacy) oM
map file to a valid entry for the knownGomdMap (used in the whole
gomdSearcher class)

IN main.cpp
(+) added new command line option "--readmap/-rm" => this option force to
read the (legacy) openMosix map file (/etc/[open]mosix.map) and use it
instead of using the autodiscovery facility






reply via email to

[Prev in Thread] Current Thread [Next in Thread]