Hello and welcome to the SAP HANA Academy.
The topic of this video tutorial series is SAP HANA Cockpit and in this video I will
show you how you can perform an update.
This video has been recorded on release SAP HANA cockpit 2.0 SP08 from October 2018.
For earlier or later releases, please check the playlist on the SAP HANA Academy.
Hi, I am Denys van Kempen.
For those of you already familiar with how to update SAP HANA cockpit to the latest release,
I have some good news.
The process is exactly the same as before, say with SP07 or SP06.
So, in this video, I will move pretty quickly and just highlight the most important steps
in the process.
To download the latest support pack, go to support.sap.com and select Download Software.
You will need to logon to this site with your SAP ID.
This will then open launchpad.support.sap.com/ which you can bookmark or use support.sap.com/swdc
- software download center and this will get you there as well.
You can navigate by alphabetical index or by Category but this takes some practice.
I would recommend to just use search and enter SAP HANA COCKPIT.
Put the whole name in as there are other cockpits, and then select the category, maintenance
software component.
Make sure you filter on the right operating system, in my case this is regular Intel Linux,
and then we have our list of support packs for cockpit: SP08, SP07, SP06 and so on.
The patch level may be different as you will always find the latest here.
File size is a little over 3 GB and release date is October 22, 2018.
I am going to add it to my download basket but you can also download the file directly
by selecting the link.
OK - now I am going to switch to my Windows client computer, this is running in the cloud,
just like my HANA environments, and here I will start my download manager.
Connect to https://tech.support.sap.com with your S, P, or I-number, or your email address,
should work as well.
Configure the proxy, if you need to, and voilà - here we have our downloads, SP08 patch 7
HANA cockpit 2.0.
Fast forward and we are done.
Now we need to transfer the file to the server running SAP HANA cockpit.
I am going to WinSCP (Windows Secure Copy) for this but any FTP client should do the
job as well.
Whatever works for you.
And then finally, we need to extract the file, so I will start a terminal session to the
HANA cockpit system, this time using PuTTY telnet, but again, other tools can be used
for this purpose and then we run the command sapcar -x for extract, v for verbose is optional,
f for file is not, name of the file (use TAB for file name completion) and then also, do
not forget to append -manifest SIGNATURE.SMF in uppercase.
The SAPCAR tool is included with the SAP Host Agent installation, which you will find on
each and every HANA system in /usr/sap/hostagent.
I have copied the file to a location which is in the PATH for my root user (/usr/bin,
I believe) and changed the file name to lowercase.
This is just for convenience.
OK, 692 files extracted with the signature file in the root directory.
We are good to go.
Last time, we performed a command line installation, this time I will show the graphical UI.
The process is the same.
Makes no difference.
For the graphical version, you need X-Windows installed on the cockpit server and a tool
on your Windows computer to display X-Windows client — I am using X-ming — and a way
to bypass the proxy and firewall, for which I am using PuTTY X11 Forwarding over SSH.
You can find some videos on the Academy where we explain how you can set this up.
If you have this configured, you can run hdblcmgui.sh, otherwise just run hdblcm.sh — again, same
process, same steps.
Note that, unlike all other HANA component installations, we are not running the SAP
HANA Lifecycle Manager here directly but a shell script, a .sh file, which will set the
environment up for us, for our cockpit installation.
OK Step 1, select activity.
Update existing system.
Select system: H4C.
The default system identifier with instance number 96, concerns a SP07 patch 9 release,
HANA 2.0, installed on /hana/shared.
You could, if you want, of course, also decide to perform a brand new installation.
Step 2, select component.
Well, in 99.9 % of the time, you will want to keep all three components selected: update
database, update XSA runtime and update the cockpit stack.
If you unselect or deselect the last component, in fact, you are not going to upgrade cockpit
at all, it will stay the same release.
If not mistaken, the command line version does not even present you with this screen.
Best to ignore and continue.
Step 3b, define upgrade properties.
The SID is given.
You need to provide the system database user and its password.
You may have disabled SYSTEM, in which case you need to enter the user with the equivalent
privileges.
Step 3i, define XS Advanced runtime properties.
Again, by default, for a cockpit system, this would be cockpit_admin - but this is configurable.
And that’s it, step 4, review and confirm.
The update parameters, software components (database, stack and XSA), XSA components
(cockpit, database explorer, SAPUI5, cockpit manager), and the log file location, for your
information.
Select Update and off we go.
Files are extracted, services stopped, the HANA system stopped, new files put into place,
installer updated, XSA runtime updated, system started again, first HANA —takes about 3
minutes, all-in-all—, then another 5 minutes to get the XSA runtime configured and started
and then we are going to need a little bit of patience for the update of the XSA content,
another 10 minutes or so, and the actual upload of the cockpit manager, cockpit, database
explorer and related apps into the XSA environment, another 20 minutes —depending on the number
of speed of your CPUs, mainly, and that’s it:
SAP HANA Cockpit components updated.
You can view the logs, or you can click Finish.
OK —Let’s do a quick check.
The XSA Controller is running on port 3 instance number 30, so 3 96 30 for a default installation.
SAP HANA XSA runtime on premise.
This should be up.
From here we can navigate to the hana-cockpit-admin, the Cockpit Manager.
We first get the User Authentication and Authorization screen and need to logon with the cockpit
administrator user, cockpit_admin for a default installation.
Log On.
Then, under COCKPIT_ADMIN here on the toolbar top right, we can select About, this will
return the version.
2.8.7.
OK.
Let’s go to the SAP HANA Cockpit.
Now we need to go the Me area, and select About, and here as well, we get the version
number.
Job done.
Updating SAP HANA Cockpit is documented in the Installation and Update Guide, which is
freely accessible from the SAP Help Portal on help.sap.com.
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 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.