Sunteți pe pagina 1din 64

Week 3 Unit 1:

Connectivity Basics
Connectivity Basics
Why connectivity on SAP HANA Cloud Platform? (1)

Integration User Experience Analytics

Dev & Ops Collaboration Security

More details:
hcp.sap.com
Business Storage Mobile

Internet of Things

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 2


Connectivity Basics
Why connectivity on SAP HANA Cloud Platform? (2)

Consume APIs and data from Internet services in apps on SAP HANA Cloud Platform

INTERNET

Internet SAP HANA Application User


Services Cloud Platform Front End

APIs and data Apps consuming APIs and


provided by any data of Internet services
Internet service
via HTTP
2016 SAP SE or an SAP affiliate company. All rights reserved. Public 3
Connectivity Basics
Why connectivity on SAP HANA Cloud Platform? (3)

Consume APIs, data, and users from on-premise SAP systems in apps on
SAP HANA Cloud Platform
CORPORATE NETWORK INTERNET
Firewall
Secure Tunnel

On-Premise SAP HANA SAP HANA Application User


SAP Systems Cloud Connector Cloud Platform Front End

APIs, data and Enable apps to Apps consuming APIs,


users provided by access on-premise data, and users of
on-premise systems systems on-premise systems
via HTTP or RFC
2016 SAP SE or an SAP affiliate company. All rights reserved. Public 4
Connectivity Basics
Understanding destinations
CORPORATE NETWORK INTERNET
Firewall
Secure Tunnel

On-Premise SAP HANA SAP HANA Application User


SAP Systems Cloud Connector Cloud Platform Front End

To enable apps to access remote systems, create destinations on SAP HANA Cloud Platform:
Separation of concerns: administrator configures destination, developer consumes destination
Manage via SAP HANA Cloud Platform Eclipse tools, command-line tools, or Web-based cloud cockpit
Configure authentication methods and securely store credentials, keys, and certificates
Consumable from Java, HTML5, or SAP HANA applications

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 5


Connectivity Basics
Understanding SAP HANA Cloud connector
CORPORATE NETWORK INTERNET
Firewall
Secure Tunnel

On-Premise SAP HANA SAP HANA Application User


SAP Systems Cloud Connector Cloud Platform Front End

To access on-premise systems in the corporate network, set up a SAP HANA Cloud connector:
Lightweight on-premise agent running on commodity hardware on MS Windows and SuSE Linux
Establishes secure SSL/TLS tunnel from on-premise to cloud application
No need to introduce a VPN solution Internet access sufficient
Supports integration with on-premise back-end systems
Supports integration with databases on SAP HANA Cloud Platform

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 6


Connectivity Basics
Hands on: Get a quick overview

1. Go to SAP HANA Cloud Platform


2. Create a new HTML5 application in the SAP Web IDE
3. Consume an existing destination in the application
4. Deploy and run the application

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 7


Connectivity Basics
What youve learned in this unit

Connectivity is an integration service on SAP


HANA Cloud Platform.
Connectivity enables reuse of data, logic, and
users of Internet and on-premise systems.
Internet and on-premise systems are accessed
via destinations.
Connectivity enables access to on-premise
systems via the SAP HANA Cloud connector.

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 8


Connectivity Basics Additional
!i Material
Further Reading

Connectivity Overview on http://hcp.sap.com


SAP HANA Cloud Connector security whitepaper
SAP HANA Cloud Connector Solution Brief
SAP HANA Cloud Platform Documentation:
Connectivity Service
Destinations for Java, Destinations for HTML5,
Destinations for HANA
SAP HANA Cloud Connector

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 9


Thank you

Contact information:

open@sap.com
2016 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.

Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and
services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as
constituting an additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop
or release any functionality mentioned therein. This document, or any related presentation, and SAP SEs or its affiliated companies strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time
for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place
undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 11


Week 3 Unit 2:
Cloud Connector
Cloud Connector
Prerequisites
CORPORATE NETWORK INTERNET
Firewall
Secure Tunnel

On-Premise SAP HANA SAP HANA Application User


SAP Systems Cloud Connector Cloud Platform Front End

Cloud connector Commodity x86 Cloud connector requires


requires access to Hardware on access to SAP HANA
on-premise systems in Windows, Linux, Cloud Platform:
your intranet: Mac OS X: https://*.hana.ondemand.com
HTTP: 80, 443 Intel i7 / 16 GB RAM
Connecting user must
RFC: 33<instance>
have permissions:
JDBC: DB Port
Administrator or
Cloud Connector Admin

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 2


Cloud Connector
How to set up the Cloud connector: Basic steps

HCP Cockpit
https://tools.hana.ondemand.com HCP Cockpit
Operating System Cloud Connector
Operating System

Grant Install Download Install Initial Check


Permissions Java Connector Connector Connection Connection
Not required on Trial

Steps Steps in the


on-premise cloud

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 3


Cloud Connector
Hands on: Get a quick overview

1. SAP HANA Cloud connector on Windows


1. Download and install Java on Windows
2. Download and install SAP HANA Cloud connector on Windows
3. Establish initial connection with SAP HANA Cloud Platform
Trial account
4. See connection details in SAP HANA Cloud Platform cockpit
2. SAP HANA Cloud connector on Linux
1. Download and install Java on Linux
2. Download and install SAP HANA Cloud connector on Linux
3. High Availability Setup of SAP HANA Cloud connector
4. See new connection details in SAP HANA Cloud
Platform cockpit

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 4


Cloud Connector
What youve learned in this unit

Connectivity enables access to on-premise


systems via SAP HANA Cloud connector
Cloud connector must be installed in your on-
premise intranet network
Cloud connector runs on Windows and Linux
Cloud connector must be able to access the on-
premise systems in your intranet
Cloud connector must be able to access
SAP HANA Cloud Platform on the Internet

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 5


Cloud Connector Additional
!i Material
Further Reading

Download the SAP HANA Cloud connector


SAP HANA Cloud Platform Documentation:
SAP HANA Cloud Connector
Prerequisites to install SAP HANA Cloud connector
Installing SAP HANA Cloud connector
Initial configuration of the SAP HANA Cloud connector
Managing connections to HCP accounts in the SAP HANA
Cloud connector
High Availability Setup for SAP HANA Cloud connector

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 6


Thank you

Contact information:

open@sap.com
2016 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.

Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and
services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as
constituting an additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop
or release any functionality mentioned therein. This document, or any related presentation, and SAP SEs or its affiliated companies strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time
for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place
undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 8


Week 3 Unit 3:
Connecting Internet Systems
Connecting Internet Systems
Why connectivity to Internet systems? Recap

Consume APIs and data from Internet services in apps on SAP HANA Cloud Platform

INTERNET

Internet SAP HANA Application User


Services Cloud Platform Front End

APIs and data Apps consuming APIs and


provided by any data of Internet services
Internet service
via HTTP

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 2


Connecting Internet Systems
Example API: Google Maps Distance Matrix

https://developers.google.com/maps/documentation/distance-matrix/

Modes of Transport Duration and Distance Traffic


Specify the mode of transport to use Estimate travel time and distance based Use current and historical traffic to predict
when calculating distance and travel time. on a recommended route. travel times.

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 3


Connecting Internet Systems
Example API: Google Maps Distance Matrix

Example Input
http://maps.googleapis.com/maps/api/distancematrix/xml?origins=Walldorf&destinations=Berlin

Example XML Output


<DistanceMatrixResponse>
<status>OK</status>
<origin_address>Walldorf, Germany</origin_address>
<destination_address>Berlin, Germany</destination_address>
<row>
<element>
<status>OK</status>
<duration>
<value>21290</value>
<text>5 hours 55 mins</text>
</duration>
<distance>
<value>635534</value>
<text>636 km</text>
</distance>
</element>
</row>
</DistanceMatrixResponse>

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 4


Connecting Internet Systems
Prerequisites: Example for Google Maps Distance Matrix API

INTERNET

Internet SAP HANA Application User


Services Cloud Platform Front End

Understand API: Create Destination to


Hosts, Credentials, Protocol Internet Service
http://maps.googleapis.com/
Consume with
No credentials required Java | SAP HANA | HTML5
XML or JSON response

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 5


Connecting Internet Systems
How to connect: Basic steps
SAP HANA Studio
Eclipse Tools for HCP Neo Command Line Tool

Eclipse Tools for HCP | SAP HANA Studio | Neo


Create
Create App Deploy App Test App
Destination
Cockpit | SAP HANA Web IDE | SAP Web IDE

SAP HANA Web IDE Steps Steps in the


HCP Cockpit
SAP Web IDE on-premise cloud
2016 SAP SE or an SAP affiliate company. All rights reserved. Public 6
Connecting Internet Systems
Hands on: Get a quick overview

1. Test Google Distance Matrix API in browser


2. Create and test destination to Google API in HCP cockpit
3. Consuming destinations from Java
1. Create Java app in Eclipse to consume Google API
2. Deploy and test Java app on HCP
4. Consuming destinations from HTML5
1. Create HTML5 app in SAP Web IDE to consume Google API
2. Deploy and test HTML5 on HCP
5. Consuming destinations from SAP HANA XS
1. Create destination in SAP HANA XS
2. Create and test SAP HANA XS app in SAP HANA Web IDE to
consume Google API
3. Activate and test SAP HANA XS app

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 7


Connecting Internet Systems
What youve learned in this unit

No SAP HANA Cloud connector is required to access


APIs of Internet systems
To consume the API of Internet systems, simply create
respective destinations
You can consume these destinations with apps
developed with Java, SAP HANA, and HTML5
For Java and HTML5, create destinations with Cloud
cockpit, Eclipse, or Neo
For SAP HANA, destinations can be created with SAP
HANA studio and SAP Web IDE for SAP HANA

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 8


Connecting Internet Systems Additional
!i Material
Further Reading

Google Maps Distance Matrix API Documentation


SAP HANA Cloud Platform Documentation:
Consuming Internet Services from Java via Destination API
Consuming Internet Services from HANA
Consuming Destinations from HTML5

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 9


Thank you

Contact information:

open@sap.com
2016 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.

Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and
services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as
constituting an additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop
or release any functionality mentioned therein. This document, or any related presentation, and SAP SEs or its affiliated companies strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time
for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place
undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 11


Week 3 Unit 4: Connecting
SAP On-Premise Systems
Connecting SAP On-Premise Systems
Why connectivity to on-premise systems?

Classical R/3 Suite on SAP NetWeaver S/4HANA


4.6C Enterprise NW 2004 NW 7.x NW 7.4 On-Premise Edition

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 2


Connecting SAP On-Premise Systems
Why connectivity to on-premise systems? Recap

Consume APIs, data, and users from on-premise SAP systems in apps on
SAP HANA Cloud Platform
CORPORATE NETWORK INTERNET
Firewall
Secure Tunnel

On-Premise SAP HANA SAP HANA Application User


SAP Systems Cloud Connector Cloud Platform Front End

APIs, data, and Enable apps to Apps consuming APIs,


users provided by access on-premise data, and users of on-
on-premise systems systems premise systems
via HTTP or RFC

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 3


Connecting SAP On-Premise Systems
Example API: On-premise HTTP ping server

Input
http://localhost:8081/BackendAppHttpBasicAuth/basic

Output
Ping successful. Time is 11:07:21
Basic Authentication

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 4


Connecting SAP On-Premise Systems
Prerequisites: Example for on-premise HTTP ping server

CORPORATE NETWORK INTERNET


Firewall
Secure Tunnel

On-Premise SAP HANA SAP HANA Application User


Ping Server Cloud Connector Cloud Platform Front End

Understand API: Grant Access to Host Create HTTP Destination


Hosts, Credentials, Protocol http://localhost:8081 to On-Premise Service
http://localhost:8081/
BackendAppHttpBasicAuth/basic Grant Access to Consume with
/BackendAppHttpBasicAuth/
User/Password Java | SAP HANA |
HTML5

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 5


Connecting SAP On-Premise Systems
Example API: Example for on-premise RFM STFC_CONNECTION

Input
REQUTEXT = "SAP HANA Cloud connectivity runs with JCo
STFC_CONNECTION(IMPORTING REQUTEXT)

Output
STFC_CONNECTION(EXPORTING ECHOTEXT, RESPTEXT)

ECHOTEXT = SAP HANA Cloud connectivity runs with JCo


RESPTEXT = SAP R/3 Rel. 702 Sysid: RG1 Date: 20160314 Time: 175755 Logon_Data: 001/TEST/E

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 6


Connecting SAP On-Premise Systems
Prerequisites: On-premise RFM STFC_CONNECTION

CORPORATE NETWORK INTERNET


Firewall
Secure Tunnel

On-Premise SAP HANA SAP HANA Application User


AS ABAP Cloud Connector Cloud Platform Front End

Understand API: Grant Access to Host Create RFC Destination


Hosts, Credentials, RFM abap_host:3300 to On-Premise Service
abap_host:3300 Grant Access to Consume with
RFM STFC_CONNECTION STFC_CONNECTION Java
SU01 User

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 7


Connecting SAP On-Premise Systems
How to connect: Basic steps
SAP HANA Studio
Eclipse Tools for HCP Neo Command Line Tool

Eclipse Tools for HCP | SAP HANA Studio | Neo


Install Grant
Create Create Deploy Test
Cloud System
Destination App App App
connector Access
Cockpit | SAP HANA Web IDE | SAP Web IDE

Steps
on-premise

SAP HANA Web IDE Steps in the


HCP Cockpit cloud
Cloud Connector SAP Web IDE
2016 SAP SE or an SAP affiliate company. All rights reserved. Public 8
Connecting SAP On-Premise Systems
Hands on: Get a quick overview

1. Set up and connect local Cloud connector


(Developer Version)
2. RFC hands on:
1. Set up Cloud connector for RFC service
2. Create destination to RFC service in Cloud cockpit
3. Create Java app in Eclipse to consume RFC service
4. Deploy and test Java app on HCP
3. HTTP hands on:
1. Set up local ping server in Eclipse
2. Set up Cloud connector for HTTP service
3. Create destination to HTTP service in Cloud cockpit
4. Create Java app in Eclipse to consume HTTP service
5. Deploy and test Java app on HCP

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 9


Connecting SAP On-Premise Systems
What youve learned in this unit

SAP HANA Cloud connector enables access to on-


premise systems
You can consume HTTP destinations with apps
developed with Java, SAP HANA, and HTML5
You can consume RFC destinations with apps
developed with Java
For Java and HTML5, destinations can be created with
Cloud cockpit, Eclipse, or neo
For SAP HANA, destinations can be created with SAP
HANA studio and SAP Web IDE for SAP HANA

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 10


Connecting SAP On-Premise Systems Additional
!i Material
Further Reading

Download Java SDK with Connectivity Samples


and on-premise Ping Server
SAP HANA Cloud Platform Documentation:
Setting up the SAP HANA Cloud connector
Setup the On-Premise Ping Server
Consume on-premise Systems via HTTP from Java via
Destination API
Consume on-premise Systems via RFC from Java via
Destination API
Consume on-premise Systems via HTTP from HANA
Consuming Destinations from HTML5

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 11


Thank you

Contact information:

open@sap.com
2016 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.

Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and
services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as
constituting an additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop
or release any functionality mentioned therein. This document, or any related presentation, and SAP SEs or its affiliated companies strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time
for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place
undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 13


Week 3 Unit 5:
Connecting Cloud Databases
Connecting Cloud Databases
Why connecting cloud databases? (1)
CORPORATE NETWORK

Apps

Firewall INTERNET
HTTPS
DB Tools ODBC / JDBC

SAP HANA SAP HANA Application User


Cloud Connector Cloud Platform Front End
Dev Tools

Replication Tools
2016 SAP SE or an SAP affiliate company. All rights reserved. Public 2
Connecting Cloud Databases
Why connecting cloud databases? (2)

Connecting Apps:
Consume and manipulate data in the cloud database from on-premise apps
Test new version of app on developer machine with real data before deploying
Connecting DB Tools:
Introspection and manipulation of content and structures in the cloud database
Supportability and debugging
Connecting Dev Tools:
Model generation for object-relational persistence mapping frameworks
Database refactoring
Connecting Replication Tools:
Load cloud database with data from on-premise systems

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 3


Connecting Cloud Databases
Prerequisites

CORPORATE NETWORK INTERNET


Firewall

SAP HANA SAP HANA Application User


Tools
Cloud Connector Cloud Platform Front End

Configure DB Connection Open Service Channel Create Cloud DB


scc_host:30015 to Cloud DB Instance
3<instance>15 Create DB User
Authentication (Pick any free instance)
DB User / Password

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 4


Connecting Cloud Databases
How to connect cloud databases: Basic steps
SAP HANA Tools https://tools.hana.ondemand.com Cloud Connector
HCP Cockpit

Apps DB Tools
Neo Command Line Tool Operating System

Create Create Set Up Configure Connect


Cloud DB DB User Connector Service Channel to DB

Dev Tools Replication Tools


Steps Steps in the
on-premise cloud
2016 SAP SE or an SAP affiliate company. All rights reserved. Public 5
Connecting Cloud Databases
Hands on: Get a quick overview

1. Set up cloud DB
2. Set up service channel in local SAP HANA Cloud
connector
3. Hands on: Connecting local Java app
1. Set up local Java server in Eclipse
2. Create Java app in Eclipse to consume cloud DB
4. Hands on: Connecting Eclipse DB tools:
1. Set up local DB connection to cloud DB
2. Explore DB content with Eclipse DB tools
5. Hands on: Generate persistence model:
1. Set up local DB connection to cloud DB
2. Explore DB content with Eclipse DB tools

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 6


Connecting Cloud Databases
What youve learned in this unit

SAP HANA Cloud connector enables access to


cloud databases from the corporate network.
To enable access to a cloud database, create a
service channel in the Cloud connector.
Each tool or application can connect via
ODBC/JDBC to a cloud database.

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 7


Connecting Cloud Databases Additional
!i Material
Further Reading

Download Java SDK with Persistency Samples


SAP HANA Cloud Platform Documentation:
Setting up Service Channels in the SAP HANA Cloud connector
Connecting DB Tools via the Service Channel
Accessing a Cloud database from a local Java Server
Accessing a database from an Java application via JDBC

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 8


Thank you

Contact information:

open@sap.com
2016 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.

Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and
services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as
constituting an additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop
or release any functionality mentioned therein. This document, or any related presentation, and SAP SEs or its affiliated companies strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time
for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place
undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 10


Week 3 Unit 6: Operations and
Troubleshooting
Operations and Troubleshooting
Typical challenge

Application users
expect that the app is working.
do not necessarly understand what is wrong.

Operators need to...


...find and fix the root cause fast.

Using connectivity introduces...


...dependencies to other systems that might be the root cause.
? Application
User

...additional components and configuration that might be the Front End


root cause.

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 2


Operations and Troubleshooting
Typical challenges: Connectivity to Internet services

INTERNET

Internet SAP HANA Application User


Services Cloud Platform Front End

Service still available? Connectivity as root cause?


Credentials still valid? Destination modified?
API modifications?

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 3


Operations and Troubleshooting
Typical challenges: Connectivity to on-premise systems

CORPORATE NETWORK INTERNET


Firewall

Secure Tunnel

On-Premise SAP HANA SAP HANA Application User


SAP Systems Cloud Connector Cloud Platform Front End

System still available? Running? Connectivity as root cause?


Credentials still valid? Network access? Destination modified?
API modifications? System exposed? Virtual and destination host match?
Resource exposed?
Configuration modified?

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 4


Operations and Troubleshooting
Recommendations

Back-end systems
Availability: Enable monitor for consumed APIs with authorization
Supportability: Make sure that access to consumed APIs is logged

SAP HANA Cloud connector


Availability: Monitor health beat API: scc_host:<port>/exposed?action=ping
Debugging: Use debug logs, audit logs, and trace logs to find out if systems can be accessed
Auditability: Check audit log for configuration changes

Cloud application
Availability: Instrument with API to monitor destination status Use an HTML5 app for this
Supportability: Make sure to log destination problems properly

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 5


Operations and Troubleshooting
Troubleshooting strategy

SAP HANA Studio Cloud Connector


Eclipse Tools for HCP

Check Check Check Check Check Check Check


App Logs Destination System Connector Access Resources App

SAP HANA Web IDE Steps Steps in the


HCP Cockpit on-premise cloud
2016 SAP SE or an SAP affiliate company. All rights reserved. Public 6
Operations and Troubleshooting
Hands on: Get a quick overview

1. Check application logs


2. Check destination
3. Check system availability
4. Check Cloud connector availability
5. Check Access Control settings in Cloud connector
6. Check published resources in Cloud connector

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 7


Operations and Troubleshooting
What youve learned in this unit

Connectivity introduces dependencies and


components that can affect app availability.
Set up back-end and Cloud connector as high
availability components to improve availability.
Instrument and monitor back end, Cloud
connector, and app to detect problems fast.
To support debugging, make sure to write logs in
the back end and app.

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 8


Operations and Troubleshooting Additional
!i Material
Further Reading

SAP HANA Cloud Platform Documentation:


SAP HANA Cloud connector Operations Guide
Audit Loggin in SAP HANA Cloud connector
Monitoring of SAP HANA Cloud connector
Trouble Shooting of SAP HANA Cloud connector
Guidelines for hybrid Scenarios

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 9


Thank you

Contact information:

open@sap.com
2016 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.

Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and
services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as
constituting an additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop
or release any functionality mentioned therein. This document, or any related presentation, and SAP SEs or its affiliated companies strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time
for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place
undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

2016 SAP SE or an SAP affiliate company. All rights reserved. Public 11

S-ar putea să vă placă și