System DSN - rmsummarydatabase | driver = SQL Server
Goal: Every now and then, we get a request from a development group or application support group that wants to know usage statistics for their application. Knowing there is several different methods to acquire this information we are going to attache directly to the summary database and only query the information we want to see.
Assumptions:
you already have a summery database configured for your xenapp farm
you are actively collecting client and farm information
User specific information and metrics:
dbo.LU_CLIENTPROPERTIES
dbo.LU_CLIENT
Column: CLIENTNAME - holds hosname (either friendly format, or raw iis log)
Column: CLIENTADDRESSFAMILY - (example - 0,1,2,3)
Column: CLIENTADDRESS - (example - 10.1.1.14)
Process specific information and metrics:
dbo.LU_PROCESSNAME -this table holds unique tagged process names
dbo.LU_PATH -this table holds paths to process names
dbo.LU_PROCESS -file version information, product date information
Application specific information and metrics:
dbo.LU_APPNAME -holds published icon name
dbo.SDB_APPHISTORY -data in this table details when an application was launched and for how long
Example #1 (general-summary-database-query-citrix.txt) will pull in ALL columns from LU_Appname and SDB_APPHISTORY, with PK_AppnameID and FK_APPNAMEID as part of the inner join.