In this video, I’ll install and start SAP HANA, express edition on my Windows laptop, using the VM
installation package.
The VM method is a quick and easy way to perform an On-Premise installation of SAP
HANA, express edition.
Before you begin the install, make sure your laptop meets the system requirements.
You need Java Runtime Environment 8 or later to run the Download Manager.
If you’re installing on Windows or Linux, make sure you have the 64-bit version.
If you’re installing the server-only VM -- that is, the lightweight installation without XSA, Cockpit,
or Web IDE -- you need at least 8 GB of RAM.
If you’re installing the server-plus-applications VM
– that is, the larger installation with XSA, Web IDE, and SAP HANA Cockpit –
you need between 12 and 16 gigabytes of RAM depending on what components you install. See
the Sizing Guide for details.
You also need: 120 GB of hard drive space,
a 2-core processor at minimum,
and, if you have an Intel chipset, you need to set Intel Virtualization in your BIOS.
You also need to install a hypervisor on your laptop so you can control the VM image.
SAP HANA, express edition has been tested on VMWare Workstation Player,
VMWare Fusion, and VirtualBox.
In this video, I’ll use VMWare Workstation 12 Player.
Now, it’s time to register. Go to: http://go.sap.com/developer/topics/sap-hana- express.html
On the SAP HANA, express edition developer webpage, select Free Download.
Fill out the registration form and then select Register.
When successful, you will see this page, and you’ll also receive a confirmation email.
Next, I’ll download a virtual machine.
First, under ON-PREMISE INSTALLATION, install the download manager utility by
clicking either Linux, Windows, or Platform-Independent.
I have a Windows laptop, so I’ll click Windows.
Next, save the file to your laptop and open it.
In the Download Manager, from the Platform dropdown menu, select Linux/x86-64.
From the Image dropdown menu, select Virtual Machine.
In the packages column, notice how you have a choice of two different virtual machine
packages: server-only or server plus applications.
You can download a server-only VM,
or a server plus applications VM. Applications include XS Advanced, Web IDE, Cockpit,
and SAP EA Designer.
I’ll choose the server plus applications virtual machine.
Notice how the Getting Started guide PDF is selected for download automatically.
Now, select Download and wait until you see a Download Succeeded message in the status
field, and a success pop-up.
Then, start your hypervisor and import the OVA file.
Importing the OVAs takes a few minutes.
On a Windows laptop, the server-only OVA takes about 3 minutes, while the server plus applications
OVA takes 5 to 10 minutes.
Once imported, click Play virtual machine to boot up your VM.
At the login prompt, enter: hxeadm
At the password prompt, enter the temporary password: HXEHana1
When prompted for the (current) UNIX password, enter the temporary password again:
HXEHana1
When prompted for a new password, enter a strong password.
Make sure that it is at least 8 characters long
and contains at least 1 uppercase letter, 1 lowercase letter, and 1 number.
You can use special characters too, but don’t use $ \ ' "
You also can’t use dictionary words and simplistic or systematic values,
like strings in ascending or descending numerical or alphabetical order.
Here are two examples for illustration only.
Do not use these examples, because they’re in the public domain and aren’t secure.
When prompted, enter your new password again.
Next, create a new HANA database master password.
You can enter the same password you used earlier, or you can use a new one.
Make sure it’s strong and meets all the same password rules.
Enter the password again.
The system now asks if you want to use a proxy server to access the Internet. I’ll answer “no”.
If you want to use a proxy server, answer “yes” and provide the required details. This is
necessary for the telemetry feature.
Now, you have a choice.
You can either wait for XSA configuration to complete before the server starts,
or you can start the server now and let XSA configuration run in the background.
I’m going to wait, so I‘ll answer “yes”.
The Summary before execution displays.
When prompted to proceed, answer yes.
Cockpit and XSA configuration will take around 10 minutes.
If your VM goes black while you wait, click the VM or press the CTRL key, to wake it up.
When installation and configuration completes, you’ll see this success message.
Now that the server and applications are installed, it’s time to test your applications.
First, you need to record the hxehost IP address. You’ll need this address later when
connecting to the server from client tools.
At the command prompt, enter: /sbin/ifconfig
Below the eth0 interface, locate inet addr. This is the IP address of your server.
Record this IP address, as you’ll need it in upcoming steps.
Now update your laptop’s hosts file.
On Windows, you need to open it in Administrator mode.
On my machine, it’s located in the etc file of my C drive.
In a new uncommented row, add the IP address and hxehost.
. Spacing is important. Make sure your hosts file in Notepad has spacing identical to what you see
here.
Save your changes.
Next, open a browser and go to: http://:8090
A success page shows. This means that XSC installed correctly.
Now, I’ll test my XSA installation.
Go back to your VM and enter: xs login -u XSA_ADMIN -p "my_ password" -s SAP
The password is the HANA database master password you specified earlier.
Next, check for an API endpoint showing: https://hxehost:39030
If you see this entry, XSA installed correctly.
Now, you can test your Web IDE installation.
First, run this command: xs apps | grep webide
Make sure you see STARTED and an instance number of 1/1.
Make note of the URL for Web IDE, and be careful in case the URL has wrapped to the next line.
Next, open a browser on your laptop and enter the Web IDE URL.
For the HANA Username, enter: XSA_DEV
For the HANA Password, enter the HANA database master password you specified earlier.
Then, click Log On.
If you see this page, Web IDE installed correctly.
Finally, test your Cockpit installation.
Go back to your VM and enter: xs apps | grep cockpit-admin-web-app
Like before, make sure that the cockpit admin web app shows STARTED and an instance
number of 1/1,
and take note of the URL.
Again, be careful of wrapping.
Next, open a browser on your laptop and enter the cockpit URL.
For the HANA Username, enter: XSA_ADMIN
For the HANA Password, enter the HANA database master password you specified earlier.
Now click Log On.
If you see this page, Cockpit installed correctly.
And that’s it – you’ve finished installing, configuring, and testing SAP HANA express edition,
and now you’re ready to start developing!