Hello and welcome to the SAP HANA Academy.
The topic of this video tutorial series is SAP HANA platform Installation and Update
and in this video, I will show you how to add a component to an existing SAP HANA system:
AFL and EML.
Hi, I am Denys van Kempen.
Components, in SAP terminology, are separately installable units.
For SAP HANA, this can be the client or HANA studio but also system components like Application
Function Libraries (AFL, EML and a couple of product-specific ones).
Here I am listing the components that are included on the installation media.
Here we have some HANA content (HCO), which you will have to load into the database.
Other components, like the clients, of course, are just files on the file system.
In this video, we will add AFL and the EML_AFL to the server.
AFL is for Predictive, amongst others, and EML stands for (external) Machine Learning.
In the next video, I will add the XSA runtime, and we will do a video about SDA (smart data access) as well.
Now, you may be tempted to run the installer from the component directory.
I will list the contents here, hdbinst (for command-line) or hdbsetup (for the graphical installer).
However, this would be a mistake.
Always use the SAP HANA lifecycle manager to install SAP HANA components on the server.
Lifecycle manager (hdblcm) will make sure that prerequisites are properly checked and
that you can also uninstall components correctly.
Hdblcm will run hdbinst in the background to perform the activity but it will do some
additional housekeeping as well.
The only time you can safely run hdbinst is, for example, when installing the HANA
client on a different computer.
Lifecycle manager is always included on the installation media, so that’s where we are
going to start the installation.
Here we have the component.
The executable is called hdblcm.
First, hdblcm will list the detected components.
These are all the components that can be added to the system.
AFL, EML, client, studio, SDA and some XSA components.
Then, we will have to choose an action.
Update - in this case.
Next, we need to provide a comma-separated list
I will enter 7,8 to add both the Application Function Library (for Predictive) and the
EML AFL for Machine Learning.
Enter the password of the operating system administration account - the database needs
to be restarted - and we will get our summary before execution screen.
Do you want to continue? Yes.
The HANA system is first stopped.
The plugin is then activated and HANA is started again.
The time to install, basically, is the time to restart HANA.
There is a log file, should any issue have occurred.
Now, I am connected here as the root user.
This is not required.
In fact, when adding components, we could also have used the resident lifecycle manager,
which is added to the system with each server installation.
So let’s substitute user to hdbadm, HDB is the SID here, yours maybe different.
The resident lifecycle manager is in the path /hana/shared - this is the default name of
the mount point for shared files, again, yours maybe different - then the SID, HDB in our case
hdbclm for the directory and hdblcm for the executable.
We did not start the tool as root, we are informed, so certain actions cannot be performed
like renaming the system.
However, we can install or update additional components.
Number 10, that is.
Now you cannot really browse on the command line, so the tool complains that there are
no components to install and that you should use component_medium, _root or _dirs.
So let’s run the tool again with --component_medium this time.
Pointing to the location of the file system where my download is.
The components have been detected this time.
Both AFL and EML are now updatable, as they have already been installed and we could,
at this stage, install the EPMMDS, for example.
You get the idea, I will control-c to exit
That’s it.
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 his video.
Thank you for watching.