Citrix 7.x Best Practices

Pre-requisites

The prerequisites for monitoring CITRIX devices are available here:

http://servicenav.coservit.com/documentation/manage-citrix-servers/

Citrix architecture, Concepts and components

This illustration shows the main components of a typical XenApp or XenDesktop deployment, which is referred to as a site.

The components in this illustration are as follows:

 

Delivery Controller : Delivery Controller is the centralized management component of any XenApp or XenDesktop site. Each site has one or more Delivery Controllers. It is installed on at least one server in the data center.

Database : At least one Microsoft SQL Server database is required for each XenApp or XenDesktop site to store all configuration and session information

Virtual Delivery Agent (VDA) : The VDA is installed on every physical or virtual machine on your site that you want to make available to users. It allows machines to register with the Controller, which allows the machine and the resources it hosts to be made available to users.

StoreFront : StoreFront authenticates users to the sites hosting the resources and manages the desktop and application stores that users access.

Studio : Studio is the management console that allows you to configure and manage your deployment by eliminating the need for separate management consoles to manage the delivery of applications and desktops.

Director : Director is a web-based tool that enables IT support and support teams to monitor an environment, troubleshoot problems before they become critical to the system, and perform support tasks for end users.

License Server : The license server manages the licenses for your products. It communicates with the Controller to manage licenses for each user session and with Studio to allocate the license files. You must create at least one license server to store and manage your license files.

Hypervisor : The hypervisor hosts virtual machines in your site. This can be the virtual machine that you use to host applications and desktops, as well as the virtual machine that you use to host the XenApp and XenDesktop components. A hypervisor is installed on a host computer entirely dedicated to running the hypervisor and hosting virtual machines.

The Citrix XenServer hypervisor is included with XenApp and XenDesktop, but you can use other supported hypervisors, such as Microsoft Hyper-V or VMware vSphere.

NetScaler Gateway : When users log on outside of the corporate firewall, this release can use Citrix NetScaler Gateway (formerly the Access Gateway) technology to secure connections with SSL. The NetScaler Gateway or NetScaler VPX virtual appliance is a VPN SSL appliance deployed in the DMZ to provide a single secure access point through the enterprise firewall.

Configuration

General

It is recommended that you monitor all servers that make up your Citrix site.

For all physical or virtual servers and according to the technologies used, apply the following service models:

Memory :

  • MS-WIN-RAM
  • LIN-RAM
  • VMware-Datacenter-VM_RAM
  • VMware-ESX-VM_RAM
  • VMware-ESXi-VM_RAM

Processor :

  • MS-WIN-Process-CPU
  • CPU
  • LIN-Cpu
  • VMware-Datacenter-VM_CPU
  • VMware-ESX-VM_CPU
  • VMware-ESXi-VM_CPU

SWAP (Swap file) :

  • MS-WIN-SWAP
  • LIN-Swap
  • VMware-Datacenter-VM_SWAP
  • VMware-ESX-VM_SWAP
  • VMware-ESXi-VM_SWAP

Disk space :

  • MS-WIN-DiskUsage
  • LIN-Diskspace
  • VMware-Datacenter-VM_ Diskspace
  • VMware-ESX-VM_ Diskspace
  • VMware-ESXi-VM_ Diskspace

Disk Performance :

  • MS-WIN-DiskIO
  • LIN-DisksIO
  • VMware-Datacenter-VM_ DisksIO-Read
  • VMware-Datacenter-VM_ DisksIO-Write
  • VMware-ESX-VM_ DisksIO
  • VMware-ESXi-VM_ DisksIO
  • MS-WIN-Counter-PercentDiskTime
  • MS-WIN-Counter-CurrentDiskQueueLength

Network Interface :

  • Network_traffic
  • LIN-Network_traffic

These templates collect the general health of the servers that make up the Citrix site.

Delivery Controller or Director

On the Delivery Controller or Director servers, apply the following service templates :

Citrix-XenApp-Session-Opening-avg :

  • Name of SQL instance
  • Database name
  • Collection period

This template collects the average duration of Citrix logon and the number of logons over a defined time interval. This service requires the configuration of the file freetds.conf on the monitoring server, configuration procedure available here: http://servicenav.coservit.com/documentation/how-to-monitor-ms-sql-server/

Citrix-XenApp-Session-Opening-Max :

  • Name of SQL instance
  • Database name
  • Collection period

This template collects the maximum duration of Citrix logon and the number of logons over a specified time interval. This service requires the configuration of the file freetds.conf on the monitoring server, configuration procedure available here: http://servicenav.coservit.com/documentation/how-to-monitor-ms-sql-server/

Database

On the Database server apply the following ervice templates :

  • MS-MSSQL
  • MS-MSSQL-ConnexionTime
  • MS-MSSQL-database-backup-age
  • MS-MSSQL-database-free

These templates are used to collect configuration and session information. This service requires the configuration of the freetds.conf file on the supervision server, configuration procedure available here:

http://servicenav.coservit.com/documentation/how-to-monitor-ms-sql-server/

Virtual Delivery Agent (VDA)

It is recommended that you monitor the correct execution of the BrokerAgent.exe, res.exe, and resop.exe processes

On all servers where the VDA Agent is deployed, apply the following service model:

  • MS-WIN-ProcessName

This template checks the status of a specific Microsoft Windows service and notifies when it is not started.

StoreFront

It is recommended to ensure the correct start of the following services :

  • Citrix Cluster Join Service
  • Citrix Configuration Replication
  • Citrix Credential Wallet
  • Citrix Default Domain Services
  • Citrix Peer Resolution Service
  • Citrix Subscriptions Store
  • World Wide Web Publishing Service

On the StoreFront servers apply the following service template :

  • MS-WIN-Services_not_started

This template checks the status of Microsoft Windows services to be started except for those that are set as parameters.

  • MS-WIN-ServicesList-Started

This template checks the status of the services of a Microsoft Windows server specified as a parameter.

Also check the health of the WEB service using the following service model:

  • MS-WIN-Counter-ASP.NETRequestsQueued

This template collects the number of requests rejected from the ASP.NET queue.

XenApp Windows

It is recommended to ensure the correct start of the following services :

  • Citrix Diagnostic Facility COM Server Service
  • Citrix Environment Test Service
  • Citrix Host Services
  • Citrix Machine Creation Service
  • Citrix Monitor Service
  • Citrix StoreFront Service

On Windows XenApp servers, apply the following service templates :

  • MS-WIN-Services_not_started

This template checks the status of Microsoft Windows services to be started except for those that are set as parameters.

  • MS-WIN-ServicesList-Started

This template checks the status of the services of a Microsoft Windows server specified as a parameter.

License Server

It is recommended to ensure the correct start of the following services :

  • Citrix Licensing Service
  • Citrix Licensing Support Service
  • Citrix Licensing WMI

On the license servers, apply the following service models :

  • MS-WIN-Services_not_started

On the license servers, apply the following service models.

  • MS-WIN-ServicesList-Started

This template checks the status of the services of a Microsoft Windows server specified as a parameter.

NetScaler Gateway

On the NetScaler Gateway, apply the following service models :

  • CITRIX-Netscaler-CPU

This service model measures the use of the appliance’s processors.

  • CITRIX-Netscaler-Disks

This model measures the use of disk space.

  • CITRIX-Netscaler-RAM

This model measures the use of the RAM of the appliance.

  • CITRIX-Netscaler-VServer-State

This template controls the status of each vserver.

It is recommended to verify that the NetScaler are accessible via HTTPS from the network where they are implemented, but also from outside via the public URL used by Receiver clients (eg https://myworkspacecitrix.com), using following service model

  • HTTP_HTTPS

This template tests an HTTP / HTTPS request with the possibility to test: if a string is present on the page, the loading time and the validity of the page certificate.

IT Weather

IT Weather applied to a CITRIX environment:

Note: it is possible to reveal the dependencies of each link by clicking “+”

Reporting

Example Availability report for CITRIX User Service:

Facebook
Google+
Google+
http://servicenav.coservit.com/documentation/citrix-7-x-best-practices/
Youtube
Youtube
LinkedIn