Deployment Architecture

Can volume definitions point to a unique path per indexer in an indexer cluster?

rvdv
Explorer

Hi, 

I have a question related to defining volumes especially the coldvolume in our case. 
I want to point the coldvolume to a unique location on network attached storage. 

Example we have 3 indexers with the following hostnames
idx01
idx02
idx03

say we have a local mount point on every indexer which points to the NAS mynas

/mnt/coldvolume -> nfs://mynas

Option 1
Can I then define a volume in /etc/system/local/indexes.conf on every indexer. 

On idx01:
[volume:coldvolume]
path = /mnt/coldvolume/idx01/

On idx02
[volume:coldvolume]
path = /mnt/coldvolume/idx02/

On idx03
[volume:coldvolume]
path = /mnt/coldvolume/idx03/

The indexes that are then distributed to all indexers in this cluster are of the format 
[myniceindex]
coldPath = volume:coldvolume/myniceindex/colddb

Option 2
As an alternative I can also mount to the subfolders on the NAS
by modifying /etc/fstab and letting the /mnt/coldvolume point to nfs://mynas/idx{01,02,03}

I can then distribute the volume definition to all 3 indexers like this
[volume:coldvolume]
path = /mnt/coldvolume/

Question: Is option 1 a valid / supported configuration for a Splunk indexer cluster?
Question: Or is option 2 the best practice?

Regards Rob van de Voort

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Option 1 is out because all indexers in a cluster must have the same config.

Option 2 is out because NFS is Not For Splunk (but may work if performance is up to spec).

---
If this reply helps you, Karma would be appreciated.

View solution in original post

rvdv
Explorer

Thank you for the quick response

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Option 1 is out because all indexers in a cluster must have the same config.

Option 2 is out because NFS is Not For Splunk (but may work if performance is up to spec).

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...