OnApp DRaaS (Disaster recovery as a service) is a tool which replicates all of a Virtual Server’s data to a remote cloud in real-time. If anything happens to your replicated VS, then you can quickly boot a functionally identical VS on the DRaaS provider cloud.
- You must run OnApp Integrated Storage on all compute zones you wish to replicate
- Your compute resources must be publicly accessible (e.g. via NAT)
- You should have sufficient bandwidth for the replication (recommended >100Mbps)
DraaS can be used for compute zone which contains Integrated Storage data stores only (LVM and IS data stores can not be used at once).
Below you can find instructions on how to enable and manage DRaaS for virtual servers.
On this page:
- Update your Control Panel and CloudBoot to DRaaS (OnApp 4.2 version and up)
- Check if DRaaS is enabled in your license
- All the virtual servers you want to replicate must use OnApp Storage
Enable DRaaS locally on your Control Panel: go to Settings > Configuration > System tab > Enable DRaaS
- CloudBoot must be enabled (Settings > Configuration > System tab > Enable CloudBoot)
If you have IP whiltelisting enabled on your Control Panel server, allow the DRaaS dashboard IP
address (126.96.36.199) to connect
- Make sure DRaaS dashboard is properly configured (registration of compute zones for DRaaS and indication of replication sites. Be aware, that DRaaS login credentials for Cloud Owner users are set up by OnApp team, regular user accounts are created automatically once DRaaS is enabled for user VS.)
- Ensure that Any action related to DRaaS permission is on before managing DRaaS. For more information about permissions refer to the List of all OnApp Permissions section of this guide.
Enable DRaaS for Virtual Server
Once you have enabled DRaaS on your cloud, registered on the dashboard and added your compute zones to DRaaS at the DRaaS dashboard, you can enable DRaaS on your virtual servers. DRaaS uses OnApp’s Integrated Storage, so any VS which you want to enable DRaaS on will need to use IS.
If VS is not provisioned or VS creation task is failed, Enable Disaster Recovery option will not be available.
To enable DRaaS for a virtual server:
- Go to your Control Panel's Virtual Servers menu.
- Click the label of the required virtual server.
- Click the Tools > Enable Disaster Recovery. This triggers the following steps:
- It registers the VS on the DRaaS Dashboard and creates an account for the VS owner (if it differs from the cloud owner)
- It creates a shadow VS on the DRaaS provider zone that you chose
- It sets up a secure tunnel and begins to replicate all your data to the DRaaS provider site
If you log in to the Dashboard and click through to the details page for the VS, you will be able to see details of the progress.
To disable DRaaS for a VS:
- Log into the DRaaS Dashboard.
- Go to the details page of the VS.
- Click the Stop Replication button. This stops the replication to the DRaaS Provider. The process can take a couple of minutes as the Dashboard has to coordinate between three distributed systems and ensure it cleans up state on the DRaaS provider site.
- Once the replication is stopped click on the Remove Virtual Machine button which shows up near the top of the page. If you made an error and did not mean to disable DRaaS you can instead click the Start Replication button.
You can set pricing for DRaaS resources in user billing plan.
In billing plan DRaaS resources are a part of User VS limits. You can set the following additional fees for a VS with DRaaS enabled:
- for disk size per GB per hour
- for RAM per MB per hour
- for CPU core per core per hour
- for CPU per percent per hour or CPU per unit per hour
for node per unit per hour
In case of billing per node, it is calculated how many nodes each VS with DRaaS enabled has. The number of nodes corresponds to the highest resource requirement, e.g. a VS with 1 Core, 1GB RAM and 20GB Storage is equivalent to two nodes and is charged accordingly.
For more information refer to the Set User Billing Plan Prices And Resource Limits section of this guide.