Consider the following scenario:
- You run a Microsoft Operations Manager (MOM) script on a Microsoft Windows Server 2003-based cluster node.
- The MOM script calls the DefragAnalysis method.
- The cluster node does not own the cluster disk resource.
In this scenario, a file handle is left open on the cluster disk resource. Therefore, the cluster disk resource does not fail over to another cluster node.
To work around this problem, use one of the following methods:
- Modify the MOM script to make sure that the DefragAnalysis method is only called on a cluster disk resource that is owned by the cluster node.
- Modify the MOM script to make sure that the DefragAnalysis method is not called in a clustered environment.