Configure workload management on distributed deployments
You can use workload management to allocate resources in both non-clustered and clustered (distributed) search environments.
Configure workload management on non-clustered indexers
To configure workload management on non-clustered indexers, you must first configure and enable workload management on the search head, then copy the enabled workload_pools.conf
file to all indexers.
workload_rules.conf
to indexers. Its functionality applies to search heads only.To configure and enable workload management on non-clustered indexers:
- Configure and enable workload management on the search head. See Configure workload management.
- Copy the enabled
workload_pools.conf
file to all indexers. - Reload
workload_pools.conf
on each indexer. For example:curl -k -u admin:pass https://<host>:<mPort>/services/configs/services/workloads/pools/_reload
Reloading
workload_pools.conf
enables workload management.
Configure workload management on an indexer cluster
To configure workload management on an indexer cluster, you must first configure and enable workload management on the search head, then use the configuration bundle method to push workload_pools.conf
from the cluster manager node to peer nodes.
workload_rules.conf
to the indexer cluster. Its functionality applies to search heads only.To configure and enable workload management on an indexer cluster:
- Configure and enable workload management on the search head. See Configure workload management.
- Copy the enabled
workload_pools.conf
file from the search head to the configuration bundle on the cluster manager node. - Distribute the configuration bundle to all peer nodes. For detailed instructions, see Distribute the configuration bundle. After the bundle push, peer nodes automatically reload the enabled configuration file, which enables workload management.
Configure workload management on a search head cluster
Automatic configuration replication is used to distribute workload management configuration files to all search head cluster members.
workload_pools.conf
and workload_rules.conf
are required on all search heads.To configure workload management on a search head cluster using the configuration replication method:
- On any cluster member, in Splunk Web, click Settings > Workload Management.
- Configure and enable workload management. See Configure workload management. The search head cluster automatically replicates the configuration to all cluster members. This triggers a reload of the enabled configuration files on each cluster member, which enables workload management.
For more information on configuration replication, see Configuration updates the cluster replicates.