Start a Conversation

Unsolved

This post is more than 5 years old

C

2693

April 27th, 2017 12:00

Exchange 2010 DAG question

Was wondering if anyone could help, I'm sure I've just got a simple setting wrong or maybe my DAG is just to simple at this time.

We're migrating to O365 and our Ex2010 environment's DAG is down to just one DB across two servers.  We've used CommVault up to this point but maintenance is running out in May so am trying to get this simple DAG running on Avamar. 

What I've done is created a dataset with the Exchange VSS and a group with the two servers in it, basically like the docs say to do it.  Only thing I'm running into is, when a backup runs both servers are backing up the one DB, seems like one server backs it's copy of the DB up and the other backs up it's copy, so both the active and passive copies are both being backed up by their respective owners.

I noticed when this setting, "Set when backup occurs on clustered or DAG systems" = "Always", is when both servers back up both copies of the DB(Active and Passive).  If I change that setting to "Replica (passive) writer only", the server with the passive copy backs up the passive copy, but the other server fails with two errors, "Could not expand targets correctly" and "Unable to complete backup".

I figure the reason is obvious in that that server has no passive DB to backup so errors out.  Is this just a case where I have to live with the errors, since being I only have one DB, thus only one passive copy, that one of the servers is always going to fail?

April 29th, 2017 15:00

Hello Daryn,

It should be have been fixed since 6.1. If your client version is 6.1 or above, please attach a full copy of backup log.

1 Rookie

 • 

89 Posts

May 1st, 2017 07:00

Here's the logs for one of the failed jobs.  I've probably got a setting incorrect but not sure which one.  And just to clarify, our DAG consist of just two servers and one DB.  Thanks for taking a look. 

Summary

Log Files

Log #1: avexvss log 2017-04-29 22:00:06 Eastern Daylight Time [7.1.102-21 Windows Server 2008 R2 Enterprise Server Edition Service Pack 1 64-bit-AMD64] (2 errors)

Log #2: avexvss log 2017-04-29 22:00:06 Eastern Daylight Time [7.1.102-21 Windows Server 2008 R2 Enterprise Server Edition Service Pack 1 64-bit-AMD64] (2 errors)

Log #3: Daily_1000pm-Exchange_DB_2010-1493517603081 log 2017-04-29 22:00:05 Eastern Daylight Time [7.1.102-21 Windows Server 2008 R2 Enterprise Server Edition Service Pack 1 64-bit-AMD64]

Errors and Exceptions

2017-04-29 22:00:23 avexvss Error <12986>: Could not expand targets correctly. (Log #2)

2017-04-29 22:00:23 avexvss Error <13077>: Unable to complete backup. (Log #2)

*********** C:\Program Files\avs\var\Daily_1000pm-Exchange_DB_2010-1493517603081-3018-Exchange_VSS_Writer_2007.log ***********

Log #1: avexvss log 2017-04-29 22:00:06 Eastern Daylight Time [7.1.102-21 Windows Server 2008 R2 Enterprise Server Edition Service Pack 1 64-bit-AMD64]

2017-04-29 22:00:06 avexvss Info <5008>: Logging to C:\Program Files\avs\var\Daily_1000pm-Exchange_DB_2010-1493517603081-3018-Exchange_VSS_Writer_2007.log

2017-04-29 22:00:06 avexvss Info <19008>: Obtaining available VSS providers

2017-04-29 22:00:06 avexvss Info <12950>: Plug-in avexvss is started.

END avexvss log 2017-04-29 22:00:06 Eastern Daylight Time (0 warnings, 0 errors, 0 fatal errors)

Log #2: avexvss log 2017-04-29 22:00:06 Eastern Daylight Time [7.1.102-21 Windows Server 2008 R2 Enterprise Server Edition Service Pack 1 64-bit-AMD64]

2017-04-29 22:00:06 avexvss Info <12950>: Plug-in avexvss is started.

2017-04-29 22:00:06 avexvss Info <7967>: Using NT authentication.

2017-04-29 22:00:06 avexvss Info <6673>: CTL listening on port 52987

2017-04-29 22:00:06 avexvss Info <10684>: Setting ctl message version to 3 (from 1)

2017-04-29 22:00:06 avexvss Info <16136>: Setting ctl max message size to 268435456

2017-04-29 22:00:06 avexvss Info <18198>: Performing operation in the context of the root domain.

2017-04-29 22:00:10 avexvss Info <40166>: Initializing PowerShell interface, launching impersonated process

2017-04-29 22:00:23 avexvss Info <13194>: Only the Replica (passive) writer will be used for backup.

2017-04-29 22:00:23 avexvss Info <0000>: Setting search preferences for c_search query

2017-04-29 22:00:23 avexvss Info <0000>: Setting search preferences for db_search query

2017-04-29 22:00:23 avexvss Info <0000>: Setting search preferences for db_search query

2017-04-29 22:00:23 avexvss Info <0000>: Setting search preferences for db_search query

2017-04-29 22:00:23 avexvss Info <0000>: Setting search preferences for db_search query

2017-04-29 22:00:23 avexvss Info <0000>: Excluding active database 'My-Exhange-DB' from backup because only replica (passive) writer has been selected.

2017-04-29 22:00:23 avexvss Error <12986>: Could not expand targets correctly.

2017-04-29 22:00:23 avexvss Error <13077>: Unable to complete backup.

2017-04-29 22:00:23 avexvss Info <9772>: Starting graceful (staged) termination, Exiting main body (wrap-up stage)

2017-04-29 22:00:23 avexvss Info <7753>: Exit main body...

2017-04-29 22:00:23 avexvss Info <13180>: Final summary...

2017-04-29 22:00:23 avexvss Info <13181>: snapview_wid: Daily_1000pm-Exchange_DB_2010-1493517603081#0

2017-04-29 22:00:23 avexvss Info <7271>: Final summary generated subwork 0, cancelled/aborted 0, snapview 0, exitcode 536870919

2017-04-29 22:00:28 avexvss Info <12951>: Plug-in avexvss returning with exitcode 536870919

END avexvss log 2017-04-29 22:00:28 Eastern Daylight Time (0 warnings, 2 errors, 0 fatal errors)

*********** C:\Program Files\avs\var\Daily_1000pm-Exchange_DB_2010-1493517603081-3018-Exchange_VSS_Writer_2007.alg ***********

Log #3: Daily_1000pm-Exchange_DB_2010-1493517603081 log 2017-04-29 22:00:05 Eastern Daylight Time [7.1.102-21 Windows Server 2008 R2 Enterprise Server Edition Service Pack 1 64-bit-AMD64]

2017-04-29 22:00:05 Daily_1000pm-Exchange_DB_2010-1493517603081 Info <0000>: [agent_ctl_sup] Workorder : Daily_1000pm-Exchange_DB_2010-1493517603081

2017-04-29 22:00:05 Daily_1000pm-Exchange_DB_2010-1493517603081 Info <0000>: [agent_ctl_sup] Plugin ID : 3018-Exchange VSS Writer 2007

2017-04-29 22:00:05 Daily_1000pm-Exchange_DB_2010-1493517603081 Info <0000>: [agent_ctl_sup] bindir    : C:\Program Files\avs\bin

2017-04-29 22:00:05 Daily_1000pm-Exchange_DB_2010-1493517603081 Info <0000>: [agent_ctl_sup] vardir    : C:\Program Files\avs\var

2017-04-29 22:00:05 Daily_1000pm-Exchange_DB_2010-1493517603081 Info <0000>: [agent_ctl_sup] Initiator :

2017-04-29 22:00:05 Daily_1000pm-Exchange_DB_2010-1493517603081 Info <0000>: [ctl_spawn] Executable : C:\Program Files\avs\bin\avexvss

2017-04-29 22:00:05 Daily_1000pm-Exchange_DB_2010-1493517603081 Info <0000>: [ctl_spawn] Args       : avexvss --sysdir="C:\Program Files\avs\etc" --bindir="C:\Program Files\avs\bin" --vardir="C:\Program Files\avs\var" --ctlcallport="58975" --ctlinterface="3018-Daily_1000pm-Exchange_DB_2010-1493517603081" --logtimeformat="default" --logtimezone="default" --logfile="C:\Program Files\avs\var\Daily_1000pm-Exchange_DB_2010-1493517603081-3018-Exchange_VSS_Writer_2007.log"

2017-04-29 22:00:05 Daily_1000pm-Exchange_DB_2010-1493517603081 Info <0000>: [agent_ctl_sup] Order      :

 

 

   

   

   

   

   

   

   

   

   

 

 

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

 

 

 

 

2017-04-29 22:00:28 Daily_1000pm-FSU_ITS--Exchange_DB_2010-1493517603081 Warning <0000>: [ctl_spawn] Workorder "Daily_1000pm-Exchange_DB_2010-1493517603081" non-zero exit status 'code 536870919: miscellaneous error'

2017-04-29 22:00:28 Daily_1000pm-FSU_ITS--Exchange_DB_2010-1493517603081 Info <0000>: [ctl_spawn]

May 1st, 2017 16:00

Hello Daryn,

If you want to stick with your current client config and backup group settings, you can do the following to avoid it reporting as an error:

1. On the client that has no passive DB, create a file avexvss.cmd under C:\Program Files\avs\var

2. Edit avexvss.cmd and add --x18=4194304


Please note: When this xflag is set, any backups that do not have any items to back up will have this behavior. (e.g. If all databases are dismounted, then the backup will have this same completion status.)


If you don't want to add an xflag, you will need to configure an Exchange DAG client and a new backup group to perform backup. Backing your passive database via an Exchange DAG client can identify which mailbox server holds the passive database. For more information, please reference the Exchange VSS User guide

No Events found!

Top