Backup servers are servers responsible for storing backups and templates of virtual servers running in the cloud, in order to prevent data loss in the event of failure. Backup servers enable recovery of files, applications and databases and so guarantee security of an IT environment. Besides, backup servers are used for scheduling backup jobs and committing associated backup details to the database. Since we have already enabled CloudBoot functionality, we will configure CloudBoot backup servers.
All Cloudboot Backup Servers should have one NIC connected to the isolated management network, which is set to PXE boot. Please note the MAC of that NIC for each Compute Resource as you will need it later in the process.
To set up a CloudBoot backup server in your cloud, do the following:
Go to Settings > Compute Resources > Add New CloudBoot Compute Resource.
Select Backup as the CloudBoot resource type.
Select the MAC address of your pre-determined Backup Server and click the Next button. OnApp will query the hardware at this point, so it may take a few minutes to complete.
Add the label as Backup Server.
It is strongly recommended to check Show Advanced Settings and set MTU to 9000. Please note that your switching infrastructure will need to support jumbo frames. If you do not have jumbo frames support, please leave this at 1500.
OnApp will now configure the Backup Server and reboot a few times. Once the Backup Server is online, you will configure the storage network.
- Select the MAC address of the correct interface to be used for the storage network and click Assigned to SAN. Click the Next button.
8. OnApp will perform the final configuration and reboot once more. You will then receive a message ‘‘Compute Resource is successfully configured and ready for operation‘‘. You can now click the Complete button.
9. Next, add the Backup Server to the Backup Zone. Go to Settings > Backup Server Zones and click the Create Backup Server Zone button.
10. You can add the label of your choice to the zone, just ensure that the Server Type is set to virtual. Click the Save button.
11. Go to Settings > Backup Servers and click the Create Backup Server button.
12. Add the following details:
- Label - the name of the Backup Server
- IP Address - the IP Address of the Backup Server Compute Resource
- Capacity - the total capacity (in GB) that is available for backup storage.
- Backup Server Zone - select the Backup Server Zone that was created in the previous step.
- Enabled - set this to true.
13. Click the Add Backup Server button.
14. Go to Settings > Compute Zones and click on the compute zone that you will use for your OnApp Cloud. Click on the green Tools menu and click Manage Backup Servers.
15. Select the Backup Server that you just added from the dropdown list and click the Add Backup Server button.
Configure Backup Server
Log into your OnApp Control Panel via SSH, access the ‘‘OnApp’’ user and connect to the IP Address of your backup server.
(where 10.94.0.101 is the Management IP of your backup server)
Find the identifier for the block device that you will use for backups and template storage by using:
Format the block device with your preferred filesystem type, for example:
Create a directory for the backup storage, if it doesn’t already exist:
Mount the storage to /backupstorage:
Create a directory for storing OS templates:
Create a directory for storing backups:
Create symbolic links in /onapp:
Go to Settings > Compute Resources > Backup Server. Click on the green Tools menu and Edit Compute Resource. In the custom config section, add the following:
Reboot the Backup Server by clicking on the green Tools menu and Reboot Compute Resource. Once the Backup server is back online, your backup server is ready to use.