SUMMARY: mc_cable ERROR in preparing 5.1 cluster hardware

From: <emanuele.lombardi_at_casaccia.enea.it>
Date: Sat, 04 Aug 2001 11:09:14 +0200 (CEST)

As simple as that!
the cable was the problem. Compaq replaced it and the cluster soon born!

Thanks to
        Udo de Boer <Udo.de.boer_at_ubero.nl>
for the answer to that topic, and expecially for his previous mail to
the list where he noticed that some CAA examples reported in
        /var/cluster/caa/examples/
are faulty (at least the Apache and Samba). In the Apache.scr and
Samba.scr the function probeapp() has a wrong if condition which avoids
the proper functionality of the CAA application.

        probeapp () {
            checkdaemon $1
            if [ $? -ne 0 ]; then
                postevent $DEBUG_PRIORITY "$1 check OK"
                return 0
            else
                postevent $DEBUG_PRIORITY "$1 check failed"
                return 1
            fi
        }

The if MUST be set
            if [ $? -ne 0 ]; then
to work properly.


Thanks to Udo and to all the list members (are we not like a system
managers cluster?)

Emanuele


-- 
$$$ Emanuele Lombardi
$$$ mail:  AMB-GEM-CLIM ENEA Casaccia
$$$        I-00060 S.M. di Galeria (RM)  ITALY
$$$ mailto:emanuele.lombardi_at_casaccia.enea.it
$$$ tel	+39 06 30483366 fax	+39 06 30484264
$$$
$$$                                |||
$$$                                \|/  ;_;
$$$ What does a process need        |   /"\
$$$ to become a daemon ?            |   \v/
$$$                                 |    | 
$$$ - a fork                        o---/!\---
$$$                                 |   |_|
$$$                                 |  _/ \_
$$$* Contrary to popular belief, UNIX is user friendly.
$$$  It's just very particular about who it makes friends with.
$$$* Computers are not intelligent, but they think they are. 
$$$* True programmers never die, they just branch to an odd address
$$$* THIS TRANSMISSION WAS MADE POSSIBLE BY 100% RECYCLED ELECTRONS
Received on Sat Aug 04 2001 - 09:11:11 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT