on 07-27-2015 3:16 AM
Is it possible for an SMP server farm to have Two seperate standalone Relay servers functional at the same time??
Both are new versions: SMP3 SP07, RS 16.x.x.1953
Hi Sajan,
Yes, it is possible. What exactly are you trying to setup? Please elaborate on your server farm.
Regards,
Nagesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nagesh - Thanks for showing interest in helping me out.
Actually i was testing this in the Dev server to implement the successful method in the Production SMP server farm.
Our SMP Production system has three clustered SMP servers (Active-Active clustering) connected to a single oracle DB - This is already setup (with one Hybrid application live in PRD)
Now we have two Relay servers which we intend to implement as Farm Relay servers in front of the SMP clustered servers.
Please help me with my below queries:
1) I am not sure why the existing Relay server connection with the back-end server lost suddenly when i connected a new Relay server as standalone. Do you have any clue? Previously one relay server was connected to the back-end which now has lost the connection. Tested with the below two urls in the rshost browser:
http://localhost/rs16.5/admin/rs.dll
http://localhost/rs16.5/client/rs.dll/SMPserverfarm
2) As said before, we intend to make it a Relay server farm for PRD landscape. I understand that the rs.config files would remain the same on all the relay servers in a farm. But I am not sure how to run the dbsvc script on the smp servers in a farm for the rsoe config
C:\SAP\MobilePlatform3\Server\db\sa\smp3\win32\Bin64>dbsvc -as -s auto -t RSOE -w smp-oes "C:\SAP\MobilePlatform3\Server\extras\rsoe\windows\Bin64\rsoe2.exe" -cr "host=<rs host> (should i enter both the rshost in the script at same time or should i run this script twice with different rshost?); port=80; url_suffix=/rs16.5/server/rs.dll" -cs "host=localhost;port=80" -f <smpfarm_id> -id <id> -t ***** -o C:\Rsoe_log\rsoe2.log
Also please highlight if you find any other issue in the above script.
3) I understand that once i setup the Relay server in front of the SMP server, the Hybrid app which is in production, connected directly with the SMP server. We need to make the below change in the connection string. Right now i have no idea how to make this below change
OLD Address ->
http://<smphost>:8080/odata/applications/latest/<(><applicationid>/Connections
NEW Address ->
http://<new rshost>/rs16.5/client/rs.dll/SMPserverfarm/odata/applications/latest/<applicationid>/Connections
Could you please explain me in a little detail how do we exactly make this change. Is there any impact on the Hybrid app with this change?
BR -
Sajan Mathew
Hi Nagesh,
I was so descriptive because i wanted some direct answers to the specific queries i asked. I already have gone through many blogs and hence are the queries. Also i am new to all this.
Can u or anyone pls help me with the 3rd query, and if possible 2nd query also. I will be much thankful & Much appreciated!
BR -
Sajan mathew
Dear Sajan,
Relay Server is recommened for MBO Based apps. I believe your Hybrid App is based on oData services.
Reply to point 2. However, you can still user RS with SMP 3.0+. I am not sure if you are using the correct command/add the complete details in rs.config file. Please refer to this link which has the full example of the file.
http://help.sap.com/saphelp_smp303svr/helpdata/en/ca/2cac530b72497c832227711221ef0d/content.htm
Once you make the changes, please try to update it with the command ---- Ensure you have the bidirectional ports opened on the RS and SMP.
Reply to point 3 - I don't think you need to make any changes in the services. During the app registrations you will be using the RS server instead of SMP server details once its setup and the communication should be established successfully.
Regards,
Nagesh
Thank you Nagesh,
3) The Relay server is setup in front of the SMP server nodes. The Hybrid app which is in production, is currently connected directly with the SMP server. We want to route the connection between the application and SMP server through the Relay server. I guess we need to make the below change in the connection string, but how & where exactly should we do it.
OLD Address ->
http://<smphost>:8080/odata/applications/latest/<(><applicationid>/Connections
NEW Address ->
http://<new rshost>/rs16.5/client/rs.dll/SMPserverfarm/odata/applications/latest/<applicationid>/Connections
Can you please provide any document or let us know how exactly do we do this.
Regards
Sajan Mathew
Hi Saian,
You need to use the new URL in the case of both hybrid and native apps. If you are using a Kapsel logon plugin server address is your relay server host name, company ID is your relay server farm name, and URL suffix is the path to relay server .dll.
If you are testing it from a rest client you could follow the url given in the guides provided by Nagesh.
For native apps you could have a look at this:http://help.sap.com/saphelp_smp304sdk/helpdata/en/c7/72270a71451014bd67c50ff3b4523f/frameset.htm
Regards,Midhun
SAP Technology RIG
Hi Sajan,
1 - Please note that starting with SMP 3.0 SP06 and higher you should only use the new RS 16.5.x which comes with a new design.
Latest available version is 16.5.5.
The Relay Server components are available in the SAP Mobile Platform Server installation. By default, the Relay Server files are located in <SMP_HOME>\Server\extras\relayserver in a RelayServer2-IIS-<SMP_version>.zip file.
2 - Normally there are two possible scenarios.
Either you are running a Load Balancer which is in front of the RS farm where you conecct to or you create a RSOE which connects to both RS which are configured as a farm:
That means assuming you have a rs.config which contains RS1 and RS2.
You need to create a rsoe service similar to:
dbsvc -as -w oes "%SQLANY16%\rsoe2.exe" -cr "host=RS1; port=<host_port>; url_suffix=/rs16.5/server/rs.dll;host=RS2; port=<host_port>; url_suffix=/rs16.5/server/rs.dll" -cs "host=localhost;port=80" f <farm_name> -id <farm id> -t <token>
Please take care to use the new URL suffix for RS 16.5.x.
BR
Andreas
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.