GDS concept|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
GDS concept
Avatar
Rakshan Premsagar Kapikad
Member
Members
Forum Posts: 25
Member Since:
04/29/2019
sp_UserOfflineSmall Offline
1
03/11/2021 - 00:48
sp_Permalink sp_Print

Hello Sir,

I have some queries on the GDS aspect.

1) I am currently using this, as a simple implementation when multicast facility of LDS is absent. So If suppose I have 2 hosts A and B,

A has the GDS Server running and B has the GDS client. There exists another server(simple OPC UA server) which also needs to go the GDS server database. Can this registration to the GDS be done using the (RegisterServer2/RegisterServer) methods? The reason I ask this is, since the functionality is  the same, would it be correct to do so?  (Trying to relate to what is seen in open62541 stack: We have the LDS running, then a sample server registers periodically to the LDS)

In the specifications, the method "Register application" is mentioned. Is it the case that this method, has to be done from GDS client side always? Can the server code, incorporate this method, to register to the URL of the GDS server directly?

2) In one of the demo presentations, you have followed steps:

                     (a) Connect the GDS client to the GDS Server 

                     (b) Go to registration: In that, load the sample config file of client and server and register.

                      (c) Only after (b) was done, the servers were shown on the query servers list.

  My question here is the step(b) can we consider avoiding the step(b) and directly register like I mentioned in question 1? Because if we are using a C language server, we wont have the XML file i believe.

PS: For both the questions, I am not considering admin access. Just the normal user, running and automatically registering to the GDS. Is it correct?

Regards,

Rakshan

Avatar
Randy Armstrong
Admin
Forum Posts: 1451
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
03/11/2021 - 10:51
sp_Permalink sp_Print sp_EditHistory

1) GDS registration is done with the "RegisterApplication" Method. "RegisterServer" is for use by a LDS running on the same machine.

The RegisterApplication is called within a Session which means the GDS has access to user credentials which help determine whether the registration should be allowed but does not require the GDS to trust the caller first. RegisterServer requires to Server to be trusted by the LDS before it can be called.

2) If you want your application to directly register with the GDS you need to incorporate code that calls the "RegisterApplication" Method using a C language UA client stack. This may be a challenge for some implementations which is why many C language servers use the push model and rely on an external application such as the sample GDS client to register on their behalf.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: Gianni Bertotti
Guest(s) 24
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1351
Posts: 4580