Hello and welcome to the SAP HANA Academy.
The topic of this video tutorial series is Getting Started with SAP HANA cockpit
and in this video, which concludes system preparation, I will show you how you can extract
the downloaded SAR file and make a few remarks about graphical installation and the installation script.
Hi, I am Denys van Kempen.
In the previous video, we uploaded the SAP HANA cockpit installation file, a SAR file
(SAP archive file) to the the HANA server.
To extract this file, it a compressed file, you will need a proprietary zip utility from SAP: SAPCAR.
You can download this from the Software Download Center (we already looked at this)
but in our case this is not even necessary, as each and every SAP HANA installation will
include an SAP host agent and every host agent will include SAPCAR.
On our training system, we removed HANA but we did not remove the agent.
The path is /usr/sap/hostctrl/exe/SAPCAR
The tool has a lot of options but we need to run it with the manifest flag
documented here in the Installation Guide.
If you leave this out, you will get this error.
OK
SAPCAR
-manifest SIGNATURE.SMF
-R /tmp (this is where I want to extract the file to)
-xvf (same parameters as you would use for the UNIX tar utility)
extract verbose file.
That is, unzip this file and tell me what you are doing
and then the path to the file name, the one we uploaded.
Fast forward
401 files extracted
If we change directory to /tmp and list files, we see the signature, a couple of directories,
HDB_SERVER is the HANA database, HANA express
XSA_RT is the XSA runtime
and then we have the cockpit application, SAPUI5,
HRTT (HANA runtime tools) that would be WebIDE and Database explorer.
and then, we have two scripts: hdblcm.sh and hdblcmgui.sh
You may recall (here we have the command) that previously we ran the hdblcm command without
an sh extension: hdblcm is an executable, not a script.
So, how does this work?
If we 'cat' the script, basically, what’s going on is that we look for HANA express
for cockpit and then execute hdblcm with this flag isc_mode=standard
Implementation detail, but the point is that you need to run the script hdblcm.sh to install
cockpit, not the installer directly from the hdb_server directory.
What about hdblcmgui?
The graphical version?
Well, my guess is that 99.9% of all the HANA installations are done in command-line mode.
The Linux server by default will not have an X-Window environment installed.
HANA is an in-memory database server.
Makes no sense to add the overhead of a graphical environment and turn the server into a workstation.
However, since you asked, yes, you can install X-Windows.
On SUSE Linux, for example, you can use yast (the setup tool) and install the X Window System (use the pattern)
and on my Google VM, this took a minute and a half, 365 packages
installed, almost 1 GB of files.
But then - isn’t it amazing? - we can connect to a SUSE Desktop, open a terminal and run
the hdblcmgui.sh command
The SAP HANA Lifecycle Manager will display in full Technicolor.
We can select Activity: Install New System
Define System Properties (I will accept all defaults)
Define Master Password
Enter and confirm and then we get our review screen: click Install to install
This, I will not do.
We will do this in the next video and we will use the command-line version, because, as mentioned,
that’s how you would install cockpit in 99.9% of the cases.
The 0.1% of course, is my installation here.
A graphical environment on an in-memory database server is just overhead.
Don’t need it.
OK.
Thanks for watching.
You can find more video tutorials on our YouTube channel.
If you would like to be informed about new video tutorials,
please subscribe to our channel.
You can connect with us on LinkedIn or follow us on Twitter, as well for updates.
And we also have a page on Facebook and Google+.
If you are watching this video on YouTube,
do not hesitate to leave your comments to the video page and,
if you like, give us your vote on this video.
Thank you for watching.