Veeam Cloud Connect Integration
In Veeam Cloud connect, virtual machines backup data are stored in Cloud repository. Usage and Billing solution has integrated with VAC to compute the cost for Veeam Cloud connect usage.
Note: This is a licensed feature and will not be available by default along with the Usage and Billing solutions.

Configuring VAC Settings

Follow the below steps to configure VAC settings thru Billing.exe tool. Download the tool from here.
  1. 1.
    Logon to Usage and Billing API machine.
  2. 2.
    Open Command prompt.
  3. 3.
    Navigate to the folder which contains Billing.exe tool.
  4. 4.
    Type the following command to update the app setting and then press enter,
CLOUDASSERT.BILLING.TOOL.EXE AddAppSetting <key> <value> <group> [/isEncrypted] [/ApiEndpoint:<String>] [/Username:<String>] [/Password:<String>]

App Settings Table

App settings which are related to VAC integration as follows,
Key
Value
Group
Default
Functionality
IsVacServiceEnabled
Text
Features
False
When, this is set to True then VAC service will be enabled.
VeeamServerName
Text
VacService
veeamserver
Specify the Veeam server name.
VeeamUserName
Text
VacService
cloudassert
Specify the Veeam user name. [It should be in the following format ‘servername/username’]
VeeamPassword
Text
VacService
password
Specify the Veeam password. [Note: Use the BillingTool.exe to save an encrypted password.]
RemotePortForVeeam
Number
VacService
5985
Specify the port number for Veeam.
IsVeeamUseSSL
Text
VacService
False
If Veeam server using SSL, then set this as True.

Enabling VAC feature

To enable VAC feature, update the app setting ‘IsVacServiceEnabled’ as true. (check below cmnd)

Enabling VAC Service in Plan

  1. 1.
    Logon to WAP Admin portal and click on Plans extension on the left pane.
  2. 2.
    Drill down in to a Plan that has Cloud Assert Billing service and navigate to the same.
  3. 3.
    Click ‘Yes’ button for ‘Enable VAC?’.
4. Specify the ‘Max Concurrent Tasks’.
5. Specify the ‘Limit incoming traffic to’.
6. Specify the ‘Backup Repository Name’ correctly as it is case sensitive.
7. Specify the ‘User Quota’.
8. Click Save.

Enabling VAC Service in Add-on

  1. 1.
    Logon to WAP Admin portal and click on Plans on the left.
  2. 2.
    Drill down in to an Add-On that has Cloud Assert Billing service and navigate to the same.
  3. 3.
    Click ‘Yes’ button for ‘Enable VAC?’.
  4. 4.
    Specify the ‘User Quota’.
  5. 5.
    Specify the ‘Bandwidth’.
  6. 6.
    Specify the ‘WAN Acceleration’ correctly as it is case sensitive.
  7. 7.
    Click Save.

Custom script settings

  1. 1.
    Download the ‘Scripts.zip’ and extract it.
  2. 2.
    Open the scripts folder and open the ‘AddVacTenant.ps1’
  3. 3.
    Specify the Veeam backup server details,
Note: Repeat this step for all powershell scripts available in the scripts folder.
4. Place the scripts folder in ‘C:\inetpub\MgmtSvc-CloudAssertBilling\bin
Note: If the Billing service is running on HA environment, place the scripts folder in all the nodes where Billing API service is installed.

Placing the Operation Templates

  1. 1.
    Download the ‘OpTemplates.zip’ and extract it.
  2. 2.
    Open OpTemplates folder and copy the templates (json files)
  3. 3.
    Place the templates in ‘C:\inetpub\MgmtSvc-CloudAssertBilling\Templates
Note: If the Billing service is running on HA environment, place the Templates in all the nodes where Billing API service is installed.

Custom collector settings

  1. 1.
    Download the 'UsageExtenisonModule.zip' and extract it.
  2. 2.
    Navigate to scripts folder and open the ‘veeam-cloudconnect-usage.ps1’.
  3. 3.
    Specify the Veeam backup server details,
4. Place the ‘veeam-cloudconnect-usage.ps1’ script in
C:\Program Files\CloudAssertBilling\CloudAssert.WAP.Billing.AgentService\Scripts'

Enabling Veeam Usage Extension

  1. 1.
    Extract the UsageExtenisonModule.zip.
  2. 2.
    Open the ‘UsageExtensionSettings.json’.
  3. 3.
    Edit ‘IsEnabled’ setting of Veeam Usage extension (can find Veeam usage extension by Id: ‘CloudAssert.Veeam.VeeamCloudConnectextension.v0.1’) as True to enable it.

Enabling Usage Extension processor

  1. 1.
    Logon to Usage and Billing – Agent service machine.
  2. 2.
    Navigate to ‘C:\Program Files\CloudAssertBilling\CloudAssert.WAP.Billing.AgentService’.
  3. 3.
    Open the ‘CloudAssert.WAP.Billing.AgentService.exe.config’ file.
  4. 4.
    Enable the Usage extension processor by setting its value to True.
5. Specify the path of ‘UsageExtensionsSettings.json’.

Enabling pricing for VAC resources

  1. 1.
    Enable pricing for VAC resources, as required. (Refer to Creating a Pay-As-You-Go Pricing Profile)
Provider Name
Meter Name
Description
Veeam
VmCount
Count of Virtual machine backups per VAC Tenant
Veeam
ReplicaCount
Count of Replica backups per VAC Tenant
Veeam
ServersCount
Count of Server backups per VAC Tenant
Veeam
WorstationCount
Count of Virtual machine backups per VAC Tenant
Veeam
UsedSpace
Used space of a backup repository.
2. The above meters are available in the default pricing profile. Admin can set the desired prices as required.