Hystax Acura — disaster recovery from Marketplace: protect your services from failures and disasters
The application store extends the capabilities of VK Cloud by offering third-party services for solving various tasks. One such service is Heistek Acure — Disaster Recovery. With it, you can set up Disaster Recovery (DR) — a set of strategies and procedures aimed at restoring the operation of applications, data, and business processes after failures, data center disasters, or human errors.
To configure DR, you connect the service, log in to the Heistek Acure management console, and install agents on the servers that need to be replicated to the backup infrastructure. Data on the primary and backup sites is synchronized regularly.
In case of a primary infrastructure failure, the service is switched to disaster recovery mode automatically or manually. All the necessary services and applications are started on the backup site according to a pre-prepared disaster recovery plan.
Start working with Heistek Acure — Disaster Recovery in any convenient way:
- Use the guide to connect the service via Marketplace and verify the DR configuration for data recovery.
- Watch the video about data protection with Disaster Recovery.
After completing all the steps in this guide, you will:
- Replicate the data of a virtual machine.
- Create a disaster recovery plan.
- Start the plan to prepare the backup infrastructure.
- Restore the VM in VK Cloud.
- Verify that the restored VM is working properly.
By using the service, you agree to the license agreements of the Marketplace and Hystax Acura — Disaster Recovery services.
-
Go to the VK Cloud management console.
-
Set up two-factor authentication (2FA) for the account on whose behalf the restored infrastructure will be deployed.
-
Create a VM for which recovery will be applied. The
Ubuntu-DRVM running Ubuntu 18.04 will be used as part of the quick start. -
Connect the Hystax Acura — Disaster Recovery service.
Wait for the installation to complete — an email with a login and password will arrive. The service will be deployed at https://dr.mcs-cloud.ru (the Hystax Acura console).
-
Sign in to the Hystax Acura console using the login and password you received.
-
Click the Install replication agents button.
-
At the Agent selection step, select Linux and click the Next button.
-
At the Agent settings step, specify the parameters:
- Machines group:
Default. - Select target Linux distribution:
Debian/Ubuntu (.deb package). - Snapshot driver deployment type:
DKMS.
- Machines group:
-
Click the Next button.
-
Install the agent on the target VM, following the instructions for the Ubuntu distribution.
After the agent is installed, the
Ubuntu-DRVM will appear on the main page of the Hystax Acura console with the Unprotected status. -
Expand the
Ubuntu-DRVM menu in the Machines Groups list and select the Edit Replication schedule option. In the window that opens, specify the parameters:- Use custom Replication schedule settings: select the option.
- Volume availability zone:
MS1. - Volume type:
CEPH-HDD.
-
Click the Save button.
-
Expand the
Ubuntu-DRVM menu and select the Start Protection option. -
Wait for the operation to complete — the VM status will change to Protected.
-
Click the Create DR plan button.
-
In the Name field, specify the plan name
DR-plan. -
Go to the Expert tab and click the Generate DR plan from all machines button.
A JSON file with the
Ubuntu-DRVM will be generated. -
Adjust the plan according to the requirements for recovering the VM after failures:
- In the
subnet_idparameter, specify the network identifier for theUbuntu-DRVM. - In the
flavorparameter, specify the name of the VM template; check it using theopenstack flavor listcommand.
For a detailed description of the parameters, see the official Hystax Acura documentation.
- In the
-
Click the Save button.
-
Go to the Recover section.
-
Select the
DR-planplan and click the Next button. -
In the Cloud Site Name field, specify the value
VK-Cloud-infraand click the Run Recover button.Creation of the backup infrastructure will begin.
-
If the process completes successfully,
VK-Cloud-infrawith the Active status will appear in the Cloud Site block. -
If the process completes with errors, restart it:
- In the Cloud Sites block, click the Delete button for the process that completed with an error, and confirm the deletion.
- In the DR plans block, click the Edit button for the
DR-planplan. - Make the necessary changes (in basic or expert mode).
- Click the Save button.
- Run the plan again.
-
-
Go to the Failback section.
-
At the Select target cloud type step, select the OPENSTACK option and click the Next button.
-
At the Select target environment step, select the New OpenStack option and specify the parameters:
- Cloud name:
VK Cloud. - Keystone API endpoint: the Keystone value from the list of endpoints; for VK Cloud —
https://infra.mail.ru:5000/v3/. - User domain: the User Domain Name value from the project settings.
- Username: the name of a user with API access and a role no lower than Project Administrator.
- Password: the user's password.
- Target project domain: the Project Domain ID value from the project settings.
- Target project ID: the Project ID value from the project settings
- Service Network: the UUID of the network into which the VM will be deployed.
- Floating IP Network: the
ext-netexternal network.
- Cloud name:
-
Click the Next button.
-
At the Select resource step, select
VK-Cloud-infrafrom the From Cloud Site list. -
Click the Next button.
-
At the Failback settings step, specify the name of the infrastructure being restored.
-
Click the Start Failback button.
The infrastructure in VK Cloud will be brought to a state matching
VK-Cloud-infra.
Find the restored VM in VK Cloud (<PROJECT_PID>_cloud_agent), perform arbitrary operations on it.
Running VMs consume computing resources. If you no longer need them:
- Delete the
Ubuntu-DRVM. - Delete the
VK-Cloud-infrabackup infrastructure via the Hystax Acura console. - Delete the Floating IP address, if one was created during recovery.
This video explains the specifics of Heistek Acure — Disaster Recovery and how to configure server recovery in VK Cloud.