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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...