Contact Lost With Farm Data Store

Citrix.PresentationServer.ContactLostWithFarmDS.Monitor (UnitMonitor)

Monitors and detects when contact has been lost with farm data store

Knowledge Base article:

Citrix ® Management Pack

Summary

Contact with the farm data store has been lost. This may indicate server or network problems.

 
Causes

Citrix Presentation Server uses a data store to centralize configuration information for a server farm in one location. The data store is a database that maintains information about the servers, applications, and Citrix administrators in the server farm. Data store connections can be direct, using ODBC, or indirect, using the Citrix IMA service.

Contact with the data store can be lost if the server hosting the data store fails or is disconnected from the network, or if there are problems with the database, ODBC, or the Citrix IMA service.

 
Resolutions

Check the server hosting the data store and your network infrastructure to determine if there are problems.

If the data store has been damaged, see the Advanced Concepts Guide for Citrix Presentation Server for information about restoring from backup to a new database server.

 
External Knowledge Sources

The following sources of information can be helpful when dealing with this error:

  • Citrix Presentation Server Administrator's Guide - English
  • Advanced Concepts Guide for Citrix Presentation Server - English

Or search the Citrix knowledge base for more information.

 
Sample Event

Contact lost with data store for farm "{Parameter 1<farm name>}".

 
Other Information

Caution: Do not directly edit data in the data store database with IBM DB2, Microsoft SQL Server, or Oracle tools. Doing so corrupts the farm database and causes the farm to become unstable or completely unusable.

 
© 2002-2008 Citrix Systems, Inc. All rights reserved.

Element properties:

TargetCitrix.PresentationServer.ManagedServer
Parent MonitorCitrix.PresentationServer.IMA.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Contact lost with farm data store
Contact lost with data store for farm {0}.
RunAsCitrix.PresentationServer.CitrixAdministratorAccount

Source Code:

<UnitMonitor ID="Citrix.PresentationServer.ContactLostWithFarmDS.Monitor" Accessibility="Public" Enabled="true" Target="Citrix.PresentationServer.ManagedServer" ParentMonitorID="Citrix.PresentationServer.IMA.AvailabilityState" Remotable="true" Priority="Normal" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Citrix.PresentationServer.ContactLostWithFarmDS.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[1]$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(3612|3614|3615|3620|3621|3622)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>IMAService</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>