Monday, March 10, 2014

Installing HANA SP5 on Laptop(Demo) :Hurdles need to be removed



Objective:
There are many place you find how to install HANA on your laptop. By many attempt, hours after hours  most likely end-up with frustration.

Pre-request
 1) VMWare workstation
2) SUSE 11 sp2
3) HANA Platform Edition
4) PC with 32gb RAM.

1) Install the VMWare WorkStation with Network "Bridged"
2) Install the SUSE 11 SP2+ on VM machine.
3) a) Follow the following link how to setup the Network and IP.

Sybase ASE 15 Cluster Edition Step-By-Step Installation - Part 2 Linux - Dobler Consulting

  b) For your own VM machine IP and default gateway can be obtained by running ifconfig at terminal

  c) Now you can ping from your vm machine  to your local machine and vice versa.

4) Copy the HANA software into VM machine

5) Create folders at Linux file system 1)/data 2) /log 3) /sapmnt
5)  At \DATA_UNITS\HANA_IM_LINUX__X86_64, rename setuphana.slmodel.template to setuphana.slmodel

5a) Copy this file to /tmp folder
5b) Edit the file setuphana.slmodel and replace dynamic variables with #5 folders

5c) Further edit that file to name your HANA instance ID, SID, and hostname


6)  At file file setuphana.slmodel there will be some unneeded xml tag which are no relevant for installing single instance HANA. Please remove them.

6a) Or the alternative file for slmodel is ver 2 which can be located in the same folder. This file is much cleaner and no unnecessary xml tag.

7)  At DATA_UNITS\HDB_SERVER_LINUX_X86_64\server , you can find a file called HanaHwCheck.py. Edit this file to return always success. Just one line at the bottom part of the file, you need to comment a line and uncomment another line.

8) cd \DATA_UNITS\HANA_IM_LINUX__X86_64 . From this folder ./setup.sh /tmp/sapinst /tmp/setuphana.slmodel

When the installation reach 36 %, it will have long pause tocreate database and importing objects into database. Do not disturb. If you do not patine and want know what is happening in the installation you can look at /tmp/sapinst/logs folder.

Now you can install HANA client and HANA studio and connect the HANA database

Good luck
Palani
HANA and Oracle certified.

No comments:

Post a Comment