cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA Trial Cloud connection with on premise ??

Former Member
0 Kudos

Hello Experts,

I was trying to make a connection between my trial hana cloud account and on premise(HD2 Server) . Basically I need to develop native application on cloud consuming premise services.

What I have done so far is have downloaded Hana cloud connector on my laptop and did all the settings as per given in the documentation.

My concerns are:

1st ) Do I need to install cloud connector on premise or is that ok to download on my laptop ??

2nd ) Is that possible for HANA XS Application ??

3rd ) If it is possible for Hana XS application , how to define the destination .

Many thanks

Kapil Jain

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor
0 Kudos

Hello Kapil.

1) You can install the Cloud Connector on your laptop for test reasons, for a production use you should install it on a dedicated server.

2) You can consume e.g. XSJS services from your on-premise HANA system via the Cloud Connector. You have to add your HANA system to the Cloud Connector as virtual system which can be consumed via a destination in HCP.

3) The destination must point to your virtual system defined in the Cloud Connector, Proxy Type is "OnPremise". In a first try you can authenticate via Basic Authentication with your HANA DB user name and pwd before configuring some more advanced like e.g. principal propagation.

Best Regards,

Florian

Former Member
0 Kudos

Thanks Florian for the quick response , I am grateful for that..

Florian, I tried  the same ,but not getting the success. If you can paste images or give me some link mentioning this step by step then it would be great help for me..

I am getting confused with the XS Application since in document they mentioned about the java application and servlet.

Thanks

Kapil

Former Member
0 Kudos

Florian,

Can you please elaborate me the second point?? I mean not getting the clarity on URL PATH?

Former Member
0 Kudos

Hello

How to use Destination File of HCP in XS Native App for consuming services??

Thanks

kapil

pfefferf
Active Contributor
0 Kudos

Hello Kapil,

all the steps you are need are described here: Using XS Destinations for On-Demand to On-Premise Connectivity

In case you wanna consume your on-premise HANA XSJS service within an on-demand HANA XSJS service you need to add a XSHTTPDEST config. That is also described in the linked page.

Best Regards,

Florian

Former Member
0 Kudos

Hi

I tried as per you said..but getting some error. I am attaching some snapshots. please check and help me. where i m doing wrong.

many many thanks

kapil

Former Member
0 Kudos

Hello Florian

I am getting the proxy issues , don't know where i am going wrong

kapil    

pfefferf
Active Contributor
0 Kudos

What statement raises the error?

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Kapil,

1) You can install the Cloud Connector on your laptop for test reasons, for a production use you should install it on a dedicated server.

Let me add to this: "if your laptop is inside the same LAN segment, where the backend system is running..." Otherwise the Cloud Connector won't be able to provide access to the backend.

Regarding your connection problems:

> proxyHost = "proxy-trial"

Is this really the hostname of your company's HTTP Proxy?? Most probably not... So this might already be the cause of the problems. Check the proxy settings of the web browser on your laptop. Usually your IT department has installed the correct settings to get out of the company LAN.

BTW: It would help, if you attach the exact error messages your are seeing, instead of just saying "but getting some error"...

Regards, Ulrich

pfefferf
Active Contributor
0 Kudos

Regading point 1 it should be pretty clear that the laptop must be in the same corporate network that the HCC can access the on-premise HANA system. Otherwise I would recommend to go back in a dark room for a while and read the documentation .

Regarding point 2. The proxyHost is correct, because the XS HTTP Destination is defined in the HANA trial system on HCP trial. For that the proxy is proxy-trial -> SAP HANA Cloud Platform.

Former Member
0 Kudos

Hi Ulrich

Thanks for the reply & sorry for not mentioning the proper error.

Actually i was following the document where it was mentioned that use "proxy-trial" for hanatrial.ondemand.com.. so i got confused .Though I tried with proper proxy which also results in to error :  unable to connect with the proxy.

As of now what I am trying is on same LAN Segment..

Former Member
0 Kudos

Florian

Well As per that documentation and your guidance.. I did mapping in my hana cloud connector and also created one destination file in Hana cloud pointing towards that virtual URL.

I already attached the screen shots of what I have done.. Could you please clarify that:-

1) what exactly need to add in additional properties ?

2) There will be two destination files??? one in project and another is in Destination tab which is there in menu of HCP ??

3) How to use that destination file , as per the document i  followed that.

4) I can see GREEN SIGNAL in my cloud connector showing active . so what else shuld i need to check..

5) what about HOST,ProxyHost,ProxyPort.. ??

Warm Regards

Kapil Jain

pfefferf
Active Contributor
0 Kudos

All what you showed seems fine so far. The question is now where the error comes from. Therefore the question which statement the error raises. That means you should get your hands dirty and do a little bit of debugging, because we cannot do that remotely and we do not have a crystal ball here.

Former Member
0 Kudos

Yeah Florian..Will inform on the same ...need some time. Between on proxy,  on host name and on destination file i am having doubt.

I should check destination file and the correct use of it. If you can show light on that. it would be easy for me to debug..

kapil

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Florian,


Florian Pfeffer wrote:

Regarding point 2. The proxyHost is correct, because the XS HTTP Destination is defined in the HANA trial system on HCP trial. For that the proxy is proxy-trial -> SAP HANA Cloud Platform.

ah, ok. I thought the proxy settings refered to the proxy server that is in use in the on-premise network...

Regards, Ulrich

Former Member
0 Kudos

Florian,

Its written open database tunnel.. what need to do for that ??

This is my project explorer.. can you please tell me it that ok ??

Thanks

rohitkumardas
Explorer
0 Kudos

Hi Florian,

I have referred your link and it clearly states that

"Currently, you can make XS destinations for consuming HTTP Internet services only."


link :  SAP HANA Cloud Platform


In my views since Kapil is trying to connect from SAP HANA Cloud Platform Trial server to some on-premise server, it is not supported as such.

Please suggest.

Rohit Das

Former Member
0 Kudos

Hi Florian

Can you please help...looking forward for help from your sie

Many Thanks

Kapil

Answers (0)