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!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...