Informix Error -26097: Operation is not valid on a secondary server.
Cause and resolution
Operation is not valid on a secondary server.
The above operation is not valid on the secondary server. Attempt such operations only on the primary node in the HDR pair or cluster.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26097 fires when an operation that's only valid on a primary node is attempted on an HDR secondary — per the official guidance.
- The operation was attempted on an HDR secondary node, per the official guidance — the direct, only cause; such operations are only valid on the primary node of an HDR pair or cluster.
Solutions / Resolution
- Attempt the operation on the primary node instead, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a primary-only operation attempted on a secondary.
Diagnostic Checks
- Check whether the target server is an HDR secondary, and perform the operation against the primary instead.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -26097 in this set yet.
An operation only valid on the primary was attempted on an HDR secondary — perform it on the primary instead.