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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...