Double-check any values you enter in the wlb.conf file: Workload Balancing does not validate values in the wlb.conf file. Consequently, if the configuration parameters you specify are not within the required range, Workload Balancing does not generate an error log.

Increasing the Detail in the Workload Balancing Log

The Workload Balancing log provides a list of events on the Workload Balancing virtual appliance, including actions for the analysis engine, database, and audit log. This log file is found in this location: /var/log/wlb/ LogFile.log.

You can, if desired, increase the level of detail the Workload Balancing log provides. To do so, modify the Trace flags section of the Workload Balancing configuration file (wlb.conf), which is found in the following location: / opt/citrix/wlb/wlb.conf. Enter a 1 to enable logging for a specific trace and a 2 to disable logging. For example, to enable logging for the Analysis Engine trace, enter:

<AnalEngTrace>1</AnalEngTrace>

You may want to increase logging detail before reporting an issue to Citrix Technical Support or when troubleshooting.

Logging

 

Trace Flag

Benefit or Purpose

 

Option

 

 

 

 

 

 

 

Analysis

 

AnalEngTrace

Logs details of the analysis engine calculations.

Engine

 

 

Shows details of the decisions the analysis engine is making and

Trace

 

 

 

 

 

potentially gain insight into the reasons Workload Balancing is

 

 

 

not making recommendations.

 

 

 

 

Database

 

DatabaseTrace

Logs details about database reads/writes.

Trace

 

 

However, leaving this trace on will increase the log file size

 

 

 

 

 

 

quickly.

 

 

 

 

Data

 

DataCollectionTrace

Logs the actions of retrieving metrics.

Collection

 

 

This lets you see the metrics Workload Balancing is retrieving

Trace

 

 

 

 

 

and inserting into the Workload Balancing data store. However,

 

 

 

leaving this trace on will increase the log file size quickly.

 

 

 

 

Data

 

DataCompactionTrace

Logs details about how many milliseconds it took to compact

Compaction

 

 

the metric data.

Trace

 

 

 

 

 

 

 

Data Event

 

DataEventTrace

This trace provides details about events Workload Balancing

Trace

 

 

catches from XenServer.

 

 

 

 

Data

 

DataGroomingTrace

This trace provides details about the database grooming.

Grooming

 

 

 

Trace

 

 

 

 

 

 

 

Data

 

DataMetricsTrace

Logs details about the parsing of metric data.

Metrics

 

 

Leaving this trace on will increase the log-file size quickly.

Trace

 

 

 

 

 

 

Queue

 

QueueManagementTrace

Logs details about data collection queue management

Management

 

 

processing.

Trace

 

 

(This is for internal use.)

 

 

 

 

 

 

 

188

Page 206
Image 206
Citrix Systems 6 manual Increasing the Detail in the Workload Balancing Log, Logging Trace Flag Benefit or Purpose Option