Home Applications Citrix XenApp Rolling Reboot Scripts, (XenApp 5, 6, and 6.5)

Citrix XenApp Rolling Reboot Scripts, (XenApp 5, 6, and 6.5)

Citrix XenApp Rolling Reboot Scripts, (XenApp 5, 6, and 6.5)

In zero-downtime 24/7 environments with shift employees, customers rarely want users to be notified of scheduled or mandatory XenApp server reboots. As a result, most of these environments have reboots disabled or this process is done manually. Unfortunately, this isn’t a good process since the XenApp servers are susceptible to memory leaks which can lead to failure and poor performance. By utilizing the included rolling reboot scripts, environments can take advantage of N+1 overallocation by processing a single server reboot while maintaining the user load on remaining systems. This has been done in such a way that users are not kicked off the system for scheduled reboots.  Instead, the server is removed from load balancing until all sessions have been logged off. Once all sessions have been logged off, the server will go down for a reboot.

After the reboot has been processed, a procedure will validate that the server has returned from the reboot properly and the load has reevaluated under 5000. This way, if there are any servers that do not return from a reboot, the script will stop processing subsequent server reboots. The script will process through all servers in the farm until all servers have rebooted. Once completed, the script will loop infinitely, repeating this process as frequently the administrator desires (FARMLOOPINTERVAL). For example, if the administrator sets this variable to 72, the farm loop will not occur more than once every three days.

If the environment already has a Citrix Full Access service account, this account can be used to run the scripts as a scheduled task. Otherwise, an administrator will need to create a full access farm administrator account and assign local administrator rights to the XenApp servers. Domain admin privileges are not needed for this account. However, since the script assigns load evaluators to the servers in the farm, XenApp admin rights are needed. The scripts must be configured on a single server for each farm (Preferably the Zone Data Collector). This server will manage the reboot processes for all other servers in the farm, excluding the local server from which the script is run.

Download Now


More Resources:

ITVCE The ITVCE (Information Technology Virtualization and Cloud Enthusiasts) blog is a community driven site for IT Professionals. The content found on ITVCE.com is primarily geared toward community support and enablement for application, desktop, and server virtualization technologies. Comments and community interactions are strongly encouraged to keep the authors honest and non-biased toward the vendors and technologies being covered. While ITVCE.com is an independent community driven blog, SME’s vendor preferences and strengths may be presumed based on active projects and topic areas covered. As unaffiliated technologists, ITVCE.com encourages the authors to post on a wide variety of vendors and products based on current or upcoming engagements.

White Papers

    What’s New in System Center 2016 – White Paper

    Today, we’re excited to announce the general availability of Microsoft System Center 2016. System Center 2016 makes it easy for you to deploy, configure and manage your virtualized, software-defined datacenter and hybrid cloud infrastructure. The latest release of System Center offers an array of new capabilities that amplify your ability to meet the most demanding business […]


      Citrix Load & Performance Testing – Download AppLoader!

      Load testing for Citrix XenApp, XenDesktop, PeopleSoft, Java, .NET, Adobe, client-server, Oracle, Siebel, SAP, web, custom apps and more Download NRG Global’s load and performance testing solution for all applications from the end user’s perspective. This easy-to-use, script-free load and performance testing solution stresses your application with real-life traffic to accurately assess end to end […]

      On-Demand Webinars

        Webinar Recap: Docker for Windows Server 2016

        Last week, we held our first webinar on “Docker for Windows Server 2016” to a record number of attendees, showcasing the most exciting new Windows Server 2016 feature – containers powered by Commercially Supported Docker Engine. Docker CS Engine and containers are now available natively on Windows and supported by Microsoft with Docker’s Commercially Supported […]

        Latest Videos

          CIO Insights: Aligning Citrix Delivery Infrastructure with EHR EMR Applications – On-Demand Webinar

          On this webinar, you will learn how, over the past 5 years, Chad Brisendine transformed the IT Organization at St. Luke’s University Health Network from one that was “built for a different time” to a 95% virtualized, Always On facility with over 90,000 employees. Chad discusses his holistic IT philosophy that aligns the EHR/EMR applications […]