Deployment Architecture

Why are my sites unbalanced?

w199284
Explorer

I have two sites in a multi-site cluster. 7 peers in each site. I have been running this configuration for two years. Over the last couple months I've begun to notice that one site has been adding more buckets that the other. In approximate numbers, site1 has 203,000 buckets. Site2 has 175,000 buckets. I've run rolling-restart a couple times and data rebalance too. I've searched for troubleshooting tips for situations like these but I have not turned up much useful information. My forwarders (heavy and universal) are configured to auto balance across all peers. I'm on version 7.04 and have been there since shortly after its release. What is going on? Thank you for your consideration.

0 Karma

vishaltaneja070
Motivator

Hello @w199284

I think the issue here is Splunk try to achieve 90% rebalancing not fully 100%. If you want 100% rebalancing on both the sides, then you can achieve that as well using the below command:

splunk edit cluster-config -mode master -rebalance_threshold 1 -auth admin:your_password

The below link can help you better:

https://docs.splunk.com/Documentation/Splunk/7.2.3/Indexer/Rebalancethecluster
0 Karma

ssadanala1
Contributor

How many excess buckets you have ?

0 Karma

w199284
Explorer

No excess buckets.

0 Karma

w199284
Explorer

No excess buckets

0 Karma

adonio
Ultra Champion

please share your replication configurations in server.conf:
site_replication_factor = <comma-separated string>

0 Karma

w199284
Explorer

site_replication_factor = origin:1,total:2

I should mention that it has been configured this way since I went to multi-site.

0 Karma
Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...