Replica Shards Enabled On Single Instance-Worth Changing?
Replica Shards Enabled On Single Instance-Worth Changing?
I'm new to Nagios LMS and found that the Nagios log server we're using at my work had Replica shards enabled even though we only have a single instance running. The steps to disable Replica shards looks trivial, but we're probably going to add a 2nd instance in the next 6 months or so. Is there any serious downside to leaving the Replica shards enabled while running a single instance? Has anyone ever corrupted the indices & lost log data by disabling the shard replicas?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Replica Shards Enabled On Single Instance-Worth Changing
There is no benefit to changing it, it simply won't replicate which it cannot until you have a second instance.
Re: Replica Shards Enabled On Single Instance-Worth Changing
Thanks Scott. Nagios offers instructions to disable the replica shards on a single instance-but not much detail on why it matters. I guess just so admins don't have to see that yellow warning in the cluster health status. I can live with that, LOL!!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Replica Shards Enabled On Single Instance-Worth Changing
That is literally the only difference.jslawrenc wrote:Thanks Scott. Nagios offers instructions to disable the replica shards on a single instance-but not much detail on why it matters. I guess just so admins don't have to see that yellow warning in the cluster health status. I can live with that, LOL!!
then when you add another instance you have to remember to turn on replication