Using a Mobile Portal to Monitor SAP HANA (POP114 in TechEd) Tamas Szirtes, Partner at Intenzz SAP TechEd 2013 Innovative ideas create sustainable solutions Make the impossible possible
May 16, 2015
Using a Mobile Portal to Monitor SAP HANA(POP114 in TechEd)
Tamas Szirtes, Partner at Intenzz
SAP TechEd 2013
Innovative ideas create
sustainable solutions
Make the impossible
possible
© Intenzz Group B.V.
November 26, 2013 |
Agenda
Motivation: SAP HANA monitoring anytime anywhere
Introduction to the Mobile Portal
Demo of the HANA Control Center
Technical aspects of the HANA Control Center
Benefits
Lessons learned & next steps
Q&A
© Intenzz Group B.V.
November 26, 2013 |
Agenda
Motivation: SAP HANA monitoring anytime anywhere
Introduction to the Mobile Portal
Demo of the HANA Control Center
Technical aspects of the HANA Control Center
Benefits
Lessons learned & next steps
Q&A
© Intenzz Group B.V.
November 26, 2013 |
Business case: SAP HANA monitoring anytime anywhere
Desktop Mobile
© Intenzz Group B.V.
November 26, 2013 |
Business case: SAP HANA monitoring anytime anywhere
Desktop Mobile
Limited mobility Anytime, anywhere
Generic Specific for monitoring
Technical, complex screens Simplified user-oriented screens
Table views Graphical views
Tool for IT Tool suitable for various user groups
Predefined Adaptable
© Intenzz Group B.V.
November 26, 2013 |
Agenda
Motivation: SAP HANA monitoring anytime anywhere
Introduction to the Mobile Portal
Demo of the HANA Control Center
Technical aspects of the HANA Control Center
Benefits
Lessons learned & next steps
Q&A
© Intenzz Group B.V.
November 26, 2013 |
Mobile Portal, a.k.a. SAP NetWeaver Portal, Mobile Edition
“The mobile portal enables customers to access
and consume portal assets via mobile devices.
The mobile portal is a web and role based
aggregation layer for web and native application,
structured and unstructured content, SAP and non-
SAP application.
It provides a low TCO multi-channel portal
consumed across devices” (SAP)
SAP NetWeaver Portal, mobile edition
Web AppNative App Hybrid Web Container App
© Intenzz Group B.V.
November 26, 2013 |
Mobile Portal
© Intenzz Group B.V.
November 26, 2013 |
Mobile Portal
Launcher – The Launcher contains applications
you can launch and folders you can access,
arranged in a grid layout. You can assign custom
icons to the applications and folders.
Toolbox – The toolbox area is a side panel
aggregator used for commonly used widgets like
favorites, generic launchers and other widgets.
Actions and actions bar – The actions bar
provides the end users options to log off, refresh
the page and add the current page to his favorites’
area. The actions bar is not extensible with more
widgets. Additional widgets can be added to the
toolbox.
Actions
Launcher
Toolbox
© Intenzz Group B.V.
November 26, 2013 |
Mobile Portal
Uses HTML5
Runs on NetWeaver
Portal
Uses existing Portal
functionality
Low maintenance
cost Out-of-box from NW 7.3
SP7
Optimized for smart phones
Great option to start with Mobility
Why to use the Mobile Portal?
© Intenzz Group B.V.
November 26, 2013 |
Agenda
Motivation: SAP HANA monitoring anytime anywhere
Introduction to the Mobile Portal
Demo of the HANA Control Center
Technical aspects of the HANA Control Center
Benefits
Lessons learned & next steps
Q&A
© Intenzz Group B.V.
November 26, 2013 |
Demo
© Intenzz Group B.V.
November 26, 2013 |
Agenda
Motivation: SAP HANA monitoring anytime anywhere
Introduction to the Mobile Portal
Demo of the HANA Control Center
Technical aspects of the HANA Control Center
Benefits
Lessons learned & next steps
Q&A
© Intenzz Group B.V.
November 26, 2013 |
Anatomy of HANA Control Center
Log OffHome page
Launcher
Launcher
Apps
Home
Application
Launcher
Header
Content
© Intenzz Group B.V.
November 26, 2013 |
Portal content
© Intenzz Group B.V.
November 26, 2013 |
Portal content
iView URL = http://server:port/HANACC/alerts.jsp
Filter ID = com.sap.portal.smartphone
Mobile Perspective = Home
Icon URI = http://server:port/HANACC/images/alert.png
© Intenzz Group B.V.
November 26, 2013 |
Portal content
© Intenzz Group B.V.
November 26, 2013 |
Portal content
© Intenzz Group B.V.
November 26, 2013 |
Home page
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
<script src="../jquery.mobile-1.1.1/demos/js/jquery.mobile-
1.1.1.js"></script>
<sql:setDataSource var="snapshot"
driver="com.sap.db.jdbc.Driver"
url="jdbc:sap://hanaserver:30015"
user="mobileuser" password="123"/>
© Intenzz Group B.V.
November 26, 2013 |
Home page
<sql:query dataSource="${snapshot}" var="result">
select "ALERT_USERACTION" from
"_SYS_STATISTICS"."STATISTICS_ALERT_INFORMATION
" where "ALERT_ID" in (select "ALERT_ID" from
"_SYS_STATISTICS"."STATISTICS_ALERT_LAST_CHECK
_INFORMATION" WHERE ALERT_LAST_CHECK_RATING
= '4')
</sql:query>
© Intenzz Group B.V.
November 26, 2013 |
Memory
<script class="include" type="text/javascript"
src="/jqplot/jquery.jqplot.min.js"></script>
<sql:query dataSource="${snapshot}" var="result">
select SUBSTR_BEFORE(SUBSTR_AFTER
(VALUE,'Physical '),' GB'), SUBSTR_AFTER(VALUE, 'Used ')
FROM "SYS"."M_SYSTEM_OVERVIEW" WHERE SECTION
= 'Memory'
</sql:query>
© Intenzz Group B.V.
November 26, 2013 |
CPU
<style type="text/css">
@import "../dojo-release-1.8.0-src/dojo/resources/dojo.css";
@import "../dojo-release-1.8.0-src/dijit/themes/claro/claro.css";
@import "/dojo-release-1.8.0-src/dojox/dgauges/tests/style.css";
</style>
© Intenzz Group B.V.
November 26, 2013 |
Tables
<script src="jquery.charts44.js"></script>
© Intenzz Group B.V.
November 26, 2013 |
Docs
String file = application.getRealPath("/HANACC/documents/");
File f = new File(file);
String [] fileNames = f.list();
File [] fileObjects= f.listFiles();
© Intenzz Group B.V.
November 26, 2013 |
Template based extensions
Your
custom
code
Template:
HTML5 setup (head,
body, etc.)
Necessary libraries
(JQM, etc.)
Style sheets
Database
connection
SQL access
© Intenzz Group B.V.
November 26, 2013 |
Architecture – option 1
SAP HANA
SAP NetWeaver Portal
Firewall
Reverse proxy
Load balancer
Firewall
© Intenzz Group B.V.
November 26, 2013 |
Architecture – option 2
SAP HANA
SAP NetWeaver Portal
Firewall
VP
N
© Intenzz Group B.V.
November 26, 2013 |
Architecture – there is always a third option…
SAP HANA
Any Java server
Skipping the Mobile Portal
means:
No login screen
No authentication
No authorizations
No role-based access
No navigation
No toolbox
No search
Etc.
© Intenzz Group B.V.
November 26, 2013 |
Implementation steps
1. Install the HANA client on the portal server or copy ngdbc.jar to the server
2. Set ClassPath on the portal server
3. Create user and grand roles in HANA for communication between the app and HANA
4. Copy the installation files to the portal server.
5. Configure database access (server name, port, user)
6. Copy the necessary documentation to the documents folder
7. Import the portal transport package, fine-tune settings
© Intenzz Group B.V.
November 26, 2013 |
Agenda
Motivation: SAP HANA monitoring anytime anywhere
Introduction to the Mobile Portal
Demo of the HANA Control Center
Technical aspects of the HANA Control Center
Benefits
Lessons learned & next steps
Q&A
© Intenzz Group B.V.
November 26, 2013 |
Benefits
FOR BUSINESS
• Higher uptime of HANA and applications based on HANA
• Better performance of HANA and applications based on HANA
FOR IT:
• Faster troubleshooting of issues, less outages
• Support can be delivered more flexibly (anywhere, anytime)
• Low TCO
• Existing SAP NetWeaver Portal infrastructure can be reused
• Low maintenance
• No extra SAP license needed
• Easy roll-out, role-based access granted by the portal
© Intenzz Group B.V.
November 26, 2013 |
Agenda
Motivation: SAP HANA monitoring anytime anywhere
Introduction to the Mobile Portal
Demo of the HANA Control Center
Technical aspects of the HANA Control Center
Benefits
Lessons learned & next steps
Q&A
© Intenzz Group B.V.
November 26, 2013 |
Lessons learned & next steps
HANA CONTROL CENTER:
It can be implemented in ½ day
The functionality is welcome by each HANA customer of
Intenzz
Using HTML5 and NetWeaver Portal made it very flexible
MOBILE PORTAL:
It offers a very easy entry to Enterprise Mobility
HTML5 development is powerful and the learning curve is
steep
Web applications are gaining popularity in the enterprise
world
NEXT STEPS:
Extension of the functionality
OS statistics
Backup
Locks
User session mgt
Linux shell integration
Table mgt
Tablet version
© Intenzz Group B.V.
November 26, 2013 |
Agenda
Motivation: SAP HANA monitoring anytime anywhere
Introduction to the Mobile Portal
Demo of the HANA Control Center
Technical aspects of the HANA Control Center
Benefits
Lessons learned & next steps
Q&A
© Intenzz Group B.V.
November 26, 2013 |
Q&A
Thank you!
Tamas Szirtes
Partner at Intenzz Group B.V.
“Villa Soesterberg”
Amersfoortsestraat 78,
3769 AL Soesterberg, The Netherlands
Internet: www.intenzz.nl
Mobile: +31 6 211 06 317
E-mail: [email protected]
LinkedIn: http://www.linkedin.com/in/tamasszirtes
Twitter: @tamas_Szirtes
SCN: http://scn.sap.com/people/tamas.szirtes/profile