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...

Happy Splunking!

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...

Happy Splunking!

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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...