# Equivalent to system.device.setHostname for opc

**URL:** <https://forum.inductiveautomation.com/t/equivalent-to-system-device-sethostname-for-opc/115819>\
**Category:** Ignition\
**Tags:** ignition83\
**Created:** [June 3, 2026, 4:23am UTC](https://forum.inductiveautomation.com/t/equivalent-to-system-device-sethostname-for-opc/115819 "2026-06-03T04:23:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SWoollett](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@SWoollett](https://forum.inductiveautomation.com/u/SWoollett)\
**Post date:** [June 3, 2026, 4:23am UTC](https://forum.inductiveautomation.com/t/equivalent-to-system-device-sethostname-for-opc/115819/1 "2026-06-03T04:23:24Z")

</div>

I'm was going to implement redundancy for my OPC-DA connections as discussed here by updating the hostname in the gateway configuration directly.

> [@Indirect OpcItemPath](https://forum.inductiveautomation.com/t/indirect-opcitempath/74957/14):
>
> Kevin beat me to it, here's a brief description on what to do. Your connection names can obviously be whatever you want. For communication between primary and secondary devices with different addresses/hostnames, create 3 device connections Device connection “A” Device connection “B” Device connection “Master” Connections “A” and “B” will only be used for reference to the diagnostics to determine a device connection Tags used throughout the project will reference the “Master” connection A G…

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

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 3, 2026, 10:59pm UTC](https://forum.inductiveautomation.com/t/equivalent-to-system-device-sethostname-for-opc/115819/2 "2026-06-03T22:59:10Z")

</div>

If you're truly on 8.3 as your tag suggests, you can use the config HTTP/REST API to do this: [API Documentation | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.3/platform/gateway/openapi#accessing-the-documentation)

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`.

---

<div class="post-metadata">

**Author:** ![SWoollett](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@SWoollett](https://forum.inductiveautomation.com/u/SWoollett)\
**Post date:** [June 6, 2026, 8:51pm UTC](https://forum.inductiveautomation.com/t/equivalent-to-system-device-sethostname-for-opc/115819/3 "2026-06-06T20:51:39Z")

</div>

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.
