IOForceFailover() Function
- Last UpdatedJul 16, 2024
- 1 minute read
The IOForceFailover() script function switches between the primary and secondary data sources of the Access Name. The active I/O node toggles between the primary and secondary nodes with each invocation of the script function.
Typically, the IOForceFailover() function is part of a script associated with button or another window object. Operators select the object from an application window to force a failover. After operators select the object again, the IOForceFailover function forces the I/O connection back to the formerly active I/O node.
Category
I/O Communication
Syntax
IOForceFailover("AccessName");
Argument
AccessName
Access name for which failover has been configured.
Example
The Acc1 Access Name has Primary and Secondary data sources and Primary is active. Acc1 fails over to the Secondary data source when the script runs.
IOForceFailOver("Acc1");