Activating OnApp Disaster Recovery as a Service – Part 1 (public DRaaS)
OnApp Disaster Recovery-as-a-Service (DRaaS) is a real-time replication system for OnApp clouds that use our software-defined storage system.
OnApp DRaaS offers two ways to do disaster recovery: Public DRaaS, where virtual servers are replicated to one of our remote DRaaS locations; and Private DRaaS, where you replicate to one or more of your own datacenters.
This post will run through the process to activate Public DRaaS for a compute zone, so that virtual servers (KVM or XEN) can be replicated to one of OnApp’s replication provider clouds.
Before you get started… Get in touch with your account manager to enable DRaaS on your OnApp cloud. During the activation process our architecture team will verify that your cloud meets the license and configuration requirements.
We’ll also create your account on our DR dashboard, https://draas.io. When your account is created, you will receive an email with instructions to set your password and log in. Once you’re ready to get started, follow these steps to enable public DRaaS.
Stage 1 – Disaster recovery API access
The following steps are performed using the OnApp cloud UI:
1. In the configuration page (‘Settings’ > ‘Configuration’) switch on the option ‘Enable DRaaS’, then save.
3. In the user account page, generate an API key and make a note of it for later.
4. Create a whitelist for the user and add the IP address 22.214.171.124
Stage 2 – Add the cloud to the DR Dashboard
The following steps are performed on the DR dashboard website:
1. Go to the ‘clouds’ page and start the Cloud registration wizard. In step 1, set the label and subdomain.
2. For step 2, you will be asked to specify the allowed IPs.
The IP addresses can be found by running the following command on every compute node in the zone:
curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
3. For Step 3, enter:
- The cloud URL as the API address
- The email address from before, as the Admin email
- The API key from before as the API token
4. After the cloud has been added, you will be able to start the Hypervisor zone registration wizard.
5. Choose the ‘Public Client’ type in step 1, the desired compute zone in step 2 and the desired replication provider (New York or Amsterdam) in step 3.
After completing these steps, DR can be enabled for any XEN virtual server or KVM virtual server that is residing on the compute zone.
For more information, contact your account manager or click here to learn more about OnApp DRaaS. Thanks!