I'm was going to implement redundancy for my OPC-DA connections as discussed here by updating the hostname in the gateway configuration directly.
However, found that as the OPC-DA connections don't appear in system.devices.listDevices
looking at the system.opc options there doesnt seem to be a similar option to system.device.setDeviceHostname
Anyone able to provide if there is some other option I should look at to update the OPC hostname directly?
For some background, we currently have redundancy setup per tag by updating the tag OPCServer but are not happy with this implementation so looking to simplify it
In a future release of 8.3, hopefully soon, there will be a generic system.config.update method that would allow you to update any type of resource, much as the REST API does, as a strict superset of the capabilities of system.device.setHostname.
Thanks for the response Paul, yes we are on 8.3. we did identify the API and have implemented failover leveraging this, looks to be working well so far.