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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...