Failover and Performance Enhancement

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Upatel
Posts: 21
Joined: Thu Jan 10, 2013 3:07 pm

Failover and Performance Enhancement

Post by Upatel »

Could you clarify a few things for me in reference to this diagram:

Is the "MOD-GEARMAN WORKER" box to the right, just and example of an extra worker, or is it a requirement to implement MOD-GEARMAN?
Can the "PUPPET MASTER" server be used to manage configurations on both Production and Test environments, or would you recommend a separate one for Production?
If you have moved the MySQL databases and Postgres database to a separate server (not on the Nagios XI Server), would this configuration below still work or would there be modifications?
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Failover and Performance Enhancement

Post by abrist »

Upatel wrote: Is the "MOD-GEARMAN WORKER" box to the right, just and example of an extra worker, or is it a requirement to implement MOD-GEARMAN?
It is under the "performance" section and is not required.
Upatel wrote:Can the "PUPPET MASTER" server be used to manage configurations on both Production and Test environments, or would you recommend a separate one for Production?
It can be used for both, you just have to make sure to configure puppet to do so.
Upatel wrote:If you have moved the MySQL databases and Postgres database to a separate server (not on the Nagios XI Server), would this configuration below still work or would there be modifications?
This configuration should work, at least for an offloaded mysql database. postgres is not so easily offloaded and shared though.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
mikew
Posts: 243
Joined: Sun Feb 05, 2012 7:05 pm

Re: Failover and Performance Enhancement

Post by mikew »

One of the keys to this design is that Mod-Gearman is running on both the Master and the Slave. The Slave has two queues one for the Master which will have checks while the Master is running. The second queue is for the Slave which will not have any jobs while the Master is running. When the Master stops, the jobs in the Master queue will stop, and the Slave takes over and the jobs will be for the Slave in that queue. So Mod-Gearman is working on both Master/Slave and will help distribute load regardless of which is running. This also means that if you have a failover server it is actually doing something when things are good...justifies the cost.
Mike Weber

Nagios Training/Consulting
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Failover and Performance Enhancement

Post by lmiltchev »

Upatel, do you have any more questions?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked