Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The creation of the database must be made by the SAP HANA UNIX user, or another UNIX user with the same privileges, on the machine where SAP HANA is installed. The SAP HANA UNIX user is assumed in this installationto be used for the installation steps below.


  1. Create the SAP HANA database instance. The working directory is saphana.

    Code Block
    $ ./saphana_create_instance.sh

    If no error occurs, the database creation will now be completed and the rest of this section can be ignored.

    Tip
    titleHint!
    When the instance creation script has been executed, there is a log file in the /tmp directory that can be used for trouble shooting. The mz.log file contains SAP HANA responses from the database creation. 


  2. If the script fails, clean up the system before the next try:

    • Stop DB (Needed to drop it):

      Code Block
      hdbsql -i 90 -d SystemDB -u SYSTEM -p QAmzadm1n "ALTER SYSTEM STOP DATABASE MZ"


    • Drop DB:

      Code Block
      hdbsql -i 90 -d SystemDB -u SYSTEM -p QAmzadm1n "DROP DATABASE MZ"


If you require to change any installation parameter defined in the install.xml, the installation must be restarted from the generation step. For further information, see 3.5.1 Generation of SAP HANA Database Definition Files

Tip
titleHint!

The SAP HANA audit policy will only work for the user ‘SYSTEM’ due to the parameter ‘FOR SYSTEM’. In case you want to use a different user, please change ‘SYSTEM’ to the desired username. For further information, please refer to Auditing Activity in SAP HANA.


Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse


Next: