VK Cloud logo

Hystax disaster recovery installation and configuration

You can configure recovery of data and IT infrastructure in case of unexpected incidents using the Hystax Acura — Disaster Recovery service without pausing application operation. Using the service allows you to optimize the following metrics:

  • Recovery Point Objective (RPO) — the time between the creation of the last backup and the moment the disaster occurs. It can be configured individually for each resource.
  • Recovery Time Objective (RTO) — the time between the reaction to a disaster and the infrastructure recovery. The service allows you to minimize this metric.

After completing all the steps of the instructions, you will:

  1. Create an account in Hystax Acura — Disaster Recovery via VK Cloud.
  2. Install the agent on the VM and perform data replication for it.
  3. Create a backup infrastructure using a recovery plan.
  4. Recover the backed-up infrastructure in VK Cloud.

By using the service, you agree to the license agreements of the Marketplace and Hystax Acura — Disaster Recovery services.

Preparatory steps

  1. Register in VK Cloud.

  2. Set up two-factor authentication (2FA) for the account on whose behalf the restored infrastructure will be deployed.

  3. Create a VM for which recovery will be applied. The Ubuntu-DR VM running Ubuntu 18.04 will be used as part of the quick start.

  4. 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).

1. Replicate data

  1. Sign in to the Hystax Acura console using the login and password you received.

  2. Click the Install replication agents button.

  3. At the Agent selection step, select Linux and click the Next button.

  4. At the Agent settings step, specify the parameters:

    • Machines group: Default.
    • Select target Linux distribution: Debian/Ubuntu (.deb package).
    • Snapshot driver deployment type: DKMS.
  5. Click the Next button.

  6. Install the agent on the target VM, following the instructions for the Ubuntu distribution.

    After the agent is installed, the Ubuntu-DR VM will appear on the main page of the Hystax Acura console with the Unprotected status.

  7. Expand the Ubuntu-DR VM 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.
  8. Click the Save button.

  9. Expand the Ubuntu-DR VM menu and select the Start Protection option.

  10. Wait for the operation to complete — the VM status will change to Protected.

2. Create a disaster recovery plan

  1. Click the Create DR plan button.

  2. In the Name field, specify the plan name DR-plan.

  3. Go to the Expert tab and click the Generate DR plan from all machines button.

    A JSON file with the Ubuntu-DR VM will be generated.

  4. Adjust the plan according to the requirements for recovering the VM after failures:

    • In the subnet_id parameter, specify the network identifier for the Ubuntu-DR VM.
    • In the flavor parameter, specify the name of the VM template; check it using the openstack flavor list command.

    For a detailed description of the parameters, see the official Hystax Acura documentation.

  5. Click the Save button.

3. Run the plan

  1. Go to the Recover section.

  2. Select the DR-plan plan and click the Next button.

  3. In the Cloud Site Name field, specify the value VK-Cloud-infra and click the Run Recover button.

    Creation of the backup infrastructure will begin.

    • If the process completes successfully, VK-Cloud-infra with the Active status will appear in the Cloud Site block.

    • If the process completes with errors, restart it:

      1. In the Cloud Sites block, click the Delete button for the process that completed with an error, and confirm the deletion.
      2. In the DR plans block, click the Edit button for the DR-plan plan.
      3. Make the necessary changes (in basic or expert mode).
      4. Click the Save button.
      5. Run the plan again.

4. Restore the infrastructure in VK Cloud

  1. Go to the Failback section.

  2. At the Select target cloud type step, select the OPENSTACK option and click the Next button.

  3. 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-net external network.
  4. Click the Next button.

  5. At the Select resource step, select VK-Cloud-infra from the From Cloud Site list.

  6. Click the Next button.

  7. At the Failback settings step, specify the name of the infrastructure being restored.

  8. Click the Start Failback button.

    The infrastructure in VK Cloud will be brought to a state matching VK-Cloud-infra.

5. Check the functionality of the restored VM

Find the restored VM in VK Cloud (<PROJECT_PID>_cloud_agent), perform arbitrary operations on it.

Delete unused resources

Running VMs consume computing resources. If you no longer need them:

  • Delete the Ubuntu-DR VM.
  • Delete the VK-Cloud-infra backup infrastructure via the Hystax Acura console.
  • Delete the Floating IP address, if one was created during recovery.
Was this article helpful?