We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
How do I register a cloud on the DRaaS Dashboard?
Environment
OnApp with draas.io
Answer
Please note - DRaaS uses OnApp’s Integrated Storage, so any VS which you want to enable DR on will need to use IS. You also should have two clouds with the same virtualization type and OnApp versions.
Once your both Control Panels and your onapp-store images have the same versions. You also need to ensure that any CRs you want to run DR on are able to connect to an external public IP. The easiest way to do this is to NAT via your Control Panel (see "How do I NAT my HV?" for details of how to do this and an example script).
Actions to be done on the CP
You will need your cloud Location to be set for the cloud - this can be done in the main OnApp Dashboard - speak to your account manager if you’re unsure how to do this. Finally, you need to enable DRaaS locally on your CP: Go to Settings > Configuration. Scroll down to DRaaS and then move the slider to the right to enable DRaaS.
Actions on the DRaaS Dashboard
Having done this you are now ready to register your cloud on the Dashboard. On the main screen click on Clouds at the top of the page. Then click the Register new cloud button.
On step one of the wizard, you need to choose a Label to identify your cloud. You also need to choose a Subdomain name for your cloud - this will be used to identify your cloud on the DRaaS Dashboard (e.g. https://draas.io/).
On step 2 you will need to specify the IP address(es) that your CRs are using to access the outside world. If you have set up a NAT as described here then this will be the address of your CP. If your HVs have their own public IPs you will need to add each of the IPs. To check what IP you need to use you can run the /scripts/findmyip.sh script on each of the HVs.
On the final step, you will be asked to enter the web address of your Control Panel, your admin username (email address) and the API key for your cloud. The DR Dashboard uses these to verify that you are an admin and to access a list of all the HV zones on your cloud. You can find your API key by clicking on your user name in the top bar of the CP UI. If you haven't got an API key then click Generate Key
If you get an error indicating that the API credentials are wrong it may indicate that you are using an IP whitelist to control access between your CPs. In this case, you will need to add the OnApp DR Dashboard to the whitelist.
If you see issues with replication please check that you have the correct IP addresses listed in the Allowed IPs.
Note that you need to register your both clouds since DRaaS became private. Please read another article How do I septup private DRaaS?