Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Vanya
Advisor
Advisor

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 myapp.properties --maximum-processes 5







Then, execute


neo set-application-property myapp.properties --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.

1 Comment