共用方式為


Event ID 1233 — Generic Script Resource Availability

Applies To: Windows Server 2008 R2

For a clustered Generic Script instance, the correct functioning of the script is very important in determining whether the combination of Cluster service, script, and application will work together to increase availability.

Event Details

Product: Windows Operating System
ID: 1233
Source: Microsoft-Windows-FailoverClustering
Version: 6.1
Symbolic Name: RES_GENSCRIPT_HANGMODE
Message: Cluster generic script resource '%1': request to perform the '%2' operation will not be processed. This is due to a previously failed attempt to execute the '%3' entry point in a timely fashion. Please review the script code for this entry point to ensure there does not exist any infinite loop or other issues possibly resulting in an infinite wait. Then, consider increasing the resource pending timeout value if deemed necessary.

Resolve

Check script configuration

Stop the clustered Generic Script instance and check that the script code does not contain an infinite loop or infinite hang at the entry point indicated in the event message. If the script code is not causing a problem, consider increasing the pending timeout for this resource so that the associated application has enough time to start. For more information, see the procedures that follow.

To perform these procedures, you must be a member of the local Administrators group on each clustered server, and the account you use must be a domain account, or you must have been delegated the equivalent authority.

Stopping a clustered Generic Script instance, checking the coding, and restarting

To stop a clustered Generic Script instance, check the coding, and restart the clustered instance:

  1. To open the failover cluster snap-in, click Start, click Administrative Tools, and then click Failover Cluster Management. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  2. In the Failover Cluster Management snap-in, if the cluster you want to manage is not displayed, in the console tree, right-click Failover Cluster Management, click Manage a Cluster, and then select or specify the cluster that you want.
  3. If the console tree is collapsed, expand the tree under the cluster you want to manage, and then expand Services and Applications.
  4. Right-click the clustered Generic Script instance and then click Take this service or application offline.
  5. Review the associated script and ensure that any problematic code in it has been corrected.
  6. Right-click the clustered Generic Script instance and then click Bring this service or application online.

Viewing the Pending Timeout setting for a clustered Generic Script resource

To view the Pending timeout setting for a clustered Generic Script resource:

  1. To open the failover cluster snap-in, click Start, click Administrative Tools, and then click Failover Cluster Management. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  2. In the Failover Cluster Management snap-in, if the cluster you want to manage is not displayed, in the console tree, right-click Failover Cluster Management, click Manage a Cluster, and then select or specify the cluster that you want.
  3. If the console tree is collapsed, expand the tree under the cluster you want to manage, and then expand Services and Applications.
  4. Click the clustered Generic Script instance.
  5. Right-click the generic script resource, and then click Properties.
  6. Click the Policies tab and view the value for Pending timeout, which is measured in minutes and seconds. This timeout must allow enough time for the associated application to start.

If you do not currently have Event Viewer open, see "Opening Event Viewer and viewing events related to failover clustering."

To open Event Viewer and view events related to failover clustering:

  1. If Server Manager is not already open, click Start, click Administrative Tools, and then click Server Manager. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  2. In the console tree, expand Diagnostics, expand Event Viewer, expand Windows Logs, and then click System.
  3. 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.
  4. To sort the displayed events by date and time, in the center pane, click the Date and Time column heading.

Verify

Confirm that you can bring the clustered Generic Script instance online and that it remains online without causing additional events to be logged.

To perform this procedure, you must be a member of the local Administrators group on each clustered server, and the account you use must be a domain account, or you must have been delegated the equivalent authority.

To bring a clustered Generic Script instance online:

  1. To open the failover cluster snap-in, click Start, click Administrative Tools, and then click Failover Cluster Management. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  2. In the Failover Cluster Management snap-in, if the cluster you want to manage is not displayed, in the console tree, right-click Failover Cluster Management, click Manage a Cluster, and then select or specify the cluster that you want.
  3. If the console tree is collapsed, expand the tree under the cluster you want to manage, and then expand Services and Applications.
  4. In the center pane, if the clustered Generic Script instance is not online, right-click it and then click Bring this service or application online.

Generic Script Resource Availability

Failover Clustering