Skip to Content
Author's profile photo Rajendra Palem-Venkata

Defining System Usage Type in HANA

Defining System Usage Type in HANA


In order to provide additional safety and indication while working with production HANA systems, SAP HANA provides “usage” parameter (available from SPS8 onwards). This parameter can be set to either :

  • production
  • test
  • development
  • custom (default)

When set to “production” administrators get an indication that it’s a production system when they open administration console in HANA Studio. Also when this parameter is set to “production” additional confirmation dialog appears for specific actions line executing SQL.

This document provides the steps necessary to set this parameter.

  • Logon to the HANA System from HANA studio with a user that has authorizations to change the database configuration.

/wp-content/uploads/2015/07/image1_749384.png

  • Select the HANA Database and right click and select “Configuration and Monitoring” à “Open Administration”.

/wp-content/uploads/2015/07/image2_749385.png

  • Make sure all the processes are running by selecting “Landscape” tab in “Administration Console“.

/wp-content/uploads/2015/07/image3_749386.png

  • Now click on “Configuration” tab and expand “global.ini” and under global.ini expand “system_information” you will see “usage” parameter.

/wp-content/uploads/2015/07/image4_749329.png

Any configuration parameter in SAP HANA has three levels:

      1. Default: This value is set by default by HANA and we should not change this value
      2. System: (wide) For scale-out systems this value applies to the entire cluster. To change a parameter for entire cluster we need to change this value.
      3. Host: (specific) For scale-out systems you can set different values for different hosts. Change this parameter to effect a specific host.

To change the “usage” type double click on the “usage” row as shown in the above diagram and set the “New Value” under “System” section to “production” and click Save.

/wp-content/uploads/2015/07/image5_749393.png

After clicking on save you can see the new parameter value “production” is reflecting under the system column.

/wp-content/uploads/2015/07/image6_749394.png

Since this parameter is a dynamic parameter you need not restart the system. To see if the changes are reflected log off in HANA Studio close the administration console and login again and open the “Administration Console”. You can see a yellow background and also mentioning it is a “Production System”

/wp-content/uploads/2015/07/image7_749395.png

Now open the SQL Console by selecting the database from the Systems View at the left and select the SQL Icon as shown in the figure below.

/wp-content/uploads/2015/07/image8_749396.png

Now execute a simple SQL statement like:

/wp-content/uploads/2015/07/image9_749397.png

As shown in the figure below a dialog popup comes up alerting the administrator it is a Production system and if he is ok to continue.

/wp-content/uploads/2015/07/image10_749398.png

Only if the administrator confirms will the SQL statement be executed and he can see the output.

/wp-content/uploads/2015/07/image11_749402.png

Assigned Tags

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

      Thanks for your sharing.

      Regards