using a mobile portal to monitor sap hana

35
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

Upload: tamasszirtes

Post on 16-May-2015

153 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Using a mobile portal to monitor sap hana

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

Page 2: Using a mobile portal to monitor sap hana

© 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

Page 3: Using a mobile portal to monitor sap hana

© 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

Page 4: Using a mobile portal to monitor sap hana

© Intenzz Group B.V.

November 26, 2013 |

Business case: SAP HANA monitoring anytime anywhere

Desktop Mobile

Page 5: Using a mobile portal to monitor sap hana

© 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

Page 6: Using a mobile portal to monitor sap hana

© 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

Page 7: Using a mobile portal to monitor sap hana

© 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

Page 8: Using a mobile portal to monitor sap hana

© Intenzz Group B.V.

November 26, 2013 |

Mobile Portal

Page 9: Using a mobile portal to monitor sap hana

© 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

Page 10: Using a mobile portal to monitor sap hana

© 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?

Page 11: Using a mobile portal to monitor sap hana

© 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

Page 12: Using a mobile portal to monitor sap hana

© Intenzz Group B.V.

November 26, 2013 |

Demo

Page 13: Using a mobile portal to monitor sap hana

© 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

Page 14: Using a mobile portal to monitor sap hana

© Intenzz Group B.V.

November 26, 2013 |

Anatomy of HANA Control Center

Log OffHome page

Launcher

Launcher

Apps

Home

Application

Launcher

Header

Content

Page 15: Using a mobile portal to monitor sap hana

© Intenzz Group B.V.

November 26, 2013 |

Portal content

Page 16: Using a mobile portal to monitor sap hana

© 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

Page 17: Using a mobile portal to monitor sap hana

© Intenzz Group B.V.

November 26, 2013 |

Portal content

Page 18: Using a mobile portal to monitor sap hana

© Intenzz Group B.V.

November 26, 2013 |

Portal content

Page 19: Using a mobile portal to monitor sap hana

© 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"/>

Page 20: Using a mobile portal to monitor sap hana

© 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>

Page 21: Using a mobile portal to monitor sap hana

© 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>

Page 22: Using a mobile portal to monitor sap hana

© 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>

Page 23: Using a mobile portal to monitor sap hana

© Intenzz Group B.V.

November 26, 2013 |

Tables

<script src="jquery.charts44.js"></script>

Page 24: Using a mobile portal to monitor sap hana

© 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();

Page 25: Using a mobile portal to monitor sap hana

© 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

Page 26: Using a mobile portal to monitor sap hana

© Intenzz Group B.V.

November 26, 2013 |

Architecture – option 1

SAP HANA

SAP NetWeaver Portal

Firewall

Reverse proxy

Load balancer

Firewall

Page 27: Using a mobile portal to monitor sap hana

© Intenzz Group B.V.

November 26, 2013 |

Architecture – option 2

SAP HANA

SAP NetWeaver Portal

Firewall

VP

N

Page 28: Using a mobile portal to monitor sap hana

© 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.

Page 29: Using a mobile portal to monitor sap hana

© 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

Page 30: Using a mobile portal to monitor sap hana

© 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

Page 31: Using a mobile portal to monitor sap hana

© 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

Page 32: Using a mobile portal to monitor sap hana

© 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

Page 33: Using a mobile portal to monitor sap hana

© 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

Page 34: Using a mobile portal to monitor sap hana

© 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

Page 35: Using a mobile portal to monitor sap hana

© 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