Deployment Architecture

Why is Site Affinity not working with my current server.conf configuration on my search heads?

lycollicott
Motivator

I have this in server.conf on my search heads:

[general]
pass4SymmKey = $$$$$$$$$$$$$$$$$
serverName = xxx-xxxxxxxx
site = site1

[clustering]
master_uri = https://xx.xx.xx.xx:8089
mode = searchhead
multisite = true
pass4SymmKey = $$$$$$$$$$$$$$$$$

But my search results come from the splunk_server at sites1 and site2. Any idea why?

0 Karma
1 Solution

lycollicott
Motivator

Site affinity was actually working. The other site's splunk_server was only returning results for buckets which had not replicated.

Duh. Yes, I felt like an idiot.

View solution in original post

lycollicott
Motivator

Site affinity was actually working. The other site's splunk_server was only returning results for buckets which had not replicated.

Duh. Yes, I felt like an idiot.

s2_splunk
Splunk Employee
Splunk Employee

Is your cluster in site1 valid and complete, i.e. search and replication factors met and all peers up?

lycollicott
Motivator

Yes, it is valid and complete.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...