Quantcast
Channel: Veeam Support Knowledge Base
Viewing all 4509 articles
Browse latest View live

Troubleshooting VDDK error 16053

$
0
0

Challenge

VMware backup jobs fail after update 3, whereas prior to update they have been working.

  • The jobs are using Network transport mode
  • Source Proxy is Windows 2008SP1/Windows 2008R2

The error message for all jobs in the GUI looks like this one:

Processing VM_Name Error: Failed to open VDDK disk [[datastore] VM_Name/VM_Name.vmdk] ( is read-only mode - [true] ) Logon attempt with parameters [VC/ESX: [hosname.local];Port: 443;Login: [administrator@vsphere.local];VMX Spec: [moref=vm-ref];Snapshot mor: [snapshot-ref];Transports: [nbd];Read Only: [true]] failed because of the following errors: Failed to open disk for read. Failed to upload disk. Agent failed to process method {DataTransfer.SyncDisk}.

Solution

This issue is related to some of the dll files in the Windows ZIP file for VDDK 6.5 with incorrect manifests, making them depend on two Visual C++ 9.0 versions, both 9.0.32709.4148 and 9.0.21022.8. This causes a failure to load vixDiskLibVim.dll with error code = 0x36b1, which means side-by-side configuration is incorrect.

Workaround

Edit failing jobs and configure them to use a proxy running Windows 2012/2012R2/2016 proxy.

 


Note: The steps to Verify and Correct this issue below are to be performed on the proxy which was used by the failing job.

Verify issue matches this KB:

  1. On the source proxy navigate to Veeam logs location (default %ProgramData%\Veeam\Backup)
  2. Open the folder that matches the name of the failing Job.
  3. Find the log file matching the nomenclature Agent.Job_Name.Source.VM_Name.vmdk.log.
  4. Open the file with any text editor and search for:
    VDDK error: 16053 (One or more required subsystems failed to initialize)

    Example snippet:
    [DD.MM.YYYY HH:MM:SS] < 12620> cli| ERR |Command 'Open' has failed.
    [DD.MM.YYYY HH:MM:SS] < 12620> cli| >>|VDDK error: 16053 (One or more required subsystems failed to initialize). Value: 0x0000000000003eb5
    [DD.MM.YYYY HH:MM:SS] < 12620> cli| >>|--tr:Failed to open virtual disk [Test_Vol1_LUN3] TEST/TEST.vmdk (flags: 4)
    [DD.MM.YYYY HH:MM:SS] < 12620> cli| >>|An exception was thrown from thread [12620].
  5. To further confirm, open event viewer and in Application logs search, Source: 'SideBySide' Event ID: '35'
    example event:
    eventvwr

How to correct this issue:

  1. Open Programs and Features and verify that Microsoft Visual C++ 2008 Redistributable Package (x64) is not installed.
  2. Download and install Microsoft Visual C++ 2008 Redistributable Package (x64) (https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=15336)
  3. Ensure that no other jobs are running, and reboot the proxy.
  4. Retry failed jobs.

More Information

Note: This KB article only applies if VDDK error 16053 is found in the logs. If this error is not found in the logs, please contact Veeam support for further troubleshooting.


See also: https://vdc-download.vmware.com/vmwb-repository/dcr-public/2ab18705-4960-45f8-88a5-830c5a308d9e/23ca4c1c-821f-4093-91f6-e38912977e24/vsphere-vddk-651-release-notes.html


How to use DiskSpd to simulate Veeam Backup & Replication disk actions

$
0
0

Challenge

This document contains information on how to use Microsoft© DiskSpd to simulate Veeam Backup & Replication disk actions to measure disk performance.

The test file created by DiskSpd does not contain any diagnostic information and must be removed manually after testing has concluded. All diagnostic information regarding the performance test is displayed in the command line. Please do not send the testfile.dat to support, as its contents will not help with troubleshooting.

DiskSpd and additional info can be found here: https://aka.ms/diskspd

Solution

Below are some details on the options and some simulations you can do to measure disk speed independently of Veeam. Please keep in mind as with all synthetic benchmarks real-world results may differ.

──────────────────────────────────────────────────────────
Common parameters
──────────────────────────────────────────────────────────

Usage: diskspd [options] target1 [ target2 [ target3 ...] ]

Target
Available targets:
·         File on a volume with an assigned letter: D:\testfile.dat
·         File on a CIFS/SMB share: \\nas\share\testfile.dat
·         File on an NFS share, provided you have mounted it to a disk letter with Client for NFS: N:\testfile.dat
·         Disk: #X where X is the number of the disk in Disk Management. You can use a local disk or one attached by iSCSI, and it does not matter if they are Online are Offline. In this mode diskspd reads or writes directly from/to the disk ("RAW").

You can specify multiple targets. This way you can simulate several jobs running at the same time.

Block size
-b specifies the size of a read or write operation.

For Veeam, this size depends on the job settings. By default, "Local" storage optimization setting is selected and this corresponds to 1MB block size in backups. However, every block of data is compressed (unless using the Decompress option) before it is written to the backup file, so the size is reduced. It is safe to assume that blocks compress on average down to half the size, so in most cases picking a 512KB block size is a good estimate.

If the job is using a different setting, WAN (256KB), LAN (512KB) or Local+ (4MB; 8MB for v8 and earlier), change the -b value accordingly to 128KB, 256KB or 4MB. And if the Decompress option is on don't halve the values.

File size
-c specifies the file size you need to create for testing. Typically 1 GB should be enough. Anything lower can be easily cached by hardware and thus yield incorrect results.

Duration
-d specifies the duration of the test. By default it does 5 seconds of warm up (statistics are not collected), then 10 seconds of the test. This is OK for a short test, but for more conclusive results run the test for at least 10 minutes (-d600).

Caching
-Sh disables Windows and hardware caching.


This flag should always be set. VeeamAgents always explicitly disable caching for I/O operations for greater reliability, even though this results in lower speed. Windows Explorer for example, does use the Cache Manager and in a very simple copy-paste test will get greater speeds than Veeam does, due to cached reads and lazy writes. That is why using Explorer is never a valid test.

──────────────────────────────────────────────────────────

Active full or forward incremental
C:\diskspd\x86fre> diskspd.exe -c1G -b512K -w100 -Sh -d600 D:\testfile.dat

-w100 indicates 100% writes and 0% reads. Sequential I/O is used by default.

IMPORTANT: Contents of 
testfile.dat will be destroyed without a warning.
──────────────────────────────────────────────────────────

Reverse incremental
C:\diskspd\x86fre> diskspd.exe -c1G -b512K -w67 -r4K -Sh -d600 D:\testfile.dat

-w67 indicates 67% writes and 33% reads to simulate 2 write and 1 read operations that happen in reverse incremental backup jobs.
-r4K enables random I/O that are 4KB aligned, for a more realistic simulation.

IMPORTANT: Contents of 
testfile.dat will be destroyed without a warning.

After the test has finished, take Total IO MB/s from the results and divide it by 3. This is because for every processed block Veeam needs to do 3 I/O operations, thus the effective speed is 3 times slower.

──────────────────────────────────────────────────────────

Transforms, merges, and other synthetic operations
Includes transformation of incrementals to rollbacks, merge operations in forever forward incremental backups and backup copy jobs, and creation of synthetic full backup files and GFS points.
 

C:\diskspd\x86fre
> diskspd.exe -c1G -b512K -w50 -r4K -Sh -d600 D:\testfile.dat

-w50 indicates 50% writes and 50% reads to simulate reading data from one file and writing that data into another (or in the case of transform, reading the same number of blocks from two files as are written to two other files).
-r4K enables random I/O that are 4KB aligned, for a more realistic simulation.

IMPORTANT: Contents of
 testfile.dat will be destroyed without a warning.

After the test has finished, take Total IO MB/s from the results and divide it by 2 (4 for transform to rollbacks). This is because for every processed block Veeam needs to do 2 I/O operations, thus the effective speed is 2 times slower. For transform to rollbacks, each block must be read out of the full backup file and written into the rollback before the corresponding block can be read out of the incremental and written into the full, which results in 4x I/O.
 
To estimate an expected time to complete the synthetic operation, in seconds:
For synthetic full backup and GFS points: divide the expected size of the new full backup file (typically the same as previous full backup files) by the effective speed.
For all other synthetic operations, add the sizes of all of the incremental files which will be merged or transformed, and then divide the resulting sum by the effective speed. Typically only the oldest incremental file is merged, whereas all incremental files are transformed to rollbacks.

──────────────────────────────────────────────────────────

Slow restore or Surebackup
This is typically when you're restoring from deduplication appliances with sub-optimal settings. See [1] and [2] for the recommended settings. As a workaround in case of slow restore, manually copy the backup files elsewhere (e.g. Veeam server), import and restore from there.

Worst case scenario where the backup file is heavily fragmented inside, which implies a lot of random read I/O:

C:\diskspd\x86fre> diskspd.exe -b512K -r4K -Sh -d600 \\nas\share\VeeamBackups\Job\Job2014-01-23T012345.vbk

-r4K enables random I/O that are 4KB aligned, for a more realistic simulation.

Best case scenario where the backup file is not fragmented inside (no parallel processing), which implies linear read I/O:
 
C:\diskspd\x86fre> diskspd.exe -b512K -Sh -d600 \\nas\share\VeeamBackups\Job\Job2014-01-23T012345.vbk

In both cases you need to pick an existing .vbk file as the target. Only read operations will be performed.

──────────────────────────────────────────────────────────

Direct disk access speed
C:\diskspd\x86fre> diskspd.exe -Sh -d600 #X
 
Where X is the number of disk that you see in Disk Management.

This will not overwrite any data, it is a safe test, and it works for Offline disks too. You can simulate and measure maximum possible reading speed in SAN or hot-add modes, however this of course will not take any VDDK overhead into account.
 

More Information

FAQ
Q: Can diskspd be used to stress-test NAS boxes for reliability ("specified network name is no longer available" errors in Veeam)
A: Unfortunately, no. If the SMB share disappears, diskspd will just ignore that issue. It is better to use Wireshark.

User-added image

Q: Active full starts fast but then gradually becomes slower and slower. Target agent runs on Windows 2008 (not R2).
A: This is a known (yet undocumented) performance degradation issue on Windows 2008. Upgrade to or deploy 2008 R2 (or newer). In case of a CIFS repository you can force some other 2008 R2 server to be used as gateway/proxying. The issue itself can be demonstrated with diskspd if you set it to run for several hours, then observe how the write rate slowly goes down in Resource Monitor.

Q: I am getting extremely high I/O speed like 4 GB/s in any test I try, even though I have set the -Sh flag, what's going on?
A: Most likely you're running diskspd on a Hyper-V VM, testing performance of a virtualised (.vhdx) disk, so the data is cached by the Hyper-V host. Run the test on the datastore where that .vhdx is located instead.

Troubleshooting VDDK error 16053

$
0
0

Challenge

VMware backup jobs fail after update 3, whereas prior to update they have been working.

  • The jobs are using Network transport mode
  • Source Proxy is Windows 2008SP1/Windows 2008R2

The error message for all jobs in the GUI looks like this one:

Processing VM_Name Error: Failed to open VDDK disk [[datastore] VM_Name/VM_Name.vmdk] ( is read-only mode - [true] ) Logon attempt with parameters [VC/ESX: [hosname.local];Port: 443;Login: [administrator@vsphere.local];VMX Spec: [moref=vm-ref];Snapshot mor: [snapshot-ref];Transports: [nbd];Read Only: [true]] failed because of the following errors: Failed to open disk for read. Failed to upload disk. Agent failed to process method {DataTransfer.SyncDisk}.

Solution

This issue is related to some of the dll files in the Windows ZIP file for VDDK 6.5 with incorrect manifests, making them depend on two Visual C++ 9.0 versions, both 9.0.32709.4148 and 9.0.21022.8. This causes a failure to load vixDiskLibVim.dll with error code = 0x36b1, which means side-by-side configuration is incorrect.

Workaround

Edit failing jobs and configure them to use a proxy running Windows 2012/2012R2/2016 proxy.

 


Note: The steps to Verify and Correct this issue below are to be performed on the proxy which was used by the failing job.

Verify issue matches this KB:

  1. On the source proxy navigate to Veeam logs location (default %ProgramData%\Veeam\Backup)
  2. Open the folder that matches the name of the failing Job.
  3. Find the log file matching the nomenclature Agent.Job_Name.Source.VM_Name.vmdk.log.
  4. Open the file with any text editor and search for:
    VDDK error: 16053 (One or more required subsystems failed to initialize)

    Example snippet:
    [DD.MM.YYYY HH:MM:SS] < 12620> cli| ERR |Command 'Open' has failed.
    [DD.MM.YYYY HH:MM:SS] < 12620> cli| >>|VDDK error: 16053 (One or more required subsystems failed to initialize). Value: 0x0000000000003eb5
    [DD.MM.YYYY HH:MM:SS] < 12620> cli| >>|--tr:Failed to open virtual disk [Test_Vol1_LUN3] TEST/TEST.vmdk (flags: 4)
    [DD.MM.YYYY HH:MM:SS] < 12620> cli| >>|An exception was thrown from thread [12620].
  5. To further confirm, open event viewer and in Application logs search, Source: 'SideBySide' Event ID: '35'
    example event:
    eventvwr

How to correct this issue:

  1. Open Programs and Features and verify that Microsoft Visual C++ 2008 Redistributable Package (x64) is not installed.
  2. Download and install Microsoft Visual C++ 2008 Redistributable Package (x64) (https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=15336)
  3. Ensure that no other jobs are running, and reboot the proxy.
  4. Retry failed jobs.

More Information

Note: This KB article only applies if VDDK error 16053 is found in the logs. If this error is not found in the logs, please contact Veeam support for further troubleshooting.


See also: https://vdc-download.vmware.com/vmwb-repository/dcr-public/2ab18705-4960-45f8-88a5-830c5a308d9e/23ca4c1c-821f-4093-91f6-e38912977e24/vsphere-vddk-651-release-notes.html

How to use DiskSpd to simulate Veeam Backup & Replication disk actions

$
0
0

Challenge

This document contains information on how to use Microsoft© DiskSpd to simulate Veeam Backup & Replication disk actions to measure disk performance.

The test file created by DiskSpd does not contain any diagnostic information and must be removed manually after testing has concluded. All diagnostic information regarding the performance test is displayed in the command line. Please do not send the testfile.dat to support, as its contents will not help with troubleshooting.

DiskSpd and additional info can be found here: https://aka.ms/diskspd

Solution

Below are some details on the options and some simulations you can do to measure disk speed independently of Veeam. Please keep in mind as with all synthetic benchmarks real-world results may differ.

──────────────────────────────────────────────────────────
Common parameters
──────────────────────────────────────────────────────────

Usage: diskspd [options] target1 [ target2 [ target3 ...] ]

Target
Available targets:
·         File on a volume with an assigned letter: D:\testfile.dat
·         File on a CIFS/SMB share: \\nas\share\testfile.dat
·         File on an NFS share, provided you have mounted it to a disk letter with Client for NFS: N:\testfile.dat
·         Disk: #X where X is the number of the disk in Disk Management. You can use a local disk or one attached by iSCSI, and it does not matter if they are Online are Offline. In this mode diskspd reads or writes directly from/to the disk ("RAW").

You can specify multiple targets. This way you can simulate several jobs running at the same time.

Block size
-b specifies the size of a read or write operation.

For Veeam, this size depends on the job settings. By default, "Local" storage optimization setting is selected and this corresponds to 1MB block size in backups. However, every block of data is compressed (unless using the Decompress option) before it is written to the backup file, so the size is reduced. It is safe to assume that blocks compress on average down to half the size, so in most cases picking a 512KB block size is a good estimate.

If the job is using a different setting, WAN (256KB), LAN (512KB) or Local+ (4MB; 8MB for v8 and earlier), change the -b value accordingly to 128KB, 256KB or 4MB. And if the Decompress option is on don't halve the values.

File size
-c specifies the file size you need to create for testing. Typically 1 GB should be enough. Anything lower can be easily cached by hardware and thus yield incorrect results.

Duration
-d specifies the duration of the test. By default it does 5 seconds of warm up (statistics are not collected), then 10 seconds of the test. This is OK for a short test, but for more conclusive results run the test for at least 10 minutes (-d600).

Caching
-Sh disables Windows and hardware caching.


This flag should always be set. VeeamAgents always explicitly disable caching for I/O operations for greater reliability, even though this results in lower speed. Windows Explorer for example, does use the Cache Manager and in a very simple copy-paste test will get greater speeds than Veeam does, due to cached reads and lazy writes. That is why using Explorer is never a valid test.

──────────────────────────────────────────────────────────

Active full or forward incremental
C:\diskspd\x86fre> diskspd.exe -c1G -b512K -w100 -Sh -d600 D:\testfile.dat

-w100 indicates 100% writes and 0% reads. Sequential I/O is used by default.

IMPORTANT: Contents of 
testfile.dat will be destroyed without a warning.
──────────────────────────────────────────────────────────

Reverse incremental
C:\diskspd\x86fre> diskspd.exe -c1G -b512K -w67 -r4K -Sh -d600 D:\testfile.dat

-w67 indicates 67% writes and 33% reads to simulate 2 write and 1 read operations that happen in reverse incremental backup jobs.
-r4K enables random I/O that are 4KB aligned, for a more realistic simulation.

IMPORTANT: Contents of 
testfile.dat will be destroyed without a warning.

After the test has finished, take Total IO MB/s from the results and divide it by 3. This is because for every processed block Veeam needs to do 3 I/O operations, thus the effective speed is 3 times slower.

──────────────────────────────────────────────────────────

Transforms, merges, and other synthetic operations
Includes transformation of incrementals to rollbacks, merge operations in forever forward incremental backups and backup copy jobs, and creation of synthetic full backup files and GFS points.
 

C:\diskspd\x86fre
> diskspd.exe -c1G -b512K -w50 -r4K -Sh -d600 D:\testfile.dat

-w50 indicates 50% writes and 50% reads to simulate reading data from one file and writing that data into another (or in the case of transform, reading the same number of blocks from two files as are written to two other files).
-r4K enables random I/O that are 4KB aligned, for a more realistic simulation.

IMPORTANT: Contents of
 testfile.dat will be destroyed without a warning.

After the test has finished, take Total IO MB/s from the results and divide it by 2 (4 for transform to rollbacks). This is because for every processed block Veeam needs to do 2 I/O operations, thus the effective speed is 2 times slower. For transform to rollbacks, each block must be read out of the full backup file and written into the rollback before the corresponding block can be read out of the incremental and written into the full, which results in 4x I/O.
 
To estimate an expected time to complete the synthetic operation, in seconds:
For synthetic full backup and GFS points: divide the expected size of the new full backup file (typically the same as previous full backup files) by the effective speed.
For all other synthetic operations, add the sizes of all of the incremental files which will be merged or transformed, and then divide the resulting sum by the effective speed. Typically only the oldest incremental file is merged, whereas all incremental files are transformed to rollbacks.

──────────────────────────────────────────────────────────

Slow restore or Surebackup
This is typically when you're restoring from deduplication appliances with sub-optimal settings. See [1] and [2] for the recommended settings. As a workaround in case of slow restore, manually copy the backup files elsewhere (e.g. Veeam server), import and restore from there.

Worst case scenario where the backup file is heavily fragmented inside, which implies a lot of random read I/O:

C:\diskspd\x86fre> diskspd.exe -b512K -r4K -Sh -d600 \\nas\share\VeeamBackups\Job\Job2014-01-23T012345.vbk

-r4K enables random I/O that are 4KB aligned, for a more realistic simulation.

Best case scenario where the backup file is not fragmented inside (no parallel processing), which implies linear read I/O:
 
C:\diskspd\x86fre> diskspd.exe -b512K -Sh -d600 \\nas\share\VeeamBackups\Job\Job2014-01-23T012345.vbk

In both cases you need to pick an existing .vbk file as the target. Only read operations will be performed.

──────────────────────────────────────────────────────────

Direct disk access speed
C:\diskspd\x86fre> diskspd.exe -Sh -d600 #X
 
Where X is the number of disk that you see in Disk Management.

This will not overwrite any data, it is a safe test, and it works for Offline disks too. You can simulate and measure maximum possible reading speed in SAN or hot-add modes, however this of course will not take any VDDK overhead into account.
 

More Information

FAQ
Q: Can diskspd be used to stress-test NAS boxes for reliability ("specified network name is no longer available" errors in Veeam)
A: Unfortunately, no. If the SMB share disappears, diskspd will just ignore that issue. It is better to use Wireshark.

User-added image

Q: Active full starts fast but then gradually becomes slower and slower. Target agent runs on Windows 2008 (not R2).
A: This is a known (yet undocumented) performance degradation issue on Windows 2008. Upgrade to or deploy 2008 R2 (or newer). In case of a CIFS repository you can force some other 2008 R2 server to be used as gateway/proxying. The issue itself can be demonstrated with diskspd if you set it to run for several hours, then observe how the write rate slowly goes down in Resource Monitor.

Q: I am getting extremely high I/O speed like 4 GB/s in any test I try, even though I have set the -Sh flag, what's going on?
A: Most likely you're running diskspd on a Hyper-V VM, testing performance of a virtualised (.vhdx) disk, so the data is cached by the Hyper-V host. Run the test on the datastore where that .vhdx is located instead.

Red Hat Enterprise Linux 7.5 is not supported by Veeam Agent for Linux 1.x and 2.0

$
0
0

Challenge

Using Veeam Agent for Linux on Red Hat Enterprise Linux (RHEL) 7.5 and its derivatives (CentOS 7.5, Oracle RHCK 7.5) causes the operating system to crash during backup snapshot creation.

Cause

Veeamsnap module used in Veeam Agent for Linux 2.0 and earlier is not compatible with RHEL 7.5 kernel 3.10.0-862

Solution

Please submit a support case in order to obtain the hotfix

How to use DiskSpd to simulate Veeam Backup & Replication disk actions

$
0
0

Challenge

This document contains information on how to use Microsoft© DiskSpd to simulate Veeam Backup & Replication disk actions to measure disk performance.

The test file created by DiskSpd does not contain any diagnostic information and must be removed manually after testing has concluded. All diagnostic information regarding the performance test is displayed in the command line. Please do not send the testfile.dat to support, as its contents will not help with troubleshooting.

DiskSpd and additional info can be found here: https://aka.ms/diskspd

Solution

Below are some details on the options and some simulations you can do to measure disk speed independently of Veeam. Please keep in mind as with all synthetic benchmarks real-world results may differ.

──────────────────────────────────────────────────────────
Common parameters
──────────────────────────────────────────────────────────

Usage: diskspd [options] target1 [ target2 [ target3 ...] ]

Target
Available targets:
·         File on a volume with an assigned letter: D:\testfile.dat
·         File on a CIFS/SMB share: \\nas\share\testfile.dat
·         File on an NFS share, provided you have mounted it to a disk letter with Client for NFS: N:\testfile.dat
·         Disk: #X where X is the number of the disk in Disk Management. You can use a local disk or one attached by iSCSI, and it does not matter if they are Online are Offline. In this mode diskspd reads or writes directly from/to the disk ("RAW").

You can specify multiple targets. This way you can simulate several jobs running at the same time.

Block size
-b specifies the size of a read or write operation.

For Veeam, this size depends on the job settings. By default, "Local" storage optimization setting is selected and this corresponds to 1MB block size in backups. However, every block of data is compressed (unless using the Decompress option) before it is written to the backup file, so the size is reduced. It is safe to assume that blocks compress on average down to half the size, so in most cases picking a 512KB block size is a good estimate.

If the job is using a different setting, WAN (256KB), LAN (512KB) or Local+ (4MB; 8MB for v8 and earlier), change the -b value accordingly to 128KB, 256KB or 4MB. And if the Decompress option is on don't halve the values.

File size
-c specifies the file size you need to create for testing. Typically 1 GB should be enough. Anything lower can be easily cached by hardware and thus yield incorrect results.

Duration
-d specifies the duration of the test. By default it does 5 seconds of warm up (statistics are not collected), then 10 seconds of the test. This is OK for a short test, but for more conclusive results run the test for at least 10 minutes (-d600).

Caching
-Sh disables Windows and hardware caching.


This flag should always be set. VeeamAgents always explicitly disable caching for I/O operations for greater reliability, even though this results in lower speed. Windows Explorer for example, does use the Cache Manager and in a very simple copy-paste test will get greater speeds than Veeam does, due to cached reads and lazy writes. That is why using Explorer is never a valid test.

──────────────────────────────────────────────────────────

Active full or forward incremental
C:\diskspd\x86fre> diskspd.exe -c1G -b512K -w100 -Sh -d600 D:\testfile.dat

-w100 indicates 100% writes and 0% reads. Sequential I/O is used by default.

IMPORTANT: Contents of 
testfile.dat will be destroyed without a warning.
──────────────────────────────────────────────────────────

Reverse incremental
C:\diskspd\x86fre> diskspd.exe -c1G -b512K -w67 -r4K -Sh -d600 D:\testfile.dat

-w67 indicates 67% writes and 33% reads to simulate 2 write and 1 read operations that happen in reverse incremental backup jobs.
-r4K enables random I/O that are 4KB aligned, for a more realistic simulation.

IMPORTANT: Contents of 
testfile.dat will be destroyed without a warning.

After the test has finished, take Total IO MB/s from the results and divide it by 3. This is because for every processed block Veeam needs to do 3 I/O operations, thus the effective speed is 3 times slower.

──────────────────────────────────────────────────────────

Transforms, merges, and other synthetic operations
Includes transformation of incrementals to rollbacks, merge operations in forever forward incremental backups and backup copy jobs, and creation of synthetic full backup files and GFS points.
 

C:\diskspd\x86fre
> diskspd.exe -c1G -b512K -w50 -r4K -Sh -d600 D:\testfile.dat

-w50 indicates 50% writes and 50% reads to simulate reading data from one file and writing that data into another (or in the case of transform, reading the same number of blocks from two files as are written to two other files).
-r4K enables random I/O that are 4KB aligned, for a more realistic simulation.

IMPORTANT: Contents of
 testfile.dat will be destroyed without a warning.

After the test has finished, take Total IO MB/s from the results and divide it by 2 (4 for transform to rollbacks). This is because for every processed block Veeam needs to do 2 I/O operations, thus the effective speed is 2 times slower. For transform to rollbacks, each block must be read out of the full backup file and written into the rollback before the corresponding block can be read out of the incremental and written into the full, which results in 4x I/O.
 
To estimate an expected time to complete the synthetic operation, in seconds:
For synthetic full backup and GFS points: divide the expected size of the new full backup file (typically the same as previous full backup files) by the effective speed.
For all other synthetic operations, add the sizes of all of the incremental files which will be merged or transformed, and then divide the resulting sum by the effective speed. Typically only the oldest incremental file is merged, whereas all incremental files are transformed to rollbacks.

──────────────────────────────────────────────────────────

Slow restore or Surebackup
This is typically when you're restoring from deduplication appliances with sub-optimal settings. See [1] and [2] for the recommended settings. As a workaround in case of slow restore, manually copy the backup files elsewhere (e.g. Veeam server), import and restore from there.

Worst case scenario where the backup file is heavily fragmented inside, which implies a lot of random read I/O:

C:\diskspd\x86fre> diskspd.exe -b512K -r4K -Sh -d600 \\nas\share\VeeamBackups\Job\Job2014-01-23T012345.vbk

-r4K enables random I/O that are 4KB aligned, for a more realistic simulation.

Best case scenario where the backup file is not fragmented inside (no parallel processing), which implies linear read I/O:
 
C:\diskspd\x86fre> diskspd.exe -b512K -Sh -d600 \\nas\share\VeeamBackups\Job\Job2014-01-23T012345.vbk

In both cases you need to pick an existing .vbk file as the target. Only read operations will be performed.

──────────────────────────────────────────────────────────

Direct disk access speed
C:\diskspd\x86fre> diskspd.exe -Sh -d600 #X
 
Where X is the number of disk that you see in Disk Management.

This will not overwrite any data, it is a safe test, and it works for Offline disks too. You can simulate and measure maximum possible reading speed in SAN or hot-add modes, however this of course will not take any VDDK overhead into account.
 

More Information

FAQ
Q: Can diskspd be used to stress-test NAS boxes for reliability ("specified network name is no longer available" errors in Veeam)
A: Unfortunately, no. If the SMB share disappears, diskspd will just ignore that issue. It is better to use Wireshark.

User-added image

Q: Active full starts fast but then gradually becomes slower and slower. Target agent runs on Windows 2008 (not R2).
A: This is a known (yet undocumented) performance degradation issue on Windows 2008. Upgrade to or deploy 2008 R2 (or newer). In case of a CIFS repository you can force some other 2008 R2 server to be used as gateway/proxying. The issue itself can be demonstrated with diskspd if you set it to run for several hours, then observe how the write rate slowly goes down in Resource Monitor.

Q: I am getting extremely high I/O speed like 4 GB/s in any test I try, even though I have set the -Sh flag, what's going on?
A: Most likely you're running diskspd on a Hyper-V VM, testing performance of a virtualised (.vhdx) disk, so the data is cached by the Hyper-V host. Run the test on the datastore where that .vhdx is located instead.

Red Hat Enterprise Linux 7.5 is not supported by Veeam Agent for Linux 1.x and 2.0

$
0
0

Challenge

Using Veeam Agent for Linux on Red Hat Enterprise Linux (RHEL) 7.5 and its derivatives (CentOS 7.5, Oracle RHCK 7.5) causes the operating system to crash during backup snapshot creation.

Cause

Veeamsnap module used in Veeam Agent for Linux 2.0 and earlier is not compatible with RHEL 7.5 kernel 3.10.0-862

Solution

Please submit a support case in order to obtain the hotfix

The specified network name is no longer available

$
0
0

Challenge

When accessing backup files on a CIFS (SMB) repository, Veeam Backup and Replication reports either of the following errors:

The specified network name is no longer available. (code 59, 0x8007003B)
An unexpected network error occurred. (code 64, 0x80070040)

Veeam Backup & Replication uses SMB connections for backup repositories, guest processing, and when first adding a Windows server to the Backup Infrastructure. This KB only addresses error messages that occur in the context of a backup file path, such as:

The specified network name is no longer available. Failed to read data from the file [\\10.0.0.81\backups\SQL VM New\SQL VM New2015-09-23T200441.vbk].
 


Note: If the failure is occurring in a tape job and no UNC path is specified in the error message, please contact Veeam Support.

Cause

These error messages are passed directly from Microsoft Windows, and indicate that some unknown problem led to a sudden failure of the connection between the repository gateway (acting as Server Message Block client) and the SMB server (typically a NAS appliance).

User-added image

There are many possible reasons the SMB connection might fail: 

  • Network issues are a common reason, constituting a potentially unlimited variety of hardware failure or network hardware configuration problems; such issues may or may not involve packet loss.
  • Simple firewalls may block a connection consistently, while advanced firewalls might destroy an existing connection seemingly at random or under very specific conditions.
  • Either client or server might close the connection due to one of a number of timeouts or retry limits either at the SMB protocol layer or the underlying TCP layer; such limits are often encountered due to network congestion or excessive load on the storage.
  • The NAS may stop responding entirely due to hardware or software issues; it may in some cases be misconfigured. Appliances using post-process deduplication may stop responding if the process starts prematurely.

Solution

Common Workarounds

  • If the repository share is located on a Windows server, try creating a Windows repository on that server instead of a CIFS (SMB) repository.
  • Reboot both the SMB client machine (repository gateway) and the SMB server (NAS).
  • If other storage is available, try writing the backup to the other storage as both verification of the problem and as a temporary workaround.
  • Consider reconfiguring the NAS as iSCSI or an NFS mount on a separate Linux repository server, depending on what is supported by the NAS. This change may involve data loss. iSCSI usually offers the best performance.
  • Writing backup files to SMB shares over a slow or unreliable network, such as a WAN connection, is not recommended. Deploy a gateway server with a fast connection to the share.
  • To rule out interference from a firewall, temporarily disable any software firewalls (including certain antivirus products) on the SMB client or server, as well as any hardware firewalls between them.

Registry Settings

These registry values must be created on the the SMB gateway, which is specified in the repository settings as “Gateway server”. If the gateway is set to “automatic”, add these registry values to all Windows servers managed by Veeam Backup & Replication.

  • NetUseShareAccess
    For Veeam B&R 8.0.0.917 or later, the following registry value allows Data Movers to open backup files by a resilient method similar to the Windows net use command.
     

    Key: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\
    DWORD: NetUseShareAccess
    Value: 1
     

    Note: If credentials are required, specify Domain\User or Host\User in the repository settings. .\User credentials are not supported with NetUseShareAccess. For example, specify “NAS-01\Admin” instead of “.\Admin”.
     
  • SessTimeout
    This increases the amount of time the Windows SMB client will wait for a response from an SMB server before it aborts the connection. The default timeout is one minute.
    Note: Reboot Required
     

    Key: HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\
    DWORD: SessTimeout
    Value: 600
     

    Note: This is a value in seconds. Try a value of 600 decimal (10 minutes).
     
  • TcpMaxDataRetransmissions
    This increases the number of times the Windows TCP implementation will retransmit a data segment before it aborts the connection.
    Note: Reboot Required
     

    Key: HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    DWORD: TcpMaxDataRetransmissions
    Value: 10 (Default: 5)

Additional Troubleshooting

  • Open the repository settings and enable Limit combined data rate. If you can measure the existing data rate, start with a limit between 50% and 70% of that value to verify that reducing throughput prevents the error. If the network is still congested after limiting the repository data rate, and the source of the congestion is due to other Veeam processes, enable throttling for the relevant connections. 
  • Change the gateway server in the repository settings to test whether particular routes to the share perform better than others. For example, if connections from any Windows server on an ESXi host tend to fail, but connections from a physical Windows machine do not fail, the root cause probably involves that ESXi host or its network connection. 
  • If the SMB connection consistently fails after 10 hours, it may be due to expiration of a Kerberos service ticket. The most reliable workaround is to create non-domain credentials on the NAS, then specify those credentials in the repository settings. For more information and other possible workarounds, see this SAMBA mailing list discussion and the Authentication Expiration Timer heading in this MSDN blog post.

How to forcibly stop jobs that are stuck in ‘stopping’ status

$
0
0

Challenge

This KB documents the process for forcibly terminating all jobs for a given Veeam Backup & Replication server. The steps outlined in this KB will terminate all jobs.

Note: Please understand that some jobs may take some time to stop, please allow up to 60 minutes for a jobs to stop on their own before forcibly terminating them. If you are not sure if a job is stuck, please create a Veeam Support case and provide logs for the job.

Solution

The problem may occur because a process or task that the job is waiting for has not been completed. Such a task can be snapshot removal. Therefore, as the first step it is recommended to check the vSphere Client to see if there is a snapshot removal process pending/working on the vSphere side.

The following steps will forcibly terminate ALL jobs/restores.

  1. Close the Veeam Backup & Replication console.
  2. Stop all services that begin with the word Veeam.
  3. Open the Task Manager on the Veeam Server and kill all VeeamAgent.exe processes.
    Note: Some VeeamAgent.exe process will be located on Source Proxies and Windows Repositories that are not the Veeam Server.
  4. Wait 5-10 minutes for the tasks to timeout and fail. 
  5. Remove snapshots from VM(s) that are part of the stuck jobs. (If they have not been already removed).
  6. Start the services that were stopped in step 2.

***Repeat Steps 2 –4 on each Proxy and Repository used by the Job.

Note. If you use the Virtual Appliance (HOTADD) mode, before removing the snapshots make sure there are no stuck disks on the Veeam Backup server or one of the backup proxies. Otherwise, the snapshots can be orphaned. https://vee.am/kb1775 

 



If the jobs are still listed as “Stopping” after performing the steps outlined above please proceed through the following steps.
For information on how to apply SQL scripts please review https://vee.am/kb1443.

  1. Backup the Veeam database. (http://vee.am/kb1471)
  2. Run the following query against the VeeamBackup database:
    SET QUOTED_IDENTIFIER ON
    UPDATE [Backup.Model.JobSessions]
    SET [state] = '-1'
    WHERE [state] != '-1'

Note: If running this under SQL Server Management Studio, typically the statement SET QUOTED_IDENTIFIER ON is not needed. However, if using SQLCMD, it is almost always required, else the query will fail.

Once run, you should see a specified number of rows reported affected by the query. Allow up to 60 second for the UI to update to reflect this.

Removing Stuck VMDK’s from the Veeam Proxy

$
0
0

Challenge

A VM that was processed by Veeam is found to require consolidation, yet consolidation attempts fail.

or

A VM that was processed by Veeam is found to have an orphaned snapshot.

 

Cause

This can occur when Virtual Applicane Mode (HOTADD) is used due to:

  • The command to release the virtual machines's disk from the proxy is not processed by VMware.
  • The Veeam server crashes while processing a virtual machine.
  • Jobs running within Veeam are forced to stop, and those jobs were using Virtual Appliance Mode (HOTADD).
  • A backup or replication job creating a snapshot on the backup proxy while the proxy is being used by another job. (Note: It is advised to build dedicated Proxies, and not backup or replicate them

Solution

 

Before beginning ensure that all jobs have stopped. This way the only disks that will be found attached to proxies will be the proxy's own disks and ones that need to be removed.
Identify Problem VMs

  1. Using a vSphere Client find any virtual machines which are displaying a warning that consolidation is needed.

     
  2. Perform consolidation, and note which virtual machines continue to have a warning regarding consolidation.


Find Stuck HOTADDed Disks

Review the settings of each Veeam Proxy looking for any disks which match the following:

  • Name of VMDK does not match the proxy, and matches a VM identified in the previous section.
  • Disk has a Disk Mode of [Independent - NonPersistent]
    Note: If the proxy is used as a Target Proxy for replication, the replica disks will be attached as Dependant.

Release Stuck HOTADDed Disks

Once you have found a disk HOTADDed to a proxy which needs to be released perform the following steps to release it.

  1. Click the symbol to select the disk for removal.

    Note: Do not check the box to delete files from datastore!
  2. Click [OK] to Confirm removal.
  3. After the disk is released from the proxy, attempt Consolidation again.

More Information

If you find that a specific proxy continues have issues with disks becoming stuck HOTADDed to it, please review: https://www.veeam.com/kb1882

For more information regarding orphaned snapshots please read: https://kb.vmware.com/s/article/1005049

Item is not suitable for restore

$
0
0

Challenge

Upon attempt to recover LVM PV or LV from backup using Agent for Linux recovery media ‘Item is not suitable for restore’ error is thrown if ‘Restore whole disk from…’ option is selected for target disk:
User-added image
User-added image
User-added image
User-added image

 

Solution

Navigate to desired PV or LV in backup, select it and use ‘Restore volume to…’ option instead:

User-added image
User-added image
User-added image
User-added image
User-added image
User-added image


 

Removing Stuck VMDK’s from the Veeam Proxy

$
0
0

Challenge

A VM that was processed by Veeam is found to require consolidation, yet consolidation attempts fail.

or

A VM that was processed by Veeam is found to have an orphaned snapshot.

 

Cause

This can occur when Virtual Applicane Mode (HOTADD) is used due to:

  • The command to release the virtual machines's disk from the proxy is not processed by VMware.
  • The Veeam server crashes while processing a virtual machine.
  • Jobs running within Veeam are forced to stop, and those jobs were using Virtual Appliance Mode (HOTADD).
  • A backup or replication job creating a snapshot on the backup proxy while the proxy is being used by another job. (Note: It is advised to build dedicated Proxies, and not backup or replicate them

Solution

 

Before beginning ensure that all jobs have stopped. This way the only disks that will be found attached to proxies will be the proxy's own disks and ones that need to be removed.
Identify Problem VMs

  1. Using a vSphere Client find any virtual machines which are displaying a warning that consolidation is needed.

     
  2. Perform consolidation, and note which virtual machines continue to have a warning regarding consolidation.


Find Stuck HOTADDed Disks

Review the settings of each Veeam Proxy looking for any disks which match the following:

  • Name of VMDK does not match the proxy, and matches a VM identified in the previous section.
  • Disk has a Disk Mode of [Independent - NonPersistent]
    Note: If the proxy is used as a Target Proxy for replication, the replica disks will be attached as Dependant.

Release Stuck HOTADDed Disks

Once you have found a disk HOTADDed to a proxy which needs to be released perform the following steps to release it.

  1. Click the symbol to select the disk for removal.

    Note: Do not check the box to delete files from datastore!
  2. Click [OK] to Confirm removal.
  3. After the disk is released from the proxy, attempt Consolidation again.

More Information

If you find that a specific proxy continues have issues with disks becoming stuck HOTADDed to it, please review: https://www.veeam.com/kb1882

For more information regarding orphaned snapshots please read: https://kb.vmware.com/s/article/1005049

Cannot connect to Virtual Proxy during VMware backup

$
0
0

Challenge

Attempting to connect via RDP to a Veeam Proxy VM in VMware during a Virtual Appliance (hot-add) backup fails.

Cause

This occurs due to a hung backup job utilizing that specific proxy, and that proxy is not configured to have automount disabled.

Solution

In an Administrator Command Prompt run the following commands:

  1. diskpart
  2. automount disable
  3. automount scrub

Example:

User-added image

 

More Information

Note: If this issue is occuring on Domain Controller which has been configured as a Veeam Proxy, DO NOT perform these steps. Disabling automount on a Domain Controller will cause Application-Aware Processing to fail (http://www.veeam.com/kb1697). It is not advisable to configure a Domain Controller as a Veeam Proxy.

 

VSS errors related to NTDS writer failures

$
0
0

Challenge

Veeam Backup & Replication job using Application-Aware Processing to process a Domain Controller fails with one the following errors:

Unable to release guest. Details: Unfreeze error: [Backup job failed. Cannot create a shadow copy of the volumes containing writer's data. A VSS critical writer has failed. Writer name: [NTDS]. Class ID: [{b2014c9e-8711-4c5c-a5a9-3cf384484757}]. Instance ID: [{66fddc15-0e4c-4a2a-ad31-32eaf6dae8a3}]. Writer\'s state: [VSS_WS_FAILED_AT_POST_SNAPSHOT]. Error code: [0x800423f4].]
Error: VSSControl: 0 Backup job failed.
Cannot create a shadow copy of the volumes containing writer's data.
Cannot prepare the [NTDS] data to a subsequent restore operation.
Cannot process NTDS data.
Cannot create a backup copy of the BCD.
Error: VSSControl: -1 Backup job failed.
Cannot create a shadow copy of the volumes containing writer's data.
Cannot prepare the [NTDS] data to a subsequent restore operation.
Cannot process NTDS data.
Cannot create a backup copy of the BCD. Cannot get [BcdStore] object. COM error: Code: 0xffffffff

Solution

The actions listed in this section are to be performed within the Guest OS of the DC that is having these issues.

The cause is most likely one of the following. If a listed troubleshooting step requires attention, test the Veeam job after performing that troubleshooting task, before proceeding on to further troubleshooting steps.

 


Verify that the NTDS VSS writer is stable.

From an elevated command prompt run the following command:

vssadmin list writers


The results will appear as:

Writer name: 'NTDS'
Writer Id: {b2014c9e-8711-4c5c-a5a9-3cf384484757}
Writer Instance Id: {ee24b741-eaf7-4663-8f95-b92ae8c5e164}
State: [1] Stable
Last error: No error


If the NTDS writer is not listed as "State: [1]Stable", reboot the DC (Domain Controller).

 


Verify that Automatic mounting of new volumes enabled.

From a Run prompt (Win+R) run the program 'diskpart'.

From within DiskPart run the following command.

automount


If the results do not show “Automatic mounting of new volumes enabled.” Run the following command:

automount enable

 


Verify that there are no .bak keys in the ProfileList within the Registry.

Open the Registry Editor (regedit.exe)

Within the registry navigate to:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList


There will be a list of Keys, you must remove any ending in .bak
User-added image

More Information

The Majority of cases are resolved uses the above 3 troubleshooting steps. However in rare cases the WMI repository must be rebuilt. To do this please refer to the following article:
http://blogs.technet.com/b/askperf/archive/2009/04/13/wmi-rebuilding-the-wmi-repository.aspx

Using a CA-signed server certificate in the Veeam Agent management infrastructure

$
0
0

Challenge

To allow communications between Veeam Agents and VBR, TLS certificates are used. By default, Veeam Backup & Replication uses a self-signed certificate.

User-added image

Solution

In order to use a certificate signed by Certification Authority (CA), the following requirements should be met:

  • Veeam Agents must trust the Certification Authority and the VBR signed certificate (they must be added to the Trusted Root Certification Authority store on the clients)
  • Certificate revocation List (CRL) should be accessible from Veeam Agents and VBR server

A certificate signed by Certification Authority should have the following key usage to sign and deploy child certificates on Veeam Agents:

  • Digital Signature
  • Certificate Signing
  • Off-line CRL Signing
  • CRL Signing (86)

User-added image

For example a subordinate CA Certificate template in Windows has the required key usages:

User-added image

After applying the signed certificate on the VBR server according to the User Guide, on the next job run Veeam Agents will receive child certificates. The resulting certification path will look like this:

User-added image

More Information

Note: Veeam Agent for Microsoft Windows version 2.1 has a known issue with CRL check if a signed certificate is installed on the VBR server. Please contact technical support in order to obtain a fix.


How to Use the Veeam Backup Validator

$
0
0

Challenge

This article will document how to use the Veeam Backup Validator command line tool.

Note: Some command line options shown below are only available in v8 and v9. Previous versions had reduced functionality. To see what options are available, execute the command line application with the parameter /?.

Solution

The Veeam Backup Validator can be found in the installation folder for Veeam Backup & Replication.
Default Install Path: C:\Program Files\Veeam\Backup and Replication\Backup

If the path was changed on install, you can find the path in the registry:
[HKLM\SOFTWARE\Veeam\Veeam Backup and Replication] CorePath


Veeam.Backup.Validator.exe /backup:backupname|backupid [/vmname:vmname]
[/point:pointid] [/date:pointdate] [/time:pointtime] [/silence]
[/skip] [/report:reportpath [/format:xml|html]]
Veeam.Backup.Validator.exe /file:backupfile{1..*} [/vmname:vmname] [/silence] [/skip]
[/report:reportpath [/format:xml|html]] [/username:username] [/password:password]

Parameters:

  • /? - Displays help
  • /backup - Specifies backup name or backup ID
  • /vmname - Specifies one or more VM names (empty value for all VMs)
  • /point - Specifies restore point ID
  • /date - Specifies restore point date
  • /time - Specifies restore point time
  • /silence - Enables silence output mode
  • /skip - Skips specified VMs
  • /report - Generates HTML report at the specified path
  • /file - Specifies one or more backup files (VBM, VBK, VIB, VLB)
  • /format - Specified report format (HTML, XML)
  • /username - Specify username for network share access
  • /password - Specify password for network share access

Examples:

  • Validates the virtual machines with names "W2008", "W2008R2_DC" and "W2K" in the last backup with name "Backup Job 1_imported".
    Veeam.Backup.Validator.exe /backup:"Backup Job 1_imported" /vmname:W2008  /vmname:W2008R2_DC /vmname:W2K
  • Validates all virtual machines in the last backup with ID: 3942788C-B309-4FA4-A111-A4C87B3EC63D.
    Veeam.Backup.Validator.exe /backup:3942788C-B309-4FA4-A111-A4C87B3EC63D
  • Validates a virtual machine with name "Windows 8" in the last backup "Backup Job 1" that has been created on specified day.
    Veeam.Backup.Validator.exe /backup:"Backup Job 1" /vmname:"Windows 8" /date:05.12.2012
  • Validates a virtual machine with name "VM1" in the last backup of "Backup Job 2" that has been created around 16:00 on specified day.
    Veeam.Backup.Validator.exe /backup:"Backup Job 2" /vmname:"VM1" /date:"05.12.2012" /time "16:00"
  • Validates a virtual machine with name "VM2" in VBM-file (backup meta file).
    Veeam.Backup.Validator.exe /file:"C:\Backup\VM2_Backup.vbm" /vmname:"VM2"
  • Validates all virtual machines in VBK-file (backup file).
    Veeam.Backup.Validator.exe /file:"C:\Backup\VM2_Backup.vbk"
  • Validates a virtual machine with name "VM3" in the last backup of "Backup Job 1" and creates HTML-report.
    Veeam.Backup.Validator.exe /backup:"Backup Job 1" /vmname:"VM3" /report:"D:\Reports\Backup_Job_1_Validate_30_09_2014.html"
  • Validates a virtual machine with name "VM3" in the last backup of "Backup Job 1" and creates XML-report.
    Veeam.Backup.Validator.exe /backup:"Backup Job 1" /vmname:"VM3" /report:"D:\Reports\Backup_Job_1_Validate_30_09_2014.xml" /format:xml
  • Validates all virtual machines in VBK-file (backup file) which resides on host 192.168.0.121 in share folder Data.
    Veeam.Backup.Validator.exe /file:"\\192.168.0.121\Data\vbkname.vbk" /username:192.168.0.121\Admin /password:MyPassword

More Information

Note:

  1. The date format that must be used is based on the regional settings of the computer the tool is run on. If the system is configured to have mm.dd.yyyy, as opposed to dd.mm.yyyy, please use that date format
  2. Backup Validator must be started with Administrator privileges
  3. When files are located on network share you need to specify the whole path (ex.: \\192.168.1.5\TestShare\Empty VM encryptedD2017-09-22T172639.vbk).
  4. Mapped network drives (net use z: \\192.168.1.5\TestShare) are not supported.

How to collect and submit logs for Veeam ONE

$
0
0

Challenge

In some cases, logs are requested by Veeam Support to help diagnose issues.

Cause

Follow the steps below to collect and upload the log files for further analysis.

Solution

Export Logs

  1. In the Veeam ONE Monitor console navigate to [Options]>[Server Settings]>[Other Settings]>[Launch Support Utility]

    or

    Run C:\Program Files\Common Files\Veeam\Veeam ONE Settings\VeeamOneSettings.exe
  2. In the lower left corner click Export Logs 
  3. You will be prompted to select a location to export the logs to. (Exporting logs may take a while.)

 


Attach Logs to Support Case

Attach the generated log bundle to your case.

Note: If the total attachment size is under 3.5MB, you will be able to attach it to your e-mail reply.

 

Upload Logs to Veeam Support FTP

If none of these options are working, or you would prefer to upload logs via FTP, please notify Veeam Support and an engineer will provide FTP credentials for the case.

Critical Note: You must notify the Veeam Support Engineer when the logs have been uploaded.

Note: Internet Explorer, Firefox, or any other browser will not work for the FTP upload.

  1. Open Windows\File Explorer.
    User-added image
  2. Paste URL with credentials.
    User-added image
  3. Drag and Drop the Zipped folder or individual logs into the browser.
    User-added image
  4. Once completed, update your existing support case to inform us that the logs have been successfully uploaded to ensure the quickest review and response.

More Information

Below are the relative log path lists for Veeam ONE. If there are difficulties compiling the logs via the Veeam ONE support tool, you can gather the files from the appropriate directories below and provide Veeam Support a .zip file copy.


For versions: 7.x, 8.x, 9.x:

  • Veeam ONE Monitor
    C:\Users\<USER>\AppData\Local\Veeam\Veeam ONE Monitor\
     
  • Veeam Reporter\Business View Service logs
    C:\Users\<USER>\AppData\Local\Veeam\Veeam ONE\
     
  • Veeam Reporter Web logs
    %ProgramFiles%\Veeam\Veeam ONE\Veeam ONE Reporter Web\Veeam\Veeam ONE Reporter\
     
  • Veeam Business View Web logs
    %ProgramFiles%\Veeam\Veeam ONE\Veeam ONE Business View Web\Generated\
     
  • VeeamOneSettings
    C:\Users\<USER>\AppData\Local\Veeam\VeeamOneSettings\

For version 9.5 and later:

  • Veeam ONE Monitor
    %ProgramData%\Veeam\Veeam ONE Monitor\Logs\
     
  • Veeam Reporter\Business View Service logs
    %ProgramData%\Veeam\Veeam ONE\
     
  • Veeam Reporter Web logs
    %ProgramFiles%\Veeam\Veeam ONE\Veeam ONE Reporter Web\Veeam\Veeam ONE Reporter\
     
  • Veeam Business View Web logs
    %ProgramFiles% \Veeam\Veeam ONE\Veeam ONE Business View Web\Generated\
     
  • VeeamOneSettings
    %ProgramData%\Veeam\VeeamOneSettings\

If you have any questions, contact Veeam Support.

Veeam Backup & Replication console slow or unresponsive

$
0
0

Challenge

The Veeam Backup & Replication console is slow to respond when switching between different views. The issue is more noticeable when attempting to search through the history of jobs.

Cause

In rare cases the VeeamBackup SQL DB can have many thousands of previous task sessions which causes queries run by the console to be delayed.

Solution

Note: If you are using Veeam Backup & Replication 9.5 U3 (9.5.0.1536), and are observing slow GUI performance within the console, this may be related to a known issue found only in 9.5.0.1536. Please open a support case with Veeam Support, and request fix 123198.


There are two parts to resolving this, one resolves the issue in the short term by removing old sessions from the SQL DB, the other is to limit how many sessions are stored in the SQL DB.


Clear old job sessions

Notes:

  • SQL Management Studio is required to perform this task. All jobs must be stopped.
  • This stored procedure removes sessions from the database, if the database contains many session entries this may take a very long time (hours). Please plan accordingly.

 

  1. Stop all Veeam services on the Veeam Backup Server.
  2. Connect to the SQL instance hosting the VeeamBackup database.
  3. Create a backup of the VeeamBackup database. (http://www.veeam.com/kb1471)
  4. Expand the DB to Programmability > Stored Procedures > dbo.DropStoppedOldJobSessions
  5. Right click > Execute... > in the window that appears enter how many days you want to keep
  6. Press OK to execute, it will report “Query executed successfully.” when it completes.
  7. Start all Veeam services.

User-added image

 


Changing Session history retention

The sessions to be stored in the configuration database are controlled by retention defined in number of weeks. If you have many jobs running often the default setting may cause the database to retain many entries. You can specify session history settings within the Veeam Backup & Replication console.

  1. From the main menu, select General Options.
  2. Click the History tab.
  3. In the Sessions section, specify the number of sessions to display in the Sessions list of the History view.
  4. In the Session history retention section, specify the number of weeks for which Veeam Backup & Replication must keep session information in the configuration database.

User-added image

VMware Virtual Server rescan failed with “Could not create SSL/TLS secure channel” error

$
0
0

Challenge

When trying to add or to rescan VMware Virtual Server you get the “The request was aborted: Could not create SSL/TLS secure channel” error message in Veeam shell. 

Cause

The issue will happen during TLS handshake between Veeam server and VMware Virtual Server if its certificate signature is generated by algorithm which is not supported by OS of Veeam server. Client sends RST and terminates TCP session with VMware Virtual Server because algorithm used for generating VMware Virtual Server certificate signature is not listed in the first “Client hello” message. Following OS are affected: Windows Server 2008R2, Windows Server 2012, Windows Server 2012R2.
Wireshark analysis example: https://blogs.msdn.microsoft.com/friis/2012/08/29/tls-1-2-handshake-failure/
 

Solution

Please install this Microsoft update to resolve the issue:
https://support.microsoft.com/en-us/help/2973337/sha512-is-disabled-in-windows-when-you-use-tls-1-2
You can also add the necessary signature and hash algorithm manually in registry:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Cryptography\Configuration\Local\SSL\00010003
Value: Functions

Reboot Veeam server to apply changes.
 

How to move the Veeam Backup & Replication software to another server

$
0
0

Challenge

You need to move Veeam Backup & Replication software and database to a new server.

Solution

Note: This section will refer to the server where Veeam Backup & Replication is installed prior to the move as the “old server”, and the location after the move as the “new server”.


There are two methods to perform this task:

 


Migrate using Configuration Backup

Perform the following steps on the old server:

  1. Stop and disable all jobs.
  2. Manually perform a configuration backup.
  3. Close Veeam GUI and stop all Veeam Services.

Perform the following steps on the new server:

  1. Install Veeam Backup & Replication with a brand new DB.
  2. Apply the latest patch to Veeam Backup & Replication: http://www.veeam.com/patches.html
  3. Make sure all local drives that were being used as repositories on the old server are now attached with the same drive letters on the new server.
  4. Perform configuration backup restore:
    Note: It will be necessary to re-enter the password for every account during restore of non-encrypted configuration backups.
  5. Run a test job to make sure everything moved correctly.

 


Migrate using SQL Backup

IMPORTANT: Use this option only if Configuration Backup is not available. If encryption was used on the previous installation, a newly installed backup server will not be able to decrypt such information if attached to the existing database, so any encrypted information will have to be supplied manually – existing encrypted backups have to be re-imported to provide the password.

Perform the following steps on the old server:

  1. Stop and disable all jobs.
  2. Close Veeam GUI and stop all Veeam Services.
  3. Create backup of the SQL database. (http://vee.am/kb1471)

    To find out where the VeeamBackup database is located, open regedit on the old server and navigate to: [HKLM\SOFTWARE\Veeam\Veeam Backup and Replication]
     
    There you will find 3 dword values:
    • SqlServerName
    • SqlInstanceName
    • SqlDatabaseName

 

Perform the following steps on the new server:

  1. Install Veeam Backup & Replication with a brand new DB.
  2. Apply the latest patch to Veeam. http://www.veeam.com/patches.html
  3. Make sure all local drives that were being used as repositories on the old server are now attached with the same drive letters on the new server.
  4. Restore the Veeam database to the instance on the new server or on a SQL server which will host Veeam DB.
    Click (here) for information regarding restoring databases.
  5. To associate Veeam with the restored database, please use the DBConfig Utility to change the Database that Veeam is connecting to.
  6. Restart Veeam Services to apply the changes.
  7. Open the Veeam console and using the “Manage Credentials” button from the main menu and check the passwords for every account to confirm they are up to date.
  8. Run a test job to make sure everything moved correctly.

More Information

In situations where physical local storage is used please see the following KB that details how to relocate Veeam Backup and Replication backup file locations: https://www.veeam.com/kb1729

For steps on migrating the Veeam database to another SQL Instance or Server, please refer to KB1250.

Viewing all 4509 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>