I wanted to add same base configuration for workstations and have serverclasses divided by organizations but base app would be same on everyone.
Now I have problem:
When you make changes (add host through webgui to one serverclass) and click save, it changes bundle epoch time under global_bundles and then other serverclasses say that file does not exist on server when clients try to download app. And then if I run reload deploy-server it's fine again. But everytime if I need to add client on any workstation serverclass it breaks all other serverclasses. It's pretty rough to run reload deploy-server command everytime because there will be pretty high load on the DS.
Is there any other way to handle this than making class-specific base apps?
Running 9.4.1 12vCPU/12GB RAM.
But everytime I make changes through webGUI it makes serverclass reload and all other serverclasses lose bundle before I make full server reload
When you have this kind (big) environment with several serverclasses etc. you should use only conf files with git to manage that environment!
With that way your DS wouldn't do anything else than what you tell it to do.
PLA1310C_Splunk .conf24 Interactive Workshop this is something you should read.
I'm uncertain about this, please open a Splunk support ticket to investigate the issue further.
Instead of reloading the entire deployment server, you can reload specific server classes. This can be done using the command ./splunk reload deploy-server -class <serverclass name>. This way, only the changes made to the corresponding deployment apps will get reloaded, reducing the load on the deployment server.
Instead of immediate reload deploy-server, use a scheduled reload (e.g., via cron) to batch updates:
In this situation, we can’t designate a specific server class. With multiple server classes involved, setting up individual cron jobs for each one becomes impractical.
0 * * * * /opt/splunk/bin/splunk reload deploy-server -auth admin:<password>
Reload deployment server via API/Splunk SDK
App:
Adds a simple |reloadds search command to reload deployment server configs from disk, as well as an alert action which does the same thing.
Another app in splunkbase to reload DS
https://splunkbase.splunk.com/app/7339
Check this for more details: https://community.splunk.com/t5/Getting-Data-In/Deployment-Server-reload-configs-without-restarting-...
REST call:
curl -ku admin:your_password https://your_splunk_server:8089/servicesNS/-/system/deployment/server/config/_reload
Use the URL below, substituting your host name for myHostName and the serverClass you want to reload for serverClassName
https://myHostName:8089/services/deployment/server/serverclasses/serverClassName/reload