HDR Secondary Operations
Introduction
HDR cluster consists of Primary and Secondaries. InformixHQ treats every server added as individual server. Depending upon server type in cluster, Informix Server allows or restricts certain acions on specific server types.
From 14.10.XC7 (InformixHQ v.1.6.0) onwards, InformixHQ has handled all such operations on secondary servers in the cluster.
User needs to add primary as well as secondaries in InformixHQ as different servers.
HDR Secondary in Informix HQ
HDR Secondary operations allowed/disallowed
Operation | Primary | Secondary | RSS | SDS | |||
---|---|---|---|---|---|---|---|
Updatable | Read-only | Updatable | Read-only | Updatable | Read-only | ||
Run Checkpoints, Automatic checkpoints ON/OFF | Yes | No | No | No | No | No | No |
Privileges: SQL Admin API -> Grant, Edit and Revoke Privileges | Yes | Yes | No | Yes | No | Yes | No |
Privileges: Databases -> Grant, Edit and Revoke | Yes | Yes | No | Yes | No | Yes | No |
Privileges: Tables -> Grant, Edit and Revoke | Yes | Yes | No | Yes | No | Yes | No |
SQL Tracing: Enable, Suspend, Resume and Disable | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
Memory-> Low Memory Manager Edit | Yes | Yes | No | Yes | No | Yes | No |
Schema Manager-> Create, Drop Database | Yes | Yes | No | Yes | No | Yes | No |
Virtual Processor-> Add and Drop VPs | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
Spaces-> Create, Edit, Delete, Add Chunk and Extend Space | Yes | No | No | No | No | No | No |
Chunks->Add, Edit, Delete, and Extend Chunk | Yes | No | No | No | No | No | No |
Pools->Add, Edit, and Delete Entry | Yes | Yes | No | Yes | No | Yes | No |
Backup: Configuration-> Edit and Delete | Yes | No | No | Yes | Yes | No | No |
Backup: Status-> Run Level 0,1,2 backup | Yes | No | No | Yes | Yes | No | No |
Recovery Logs-> Move, Add, Delete and Switch Log | Yes | No | No | No | No | No | No |
Session-> Kill Session | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
Server types and access mode update scenarios
- On running InformixHQ server post v1.5.0 --> When InformixHQ server is started (run HQ Jar) post version 1.5.0, it connects and fetches Informix server types and access mode of all the Informix servers which are added in InformixHQ and are online.
- InformixHQ Agent is connected --> If Informix server is online and InformixHQ Agent is connected
to it. Agent fetches Informix server type and access mode and following are the cases for it:
- Case 1 - Via JDBC connection: If InformixHQ agent is running on a remote host other than Informix server.
- Case 2 - Via onstat - command : If InformixHQ agent is running on the same host where Informix server is running.
- Open server card:-> When user opens server information page and Informix server is online.
Failover scenarios in InformixHQ
- Case 1 - Primary & Secondary servers have same repository database on primary server:In this case if primary server fails/is offline, user has to manually change the repository database server configuration in secondary server which is added in InformixHQ. For example:As primary server is offline, changed repository server to secondary.
- Case 2 - Primary & Secondary servers have same repository database on secondary(updatable)
server:
In this case if secondary server fails/is offline, user manually has to change the repository database server configuration in the primary server which is added in InformixHQ. This case is just vice versa of case 1 which is described above.
- Case 3 - Primary & Secondary servers have their respective repository database on their
server itself:
In this case each server has its own repository database, so user does not need to do any configuration changes in HQ agent setup page in case of failover.