Hi,

I followed the tutorial to try high availability at : http://www.shinken-monitoring.org/wi...bility_shinken

I want to test if my spare daemons will take the relay if those on the master server fall.

I work with vmware workstation, I have 2 virtual machines.


I add those lines in /etc/shinken/shinken-specific.cfg on the master server :

Code:
define scheduler{
    scheduler_name	scheduler-spare
    address	    server3
    port	    7768
    spare	    1
    }

define poller{
    poller_name   poller-spare
    address     server3
    port      7771
    spare      1
}

define reactionner{
    reactionner_name	reactionner-spare
    address	    server3
    port	    7769
    spare	    1
    }

define receiver{
    receiver_name  receiver-spare
    address     server3
    port       7773
    spare      1
}

define broker{
    broker_name   broker-spare
    address     server3
    port      7772
    spare      1
    modules     Simple-log,Livestatus
}

define arbiter{
    arbiter_name  arbiter-spare
    address     server3
    host_name    server3
    port      7772
    spare      0
}

But i have an error when I restart all daemons on the master server :

Failed : shinken.pyro_wrapper.PortNotFree; sorry, the port 7772 is not free : couldn't start pyro daemon, : [Errno 99] Cannot assign requested addres ( full output is in /tmp/badstart_for-arbiter) ...failed! failed!


I tried to update the pyro version with apt-get install pyro, but I already have the last version.

Whatever port I put for the spare arbiter, it says : the port "XXXX" is not free....

And i don't understand why on the tutorial, the spare for arbiter is at 0, and why it has the same port as the broker.