Configure workload management on distributed deployments
You can use workload management to allocate resources in both non-clustered and clustered distributed search environments.
The resource allocation for workload categories and workload pools can be different on search heads and indexers.
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.
You do not need to copy 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 master to peer nodes.
You do not need to push 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 master. - 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.
Both 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.
You can use the deployer bundle push method to distribute workload management configuration files to search head cluster members. However, you cannot use both the deployer bundle push method and the configuration replication method to update cluster configurations. You must choose one method and use only that method. Using both methods can cause workload management to fail. For more information, see Use the deployer to distribute apps and configuration updates.
Enable workload management | Set access controls for workload management |
This documentation applies to the following versions of Splunk® Enterprise: 7.3.0, 7.3.1, 7.3.2, 7.3.3, 7.3.4, 7.3.5, 7.3.6, 7.3.7, 7.3.8, 7.3.9, 8.0.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.5, 8.0.6, 8.0.7, 8.0.8, 8.0.9, 8.0.10
Feedback submitted, thanks!