이 서버는 이제 도메인 컨트롤러가 아닙니다.

This_server_is_no_longer_a_domain_controller_5_Rule (Rule)

Knowledge Base article:

요약

이 경고는 도메인 컨트롤러의 수준을 내렸을 때 생성됩니다.

스크립트가 자동으로 실행되어 이 서버에 대한 MOM(Microsoft Operations Manager) 대기 시간 모니터 개체를 정리했습니다. 실패할 경우 스크립트는 다른 경고를 기록합니다.

AD DC Demoted 스크립트를 실행하여 이 도메인 컨트롤러에 대해 생성된 MOM 대기 시간 모니터 개체를 수동으로 정리할 수 있습니다.

해결 방법

AD DC Demoted 스크립트를 실행하려면 MOM 관리자 콘솔의 Rules/Advanced/Scripts 폴더에서 스크립트 속성을 엽니다. 스크립트 텍스트 전체를 복사하여 AD_DC_Demoted.vbs라는 파일에 붙여 넣습니다.

명령 프롬프트에서 스크립트를 실행하여 도메인 컨트롤러 이름을 스크립트 매개 변수로 지정합니다.

예를 들어, DC01이라는 도메인 컨트롤러에 대해 MOM 대기 시간 모니터 개체를 정리하려면 명령 프롬프트에서 AD_DC_DEMOTED.vbs 파일이 있는 디렉터리로 변경하고 다음을 입력하십시오.

cscript AD_DC_DEMOTED.vbs DC01

외부

자세한 내용은 다음을 참조하십시오.

Element properties:

TargetMicrosoft.Windows.Server.2003.AD.DomainControllerRole
CategoryEventCollection
EnabledTrue
Event SourceLSASRV
Alert GenerateTrue
Alert SeverityInformation
Alert PriorityNormal
RemotableTrue
Alert Message
이 서버는 이제 도메인 컨트롤러가 아닙니다.
{0}
Event LogSystem
CommentMom2005ID='{BF2B197A-16C2-4592-B237-DCB7C0E488F3}';MOM2005GroupID=

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
CollectEventData WriteAction Microsoft.SystemCenter.CollectEvent Default
CollectEventDataWarehouse WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="This_server_is_no_longer_a_domain_controller_5_Rule" Comment="Mom2005ID='{BF2B197A-16C2-4592-B237-DCB7C0E488F3}';MOM2005GroupID=" Enabled="onEssentialMonitoring" Target="AD2003Core!Microsoft.Windows.Server.2003.AD.DomainControllerRole" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>LSASRV</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005BooleanRegularExpression</Operator>
<Pattern>(29224)|(29239)</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>0</Severity>
<AlertOwner>$Data/PublisherName$</AlertOwner>
<AlertMessageId>$MPElement[Name="This_server_is_no_longer_a_domain_controller_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
<WriteAction ID="CollectEventData" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="CollectEventDataWarehouse" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>