Skip to Content
Author's profile photo Vanya Maneva

Update Application Properties Without Redeploy

Have you had to change some property of your application running on SAP HANA Cloud Platform and hated the fact you had to redeploy the whole application?

It gets especially tricky if the application has been productive for a long time – it’s difficult to find the correct binaries to be redeployed as you need to know their exact version.

You no longer need to do that.

There is a new command in the console client – set-application-property – with which you can update a single property of the running application without redeploying it.

Imagine that months ago you deployed an application without specifying the minimum and maximum number of application processes, on which it can be started. So it was started on the default number of processes – one.

Now you realize you need to scale the application to handle more requests. This means you have to define the minimum and maximum number of processes and then scale the application up by starting additional processes. You do not want to redeploy the whole application with the new parameters.

What do you do?

You simply use the set-application-property command with the new values of the parameter.

For now, you can change only one property at a time so you have to execute:

neo set-application-property –maximum-processes 5

Then, execute

neo set-application-property –minimum-processes 2

and restart the application.

That’s it!

The application is now running on 2 processes and you can scale it up to 5.

The other properties that you can change with the set-application-property command are: gzip compression; JRE version; system properties; compute unit size; runtime version; URI encoding.

For the full list of parameters, execute neo help set-application-property or see set-application-property.

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Angel Lafchiev
      Angel Lafchiev

      Thanks for the tips, Vanya! Very handy, indeed.