Product Documentation

Managing Providers and WMI

May 04, 2015
Diagram showing the main components of a WMI installation
  • WMI Provider. Acts as an intermediary between the CIM (Common Information Model) Object Manager and the system being managed. The purpose of a WMI provider is to extract management information from the underlying system and present this to a WMI consumer.
  • The CIM Object Manager (CIMOM). Acts as a broker between the WMI providers and consumers. When a WMI consumer requests information, CIMOM identifies the WMI provider that can supply the information, obtains the information, and passes it to the consumer. CIMOM has its own repository in which it stores the data supplied to consumers. The Managed Object Format (MOF) files are also stored in the CIMOM repository. A MOF file defines the schema, which is the data that a WMI provider can supply and the methods it can execute in response to WMI requests.
  • WMI Consumer. A management tool such as Microsoft Operations Manager (MOM), an MMC snap-in such as the Citrix Access Management Console or Delivery Services Console, or a third party application.

Depending on which version of XenApp you have installed, Citrix XenApp Management Pack for MOM 2005, or Citrix XenApp Management Pack for Systems Center Operations Manager 2007 and Citrix XenApp Management Pack for Systems Center Operations Manager 2007 SP1 are included with your product.

XenApp Provider Overview

The Citrix XenApp Provider for Microsoft Windows Management Instrumentation (also referred to as the XenApp Provider or the Provider) extracts information about the server on which it is installed and, where appropriate, about the server farm in which this server operates. It presents this information to a WMI consumer, such as MOM, for display.

For example, information about sessions on the server and published applications in the server farm is provided. You can use this information to monitor the health and availability of the server and server farm.

The Provider runs on the server as a Windows service.

Licensing Provider Overview

Citrix Licensing is handled by one or more license servers.

The Licensing Provider is available on each Windows-based license server. It is installed by default with the license server. This WMI provider extracts information about licensing from the license server on which it runs and presents this data to a WMI consumer, such as MOM, for display. For example, the Licensing Provider supplies information about the number of licenses in use and licenses that are about to expire.

The XenApp Provider no longer supplies licensing information for computers running MetaFrame Presentation Server 3.0 or later. However, the Lincensing Provider still supplies licensing information for servers running earlier versions of XenApp. This means that you can monitor multiple farms, running different versions of XenApp. For backwards compatibility, the licensing classes are still in the schema for the XenApp Provider.
Note: For information about the data the Licensing Provider can supply, see the Citrix .mof files. The files are in the \LicWMI folder (for example: C:\Program Files\Citrix\Licensing\LicWMI).

Installing the XenApp Provider

Install the XenApp Provider on every XenApp computer for which you want to gather information. You install the Provider during the installation of XenApp.

When you install the Provider, the files are installed in the \WMI folder in the same directory in which XenApp is installed. Typically, this is: C:\Program Files\Citrix\System32\Citrix\WMI. The following files are included in this folder:

  • The executable file for CitrixWMIService (ctxwmisvc.exe)
  • Provider DLLs
  • Various .fom files
  • Managed Object Format files (.mof files)

The Provider runs as a Windows service called Citrix WMI Service.

Installing the Licensing Provider

The Licensing Provider is installed by default when you install the Citrix License Server for Windows.

The Licensing Provider runs as a Windows service called CitrixLicensingProviderService.

Security Considerations

To display information about XenApp computers and server farms using a WMI consumer, access to the Root\Citrix namespace in the WMI configuration is required. The appropriate Citrix administration rights to display information about servers and server farms is also required.

If you delegate areas of XenApp administration and server farm management to Citrix administrators, these administrators can monitor and control only the specific administration tasks for which they have permissions. For example, if a Citrix administrator can manage only published applications, only information about published applications is available to them from the XenApp Provider.

Uninstalling the Providers

Uninstall the XenApp Provider using the XenApp uninstaller.

The Licensing Provider is part of Citrix Licensing. To uninstall the Licensing Provider, uninstall the Citrix License Server.

WMI Schema

This section contains diagrams of the WMI schemas for the XenApp Provider and Licensing Provider. The schema is the data that a WMI provider can supply and the methods it can execute in response to WMI requests. The following schema are shown:

  • XenApp Provider
  • Licensing Provider
Note: These diagrams represent typical WMI schemas, rather than providing a comprehensive list of all the data returned by the Providers. For more information about the data the XenApp Provider can supply, see the Citrix .mof files in the \WMI folder (for example: C:\Program Files\Citrix\System32\Citrix\WMI). For more information about the data the Licensing Provider can supply, see the Citrix .mof file in the \LicWMI folder (for example: C:\Program Files\Citrix\Licensing\LicWMI).

Citrix Licensing Provider WMI Schema