Deployment Architecture

How to use deployer to push app to the search head cluster?

irsysintegratio
Path Finder

After I installed "Splunk Machine Learning Toolkit" to the deployer (as a test), I want to push it to the search head cluster.

But the "splunk apply apply shcluster-config ....." command shows an error ".../splunk/etc/shcluster is likely empty".

I checked the folders. Apparently the above app has been installed to ....../splunk/etc/apps folder, not the shcluster folder.

What did I do wrong please?

Do I need to copy it manually to the shcluster folder?
Or does it mean I setup the deployer incorrectly?

Thanks!

1 Solution

somesoni2
SplunkTrust
SplunkTrust

Deployer only pushes apps kept in $Splunk_Home/etc/shcluster/apps directory, so you need to manually copy the app to that directory. See thsi for more information
http://docs.splunk.com/Documentation/Splunk/7.0.0/DistSearch/PropagateSHCconfigurationchanges

View solution in original post

iandrews_splunk
Splunk Employee
Splunk Employee

Do I need to copy it manually to the shcluster folder?

That is correct.

just like /deployment-apps and /master-apps are the only ones that get pushed to forwarders/indexers, /shcluster is for apps that are pushed to search heads

0 Karma

somesoni2
SplunkTrust
SplunkTrust

Deployer only pushes apps kept in $Splunk_Home/etc/shcluster/apps directory, so you need to manually copy the app to that directory. See thsi for more information
http://docs.splunk.com/Documentation/Splunk/7.0.0/DistSearch/PropagateSHCconfigurationchanges

ddrillic
Ultra Champion

@irsysintegration, push it using $Splunk_Home/bin/splunk apply shcluster-bundle -target https://<Search Head Host>:8089.

0 Karma

irsysintegratio
Path Finder

So for each app I install, if I want the deployer to push, I have to manually copy it over? That is the official way to do it?
Thanks.

0 Karma

somesoni2
SplunkTrust
SplunkTrust

Yes... All the apps you want to push should be available in shcluster/apps directory. I suggest to read the content of that link to ensure you understand SHC configuration deployment in depth. Do revert to this forum in case you get any doubt after reading that.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...