DFSR-tapahtuma 2213 tarkoittaa, että tietokantaa ei ole sammutettu oikein Windows-palvelimessa

Summary: DFSR-virhe 2213 saatetaan kirjata Windows-palvelimeen, jossa on DFSR (Distributed File System Replication) -replikointitoiminnolla replikoitu kansio. Tämä sisältää Active Directory -toimialueen ohjaimissa olevan SYSVOL-kansion. Tässä artikkelissa on tietoja taustalla olevasta ongelmasta ja sen ratkaisemisesta. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

DFSR-virhe 2213 näkyy ongelmallisen palvelimen DFS-replikoinnin tapahtumalokissa:
The DFS Replication service stopped replication on volume X:. This occurs when a DFSR JET database is not shut down cleanly and Auto Recovery is disabled. To resolve this issue, back up the files in the affected replicated folders, and then use the ResumeReplication WMI method to resume replication.

Recovery Steps
1. Back up the files in all replicated folders on the volume. Failure to do so may result in data loss due to unexpected conflict resolution during the recovery of the replicated folders.
2. To resume the replication for this volume, use the WMI method ResumeReplication of the DfsrVolumeConfig class. For example, from an elevated command prompt, type the following command:

wmic /namespace:\\root\microsoftdfs path dfsrVolumeConfig where volumeGuid="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" call ResumeReplication

Virheilmoituksen asemakirjain ja GUID ovat järjestelmäkohtaisia.

Kyseinen palvelin ei voi enää osallistua DFS-replikointiin kumppaneidensa kanssa. Jos kyseessä on toimialueen ohjauskone, se ei enää replikoi SYSVOL-tietoja, mutta voi silti replikoida Active Directory -tietoja.

Cause

Yleisin syy ongelmaan on käyttöjärjestelmän odottamaton sammutus. Näin voi käydä monista syistä, kuten virransaamisen, käyttöjärjestelmän kaatumisen tai laitteistovian vuoksi. Ongelma voi ilmetä myös, jos DFSR-palvelu pysähtyy odottamatta.

DFSR tallentaa replikoitujen tietojen metatiedot ESE (Extensible Storage Engine) -tietokannan avulla. Jos DFSR-palvelu pysähtyy, kun metatietoihin on tehty muutoksia, joita ei ole vielä vahvistettu tähän tietokantaan, tietokanta siirtyy dirty shutdown -tilaan. Tämä tarkoittaa, että tietokannan metatiedot eivät välttämättä vastaa tarkasti replikoitujen tietojen tilaa. Kun DFSR-palvelu käynnistetään seuraavan kerran, tämä likainen sammutus tunnistetaan ja tapahtuma 2213 kirjataan lokiin.

Resolution

Kuten edellä on esitetty, tapahtuman 2213 kuvauksessa on komento, jolla palautus voidaan aloittaa:
wmic /namespace:\\root\microsoftdfs path dfsrVolumeConfig where volumeGuid="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" call ResumeReplication

Komennon voi kopioida sellaisenaan tapahtuman kuvauksesta ja liittää komentokehotteeseen järjestelmänvalvojana. (Tapahtuman kuvauksessa on oikea aseman GUID-tunnus edellä näytettyjen X-numeroiden sijasta.)

Jos tietokannan palautus onnistuu, komennon tulos sisältää seuraavat:
{
	ReturnValue=0;
};

Jokin muu palautusarvo viittaa jonkinlaiseen virheeseen, mutta se on harvinaista. Varmista palautuksen onnistuminen tarkistamalla palvelimen DFSR-tapahtumalokista tapahtuma 2214:
The DFS Replication service successfully recovered from an unexpected shutdown on volume X:. This can occur if the service terminated abnormally (due to a power loss, for example) or an error occurred on the volume. No user action is required.

Affected Products

Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022, Microsoft Windows 2008 Server R2, Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2
Article Properties
Article Number: 000208669
Article Type: Solution
Last Modified: 10 Dec 2024
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.