Skip to content
citrix-environment-diagnostics logo

Citrix Environment Diagnostics

citrix-environment-diagnostics

Comprehensive Citrix environment health assessment and diagnostics. Use when analyzing Citrix site health, checking VDA registration status, verifying Delivery Controller services, assessing StoreFront availability, or performing environment audits. Covers infrastructure health, database connecti...

SKILL.md

Full skill instructions

Citrix Environment Diagnostics

Overview

This skill provides guidance for comprehensive Citrix environment health assessments, including VDA status, Delivery Controller health, StoreFront availability, and overall infrastructure diagnostics.

Instructions

When performing Citrix environment diagnostics:

1. Verify Connectivity and Access

# Load Citrix PowerShell snap-ins
Add-PSSnapin Citrix.* -ErrorAction SilentlyContinue

# Test connection to Delivery Controller
Get-BrokerSite
  • Confirm PowerShell access to Delivery Controllers
  • Validate administrative permissions
  • Check network connectivity to all components

2. Assess VDA Registration Status

# Get overall VDA registration summary
Get-BrokerMachine -MaxRecordCount 10000 |
    Group-Object RegistrationState |
    Select Name, Count

# List unregistered VDAs with details
Get-BrokerMachine -RegistrationState Unregistered |
    Select DNSName, CatalogName, LastConnectionFailure, LastDeregistrationReason

# Check VDA load distribution
Get-BrokerMachine -RegistrationState Registered |
    Select DNSName, LoadIndex, SessionCount |
    Sort LoadIndex -Descending

Key metrics to verify:

  • Registration rate should be >95%
  • Load index should be <8000 for healthy VDAs
  • Check for patterns in failed registrations

3. Verify Delivery Controller Health

# Check controller status
Get-BrokerController | Select MachineName, State, DesktopsRegistered

# Verify site database connectivity
Get-BrokerSite | Select Name, ConfigurationLoggingDatabaseName

# Check broker service status
Get-BrokerServiceStatus

Validate:

  • All controllers showing "Active" state
  • Database connections established
  • Services running on all controllers

4. Assess StoreFront Status

# On StoreFront server - check store status
Get-STFDeployment
Get-STFStoreService | Select FriendlyName, VirtualPath

# Verify authentication methods
Get-STFAuthenticationService | Select FriendlyName, VirtualPath

Check:

  • Store accessibility from client networks
  • Authentication provider configuration
  • SSL certificate validity

5. Review Session and Resource Utilization

# Active session count
Get-BrokerSession -MaxRecordCount 10000 | Measure-Object

# Sessions by delivery group
Get-BrokerSession -MaxRecordCount 10000 |
    Group-Object DesktopGroupName |
    Select Name, Count |
    Sort Count -Descending

# Machine utilization by catalog
Get-BrokerMachine -MaxRecordCount 10000 |
    Group-Object CatalogName |
    ForEach-Object {
        [PSCustomObject]@{
            Catalog = $_.Name
            Total = $_.Count
            Registered = ($_.Group | Where-Object {$_.RegistrationState -eq 'Registered'}).Count
            InUse = ($_.Group | Where-Object {$_.SessionCount -gt 0}).Count
        }
    }

6. Check Licensing Status

# Get license server information
Get-BrokerSite | Select LicenseServerName, LicenseServerPort

# Check license usage (requires License Server access)
Get-LicInventory -LicenseServerAddress <LicenseServer> -LicenseServerPort 27000

7. Document and Report Findings

After completing diagnostics:

  1. Summary: Overall environment health status
  2. Issues Identified: List any problems found
  3. Metrics: Key performance indicators
  4. Recommendations: Remediation steps for any issues
  5. Next Steps: Follow-up actions required

Health Check Thresholds

ComponentHealthyWarningCritical
VDA Registration>98%95-98%<95%
Load Index<50005000-8000>8000
Controller StateAll Active1 InactiveMultiple Inactive
DB Response<100ms100-500ms>500ms

Common Issues to Check

  • VDA Registration Failures: Time sync, firewall, DNS resolution
  • High Load Index: Resource contention, runaway processes
  • Controller Issues: Service failures, database connectivity
  • StoreFront Problems: Certificate expiry, IIS configuration

Reference Materials

For detailed information, refer to:

  • citrix-knowledge/​domain-knowledge/​comprehensive-citrix-knowledge.md
  • citrix-knowledge/​runbooks/ for step-by-step procedures
  • citrix-knowledge/​troubleshooting/ for common issue resolutions

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
I
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View