変更されたクラスタ オブジェクト
Microsoft.Windows.2008.Cluster.Discovery.ClusterObjectPropertyChanged (Rule)
このルールは、クラスタ オブジェクトの 1 つが変化した場合にクラスタ検出を強制実行します。
Element properties:
Member Modules:
Source Code:
<Rule ID="Microsoft.Windows.2008.Cluster.Discovery.ClusterObjectPropertyChanged" Enabled="false" Target="Microsoft.Windows.2008.Cluster.Monitoring.Service" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Discovery</Category>
<DataSources>
<DataSource ID="WmiEventProvider" TypeID="Windows!Microsoft.Windows.WmiEventProvider">
<NameSpace>ROOT\MSCLUSTER</NameSpace>
<Query>SELECT TIME_CREATED, EventTypeMajor, EventTypeMinor, EventObjectName, EventObjectType, EventObjectPath, EventProperty FROM MSCluster_EventPropertyChange</Query>
<PollInterval>60</PollInterval>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="RunDiscovery" TypeID="Microsoft.Windows.Cluster.2008.Monitoring.Discovery.Action">
<TimeoutSeconds>300</TimeoutSeconds>
<OSVersion>6.0</OSVersion>
<DiscoverySourceId>$MPElement[Name='Microsoft.Windows.2008.Cluster.Monitoring.Discovery']$</DiscoverySourceId>
<DiscoverUnusedNetworks>false</DiscoverUnusedNetworks>
<NetworkContainsInterfaceGuid>$MPElement[Name='Microsoft.Windows.Cluster.Network.Contains.Microsoft.Windows.2008.Cluster.NetworkInterface']$</NetworkContainsInterfaceGuid>
<NetworkInterfaceTypeGuid>$MPElement[Name='Microsoft.Windows.2008.Cluster.NetworkInterface']$</NetworkInterfaceTypeGuid>
<NetworkInterfacePropClusterNameGuid>$MPElement[Name='Microsoft.Windows.2008.Cluster.NetworkInterface']/ClusterName$</NetworkInterfacePropClusterNameGuid>
<NetworkInterfacePropNameGuid>$MPElement[Name='Microsoft.Windows.2008.Cluster.NetworkInterface']/NetworkInterfaceName$</NetworkInterfacePropNameGuid>
<DiscoverCSVResources>false</DiscoverCSVResources>
<DiscoverNonCSVResources>false</DiscoverNonCSVResources>
<ResourceGroupDiscoveryLimit>300</ResourceGroupDiscoveryLimit>
<AppendClusterNameToResourceGroupName>true</AppendClusterNameToResourceGroupName>
</WriteAction>
<WriteAction ID="RunDiscoveryR2" TypeID="Microsoft.Windows.Cluster.2008.Monitoring.Discovery.Action">
<TimeoutSeconds>300</TimeoutSeconds>
<OSVersion>6.1</OSVersion>
<DiscoverySourceId>$MPElement[Name='Microsoft.Windows.2008.R2.Cluster.Monitoring.Discovery']$</DiscoverySourceId>
<DiscoverUnusedNetworks>false</DiscoverUnusedNetworks>
<NetworkContainsInterfaceGuid>$MPElement[Name='Microsoft.Windows.Cluster.Network.Contains.Microsoft.Windows.2008.Cluster.NetworkInterface']$</NetworkContainsInterfaceGuid>
<NetworkInterfaceTypeGuid>$MPElement[Name='Microsoft.Windows.2008.R2.Cluster.NetworkInterface']$</NetworkInterfaceTypeGuid>
<NetworkInterfacePropClusterNameGuid>$MPElement[Name='Microsoft.Windows.2008.Cluster.NetworkInterface']/ClusterName$</NetworkInterfacePropClusterNameGuid>
<NetworkInterfacePropNameGuid>$MPElement[Name='Microsoft.Windows.2008.Cluster.NetworkInterface']/NetworkInterfaceName$</NetworkInterfacePropNameGuid>
<DiscoverCSVResources>true</DiscoverCSVResources>
<DiscoverNonCSVResources>false</DiscoverNonCSVResources>
<ResourceGroupDiscoveryLimit>300</ResourceGroupDiscoveryLimit>
<AppendClusterNameToResourceGroupName>true</AppendClusterNameToResourceGroupName>
</WriteAction>
<WriteAction ID="RunWindows2008ResourceGroupDiscovery" TypeID="Microsoft.Windows.2008.Cluster.Monitoring.ResourceGroupDiscovery.Action">
<DiscoverySourceId>$MPElement[Name='Microsoft.Windows.2008.Cluster.ResourceGroups.Discovery']$</DiscoverySourceId>
<ClusterName>$Target/Property[Type='ClusLibrary!Microsoft.Windows.Cluster.Monitoring.Service']/ClusterName$</ClusterName>
<Timeout>300</Timeout>
</WriteAction>
</WriteActions>
</Rule>