Showing posts with label veeam replication failure. Show all posts
Showing posts with label veeam replication failure. Show all posts

Friday, August 21, 2020

Veeam licence error when trying to replicate or backup

My organization uses Veeam as our main backup utility.  It really is a great piece of software but it does have some quirky things about it as everything does.  I do think though this is a bit of an outlier to be fair.  I have 2 production servers that need to be release and support was no longer available for it.  We were hoping that they would last until early next year but the main production server just had one of it's drives in a RAID 10 die so we decided to fail everything over to the backup server and make that the production server.  

Production Server RAID 10 Drive Failure
Production Server RAID 10 Drive Failure

After permanently failing over the virtual servers, I was trying to setup a new replication job to make the production server the backup.  I reverse my source and destination for my backup jobs, and tried to run my backups and replication and was getting an error.


VM $myVM task has finished with 'Failed' state.

Task details: Failed to process replication task Error: Unable to process workload: license has been exceeded

Even though I have 2 servers the Veeam licence is clearly a one way street, and backing up from the first server to the second server is fine, backing up from the second server to the first one is not.  If I had 4 core licencing instead of 2 this probably would have worked since these are both 2 socket servers.  Regardless of this minor issue, I still want to setup a failover to the server with the bad drive, because stuff happens.

So to reset the license to enable backup and replication, 

Go Menu -> License

Select the "Sockets" tab

Select the server -> Then Revoke.

Once you do this and you update your backup and replication the license will be applied to the other server and your backups and replications will begin working again.

Thursday, June 16, 2016

Fixing Veeam Hyper-V Replication Failure Caused By VSS Writer


I just had an issue with the Veeam Backup and Replication Software where a replication job was failing.  I have Veeam setup to email error logs to me and I started getting error messages with a replication job where it was not reconciling the differences in the disk on the fail-over server.

Here is a sample of the email error.



After getting a few of these emails I checked the server and discovered on of the VM replication jobs appeared to be stuck on in progress.

A Sample of the log on the Veeam Server

VM {VMNAME} task has finished with 'InProgress' state.
Task details: Failed to create snapshot (Microsoft Software Shadow Copy provider 1.0) (mode: Veeam application-aware processing) Details: Writer 'Microsoft Hyper-V VSS Writer' is failed at 'VSS_WS_FAILED_AT_PREPARE_SNAPSHOT'.

The writer experienced a transient error.  If the backup process is retried,
the error may not reoccur.
--tr:Failed to verify writers state.
--tr:Failed to perform pre-backup tasks.

Make sure VM does not have 'iSCSI Software Target Storage Provider' feature installed.
Retrying snapshot creation attempt (Writer 'Microsoft Hyper-V VSS Writer' is failed at 'VSS_WS_FAILED_AT_PREPARE_SNAPSHOT'.

The writer experienced a transient error.  If the backup process is retried,
the error may not reoccur.

--tr:Failed to verify writers state.
--tr:Failed to perform pre-backup tasks.)

Task has been rescheduled



Googling the issue I only found this blog http://www.insidetechnologies.eu/en/blog/veeam-br-resolve-hyper-v-vss-writer-error/  and after double checking that his solution wouldn't bring down my Hyper-V Server by checking Microsoft Technet https://social.technet.microsoft.com/Forums/en-US/69e6dcbd-fbe3-43e0-a7b3-65111fbdf00a/will-the-running-vms-be-impacted-if-i-restart-the-hyperv-virtual-machine-management-service?forum=winserverhyperv

I disabled the replication jobs and stopped the Hyper-V Virtual Management Management Service on the primary server; while it took a while for the management service to stop but once it did and I restarted it everything came back no problem and the replication jobs started, reconciled and finished without an issue.

Updating your godaddy certs during the G2 intermediate hierarchy to the TLS Root CA - R1 hierarchy

  If you use GoDaddy TLS certificates you should be aware of some changes during the transition from the G2 Intermediate certificates to the...