cancel
Showing results for 
Search instead for 
Did you mean: 

How to Inventory Citrix XenDesktop and XenApp using FlexNet Manager Suite

How to Inventory Citrix XenDesktop and XenApp using FlexNet Manager Suite

Introduction

This article is for anyone who uses FlexNet Manager Suite to inventory Citrix XenApp and/or XenDesktop.  Note that Citrix has re-branded these from Citrix XenApp to Citrix Virtual Apps, and from Citrix XenDesktop to Citrix Virtual Apps and Desktop. However, for the sake of matching the current FlexNet Manager Suite user interface terminology, this article retains the XenApp/XenDesktop terminology. 

The article applies to FlexNet Manager Suite cloud implementations and on-premises implementations. and is designed to help you properly set up FlexNet Manager Suite in order to inventory XenApp and/or XenDesktop. Most questions relating to XenApp or XenDesktop evidence recognition within FlexNet Manager Suite will most likely be answered or resolved by properly configuring FlexNet Manager Suite so that it can correctly inventory XenApp or XenDesktop within your organization.

One of the most basic questions some users have is what is the difference between XenApp and XenDesktop? The easiest answer is this: If you just want to use an individual application and nothing more, XenApp is the choice; conversely, XenDesktop lets users access physical machines (and have access to all applications on that machine) from anywhere. You just login to the Citrix from your device in either case.

Related Information

For more information, refer to the “XenApp Server Adapter” chapter of the FlexNet Manager Suite Inventory Adapters and Connectors Reference PDF, available on HelpNet. Also see, the “Discovery and Inventory Rules” topic within the online Help.

How to Inventory Citrix XenDesktop and XenApp using FlexNet Manager Suite

Delivery of XenDesktop is backed by machines, physical or virtual, that exist in a datacenter. End users remotely log into one of these machines and have access to all applications on that machine.

Delivery of XenApp is through applications installed on machines that exist somewhere in a datacenter. When users launch an application, a session on these machines is launched, and the application is then delivered to the client device and users can use it just as if the app were installed on their own machine. Users can launch multiple applications assigned to them but do not always have access to all the applications installed on the machine.

Quick Steps

This section provides quick steps about how to configure FlexNet Manager Suite to inventory XenDesktop and XenApp. Most of the steps include a hyperlink to a section providing more details.  

Important! These steps are not required as long as you are collecting inventory from the machines. FlexNet Manager Suite needs to receive inventory data, but the mechanism itself is not important. With respect to inventory of the Citrix servers "serving up" the applications, FlexNet Inventory, SCCM, and ADDM are the most common. These steps provide one way to collect the inventory. 

Note: If you only need to inventory XenDesktop (and not XenApp), perform steps 1 through 3.
If you need to inventory XenApp only or both XenDesktop and XenApp, perform steps 1 through 4.

To configure FlexNet Manager Suite to inventory XenDesktop and XenApp:

  1. Create a discovery and inventory rule to inventory XenDesktop.
  2. Import all Active Directory data. This import provides FlexNet Manager Suite with AD group GUIDs that provide a mapping of users assigned to each AD group.
  3. Create a discovery and inventory rule to inventory all delivery groups.
  4. For XenApp inventory collection only—In addition to completing the previous three steps, you must also do the following to collect XenApp inventory:
    1. Create the staging database. For more information, refer to the “Creating the Staging Database” section of the “XenApp Server Adapter” chapter in the FlexNet Manager Suite Inventory Adapters and Connectors Reference PDF, available on HelpNet.
    2. Install XenAppAgent and define its schedule. Note: The XenAppAgent was released in 2019 R1.3 for cloud implementations and will be released in FlexNet Manager Suite 2019 R2 for on-premises implementations. For more information, refer to the “Installing the XenApp Server Agent” section of the “XenApp Server Adapter” chapter in the FlexNet Manager Suite Inventory Adapters and Connectors Reference PDF, available on HelpNet. Also see XenAppAgent Information in this document.
    3. Create a scheduled task. For more information, refer to the “Installing the XenApp Server Agent” section of the “XenApp Server Adapter” chapter in the FlexNet Manager Suite Inventory Adapters and Connectors Reference PDF, available on HelpNet.
    4. Connect the XenApp Server connector to the staging database. This will send XenApp inventory data to FlexNet Manager Suite. For more information, refer to the “Create Connections for Data Upload” section of the “XenApp Server Adapter” chapter in the FlexNet Manager Suite Inventory Adapters and Connectors Reference PDF, available on HelpNet.

Important! Keep in mind that FlexNet Manager Suite’s discovery and inventory rules are static, so when something changes within your Citrix server farm, you must update the corresponding discovery and inventory rules within FlexNet Manager Suite in order to keep your XenApp or XenDesktop evidence recognition accurate. Also, keep in mind that in order for the Discovery and Inventory rules to work, you must add a Citrix admin account to the FlexNet Beacon.

 

 

Create a discovery and inventory rule to inventory XenDesktop

Inventorying XenDesktop requires creating a discovery and inventory rule comprising:

  • A Target defining the XenDesktop Delivery Controller server.

    XenDesktopTarget.png
  • An Action corresponding to its XenDesktop environment. Ensure that you click the Discover Citrix XenDesktop environments and Gather Citrix XenDesktop environment inventory checkboxes.

    XenDesktopActions.png

  • A Rule that can target a specific machine or set of machines. The rule performs the action you created on the target you created.

    XenDesktopRule.png

The XenDesktop inventory discovery rule is then triggered on the FlexNet Beacon by remotely executing commands on the delivery controller.

 

 

Import all Active Directory data

An Active Directory (AD) typically consists of a list of all users as well as a list of all AD groups. In the case of AD groups, FlexNet Manager Suite needs a way to determine which users are in which groups. Consequently, FlexNet Manager Suite requires an import of all Active Directory data. This import provides FlexNet Manager Suite with AD group GUIDs that provide a mapping of users assigned to each AD group.

 

 

Create a discovery and inventory rule to inventory all delivery groups

This section contains information about creating a discovery inventory rule to inventory delivery groups. For information about creating delivery groups, refer to the Citrix Delivery groups product documentation. At a minimum, each unique machine from every delivery group must be inventoried. In FlexNet Manager Suite, a discovery and inventory rule can be created to perform this; however, keep in mind that the machines to target are dependent upon how the machines were derived, as follows:

  • Machines derived from a base image—If a catalog contains multiple machines from the same base image, then just one of those machines needs to be inventoried (assuming all machines derived from the base image are not unique). Any unique machine needs to be inventoried.
  • Machines NOT derived from a base image—If a catalog contains multiple machines not derived from a base image, then each unique machine needs to be inventoried.

Inventorying machines from every machine catalog can be done in FlexNet Manager Suite by creating a discovery and inventory rule comprising:

  • A Target containing all unique machines that need to be scanned for installed software.

    XenVdiTargetAdopt.png

    Note: In this example, the Adoption options section is set to Allow these targets to be adopted. If you do not want to allow the targets to be adopted, there is no need to adopt and install the agent on these machines because the inventory can be done remotely (zero touch). In that scenario, you would choose the Do not allow these targets to be adopted radio button in the Adoption options section.

  • An Action for general hardware and software inventory.

    XenVdiAction.png
  • A Rule that can target a specific machine or set of machines.

    XenVdiRule.png

Note: There is no need to adopt and install the agent on these machines, because the inventory can be done remotely (zero touch).

 

 

 

XenAppAgent Information

This section provides supplemental information regarding the XenAppAgent. For information about how to set up FlexNet Manager Suite to inventory XenApp, refer to How to Inventory Citrix XenDesktop and XenApp using FlexNet Manager Suite.

Note: The XenAppAgent was released in 2019 R1.3 for cloud implementations and will be released in FlexNet Manager Suite 2019 R2 for on-premises implementations.

Beginning with FlexNet Manager Suite R1.3 (for cloud implementations) and FlexNet Manager Suite R2 (for on-premises implementations), support for XenApp Applications Groups was added. To take advantage of support for Application Groups and the collection of user filters, you must use the new XenApp server agent, XenAppAgent. In addition, a one-time staging database update is required to use XenAppAgent to collect Application Group data and user filters from Application Groups.

Note: The XenAppAgent installer can be found within the XenAppAgent folder of the Citrix XenApp Server Agent subdirectory that is provided in the Adapter Tools for FlexNet Manager Suite archive.
For on-premises implementations, the Adapter Tools for FlexNet Manager Suite is available in a zip archive in the Product and License Center. For cloud implementations, the zip archive can be downloaded from the Flexera Community.

FlexNet Manager Suite’s XenApp server agent, XenAppAgent, is run on a Delivery Controller which reads application assignment and populates a staging database. Then XenApp server adapter on FlexNet Beacon reads data from this staging database and uploads it to FlexNet Manager Suite, where it is processed with data from other components.

The XenAppAgent requires that the machines in the machine catalog are power-managed (so they can be powered on) and their Windows Admin share is not disabled (by default it is enabled).

Labels (1)
Was this article helpful? Yes No
100% helpful (2/2)
Comments

I have a question on how this article relates to current guidelines for XenApp inventory.

In "Inventory Adapters and Connectors Reference" there is no mention of setting up any Discovery & Inventory rules in XenApp chapter. Yet, here as per step 1. and 3. it is a requirement.

Are those new steps required to collect inventory?

for example, based on the article connection to XenDesktop can be done through inventory rule, but according to documentation we need a beacon to connect to XenDesktop db and there are no further steps described.

PS. For those rules to work, does fnms service account needs any sort of privileges on Citrix platform?

Thanks for your questions/comments and interest in this article.

These steps are not required as long as you are collecting inventory from the machines. As long as inventory data is received by FlexNet Manager Suitem, the mechanism is not important. With Respect to inventory of the Citrix Servers "serving up" the applications, FlexNet Inventory, SCCM, and ADDM are the most common. (I will add this statement to the above KB.)

Regarding the note that the above KB info is missing from the Adapters and Connectors Reference PDF, we wanted to get this KB info out ASAP rather than waiting for the next release. We are working to update the Adapters and Connectors Reference PDF as well.

With respect to the need for an inventory beacon, that is true in that connection to XenDesktop can be done through an inventory rule, and the inventory rule runs from the inventory beacon, so in that case, we do need an inventory beacon. However we don't need a connection to a database because the inventory rule is run remotely on the server and it uses APIs and not DB access.

Regarding privileges on Citrix, in order for the Discovery and Inventory rules to work, add a Citrix admin account to FlexNet Beacon. 

As part of the adapter, do you not still require a DB connection from the Beacon to the Citrix Monitoring database (EdgeSight / Director)?

Citrix EdgeSight was not included in the KB as it is an optional way to gather the Usage data. But yes, if you want to gather the usage data that way, you need to create the DB connection.
Version history
Revision #:
19 of 20
Last update:
‎Nov 11, 2019 02:03 PM
Updated by:
 
Labels
Contributors