Claudio,

The C3 tools work on an index instead of the actual machine hostname. This index starts at zero by default, however, this is not always intuitive
for the end-user so a "place holder" is often inserted in the zero-th
position of the index.   This is the default configuration in OSCAR.

The line

   dead remove_for_0-indexing

in the c3.conf file is just a "place holder".  So, the usage will be more
intuitive, e.g.,

     # Run '/bin/date' on the first machine of the cluster
    cexec :1 /bin/date

However, if we use zero indexing this would be,
     # Run '/bin/date' on the first machine of the cluster
    cexec :0 /bin/date

The 'dead' qualifier just marks the machine (index) as not in use and C3
commands will skip it.  Note, if you do something like the second example
above you'll see that no errors occur for the zero'th machine (which
doesn't exist) and not delays or hangs occur...C3 just skips/ignores index
zero.

For further details see the "C3.CONF(5)" manual page.

Hope that helps,
--tjn

 _________________________________________________________________________
  Thomas Naughton                                      [EMAIL PROTECTED]
  Research Associate                                   (865) 576-4184


On Wed, 5 Apr 2006, Claudio Ghirlanda wrote:

Hi community! I set up an OSCAR (4.2) cluster using fedora core 3,with 1 server
and 1 host. Everything looks fine and all tests passed.
Going to check my c3.conf file I read this message:

cluster clhona {
         clo
         dead remove_for_0-indexing
         oscarnode1
}

the gstat command rightly says there are 2 hosts, 0 dead hosts. My
question is what is the problem with "dead remove_..." line?
I ran the ganglia web interface and it was shown that 3 CPUs were
active, but my computers are mono cpu! So using cat /proc/cpuinfo I
saw there were two cpus on my server, but it isn't true! Is it maybe
because I've dual boot on my server?
It looks like there is a "mysterious" processor that doesn't work...Is
it going to be dangerous for the working of the cluster?

thanx ciao


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to