Discovery service set(Find Servers On Network)|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
Discovery service set(Find Servers On Network)
Avatar
Rakshan Premsagar Kapikad
Member
Members
Forum Posts: 25
Member Since:
04/29/2019
sp_UserOfflineSmall Offline
1
01/18/2021 - 12:57
sp_Permalink sp_Print

Hello,

I have a LDSME enabled server running on port 4840. I run another server which is also multicast enabled on port 4841. Now if I run the Find Servers on Network, I am able to see both the servers. This kindoff makes sense with the name of the service. And since both the servers advertise their  services using mDNS records.

However, Theoretically, the server on 4841 should register to the LDS ME on 4840, only then the servers become discoverable right?

In my observation above, there was no registration with the LDSME done. Yet I could observe both the servers. May i please know how is that?

Regards,
Rakshan

Avatar
Randy Armstrong
Admin
Forum Posts: 1511
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
01/20/2021 - 09:37
sp_Permalink sp_Print

Not sure what you mean by "server which is also multicast enabled"

Can you explain?

Avatar
Rakshan Premsagar Kapikad
Member
Members
Forum Posts: 25
Member Since:
04/29/2019
sp_UserOfflineSmall Offline
3
01/21/2021 - 00:26
sp_Permalink sp_Print

I mean, the server is also capable of mDNS. Both the servers are mDNS enabled

Avatar
Randy Armstrong
Admin
Forum Posts: 1511
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
01/21/2021 - 15:37
sp_Permalink sp_Print

The LDS-ME advertises itself no matter what other servers are registered.

You will always see the LDS-ME + any additional servers registered with the LDS-ME.

Avatar
Rakshan Premsagar Kapikad
Member
Members
Forum Posts: 25
Member Since:
04/29/2019
sp_UserOfflineSmall Offline
5
01/24/2021 - 10:45
sp_Permalink sp_Print sp_EditHistory

Yes right, t the LDSME will advertise itself. If another server(also mDNS enabled) is present in the same network( and not registered to the LDSME) it still will be recognised by the client running FindServersOnNetwork service right?

Avatar
Randy Armstrong
Admin
Forum Posts: 1511
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
6
01/24/2021 - 13:58
sp_Permalink sp_Print

Yes, all servers discovered via mDNS should be returned via FindServersOnNetwork.

Avatar
Rakshan Premsagar Kapikad
Member
Members
Forum Posts: 25
Member Since:
04/29/2019
sp_UserOfflineSmall Offline
7
01/25/2021 - 14:11
sp_Permalink sp_Print

Ok, then could you tell me the purpose of register server2 in multicast discovery? The reason i ask this is, irrespective of the server being registered  to the LDSME,findServersOnNetwork would still produce the available servers? So far, I believed the purpose of registering the server is to make itself discoverable. However, since findServersOnNetwork recognises servers through mDNS announcements, it is confusing as to whether register server service is needed or not?

 

Sincere apologies if this question is very basic

Avatar
Randy Armstrong
Admin
Forum Posts: 1511
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
8
01/27/2021 - 14:01
sp_Permalink sp_Print sp_EditHistory

Most servers do NOT support mDNS directly.

The LDS ME means they do not need to add this support because they are already expected to call RegisterServer.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 32
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1396
Posts: 4717