Thursday 13 July 2017

Enable AUTO start SAP HANA DB and SAP in Linux OS




If you want to Start SAP Application and SAP HANA Database after Restart or start the OS(Operating System).

Below mention two methods to autostart the SAP APPLICATION and SAP HANA DB.

Method 1 : Go to Profile Parameter  and maintain sap autostart parameter Autostart = 1 in Default Profile.

Method 2 : create <filename>.local file with below content in /etc/init.d location

#!bin/sh

su - hdbadm -c "/usr/sap/HDB/HDBXX/HDB start"

su - hdbadm -c "/usr/sap/<SID>/SYS/exe/uc/linuxXX_x86_64/startsap all"

The Script will run after all run levels are completed.


EmoticonEmoticon

Note: only a member of this blog may post a comment.