Deployment Architecture

Is it possible to disable replication to specific peers in the cluster?

athoma31
Explorer

I've read on peers going into detention status due to storage capacity restrictions, however, is it possible to manually place a peer in detention status so that the data present on it remains searchable but it no longer receives replicated data from the rest of the cluster?

1 Solution

renjith_nair
Legend

In Splunk Version 6.3 and above Splunk has added capability to Put Cluster Peer in detention. Once Peer is in detention it will no longer get replicated buckets from other peer in cluster.

The command to put cluster peer in detention is
curl -k -u admin:changeme https://SLAVE:MGMT_PORT/services/cluster/slave/control/control/set_detention_override -d value=true -X POST

Ref : http://docs.splunk.com/Documentation/Splunk/6.3.0/RESTREF/RESTcluster

See the answer : https://answers.splunk.com/answers/331293/if-two-cluster-peers-in-an-indexer-cluster-are-get.html#an...

---
What goes around comes around. If it helps, hit it with Karma 🙂

View solution in original post

renjith_nair
Legend

In Splunk Version 6.3 and above Splunk has added capability to Put Cluster Peer in detention. Once Peer is in detention it will no longer get replicated buckets from other peer in cluster.

The command to put cluster peer in detention is
curl -k -u admin:changeme https://SLAVE:MGMT_PORT/services/cluster/slave/control/control/set_detention_override -d value=true -X POST

Ref : http://docs.splunk.com/Documentation/Splunk/6.3.0/RESTREF/RESTcluster

See the answer : https://answers.splunk.com/answers/331293/if-two-cluster-peers-in-an-indexer-cluster-are-get.html#an...

---
What goes around comes around. If it helps, hit it with Karma 🙂

athoma31
Explorer

Is this a command that can be used prior to 6.3 (such as version 6.2.6)?

0 Karma

somesoni2
Revered Legend

You can remove the indexer/peer where you don't want replication from the indexer cluster and add that indexer as regular/non-clustered search peer so that it's searchable. See these links.

Remove a peer from cluster http://docs.splunk.com/Documentation/Splunk/6.3.0/Indexer/Removepeerfrommasterlist
Search in clustered and non-clustered peers http://docs.splunk.com/Documentation/Splunk/6.3.0/Indexer/Configureclusteredandnonclusteredsearch

Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...