Tagged: data collector

Manually Setting Xenapp Data Collector Preference

As previously discussed the Data Collector stores and distributes information (such as published applications, connected users,licensing etc) on zones within a farm. Also each server has a data collector service but only one server is elected the Data Collector (which minimises wan traffic and stops issues from occurring if all the servers data collectors are chatting away to each other.

The data collection election is entirely automatic and normally the first server installed into a farms zone will be given the MOST PREFERRED setting however you can change this setting if you wish.

In order to change the preference you will need to open the presentation server console and right click and choose properties on the farm name at the top of the tree menu.

The next window you see will by default tell you that the feature is now administered in the access management console. However ignore this and click on the Zones option and expand the zone you would like to edit.

You will see the list of servers in the zone and one will have a blue tick next to it, this by default is the MOST PREFERRED. For the servers you would like to change preferences on you will need to click on each one individually and click the set election preference button to set the preference you desire.

One thing to note is that only one server must have the MOST PREFERRED option set all others are set by default to DEFAULT PREFERENCE.

Xenapp 5 Data Collectors

Configuring the Data Collector Service

The data collector service is the hub of a citrix farm, the data collector responsibilities include but are not limited to:-

Information on published applications
Connected Users
Sessions
Licencing
Server Load
Distribution of the above Information to other data collectors in the farm.

Data collectors operate within “ZONES” inside a farm. Zones are groups of servers that are usually grouped by geographical boundaries. Zones are created to minimise WAN traffic. If for example we had offices in Iceland and one in australia, each would have a seperate zone so that users in iceland connect and lanuch published applications from the iceland zone. This would stop them connecting to the australia zone and incuring WAN costs.

In the above configuration you would still get WAN traffic however it would be minimal as only the datacollectors would be relaying information on their status to each other.

Another interesting thing about data collectors is the “election” process. This is the automated process where a data collector is elected as the primary collector and others as backups. This process is completely automated and can be explained in the following.

You have 2 zones (Iceland and Australia) each has 5 servers within their own zone (so the farm has 10 servers in total) . If all servers allowed their data collectors to chat across the WAN it would increase the amount of WAN traffic and potentially cause confusion. So within each zone the election process takes place. This allows one server to communicate the zones status/info etc to the other zome. However also elected are backup data collectors. This will then become the primary data collector should anything happen to the original primary data collector.

Although this is completely automated there are configuration settings you can change to assist the choice of the primary data collector.

MOST PREFFERED
The first choice for the data collector only assign this to ONE server in each zone. For information this is normally automatically assigned to the first xenapp server installed in a zone.

PREFERRED
The second choice for a data collector, more than one PREFFERED data collector can exist.

DEFAULT PREFERENCE
Default settings for servers, if no settings have been manually chosen for the servers then they go into this level of preference. Also in the event of a MP server failure and no manual preference settings have been configured then elections will occur at this level (simply because the PREFERRED option for a server must be manually chosen.

NOT PREFFERED
This is the runt setting for the servers. Servers in this level will only become data collectors if no others are available.

If you leave all the preference settings alone and let the farm get on with it by itself then when we installed the servers in the iceland zone the first server to come online will automatically be designated the MOST PREFFERED server, the other 4 will get the DEFAULT PREFERENCE.