Topic RSS11:11, EEST
January 27, 2012
OfflineHi,
I have a server implementation which creates thousands of complex nodes in an Address space. Problem is that server startup takes a huge amount of time until the whole structure is created. At present I do server.start() after whole structure is created.
Problem: I cannot connect to the server using an OPC-UA client until structure is created completely. Is it possible to call server.start() before creation of whole structure is done? It might help myself to figure out how many nodes are left to be created using an OPC-UA client instead of tailing the logfile of the server through all debug messages.
Other question: When server has to be restarted, how can I prevent OPC-UA from recreating the whole structure? (It takes about 45 minutes for startup now). Is it possible to serialize the whole Address space?
Thanks.
BR
Fred
12:18, EEST
December 21, 2011
OfflineYes that is also possible. Generally it is just better to prepare everything before starting the server, but it is also a valid option to modify the address space while the server is running.
The address space is not serialisable, so you would need to perform that yourself.
Most customers who have a huge address space have written their own NodeManager, which can just map data from a back-end system without initialising all nodes as UaNode objects.
It might also be possible to define a hybrid solution, but we have not yet played with such a scenario. In that case, you could “lazy”-initialise UaNodes only when the client applications need them.
1 Guest(s)

Log In
Register