Deployment Architecture

If I remove /etc/shcluster/apps/search from the deployer, will it remove my search head nodes' search app?

JDukeSplunk
Builder

So one of predecessors added a THE default app (search) to the deployer for the Search Head Cluster (SHC). It took me a little while to figure out why some of my files were not passing integrity checks and were showing older versions. Even after reinstalling on the SHC members.

My question is, if I remove /.../splunk/etc/shcluster/apps/search directory from the deployer, will it essentially nuke my search head nodes search app?

Obviously I am going to have to reinstall 6.5.2 on these boxes to fix the integrity issues.

0 Karma
1 Solution

JDukeSplunk
Builder

So, here was the solution. At least for the default app "Search"

Remove the search app from /opt/splunk/etc/shcluster/apps
Run splunk apply shcluster-bundle
Finally, upgrade and roll-restart all the search heads.

View solution in original post

0 Karma

JDukeSplunk
Builder

So, here was the solution. At least for the default app "Search"

Remove the search app from /opt/splunk/etc/shcluster/apps
Run splunk apply shcluster-bundle
Finally, upgrade and roll-restart all the search heads.

0 Karma

ddrillic
Ultra Champion

Most likely not unless you use the deployer to deploy the search app.

What does the following show - ls -tlr /opt/splunk/etc/shcluster/apps/search?

Interesting case you have. The following says Use the deployer to distribute apps and configuration updates

alt text

0 Karma

JDukeSplunk
Builder

Re: Ddrillic.
Posting as Answer so I can attach an image.
It had a full version of the search app in it, version 6.3.0. I have moved that folder elsewhere hoping that the deployer would not overwrite the files on the SHC if I upgraded, again.

I removed the search app from /opt/splunk/etc/shcluster/apps
I shutdown and upgraded all three search heads. They had the 6.5.2 files for a few minutes.
They were then replaced with 6.3.0 versions after a few minutes. Something is overwriting them.

I picked a file I could easily identify the version from. In this case /search/default/app.conf.

here are the locations that they live on my servers, and what their versions are.

alt text

I wonder if I can remove the bundle_tmp folders here?

Also, on the deployer Monitoring Console, under Search, Search Head Clustering, Search Head Clustering:App Deployment I still see "Search"

alt text

0 Karma
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...