Splunk can use separate disks and partitions for its datastore. Theoretically, you can use any sort of arrangement of disks/partitions so long as you mount them correctly and configure the DB rolling.
Splunk indexes roll through four DB stages:
The most common way to arrange Splunk's datastore on separate partitions is to keep the hot and warm databases on the local machine, and to keep the cold database on a separate array or disks (for longer term storage). You want to run your hot and warm databases on a machine with partitions that read and write fast (since you'll be doing a majority of your search operations on hot and warm). Cold should be on a reliable array of disks.
You may experience pauses in indexing and searching when you use separate partitions for the datastore.
Set up separate partitionsSet up partitions just as you'd normally set them up in any operating system. Mount the disks/partitions, and make sure Splunk points to the correct path in indexes.conf.
First, add the correct paths in $SPLUNK_HOME/etc/bundle/local/indexes.conf. Set paths on a per-index basis -- under an [$INDEX] entry.
homePath = <path on server>
coldPath = <path on server>
thawedPath = <path on server>
If you put your cold DB on a separate partition, you should set a warmToColdScript in indexes.conf. Set up a script to move your warm DBs from one partition to the partition where you store your cold DBs.
warmToColdScript = <$script>
Comments
No comments have been submitted.