Abiquo 5.2

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Numbered Headings

Install Veeam

Install the Veeam Enterprise Manager, which is an optional component in Veeam installations. As part of the install process, configure the API ports of the Veeam Enterprise Manager. Enter the HTTP and HTTPS port numbers that the Veeam Backup Restful API service will use. By default, the values are HTTP port 9399 and HTTPS port 9398. 

Create Base Veeam Resources for Abiquo

The Veeam API cannot be used to create backup and replication jobs. This means that you must create a dummy job for the Abiquo backup plugin to clone, with a base job for each hypervisor you will be using. A job must contain at least one VM, so you will need a placeholder VM on each hypervisor for use in the dummy job. 

  1. In your hypervisor, deploy a placeholder VM
    • Choose the VM name carefully to show that it is a placeholder VM so that it will not get accidentally deleted
  2. In Veeam create a new job for the hypervisor
    • The default names that the Abiquo backup plugin will detect are "Abiquo Dummy HyperV Job" for HyperV and "Abiquo Dummy VMWare Job" for ESX
  3. Add the placeholder VM
  4. DO NOT set a schedule for the job
  5. Save the job

Do not delete the placeholder VMs and dummy jobs because this could cause problems in the Abiquo backup plugin.

When viewing jobs in Veeam, dummy jobs with placeholder VMs are shown at the top of the list. Jobs created by the Abiquo backup plugin by cloning the dummy jobs are shown below it.

Configure Veeam properties

To configure Veeam backup properties in Abiquo:

  1. Log in to the Abiquo Remote Services server
  2. Go to /opt/abiquo/config folder and edit the veeam.properties file. 
    • This is the default file location, and you can change it and configure the new location in abiquo.properties as described below
  3. The Abiquo backup plugin is designed to manage one Veeam host for each Abiquo datacenter. To associate a datacenter with its Veeam host, set a property pair for the datacenter name and the Veeam host IP or FQDN. 
    Set the datacenter name as it appears in the Abiquo UI and get the Veeam host value from the Veeam Enterprise Manager view. 
    For example, for two datacenters, called London and Frankfurt, and with the London veeamhost at and the Frankfurt veeamhost at, the properties file would look as follows.

    Code Block

  4. New in Abiquo 5.1.1. If you have hosts in Veeam that are not in Abiquo, and they contain duplicates of VMs in Abiquo, you must set the hypervisor property to define the hosts in Abiquo, as a comma separated list. The Abiquo backup system will manage VMs on the hypervisors on the list only, to prevent critical errors in the backup system. If the property is empty or not supplied, the platform will use Veeam data from all hypervisors.

    Code Block

  5. To control backup expiration times in Veeam, use properties to set maximum restore points. Remember to remove the hash '#' comment mark at the start of the property line.

    Code Block
    # Set the maximum restore points of a job for each schedule type
    # Set the maximum restore points for a specific polity, e.g. "mypolicy", with preference over other properties
    #veeam.maxrestorepoints.policycode.mypolicy = 5

  6. Set the name of the dummy backup job for your hypervisor

    Code Block
    ## Veeam api does not allow us to create new jobs, only clone the
    ## existing jobs. So Veeam needs a dummy job (disabled) on each Veeam
    ## host in order to clone it to create new jobs.
    veeam.dummy.vmware.name=Abiquo Dummy VMWare Job

  7. Set the name of the backup repository for the dummy backup job, to match the job's Backup repository configuration on the Veeam server. For example, if you are using a repository called "Default Backup Repository".

    Code Block
    veeam.dummy.vmware.repository=Default Backup Repository

    If you need to change the backup repository, remember to change this property.

  8. Optionally set other properties, according to your environment:

    Code Block
    ## Since veeam api does not allow to create new jobs, only clone the
    ## existent jobs. The veeam needs a dummy job (disabled) in each veeam
    ## host in order to clone it to create new jobs.
    ## The following properties define the name of the jobs for each
    ## virtualization type
    #veeam.dummy.vmware.name=Abiquo Dummy VMWare Job
    #veeam.dummy.vmware.repository=Default Backup Repository
    #veeam.dummy.hyperv.name=Abiquo Dummy HyperV Job
    #veeam.dummy.hyperv.repository=Default Backup Repository
    ## Some operations in veeam api causes an asynchronous task that needs
    ## to be tracked to know the result of the operation. All these properties
    ## are defined in milliseconds
    ## Time to wait between each task state retrieve operation.
    ## Min and Max exists because each operation increase the next interval
    ## in a half of the last one (nextinterval = currentinterval * 1.50)
    ## Maximum of time spent to retrieve the task result
    ## Timeout properties for synchronous request to Veeam api
    ## Cache expiry time in milliseconds

Configure all backup jobs with policy codes

For Veeam 9.5u4 and Veeam 10, you MUST create an Abiquo policy Code for each backup. Abiquo ALWAYS uses the backup policy Code attribute to identify the Veeam job to clone. This enables Abiquo to support retention time but it does not affect previously existing backup jobs of current VMs.

  • When a user assigns a backup policy to a VM, if Abiquo cannot find the Veeam job to match a backup policy code, then it will not be able to create a new backup job in Veeam and the VM backups will not run.

For each backup policy in Abiquo:

  1. On the Veeam Backup and Replication server for the Abiquo datacenter, clone the original Abiquo dummy job
  2. Rename the new job to a name that will exactly match the policy Code of an Abiquo backup policy in the Abiquo datacenter
    1. To ensure that the backup system uses the correct repository, check that the policy code and Veeam job name is unique for each backup policy in the backup manager
      • If you use the same policy codes in different datacenters with different repositories, please contact Abiquo Support
  3. To set how many backups should be kept on the server, go to Job → Edit → Storage and set Restore points to keep on disk
  4. In Abiquo, check that the backup policy has the right Code and that it is available to users

When users select this policy, the platform will use the appropriate Veeam job.

Configure Abiquo properties

To configure Abiquo properties for Veeam:

  1. Log in to the Remote Services server
  2. Edit the abiquo.properties file
  3. To activate the backup plugin and define the location of the properties file:
    1. Set the abiquo.backup.veaam.config.path property in the following format

      Code Block

  4. Optionally set the other abiquo.properties for your Veeam version.
    These properties are set for "veeam95u4" or "veeam10" and there is no change to add VMware Snapshots.
    1. abiquo.nars.async.pool.{backupplugin-Version}.max
    2. abiquo.nars.async.pool.{backupplugin-Version}.byvdc
    3. abiquo.virtualfactory.{backupplugin-Version}.backup.openSession
    4. abiquo.virtualfactory.{backupplugin-Version}.backup.openSession.byvdc
    See Abiquo Configuration Properties for more details.

Remember that you will need to restart the Tomcat server for changes to the properties file to take effect.