아티팩트 데이터베이스 연결 열기 오류

Microsoft.ActiveDirectoryFederationServices2012R2.ArtifactServiceArtifactStorageConnectionOpenErrorMonitor (UnitMonitor)

Knowledge Base article:

요약

이 모니터는 페더레이션 서비스에서 SAML 아티팩트 저장소에 연결하지 못했음을 나타냅니다. 15분 동안 같은 문제가 다시 발생하지 않는 경우 이 모니터의 성능 상태가 다시 녹색 상태로 전환됩니다. 이 모니터에서 생성한 경고는 수동으로 해결해야 합니다.

원인

이 이벤트가 발생할 수 있는 원인은 다음과 같습니다.

또한 이 이벤트에는 SQL 문제 해결을 위해 유용할 수 있는 추가 세부 정보가 포함되어 있을 수 있습니다. 예를 들어 현재 AD FS 서비스 ID에 대한 권한이나 액세스가 설정되어 있지 않습니다.

해결 방법

아티팩트 데이터베이스가 올바르게 구성되었는지 확인하십시오. 필요한 경우, ArtifactDbConnection 매개 변수(AD FS용 Windows PowerShell cmdlet에 포함됨)와 함께 Set-ADFSProperties cmdlet을 사용하여 연결 문자열을 수정하십시오. 아티팩트 데이터베이스에 대한 연결 문제를 해결하십시오.

권한에 대한 SQL 문제 해결의 경우, AD FS 문제 해결 가이드의 "AD FS 문제 해결 전 확인할 사항" 섹션에서 AD FS 서비스 사용자 계정에 구성 저장소에 액세스할 수 있는 권한이 있는지 확인하는 절차를 참조하십시오. 거기에 제공된 같은 절차를 다시 사용하여 구성 저장소(AdfsConfiguration) 대신 아티팩트 저장소(AdfsArtifactStore)에 대한 권한을 확인할 수 있습니다.

Element properties:

TargetMicrosoft.ActiveDirectoryFederationServices2012R2.ArtifactService
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
아티팩트 데이터베이스 연결 열기 오류
아티팩트 데이터베이스에 연결하지 못했습니다. 이벤트 세부 정보를 보려면 경고 컨텍스트 탭을 검토하십시오.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.ActiveDirectoryFederationServices2012R2.ArtifactServiceArtifactStorageConnectionOpenErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices2012R2.ArtifactService" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.ActiveDirectoryFederationServices2012R2.ArtifactServiceArtifactStorageConnectionOpenErrorMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>$Target/Host/Host/Property[Type="Microsoft.ActiveDirectoryFederationServices2012R2.FederationServer"]/ADFSEventLog$</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">286</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>(^AD FS$)</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
<TimerWaitInSeconds>900</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>