Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

Hot-Add/Virtual Appliance Failures

$
0
0

Challenge

All hot-add/Virtual Appliance Jobs fail with the following:
 

BackupDiskTrad failed
Client error: Failed to open VDDK disk [[My_Datastore] VM_Name/Disk1.vmdk] ( is read-only mode - [true] )
Logon attempt with parameters [VC/ESX: [vcenter];Port: 443;Login: [domain\veeam_user];VMX Spec: [moref=vm-5555];Snapshot mor: [snapshot-55];Transports: [hotadd]] failed because of the following errors:

Server error: End of file


 

Also, the Veeam box may have been moved or cloned recently, causing the UUID of the Veeam box to change.



The issue may be that the Veeam box has been moved or cloned, and the UUID of the Veeam box has changed. After this occurs, the host that Veeam is on can no longer find the Veeam VM by the UUID properly. You will see the following in the logs:

[timestamp] <34> Info           [AP] (Client) output: [timestamp 00832 trivia 'SOAP'] Sending soap request to [TCP:vcenter:443]: findByUuid\n
[timestamp] <34> Info           [AP] (Client) output: [timestamp 00832 trivia 'transport'] Could not find virtual machine.\n
[timestamp] <34> Info           [AP] (Client) output: [timestamp 00832 trivia 'transport'] Transport mode hotadd failed pre-flight check. Ignoring.\n
[timestamp] <34> Info           [AP] (Client) output: [timestamp 00832 trivia 'transport'] Checking transport mode nbdssl.\n
[timestamp] <34> Info           [AP] (Client) output: [timestamp 00832 trivia 'transport'] Transport mode nbdssl passed pre-flight checks. Adding to list of available transports.\n
[timestamp] <34> Info           [AP] (Client) output: [timestamp 00832 trivia 'transport'] Checking transport mode nbd.\n
[timestamp] <34> Info           [AP] (Client) output: [timestamp 00832 trivia 'transport'] Transport mode nbd passed pre-flight checks. Adding to list of available transports.\n
[timestamp] <34> Info           [AP] (Client) output: [timestamp 00832 trivia 'transport'] Narrowing down applicable transport modes.\n
[timestamp] <34> Info           [AP] (Client) output: [timestamp 00832 trivia 'transport'] Disregarding transport mode hotadd.\n
[timestamp] <34> Info           [AP] (Client) output: VixDiskLib: No transport modes availble to access disks.\n
[timestamp] <34> Info           [AP] (Client) output: \n
[timestamp] <34> Info           [AP] (Client) output: [timestamp 00832 info 'App'] Successfully released all resources.\n
[timestamp] <34> Info           [AP] (Client) output: [timestamp 00832 trivia 'SOAP'] Sending soap request to [TCP:vcenter:443]: logout\n
[timestamp] <18> Info           [AP] (Client) error: Failed to open VDDK disk [[My_Datastore] VM_Name/Disk1.vmdk] ( is read-only mode - [true] )
[timestamp] <18> Info           [AP] (Client) error: --tr:{
[timestamp] <18> Info           [AP] (Client) error: --tr:VDDK error: 3.One of the parameters was invalid

Cause

After moving/cloning or copying the Veeam box, the UUID on the VMware side and the UUID that Microsoft gives a machine will go out of sync. Also the host we are trying to do hot-add/virtual appliance mode with cannot find the UUID provided, as it has changed and is no longer valid.

Solution

To resolve, run the following PowerShell script on the Veeam box:
 

$uuid = (Get-WmiObject Win32_ComputerSystemProduct).UUID
$array_uuid = @()
$array_uuid += $uuid.split("-")
$tempArray = @()
for($j = 0; $j -lt 5;$j++)
{
    $tempArray = @()
    for($i=0;$i -lt $array_uuid[$j].length;$i+=2)   
    {
        $tempArray += $array_uuid[$j][$i] + $array_uuid[$j][$i+1]
    }
    if($j -lt 3){ [array]::Reverse($tempArray)}
   
    $array_uuid[$j] = $tempArray
}
$array_uuid[3][0] = $array_uuid[3][0].Insert(0, "-")
$myUuid = ($array_uuid | Out-String).Replace("`n"," ").Replace(" -","-")
if((Get-WmiObject -Class Win32_ComputerSystem).SystemType -match "(x86)")
    {Set-ItemProperty "HKLM:\software\VMware, Inc.\VMware Virtual Disk Development Kit\volatile\" -Name "UUIDHost" -value $myUuid}
else
    {Set-ItemProperty "HKLM:\software\Wow6432Node\VMware, Inc.\volatile\" -Name "UUIDHost" -value $myUuid}

 


Viewing all articles
Browse latest Browse all 4362

Trending Articles