Hi Jean,
Thanks for your answer.
I now understood better the way to follow.
My problem was the sync of files like commands.cfg etc.
Two questions again:
1) The /etc/shinken directories on master and slave can be completely
identical? (I'm asking in order to facilitate the sync)
2) On a linux install, could you confirm me all the *-windows.cfg files can
be deleted?
Thanks
Gauthier
2011/8/31 nap <napar...@gmail.com>
>
>
> On Tue, Aug 30, 2011 at 6:26 PM, Gauthier DOUCHET <
> gauthier.douc...@gmail.com> wrote:
>
>> Hi,
>>
>
>> I tried with only these files:
>> brokerd.ini nagios.cfg pollerd.ini reactionnerd.ini receiverd.ini
>> schedulerd.ini shinken-specific.cfg
>>
>> And the errors I got in /tmp/shinken_checkconfig_result:
>> Opening configuration file /etc/shinken/nagios.cfg
>> [...]
>>
>>
>> The file shinken-specific.cfg on slave is an identical copy of the
>> master's one.
>>
> Hi,
>
> In fact, you do nto need to sync on every change on the master, but you
> need to get at least a valid configuration on the slave so the slave arbiter
> can start.
>
> The master will send its configuration to the slave when it will connect to
> it. So you do not need to rsync the whole master conf after each change. But
> if you completely lost your host master, you will also lost your
> configuration and your slave will only got the configuration in memory. So
> it's good to sync the configuration like once a day or week, so your slave
> will not be totally orphaned :)
>
> For the forum I'm on it :)
>
>
> Jean
>
>>
>> Gauthier
>>
>>
>> 2011/8/30 Denis GERMAIN <dt.germ...@gmail.com>
>>
>>> Hi
>>>
>>> From what I gathered when I did my own tests, you only need to tell the
>>> slave that he is not the master (through the shinken-specific.cfg) and
>>> everything else will be sent to the slave by the master, including the
>>> hosts, the services, but also the commands, hostgroups, etc...
>>>
>>> Correct me if I'm wrong, because it's been a long time since I have tried
>>> HA, so I might be mistaken...
>>>
>>> Regards
>>>
>>> Denis GERMAIN
>>>
>>> 2011/8/30 Gauthier DOUCHET <gauthier.douc...@gmail.com>
>>>
>>>> Hi,
>>>>
>>>> Sorry again to use the mailing but an other problem with the forum :)
>>>>
>>>> I configured a HA architecture (with one master and one slave for
>>>> scheduler/reactionner/poller/arbiter/broker.
>>>> After 2-3 tests, it seems to be well working (congrats for your job!).
>>>>
>>>> I have just a question about the config file for the slave shinken.
>>>> I read on the wiki that "You do not need to sync all configuration files
>>>> for hosts and services in the spare.". So it means, I don't have to copy my
>>>> objects directory on the slave?
>>>> But I have to do it for files like commands.cfg, hostgroups.cfg, etc?
>>>>
>>>> Thank you for your answers.
>>>>
>>>> Regards,
>>>> Gauthier
>>>>
>>>> --
>>>> Gauthier DOUCHET
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Special Offer -- Download ArcSight Logger for FREE!
>>>> Finally, a world-class log management solution at an even better
>>>> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
>>>> download Logger. Secure your free ArcSight Logger TODAY!
>>>> http://p.sf.net/sfu/arcsisghtdev2dev
>>>> _______________________________________________
>>>> Shinken-devel mailing list
>>>> Shinken-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Special Offer -- Download ArcSight Logger for FREE!
>>> Finally, a world-class log management solution at an even better
>>> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
>>> download Logger. Secure your free ArcSight Logger TODAY!
>>> http://p.sf.net/sfu/arcsisghtdev2dev
>>> _______________________________________________
>>> Shinken-devel mailing list
>>> Shinken-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>>>
>>>
>>
>>
>> --
>> Gauthier DOUCHET
>>
>>
>> ------------------------------------------------------------------------------
>> Special Offer -- Download ArcSight Logger for FREE!
>> Finally, a world-class log management solution at an even better
>> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
>> download Logger. Secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsisghtdev2dev
>> _______________________________________________
>> Shinken-devel mailing list
>> Shinken-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>
>
--
Gauthier DOUCHET
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel