xenapp probe commands using to poll the xenApp Farm information

Document ID : KB000045278
Last Modified Date : 14/02/2018
Show Technical Document Details

Question: 

What are the commands which the xenapp probe is using to poll the xenApp Farm information

 

Environment:  

1.10

 

Answer: 

Please find the list of PowerShell cmdlets used in the probe.

1.Probe will check the connectivity of the Citrix Server using the following command

winrm identify -r:%QUERY_HOST_URL% -u:%USER_NAME% -p:%PASSWORD%

 

2.PowerShell “Get” cmdlets           

Get-XAAdministrator

Get-XAApplication

Get-XASession

Get-XAFarm

Get-XAFolder

Get-XALoadBalancingPolicy

Get-XALoadEvaluator

Get-XAServer

Get-XASession

Get-XAWorkerGroup

Get-XAZone

 

3.Probe will get the Performance Metrics using “Invoke-Command”, these metrics  will be collected for all the Servers in the Farm, or can also be limited to Primary XenApp Server depending on the probe configuration.

 

a.System Related Metrics

"System\\Processor Queue Length\",

"System\\System Up Time\",

"System\\System Calls/Sec\",

"System\\Threads\",

"System\\Processes\",

"System\\% Registry Quota In Use\",

"System\\Context Switches/Sec\"";

 

b.Network Related Metrics

"Network Interface(*)\\Bytes Total/sec\"";

 

c.LogicalDisk Related Metrics

"LogicalDisk(*)\\Avg. Disk Sec/Transfer\",

"LogicalDisk(*)\\Avg. Disk Sec/Write\",

"LogicalDisk(*)\\Avg. Disk Sec/Read\",

"LogicalDisk(*)\\Current Disk Queue Length\",

"LogicalDisk(*)\\% Disk Time\",

"LogicalDisk(*)\\% Free Space\"";

 

d.Processor Related Metrics

"Processor(*)\\% Processor Time\"";

 

e.Citrix Related Metrics

"Citrix CPU Utilization Mgmt User(*)\\*\"";

"Citrix MetaFrame Presentation Server\\*\"";

"Citrix IMA Networking(*)\\*\"";

"Citrix Licensing\\*\"";

 

f.ICA Session Related Metrics

 

"ica session(*)\\Latency - Last Recorded\",

"ica session(*)\\Latency - Session Average\",

"ica session(*)\\Latency - Session Deviation\"";

"ica session(*)\\Input Session Compression\",

"ica session(*)\\Input Session Line Speed\",

"ica session(*)\\Output Session Compression\",

"ica session(*)\\Output Session Line Speed\",

"ica session(*)\\Resource Shares\"";

 

g.Security Ticket Authority  

"secure ticket authority\\*\""; 

 

4.Service metrics of the XenApp Server using in “Invoke-Command”, we will try to get the following metrics from the below services State,DisplayName,Name,ServiceType,Path,StartMode,ExitCode,DesktopInteract,ProcessId,Started,Status,ErrorControl

"IMAService",

"CitrixXTEServer", 

"ctxcpuSched",

"CTXCPUBal",

"cpsvc",

"Citrix Virtual Memory Optimization", 

"MFCom", 

"TermService", 

"CitrixWMIService", 

"RadeSvc", 

"RadeHlprSvc", 

"LanmanServer", 

"Netlogon", 

"RpcSs", 

"LanmanWorkstation", 

"Spooler", 

"CtxHttp";