In a failover cluster, a clustered service or application can come online (and be available for clients to use) only when the necessary clustered resources within it can come online.
Check state of clustered resource
If you do not currently have Event Viewer open, see "Opening Event Viewer and viewing events related to failover clustering."Review the event logs and consider whether the following actions apply to your situation:
Check and correct any problems with the application or service associated with the resource.For example, if the application or service cannot start within reasonable time limits, diagnose and resolve the issues that cause slow starting.
Check and correct any problems with cables or cluster-related devices.
Adjust properties for the resource in the cluster configuration, especially the value for Pending timeout for the resource.This value must allow enough time for the associated application or service to start.For more information, see "Viewing the value for Pending timeout for a resource."
Viewing the value for Pending timeout for a resource
To view the value for Pending timeout for a resource:
To open the failover cluster snap-in, click Start, click Administrative Tools, and then click Failover Cluster Management.如果出現 [使用者帳戶控制] 對話方塊,請確認它所顯示的動作就是您所需的動作,然後按一下 [繼續]。
在 [容錯移轉叢集管理] 嵌入式管理單元中,如果您要管理的叢集並未顯示,請在主控台樹狀目錄的 [容錯移轉叢集管理] 上按一下滑鼠右鍵、按一下 [管理叢集],然後選取或指定您要的叢集。
If the console tree is collapsed, expand the tree under the cluster you want to manage, and then expand Services and Applications.
In the console tree, click a clustered service or application.
In the center pane, if you cannot see the clustered resource that you want to view, expand one or more visible resources until you see the clustered resource.
Right-click the resource you want to view, click Properties, and then click the Policies tab.
Under Pending timeout, view the setting.Make sure it allows enough time for the associated application or service to start.
Opening Event Viewer and viewing events related to failover clustering
To open Event Viewer and view events related to failover clustering:
If Server Manager is not already open, click Start, click Administrative Tools, and then click Server Manager.如果出現 [使用者帳戶控制] 對話方塊,請確認它所顯示的動作就是您所需的動作,然後按一下 [繼續]。
In the console tree, expand Diagnostics, expand Event Viewer, expand Windows Logs, and then click System.
To filter the events so that only events with a Source of FailoverClustering are shown, in the Actions pane, click Filter Current Log.On the Filter tab, in the Event sources box, select FailoverClustering.Select other options as appropriate, and then click OK.
To sort the displayed events by date and time, in the center pane, click the Date and Time column heading.
You can also view the events logged by the cluster service using the link below:
叢集服務事件
Target | Microsoft.Windows.2008.Cluster.Monitoring.Service | ||
Category | Alert | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
|
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.2008.Cluster.EventProvider | Default |
WA | WriteAction | Microsoft.Windows.Cluster.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.2008.Cluster.Management.Monitoring.Cluster.resource.failed" Enabled="onEssentialMonitoring" Target="Clus2008Library!Microsoft.Windows.2008.Cluster.Monitoring.Service" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.2008.Cluster.EventProvider">
<Criteria>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1069</Value>
</ValueExpression>
</SimpleExpression>
</Criteria>
<LogName>System</LogName>
<PublisherName>Microsoft-Windows-FailoverClustering</PublisherName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="ClusLibrary!Microsoft.Windows.Cluster.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.2008.Cluster.Management.Monitoring.Cluster.resource.failed.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>