Backup of Oracle virtual machine on Hyper-V fails with error 0xa0009679 - A failure occurred querying the Writer status for a Hyper-V virtual machine

book

Article ID: 100014649

calendar_today

Updated On:

Description

Error Message

0xa0009679 - A failure occurred querying the Writer status for a Hyper-V virtual machine. See the job log for details about the error.

UMI: V-79-40960-38521


Errors captured by SGMON log on the Hyper-V host:

SHADOW::GetWriterStatus(): Start Phase POST_SNAPSHOT
[FAILED STATUS] Writer=Microsoft Hyper-V VSS Writer ID={66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE} Instance={EFD2F71C-B96D-4DED-8ECA-924A25E6C851} status
VSS_E_WRITERERROR_RETRYABLE (0x800423F3) state=8
SHADOW::GetWriterStatus(): End Phase POST_SNAPSHOT [result=0xe000fed1]
Status FS_WRITER_STATUS_FAILURE (0xE000FED1) returned getting Writer status during SNAPSHOT_NOTIFICATION::PostSnapshot
VRTSRV:Status FS_WRITER_STATUS_FAILURE (0xE000FED1) calling FS_SnapshotNotification in VirtualServer::SnapshotNotification:521
SnapshotBackupEngine - SNAPSHOT_NOTIFICATION::PostSnapshot failed with fstatus: 0xa0009679
Error SnapshotBackupEngine::snap_file_systems failed.
ndmpdSnapshotPrepare2: Snapshot error. ErrorCode: 0xa0009679 ErrorLevel: 1 Error Src: 3


In the Application hive of the Hyper-v host the following events are registered every time the backup job is run:

Log Name: Microsoft-Windows-Hyper-V-VMMS-Admin
Source: Microsoft-Windows-Hyper-V-VMMS
Event ID: 10102
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: undisclosed server
Description:
Failed to create the volume shadow copy inside of virtual machine ‘undisclosedserver’. (Virtual machine ID 84521EG0G-8B7A-54ED-2F24-392A1761ED11)


On the Hyper-V host

Executing the command  "vssadmin list writers" shows:

Microsoft Hyper-V VSS Writer failing with State [8] Error and Last Error: 'Retryable Error.


On the failing Hyper-V Virtual Machine

  1. Executing the command "vssadmin list writers" shows:
    Oracle VSS writer failing with Status  [7]: Error and Last Error: "Nonretryable Error".
     
  2. In the Application hive of the Event Viewer an event is registered with Event ID: 44

    Source : Oracle.VSSWriter.SERVER
    Event ID: 44
    General:
    Oracle Database 11g Release 11.2.0.4.0 - 64bit Production
    Oracle VSS writer version 11.2.0.2.0 Production
    Error at line : 4576
    Failure on PrepareForBackup event

 

Cause

This error occurs because the Oracle writer fails to quiece the Oracle database. According to the documentation from Oracle, the ARCHIVELOGS functionality has to be set for the database.

 

Resolution

There are several feasible solutions to solve this issue:

  1. ARCHIVELOGS functionality can be set for the Oracle database to allow the Oracle Writer to quiesce the database.
  2. Uninstall the Oracle writer and stop the database before the backup job starts and restart  the database once the backup finishes.

    Note: Solutions 1 and 2 above are not Backup Exec solutions, these should be only considered as suggestions and should be discussed with the Oracle administrators.
     
  3. If none of the above solutions are possible, backup the virtual machine with the Backup Exec Agent for Windows (AWS /  RAWS) instead.

 

 

 

Issue/Introduction

Backing up a Hyper-v virtual machine, with Oracle installed, using the Hyper-V option fails with error 0xa0009679 - A failure occurred querying the Writer status for a Hyper-V virtual machine.