Re: [Nagios-users] Help with failover

2007-11-30 Thread mark redding
Hi Michael,

I tried doing a very similar thing (only difference was that I was
scp'ing the data between hosts) and experienced the same as you have.
It seems that the only way to retain status data is by using the nsca
server/client - and having the primary post its active check results
(either with a global event handler or by enabling obsessing (but
beware, I could not get event handlers to run when obsessing was
active)) to the secondary (with the secondary running the nsca daemon
and having passive checks enabled), having the secondary periodically
checking that the primary is running (using check_nagios) and having
the secondary enable active checks and notifications when it detects
that the primary is down (and subsequently disabling these once the
primary is detected)

regards,
Mark

On 29/11/2007, Michael T <[EMAIL PROTECTED]> wrote:
> I have 2 master servers that attach to a shared NAS which holds the nagios
> configs and status data basically /etc and /var. When the primary goes down
> there's an event handler that mounts the NAS on the backup and starts
> nagios. When I implemented this setup I thought it would be beneficial in
> the sense that I would have all the status data retained from the primary
> instance. This is not the case when I initiate a failover the backup system
> which mounts all the same data that the primary had prior to being brought
> down doesn't see any saved status data all checks are in a pending state
> until the distributed servers send new check data via nsca. The other
> confusing thing is that if I fail it back over to the primary it see's the
> old saved status data.
>
> I'm not sure what I'm missing here can anyone enlighten me?
>
> Thanks in advance
> Michael
>
> -
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>


-- 
bright blessings,
Mark

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Help with failover

2007-11-29 Thread Michael T
I have 2 master servers that attach to a shared NAS which holds the nagios
configs and status data basically /etc and /var. When the primary goes down
there's an event handler that mounts the NAS on the backup and starts
nagios. When I implemented this setup I thought it would be beneficial in
the sense that I would have all the status data retained from the primary
instance. This is not the case when I initiate a failover the backup system
which mounts all the same data that the primary had prior to being brought
down doesn't see any saved status data all checks are in a pending state
until the distributed servers send new check data via nsca. The other
confusing thing is that if I fail it back over to the primary it see's the
old saved status data.

I'm not sure what I'm missing here can anyone enlighten me?

Thanks in advance
Michael
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null