• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1565
  • Last Modified:

Failed in Update-StorageGroupCopy cmdlet with -DeleteExistingFiles option

Hi,

After I failed over to my production node MBX server, I got several SG that is in suspended state, however, when I execute the Update-StorageGroupCopy cmdlet with -DeleteExistingFiles option from the EMC, I got this error after 23 minutes elapsed:

Summary: 2 item(s). 1 succeeded, 1 failed.
Elapsed time: 00:23:53

Suspend ExchangeCluster01\SGJournal
Completed

Exchange Management Shell command completed:
suspend-StorageGroupCopy -Identity 'ExchangeCluster01\SGJournal' -SuspendComment 'Administrator initiated Update-StorageGroupCopy'

Elapsed Time: 00:00:01

Update ExchangeCluster01\SGJournal
Failed

Error:
The WriteObject and WriteError methods cannot be called from outside the overrides of the BeginProcessing, ProcessRecord, and EndProcessing methods, and only from that same thread. Validate that the cmdlet makes these calls correctly, or please contact Microsoft Support Services.

Warning:
An unexpected error has occurred and debug information is being generated: The WriteObject and WriteError methods cannot be called from outside the overrides of the BeginProcessing, ProcessRecord, and EndProcessing methods, and only from that same thread. Validate that the cmdlet makes these calls correctly, or please contact Microsoft Support Services.

Exchange Management Shell command attempted:
update-StorageGroupCopy -Identity 'ExchangeCluster01\SGJournal' -DeleteExistingFiles

Elapsed Time: 00:23:52



Can anyone please share your knowledge to resolve this issue ?

Thanks.
0
Senior IT System Engineer
Asked:
Senior IT System Engineer
  • 4
  • 3
3 Solutions
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Try refreshing as it might be heatly state :)
If not rty with shell command
Get-MailboxDatabase | Get-StorageGroupCopyStatue

If its Suspended you simply need to run the Resume command .... Update will re-seed meaning all Databases would be copied from Starting :( isnt good as network will have too much data to move over.

resume will only move last log files after failover.

- Rancy
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Get-MailboxDatabase | Get-StorageGroupCopyStatus
0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
ok, do I have to delete all of the drive content (Database and logs) in the MBX server in my DR datacenter ?
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
If your doing a Resume you dont and not sure why your doing Update as its only done when you have the Status as failed :(

In resume you dont delete anything its more like a continuation from where the seeding\replication stopped.

- Rancy
0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
hm... but somehow when I click Resume SG copy it always end up as suspended, or in another storage group scenario, it has become failed then I must empty both DB and log  drives for each of the SG.
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
If try with Update for the smallest DB :)

What if you run this ?
Get-MailboxDatabase | Get-StorageGroupCopyStatue

- Rancy
0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
ok, what I didto resolve the issue was to go to the DR mailbox server role, and then delete all of the content in the transaction log drive.

after that do the Update Storage Group Copy from EMC manually one SG per seeding process.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now