Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OM2M » MN-CSE levels(Is it possible to configure an MN-CSE behind another MN-CSE ( cascading 2 levels of MN-CSE)?)
MN-CSE levels [message #1744778] Fri, 30 September 2016 07:51 Go to next message
MC LM is currently offline MC LMFriend
Messages: 3
Registered: September 2016
Junior Member
I need to set following configuration:
Device(non oneM2M)-> GW#1 (MN-CSE) ->GW#2 (MN-CSE) -> IOT platform(IN-CSE)
That is having 2 oneM2M gateways cascading
Is it possible to have such configuration with the current version of the eclipse oneM2M stack?
Re: MN-CSE levels [message #1745018 is a reply to message #1744778] Tue, 04 October 2016 08:42 Go to previous messageGo to next message
Son Duong is currently offline Son DuongFriend
Messages: 60
Registered: June 2016
Member
Hi MC LM,

I think yes you can configure this situation with two MN-CSE connected together. What you have to do is copy the mn-cse folder to different location and change the configuration file, like in this tutorial: http://wiki.eclipse.org/OM2M/one/Starting#Multiple_gateways_scenario

Good luck!
Regards,
Son
Re: MN-CSE levels [message #1745039 is a reply to message #1745018] Tue, 04 October 2016 12:14 Go to previous messageGo to next message
MC LM is currently offline MC LMFriend
Messages: 3
Registered: September 2016
Junior Member
Thank you Son for your answer.
May be I was not clear enought, but my question was more about the possibility to configure gateways at DIFFERENT level : the configuration I would need is to have the GW#2 under the GW#1 and not directly under the IN-CSE as for the GW#1
Device(non oneM2M)-> GW#2 (MN-CSE2) ->GW#1 (MN-CSE1) -> IOT platform(IN-CSE)

To be more concrete, could we have the following configuration:



IN-CSE config.ini file:

org.eclipse.om2m.cseBaseId=IN-CSE
org.eclipse.om2m.cseBaseName=in-name
org.eclipse.om2m.cseBaseAddress=192.168.0.2
org.eclipse.equinox.http.jetty.http.port=8080


• Configure the first MN-CSE with the following configuration:
MN-CSE1 config.ini file:
org.eclipse.om2m.cseBaseId=MN-CSE1
org.eclipse.om2m.cseBaseName=mn-name1
org.eclipse.om2m.cseBaseAddress=192.168.0.3
org.eclipse.equinox.http.jetty.http.port=8181
org.eclipse.om2m.remoteCseId=IN-CSE
org.eclipse.om2m.remoteCseName=in-name
org.eclipse.om2m.remoteCseAddress=192.168.0.2
org.eclipse.om2m.remoteCsePort=8080


• Then, configure the second MN-CSE, which is a cascaded MN-CSE, with the following configuration:
MN-CSE2 config.ini file:
org.eclipse.om2m.cseBaseId=MN-CSE2
org.eclipse.om2m.cseBaseName=mn-cse2
org.eclipse.om2m.cseBaseAddress=192.168.0.4
org.eclipse.equinox.http.jetty.http.port=8282
org.eclipse.om2m.remoteCseId=MN-CSE1
org.eclipse.om2m.remoteCseName=mn-name1
org.eclipse.om2m.remoteCseddress=192.168.0.3
org.eclipse.om2m.remoteCsePort=8181


Re: MN-CSE levels [message #1745046 is a reply to message #1745039] Tue, 04 October 2016 13:18 Go to previous messageGo to next message
Son Duong is currently offline Son DuongFriend
Messages: 60
Registered: June 2016
Member
yes, your configuration above was correct, if you configure like this, the mn-cse2 will register to mn-cse1, and mn-cse1 will register to in-cse. At the end, you will have a structure something like: mn-cse2 -> mn-cse1 -> in-cse
Re: MN-CSE levels [message #1745079 is a reply to message #1745046] Tue, 04 October 2016 20:11 Go to previous message
MC LM is currently offline MC LMFriend
Messages: 3
Registered: September 2016
Junior Member
Thank you Son for this confirmation
Previous Topic:"Error 5000 java.lang.ClassCastException" when creating a subscription from an IN to ASN
Next Topic:where is the OM2M-libs.rar
Goto Forum:
  


Current Time: Sun Oct 06 20:03:39 GMT 2024

Powered by FUDForum. Page generated in 0.04376 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top