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!

New Case Study: How LSU’s Student-Powered SOCs and Splunk Are Shaping the Future of ...

Louisiana State University (LSU) is shaping the next generation of cybersecurity professionals through its ...

Splunk and Fraud

Join us on November 13 at 11 am PT / 2 pm ET!Join us for an insightful webinar where we delve into the ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...