Command-line utilities

The header information displayed every time you run onstat has a field to indicate if a database server is operating as a primary or secondary database server.

The following example shows a header for a database server that is the primary database server in a replication pair, and in online mode:
HCL Informix Dynamic Server Version 11.50.UC1   -- online(Prim) -- Up 45:08:57
This example shows a database server that is the secondary database server in a replication pair, and in read-only mode.
HCL Informix Dynamic Server Version 11.50.UC1     -- Read-Only (Sec) -- Up 45:08:57
The following example shows a header for a database server that is not involved in HDR. The type for this database server is standard.
HCL Informix Dynamic Server Version 11.50.UC1     -- online -- Up 20:10:57