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 I will introduce you to the cockpit manager.
Hi, I am Denys van Kempen.
In the previous video, we used the xs client command line tool to get a list of running
XS Advanced applications and the URL, the port, that the application listens to.
I showed you that most of what we call applications are actually microservices that perform activities
like persistence, auditing, telemetry If you paste the URL in a browser, you get
a blank page at best, or a server error message of some sort as the service is not supposed
to be called that way.
We also looked at the different web applications The XS controller, on port 3 instance number 30
this is a fixed port that does not change with its up-and-running web page
and the XS Advanced Cockpit, not to be confused with the HANA cockpit, to manage XSA applications
Now, for those allergic to command line tools, here is some good news.
You can also get a list of running applications using the XSA cockpit
select the organization: HANACockpit
and then select the space: SAP
here we can already see that 24 applications are started
using 9 gigs of RAM and a bit
gives you also an idea about the memory requirements of HANA cockpit
about 8 gigs for the SAP HANA in-memory database, express edition, without any tenant databases
and the whole XSA runtime infrastructure, couple of Java virtual machines, node.js, 24 applications,
you get the idea
select it, and here we have our list
same one as with ‘xs client apps’ command
if I filter on ‘app’,
we get the cockpit-admin-web-app and the cockpit-web-app
and if you then select them, you get an overview
the application route: that’s the URL to access the app
It is a node.js buildpack
and in the header here, you can stop or restart the app, in case it is no longer responding
and there is also a list of events that may require your attention
Select the URL to open the app
it does not really matter whether you pick cockpit or the cockpit admin,
as they both point to each other.
I am now connected to the HANA cockpit, as COCKPIT_ADMIN,
you can see that here in the header and
if we click the link Manage cockpit, here in the Administration section,
It will open the SAP HANA Cockpit Manager
Now, the very first time you connect as COCKPIT_ADMIN
to the cockpit manager, you will get this Not Authorized message.
As you know, SAP HANA is secure by default, so even the super user accounts, like SYSTEM
or COCKPIT_ADMIN do not have all the privileges available, only the minimal set required to
be a super user.
However, if - and only if - you connect with COCKPIT_ADMIN the first time, you will be
prompted if you want to create the required role collection for the cockpit manager, and
grant it to your account.
If you connect with another user, it is assumed that you have read the documentation and have
set everything up properly yourself.
Click Yes, to create the role collection and assign it.
Success. The role collection has been created and now we need to log on again.
OK - We are still connected to the SAP HANA cockpit
and the XSA Cockpit in another tab, so let’s disconnect from those sessions as well.
Close the tab.
Log out.
Close the tab.
Here are the role collections, by the way, should you want to look into this.
OK.
Log out and close the tab.
The controller page does not require authentication, there is no session.
We could select the xsa-cockpit again and then navigate to the cockpit admin
we can also just copy the URL from the xs client apps command and paste it into the browser
Of course, you might also want to bookmark the URL, or create a favorite.
cockpit_admin - lowercase, uppercase - does not matter
password, and we now we are connected.
Now, like I said, we can go from the cockpit manager to the cockpit, and back again,
using the links.
> Go to SAP HANA Cockpit > Manage cockpit
The only thing is that you will end up with a lot of open tabs this way, so you might
want to close the ones you are not using.
This video is about the Cockpit Manager.
What does it do?
Very simple, it manages the metadata for SAP HANA cockpit.
So, with cockpit you manage resources.
Most of the time, this will be SAP HANA databases.
Maybe you have only one.
Maybe you one hundred, or even more.
So, where to organise your HANA databases?
What’s production and needs to be up?
What’s for testing and training and has different priorities?
Who can access the different systems?
That’s where we use the Cockpit Manager for.
We have Resources,
Resource Groups
Cockpit Users
and a couple of settings.
Lots of material to cover, and this we will do in the next video.
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.