How to perform a failback to a designated cloud

How to perform a failback using a "reverse migration" method

Task

Perform a failback procedure to a designated cloud platform using a "reverse migration" method.

Solution

Info
If you have been using VMware, Flexible Engine or OpenStack as your source environment, please refer to our applicable Documentation. This article provides joint instructions for failback migration to all other supported cloud platforms (AWS, Azure, Alibaba Cloud). 

Once the problem causing malfunction of the main cloud platform has been resolved and the DR solution is no longer required, it's time to run a failback of your instances, your workloads including all changes accumulated on the backup platform since the launch of the cloud site and redirect the user traffic accordingly.

The following instructions present the principles of a standard live migration, which may be familiar, but these steps involve certain adjustments for the "reverse" flow of the process to run correctly:
      1. First off, please request our Support team (support@hystax.com) to provide a migration kit that would include an appropriate Acura image for your cloud.
      2. This image is then used to deploy a new Hystax Acura instance on the eventual failback platform. The host performance requirements apply: 8 vCPU, 16 Gb RAM and 200Gb disk. Associate a public IP with the created machine. 
AlertSecurity groups must allow the following traffic:
        Hystax Acura host:                          Hystax Cloud Agent (spawned automatically in the Target Project):
           •  Ingress – tcp/443;                       ○  Ingress – tcp/80;
           •  Ingress – tcp/4443;                     ○  Egress – tcp/443, udp/12201.
           •  Ingress – udp/12201;                   

      3. To start using Acura, you need to perform its routine configuration for the desired cloud by accessing the Hystax Setup wizard via a web browser: https://<ip_address of the machine>/
      4. Uninstall the old replication agents from the machines. Make sure the following folders are deleted as well:

            For Windows Replication Agent:
            C:\ProgramData\Hystax
            If you can't see this folder, check that hidden files and folders are displayed.
            After that, you can install the agent. 

            For Linux Replication Agent:
            sudo rm -rf /etc/hystax
            After that, you can install the agent.

      5.  Access the new Acura instance from the failover machines to download replication agents depending on their OS. (Internal replication agents are installed directly on failover machines)
      6. Once the agents have been installed, the relevant machines will appear in the Acura Control Panel on the customer dashboard in the Discovered state. You will now be able to start the replication process by clicking the corresponding button next to the individual machine or using "Bulk actions" section for the whole group. The machines will be replicated to the target cloud. Initially, Hystax Acura takes a full replica and, after that, incremental replicas according to a schedule set globally for a group or for any machine individually.

Idea
All replications take place in the background and do not require failover downtime till the final cutover. You can run an unlimited number of test failbacks/migrations.

      7. As this is a "reverse migration", a predefined Migration plan is needed to specify the machines that are to be migrated, their ranks, IP addresses, networks and boot delays. The Migration Plans section of the ACP lets you create one using either Basic or Expert modes (you can refer to a similar DR JSON script).
      8. When migration is initiated, the new VMs are launched in Cloud Sites from the corresponding restore points and can be checked for health.
      9. Once you feel satisfied with the result of a test migration (as you can always delete it and start a new one), you can click on the "Detach" button to perform the final cutover. Hystax Acura will be detached from the current migration and will stop tracking any related resources. The failback is complete!

If you need more detailed instructions for the Migration process, please refer to our Step-by-step Guide. Contact our Support team at support@hystax.com for further assistance.
    • Related Articles

    • Making a machine discoverable in ACP after VMware failback

      Challenge A machine is not listed in ACP after performing a failback to VMware. Cause By design, a failback machine in VMware is marked with a flag that blocks it from being rediscovered in ACP right after the process has been completed. This helps ...
    • ACP failback wizard does not show the target datastore and host

      Challenge Generally, a target datastore and host are not shown in ACP if a Failback Agent does not have proper network configuration and therefore has no connection to VMware or to Acura, which it constantly sends heartbeats to. Solution Please make ...
    • How to set a rank to my server in the DR or Migration Plan

      To set a rank change the parameter Rank. It can be done in the Expert tab while editing the DR plan. In this example the machine WS2012R2 will start only after the machine ubuntu1604 starts.
    • Cleaning up target-cloud resources after a successful migration

      Task Clean up all resources in the cloud after a migration. Solution To clean up all resources in the cloud, please perform the following steps: 1. Check that the failover machine works fine and detach the Cloud Site in Hystax Acura UI, by clicking ...
    • Restoring a bare-metal machine from a RAW image

      Task Restore a bare metal machine from a RAW image. Solution Acura provides customers a way to get the RAW image of a failover or replicated machine. To recover the mashine using a RAW file, follow the steps below: Boot from any Linux Live CD. Verify ...