---
parser: v2
auto_validation: true
primary_tag: products>sap-hana-dynamic-tiering
tags: [  tutorial>beginner, topic>big-data, products>sap-hana, products>sap-hana-dynamic-tiering, products>sap-hana-studio ]
time: 10
slug: dt-sys-replication-part2
canonical_url: https://developers.sap.com/tutorials/dt-sys-replication-part2
---

# Perform a Takeover
<!-- description --> Introduction to takeovers.

## Prerequisites
 - **Tutorials** Setting Up SAP HANA System Replication with HANA Studio
 - **Credentials:** Have access to the SYSTEM user of  `SystemDB` and "`<SID>adm`" for a SSH session on the HANA hosts.


## You will learn
- When you should perform a takeover
- How to perform a takeover with HANA Studio


---

### Performing a Takeover with HANA Studio

During a takeover you switch your active system from the current primary system to the secondary system.

If your primary data center is not available, due to a disaster or for planned downtime for example, and a decision has been made to fail over to the secondary data center, you can perform a takeover on your secondary system. Consider questions like:

A. **Can a takeover help at all?**
YES: Proceed to question B.
NO:  Do not perform a takeover.

B. **Can a takeover reduce downtime duration?**
YES: Proceed to question C.
NO:  Do not perform a takeover.

C. **Can it be guaranteed that no data loss will result from the takeover?**
YES: Perform a takeover.
NO:  Evaluate the risk of data loss in case of takeover against that of data loss in case of no takeover (total hardware failure in primary could result in a much bigger data loss), and against the impact of a longer downtime if you attempt to bring back the primary site instead of performing a takeover.

You can perform a takeover on your secondary system using the SAP HANA studio.

In the Systems Panel, right-click the secondary system and choose **Configuration and Monitoring** > **Configure System Replication**.

![Configure System Replication](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/dt-sys-replication-part2/configure-system-replication-secondary-system.png)

Choose **Perform Takeover** and click **Next**.

![Perform Takeover](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/dt-sys-replication-part2/perform-takeover.png)

Confirm the default details of your Secondary System's host. Click **Next**.

![Confirm Host Details](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/dt-sys-replication-part2/confirm-details.png)

You can review the overall configuration details. If they match what you entered/left default, click **Finish**.

![Review Summary of Takeover](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/dt-sys-replication-part2/review-summary.png)

The takeover will now proceed. You can select **Run in background** while the takeover is happening.

![Performing Takeover](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/dt-sys-replication-part2/performing-takeover.png)

The secondary system is now the production system. If the system is already running, it comes out of recovery mode and becomes fully operational immediately: it replays the last transaction logs and starts to accept queries. If the system is offline, it takes over production operation when you start it.


### Test yourself



