Sample server load from load balancing

Citrix.PresentationServer.ServerLoadBalancing.CollectionRule (Rule)

Collects server load balancing performance data from the Citrix Presentation Server Provider

Knowledge Base article:

Citrix ® Management Pack

Summary

This rule controls the collection of information about server load. This rule retrieves Citrix Presentation Server Provider data about server load for each server from Load Manager. This information is displayed in the Server Load From Load Balancing health monitoring view.

 
External Knowledge Sources

You may find the following sources of information helpful:

Or search the Citrix knowledge base for more information.

 
Other Information

This information is available only if you are using Load Manager in your server farm.

Note that there is a similar rule for the collection of information about published application load.

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

Element properties:

TargetCitrix.PresentationServer.ManagedServer
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
WMIPerfCounterCollectionDS DataSource Microsoft.Windows.WmiPerfCounterProvider Citrix.PresentationServer.CitrixAdministratorAccount
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Citrix.PresentationServer.CitrixAdministratorAccount
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Citrix.PresentationServer.CitrixAdministratorAccount

Source Code:

<Rule ID="Citrix.PresentationServer.ServerLoadBalancing.CollectionRule" Enabled="true" Target="Citrix.PresentationServer.ManagedServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="WMIPerfCounterCollectionDS" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Windows!Microsoft.Windows.WmiPerfCounterProvider">
<NameSpace>\\$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/NetworkName$\root\Citrix</NameSpace>
<Query>SELECT * FROM MetaFrame_Server_LoadLevel WHERE ServerName="$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/NetbiosComputerName$"</Query>
<Frequency>1020</Frequency>
<ObjectName>MetaFrame_Server_LoadLevel</ObjectName>
<CounterName>LoadLevel</CounterName>
<InstanceName>$Target/Property[Type='CtxLibrary!Citrix.Library.ServerApplication']/Name$</InstanceName>
<Value>$Data/Property[@Name='LoadLevel']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>