All Apps and Add-ons

Renaming Existing Deployment App

arrangineni
Path Finder

I need to rename the existing deployment App which is being actively used by a client and is sending the data to the Indexers. Can I simply change the rename the App from the deployment server and and redeploy to the client? Do I need to make any other changes within the App to override the old App name? More particularly will that try to re-index the data again?

Any inputs will be helpful

Labels (1)
Tags (1)
0 Karma
1 Solution

nickhills
Ultra Champion

hi @arrangineni,
If the the only thing changing is the name of the deployment app, this is how to do with minimum (almost zero) disruption.

1.) On the DS, clone the old app directory cp /oldApp /newApp
2.) Update the app name in newApp/*/app.conf (if specified - should be in default, but could be in local)
3.) Add newApp to the existing serverclass and reload the Serverclass
--- this will push the duplicate app to your UF - depending on its name it may take priority over the old one immediately. (n comes before o etc.)
4.) Give time for your forwarders to download and restart with the new app.
5.) remove oldApp from serverclass and reload.
6.) Old app is removed, leaving newApp in its place.
7.) remove oldApp from DS

If my comment helps, please give it a thumbs up!

View solution in original post

nickhills
Ultra Champion

hi @arrangineni,
If the the only thing changing is the name of the deployment app, this is how to do with minimum (almost zero) disruption.

1.) On the DS, clone the old app directory cp /oldApp /newApp
2.) Update the app name in newApp/*/app.conf (if specified - should be in default, but could be in local)
3.) Add newApp to the existing serverclass and reload the Serverclass
--- this will push the duplicate app to your UF - depending on its name it may take priority over the old one immediately. (n comes before o etc.)
4.) Give time for your forwarders to download and restart with the new app.
5.) remove oldApp from serverclass and reload.
6.) Old app is removed, leaving newApp in its place.
7.) remove oldApp from DS

If my comment helps, please give it a thumbs up!

arrangineni
Path Finder

Thanks for the details... definitely will give a try

0 Karma

nickhills
Ultra Champion

Did this help? If so please accept the answer and upvote so the community can see that this worked for you!

If my comment helps, please give it a thumbs up!
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...