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 OneDB   -- 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 OneDB     -- 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 OneDB     -- online -- Up 20:10:57