Disaster Recovery with Zmanda: A Comprehensive Guide
Last updated
Was this helpful?
Last updated
Was this helpful?
Disaster Recovery (DR) is a feature that allows you to protect your data from disasters. In the event of a disaster at your primary site, you can restore your data from the DR site and resume operations. Zmanda’s Disaster Recovery (DR) ensures continuous data protection by replicating the primary server's configuration to a secondary DR site. This redundant server acts as a fail-safe, allowing for rapid recovery in case of a disaster at the primary site.
This guide offers easy steps to configure DR ensuring constant data protection.
Steps to configure Disaster Recovery (DR) in Zmanda:
Download Disaster Recovery enabled license from Network Zmanda.
Configure DR Service in Zmanda Management Console (ZMC).
Step 1: Download Disaster Recovery enabled license from Network Zmanda
The first step to configuring DR is to download a Disaster Recovery enabled license from Network Zmanda. This license will enable the DR feature on your Zmanda server and allow you to configure a DR site.
To download a Disaster Recovery enabled license, follow these steps:
Log in to your account on Network Zmanda.
Click the Download License button for the newly generated license.
You'll need to provide the MAC address for the primary instance.
Click Next, then copy the passkey and proceed to download the license.
Step 2: Configure DR Service on ZMC
To configure the DR Service on ZMC, follow these steps:
Primary instance setup:
After downloading the DR enabled license, you need to configure the DR service on your Zmanda server. This involves uploading the license and configuring the DR repository.
Log in to ZMC (Zmanda Management Console).
Navigate to the License tab.
Upload the Disaster Recovery enabled license and paste the associated passkey.
After successful license upload, the Disaster Recovery tab will be enabled under the Settings tab.
Click the Disaster Recovery tab.
Click the Set up DR Repository button and configure the storage details.
The Disaster Recovery (DR) service starts synchronizing the configuration data for your primary instance once every hour following successful setting of the storage details.
After installing the binary on the Disaster Recovery instance, follow these steps:
Disaster Recovery instance setup:
After configuring the DR service on your primary instance, you need to set up the Disaster Recovery instance. This involves copying the DR configuration file from the Primary instance to the Disaster Recovery instance and uploading the license.
To set up the Disaster Recovery Instance, follow these steps:
After installing the binary on the Disaster Recovery server copy drconfig file from /var/lib/amanda/drservice folder, from the primary instance to the disaster recovery instance.
Copy the drconfig file to /var/lib/amanda/drservice and change the ownership and permission of the file by following these commands:
Copy DR configuration file:
Import DR configuration:
Log in to Network Zmanda and provide the DR server MAC address if it is required.
Re-download the license and copy the new passkey.
Log in to ZMC and navigate to the License tab under Settings.
Upload the license (containing both Primary Instance MAC address and Disaster Recovery server’s MAC address) and paste the passkey for that license.
After successful license upload, the Disaster Recovery tab will be enabled under the Settings tab.
On the Disaster Recovery (DR) page, you will find pre-populated details for the DR repository.
On the Disaster Recovery Instance, toggle the Activate DR Sync button to commence the restore operation.
Restoring Data from the DR Site:
In the event of a disaster at your primary site, please refer the documentation on restoring your data from the DR site.
Once the restore is complete, your data will be restored to the to the specified destination.
For information on configuring DR with SSO or a dedupe server, refer to the relevant knowledge base (KB) articles.
By following these steps, you can ensure that your data is always protected and that you can quickly recover from any disaster.