HDR status information
To enable UDRs to recognize a High-Availability Data Replication (HDR) configuration, you can use the mi_hdr_status() function.
The mi_hdr_status() function checks
if the current database server is executing in an HDR environment
and returns the following information:
- The server type, such as primary server, SD secondary server, RS secondary server, or HDR secondary server
- The HDR status
- The ability to update data on secondary servers
For a full description and the syntax of this function, see the Informix® DataBlade® API Function Reference.