on 12-11-2015 12:31 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
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.
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..
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
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.
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
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
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.