Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

The purpose of this KB is to provide our recommendations for use of Veeam V12.

This information was gathered from support cases as well as certification testing of Veeam V12.

The following acronyms are used in this article for clarity purposes:

  • VB365 = Veeam Backup for Microsoft 365

  • VBR = Veeam Backup and Replication

  • VBA = Veeam Backup Agent for Windows

General Configuration guidelines

To avoid creating buckets with too many objects and to keep bucket listing performance under control, we recommend:

  1. Use large storage object size in VBR and VBA ( 4MB or higher )

  2. Assign a dedicated bucket and storage domain per client. This will allow you to take advantage of future support for separate elasticsearch indices per storage domain.

  3. Keep VB365 and VBR in different buckets, as VB365 does not provide the ability to control storage object sizes.

  4. Veeam backup agent ( VBA ) now allows direct to cloud backup, it does however not provide you with a way to limit concurrent connections via the Proxy Threads like VBR does. You will need to define this at the load balancer level. Some examples are provided at the end of this article.

  5. Be mindful of the capacity requirement if your backup schedule is aggressive and rapidly deletes data. Deleting data in Swarm is not immediate; it relies on a background health process to convert deleted (trapped) space back into free space and you will need sufficient free space to ingest new data while the trapped space reclamation occurs. For more information see KB article How do I fix trapped space?

When using multiple gateways in your environment make sure to use a real load balancer, DNS round robin is not a valid load balancing configuration. We recommend using the least connection load balance algorithm.

Least Connections: The system passes a new connection to the gateway that has the least number of current connections in the pool.

Veeam Backup for Microsoft 365 ( VB365 )

VB365 does not support versioning or object locking.

VB365 only has a single way to configure the number of threads (default is 64 ) it uses to communicate with the backup repository. Reference: https://helpcenter.veeam.com/docs/vbo365/guide/vbo_threads_and_limit.html?ver=70

 In a mixed environment if your backup repository is overwhelmed with too many concurrent connections we recommend reducing the backup proxy threads.

VB365 stores data items in chunks to the object storage repository. These chunks are before compression 5MB for Exchange data and 8MB for SharePoint and OneDrive data. Veeam documentation says that you can assume 40-50% compression efficiency.

VB365 has hardcoded chunk sizes , those are not configurable.

VB365 stores meta-data in their own objects. These objects are small in size (100KB or less) and can make up for up to 50% of the overall number of objects in an object storage repository.

Source reference material: https://bp.veeam.com/vb365/guide/design/sizing/objectstorage.html

Veeam Backup Agent for Windows ( VBA )

When using direct to cloud backup option, using larger block size can yield up to 3.5x faster performance. We recommend at least 4MB block size.
This is configured in the backup job properties → Bucket → Advanced (button) → Storage Tab.

You can configure network throttling in settings section. ( but not thread/task concurrency )

Veeam Backup and Replication ( VBR )

Make sure to install and use V12 Cumulative Patch 2 or higher which was released on April 12, where they increased the concurrent delete threads from 1 to 10, affecting the performance of all their backup jobs.

Reference: https://www.veeam.com/kb4420

Using larger block size can yield up to 3.5x faster performance. We recommend at least 4MB block size.
This is done in the backup job properties → Storage section → Advanced Settings → Storage Tab.

Setting the block size to 8MB for best performance requires a PowerShell script. Veeam provided us with an official tool to change storage block size on all backup jobs using a specific object storage backup repository. You need to run this script from the VBR Powershell console.

I have provided the manual steps as well in case you wish to only do it against 1 specific backup job in your environment.

By default our cloud gateway 7.10.4 uses 50 threads to execute S3 MultiDelete requests, you can improve performance by increasing MaxRecursiveDeleteThreads to 250 in /etc/caringo/cloudgateway/gateway.cfg

Note: MaxRecursiveDeleteThreads must always be lower than threads and maxConnections

so if you set MaxRecursiveDeleteThreads then we recommend also changing:

Example for a cluster of 4 Swarm Storage Nodes

threads = 400

maxConnections = 400

MaxConnectionsPerRoute = ( maxConnections / Total Swarm Storage Nodes )

Note: if you add more Gateways, be aware that all the parameters above need to be divided by the number of gateways you have in your environment.

Your Performance Tier has an option to use per-machine backup files, which is the recommended option, this increases the number of concurrent threads VBR uses , but in some scenario’s this can overwhelm your backup repository.

Example: if you setup a backup job to backup 2 VM’s and have this option enabled as well as 8 backup proxy threads then Veeam will use 128 concurrent connections to communicate with the backup repository.

Concurrent Connections = Backup Proxy Threads x AWS S3 SDK ( uses 8 threads per operation ) x Backup Job Total VM’s

Additional configurable parameters on the VBR side

Backup Proxy Settings

Max Concurrent Tasks per Backup Proxy , by default Veeam recommends this to be set to 2x the number of CPU cores in your VBR server. ( apply the same modifications on the VM backup proxy ).

Note: refer to official documentation

Network Traffic Throttling on the backup proxy

New in V12 is the ability to set multiple traffic rules per backup proxy

Object Storage Repository Settings

Limit the concurrent tasks against the backup repository if it is overwhelmed

Handling multi-VBA clients

Veeam recommends the use of VBR “managed mode” which provides network traffic rules via their backup proxies. In this mode, all data protection and administration tasks are performed by a backup administrator in Veeam Backup & Replication.

reference: https://helpcenter.veeam.com/docs/backup/agents/agents_infrastructure.html?ver=120

If you decide to use the standalone mode then the following simple example HAproxy scenario’s can provide you some level of protection against over-subscribing the object storage target.

Scenario 1: simple max connections ​

You can define maxconn at the backend side , ​

backend servers

server s1 192.168.30.10:80 check maxconn 30

After 30 concurrent connections the rest is queued up...​

You can also define how long clients are queued with the following directive:​

timeout queue 10s

If you timeout you get a 503, which Veeam will retry. ( up to a maximum of 40 mins )

Scenario 2 : Sliding window option​ , for burst traffic handling

frontend website

    bind :80

    stick-table  type ipv4  size 100k  expire 30s  store http_req_rate(10s)

    http-request track-sc0 src

    http-request deny deny_status 503 if { sc_http_req_rate(0) gt 20 }

    default_backend servers

Return 503 if the rate > 20 concurrent requests in the last 10s.​

  • No labels