At tten, we offer Disaster Recovery services with processes automated from start to finish.
In this post, we will talk about the solutions and technologies we use for Disaster Recovery services, and about tten automations and integrations.
At all the data center locations where it provides service, tten delivers the storage layer with Ceph, a free and open-source storage solution that offers high performance, flexibility and scalability.
Ceph provides data integrity and security with both block and object storage support, and aims to deliver uninterrupted service thanks to its automatic replication and fault tolerance mechanisms.
First, we need to talk about two basic concepts related to “Disaster Recovery.” These two basic concepts also determine the success criteria of a Disaster Recovery operation. These concepts are: RPO (Recovery Point Objective) and RTO (Recovery Time Objective)

What is RPO (Recovery Point Objective)?
RPO defines up to which point (backup or replication moment) the data to be used by the systems that will be brought into operation at a different location must be kept current, counted from the moment the disaster is declared. In other words, this objective expresses “how much data loss can be tolerated.” For example, if your RPO is 1 hour, it means that in the event of a disaster you accept losing the data acquired within the last 1 hour.
Here, the situation that causes the fail-over decision cannot always be expected to cause data loss. For example, in an internet or power outage affecting the primary data center as a whole, no data loss would be expected, so after the fail-over, the data in the healthy primary data center could be merged with the data in the second data center with proper planning.
What is RTO (Recovery Time Objective)?
RTO, on the other hand, refers to the maximum time required for systems to become accessible and fully operational again after a disaster. In other words, it answers the question “within how many minutes or hours can operations resume where they left off?” If your RTO is defined as 2 hours, you aim to bring all critical services back up within 2 hours at the latest.
At tten, both the RPO and RTO values are a maximum of 5 minutes. So how can this be possible?
At the core of the Disaster Recovery service we provide is Ceph’s RBD Mirroring service.
With the capabilities of the RBD Mirroring service, we ensure that the virtual disks of the Firewall and virtual servers under the services of our customers who have the Disaster Recovery service active are regularly transferred to a different data center location every 5 minutes.
We also described how we use the RBD Mirroring service in our post “How Did We Move Our Data Center in Just 8 Days and with (Almost) Zero Downtime?”
In this post, we will also try to give more detailed information about the service by sharing tten Core Panel screens.
*5 minutes is the maximum duration. Depending on the moment of the disaster, the probability that this duration drops as low as a minimum of 1 second is the same as the probability that it equals the maximum of 5 minutes.*Let’s start by sharing a screen of a sample VDC (Virtual Datacenter - Virtual Data Center) product.
The virtual servers under the VDC product named “ISTANBUL” at our Istanbul service location:

(The screenshot was taken from https://core.tten.net [Istanbul].)
This VDC product has 5 virtual servers. Let’s activate the DR (Disaster Recovery) feature for the LB, DB, WEB01 and WEB02 servers.
tten uses the screens below to put the relevant virtual servers in a DR Ready state:

When the DR feature is activated, the operations that tten automations perform in the background, in order, are:
1. Transferring the configurations of the selected virtual servers and of the Firewall belonging to the VDC product to the virtualization system at the data center where the Disaster Recovery service will be activated.
(The virtual server resources can be configured one to one, but it is also possible to set different values for CPU and Memory, defining the resources to be used at the time of a disaster with higher or lower values.)
2. Adding the virtual disks of the relevant virtual servers to the RBD Mirroring job list and tracking the replication tasks.
3. Defining the necessary permissions for the tten Core Panel running at the target data center for Disaster Recovery.
After these steps and the initial data replication are completed, the view from the tten Core Panel addresses at the Istanbul and Ankara locations:


(The screenshot was taken from https://ank1-core.tten.net/ [Ankara].)
Now the user of the relevant service is able to activate the Disaster Recovery service without any human communication.
At the moment of a disaster, they can access tten Core at the Ankara location and start the Disaster Recovery operations.
For this, it is enough to start the process with the “START DR” button:


(The screenshots were taken from https://ank1-core.tten.net/ [Ankara].)
After approval is given, the operations that tten automations perform in the background, in order, are:
1. Putting all virtual servers at the Istanbul location into a Power-Off state.*
2. Stopping the RBD Mirroring jobs.*
3. “Promoting” the disks of the virtual servers at the Ankara location to “primary.”
4. Assigning a WAN IP address that can be used at the Ankara location to the Firewall of the transferred VDC product and updating its configurations.
5. Updating the A Records of the FQDNs in the VPN profiles.
6. Putting the virtual servers into a Power-On state.
The operations are completed in an average of 2-3 minutes, depending on the number of virtual servers.
After the disaster is declared and the Disaster Recovery service is activated:


The Disaster Recovery operation has now been completed successfully.
After the sample disaster declaration, the virtual servers included in the DR scope and the Firewall configured for the VDC service started running at the Ankara service location without human intervention.
The points we find noteworthy:
1. No changes were made to the internal network!
All virtual servers keep running at the Ankara location with the same IP addresses they were running with at the Istanbul location.
2. The WAN IP address on the Firewall was automatically updated with an IP address from the Ankara pool!
For your projects to keep serving, it is enough to update the A Records pointing to the IP address at the Istanbul location with the IP address at the Ankara location.
If your DNS Zones are on CloudFlare, and you define your API Key in the “tten Core Integrations” area, tten Core will also perform the A Record updates automatically!
3. VPN Users, Firewall NAT Rules and even Site-to-Site connection configurations were carried over to the Ankara location exactly as they work at the Istanbul location.
(If FQDN was not preferred for Site-to-Site IPSec tunnels and the IP address was written directly, do not forget to update the IP address on the systems at the other end.)
4. A disaster can occur not only in the service you are using, but also in tten and its services.
Our whole design also covers the possibility that the Istanbul location, our main service location, becomes completely unreachable. For this reason, in addition to core.tten.net, there is one more tten Core at the address ank1-core.tten.net.
*At the time of a disaster, we do not need the Istanbul location to run the Disaster Recovery scenarios and complete the operations!
However, if the disaster is not at a scale that affects tten systems, we do not neglect to stop the RBD Mirroring operations by shutting down the Firewall and virtual servers at the Istanbul location.

Written by
Emre
Göktepe
On this page
Related posts
You are in full control
Build your infrastructure today
Get started in minutes and take your project live. No commitment.




