11:04, EET
June 2, 2019
Hello,
I am curious to know about the multicast mechanism of discovery in OPC UA.
For the multicast subnet discovery, part 12 says it is useful when clients do not have an idea about the servers present on the network.
In that scenario, the server registers to the LDS-ME using registerServer2 service. Next, when client plugs itself in, the LDS-ME of the client issues a probe message on which the LDS-ME of the server responds with an announcement providing the list of ServerURL’s.
Having read the mDNS specification, I do not seem to get a clarity as to why is it referred as probing here.
Probing ,in mDNS terms is used to have a single authority over the various Resource records of a domain. Could you please tell me how is it probing here in OPC UA?
Also announcment somehow makes sensse, as to making the registered server available for discovery.
Below, i have summarised my understanding. Please correct me if I am wrong..
Looking into the Annexure(part 12), I see that mDNS uses the DNS SRV type query to check for the servers available, so will the probe message will be (Qtype = SRV, Qclass =IN, Qname= example.com), and in response, the server LDS-ME gives an announcement with the host and port information too, example of which is given as “_opcua-tcp._tcp.example.com. 86400 IN SRV 0 5 4840 uaserver.example.com.” in part 12, which ultimately gets mapped to the discoveryURL.
Does the mapping to URL happen in the findServersinNetwork method?
When does the mapping happen?
Extremely curious. Apologies if this is really basic. Please let me know. Would be really greatful.
Regards,
Rakshan
13:19, EET
April 3, 2012
Hi,
For the time being, I would recommend you to ask this question on the OPC Foundation’s forum: https://opcfoundation.org/forum/.
As far as I’m aware, we basically just call RegisterServer2 on the LDS (Local Discovery Server) on the local machine by default, and it is upto the LDS impls to sync themselves (and we use RegisterServer if the “2” fails). And in practice we have used the LDS provided by the OPC Foundation so far, or that is to say, installing a LDS is outside the scope of our SDKs and Apps, it is something the user of apps would have to install themselves.
FindServersOnNetwork should return urls for which the normal discovery can be done: https://reference.opcfoundation.org/v104/Core/docs/Part4/5.4.3/
Most Users Ever Online: 1919
Currently Online:
63 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 734
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1523
Posts: 6449
Newest Members:
christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16, edgardo3518Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1