XML Files with VM Roles Description
VM roles that you can assign to verified VMs and VMs from the application group are described in XML files. These XML files are stored in the %ProgramFiles%\Veeam\Backup and Replication\Backup\SbRoles folder on the backup server.
To add a new role, you must create a new XML file and save it to the SbRoles subfolder on the backup server. Do not save the XML file on the machine where the Veeam Backup & Replication console is installed — this will not affect the list of roles in Veeam Backup & Replication.
XML files describing VM roles have the following structure:
The XML file with the role description contains the following tags and parameters:
Encapsulates the VM role file.
Parent tag for a role assigned to a VM. <SbRole>, <Id> and <Name> are children of this tag.
Encapsulates basic information for a VM role: ID and name.
Unique identifier of a VM role.
Name of a VM role. The VM role name is displayed in the roles list on the Role tab.
Parent tag for startup and test script options to be used for the defined role. <SbVerificationOptions>, <ActualMemoryPercent>, <MaxBootTimeoutSec>, <AppInitDelaySec>, <TestScripts>, <Name>, <Type>, <TestScriptFilePath>, <Arguments>, <HeartbeatEnabled>, <PingEnabled> are children of this tag.
Encapsulates options data for a VM role.
Percent of the original memory level that must be pre-allocated to a verified VM on the system boot.
Maximum allowed time to boot a VM.
Duration of time for which Veeam Backup & Replication must wait after the VM is successfully booted in the virtual lab. After this time elapses, Veeam Backup & Replication will run test scripts. Time is specified in seconds.
Encapsulates test script data for a VM role.
Name of a VM role. The VM role name is displayed on the Test Scripts tab.
Type of the test script: Predefined or Custom.
Path to an executable file of the test script to be performed. The path can be absolute or relative.
Arguments to be passed to the script. You can use the following variables:
%vm_fqdn% — a fully qualified domain name of a verified VM.
Must a heartbeat test be enabled for this VM role: True or False.
Must a ping test be enabled for this VM role: True or False.