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!

Enterprise Security Content Update (ESCU) | New Releases

In November, the Splunk Threat Research Team had one release of new security content via the Enterprise ...

Index This | Divide 100 by half. What do you get?

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

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...