2.6. Testing SAP HANA System Replication
The test phase is a very important phase to verify if the KPIs are met and the landscape performs the way it was configured. If the SAP HANA System Replication setup does not work as expected without the HA cluster, it can lead to unexpected behavior when the HA cluster is configured later on to manage the SAP HANA System Replication setup.
Therefore, a few test cases are suggested below as guidelines, which should be enhanced by your specific requirements. The tests should be performed with realistic data loads and sizes.
| Test case | Description |
|---|---|
| Full Replication | Measure how long the initial synchronization takes, from when |
| Lost Connection | Measure how long it takes until primary and secondary are |
| Takeover | Measure how long it takes for the secondary system to be fully |
| Data Consistency | Create or change data, then perform a takeover and check if the data is still available. |
| Client Reconnect | Test client access after a take-over, to check if the DNS/Virtual IP switch worked. |
| Primary becomes secondary | Measure how long it takes until both systems are in sync, when the former primary becomes the secondary after a takeover. |
Please refer to section “9. Testing”, in How To Perform System Replication for SAP HANA, for more information.