Scheduled Reboots for XenApp 7.6 Application Servers (odds, evens) Using Script

Scheduled Reboots for XenApp 7.6 Application Servers (odds, evens) Using Script

book

Article ID: CTX203346

calendar_today

Updated On:

Description

Scheduled reboot for XenApp 7.x application servers


Instructions

Set up the restart schedule for a Server OS machine Delivery Group
 
Use the Reboot Schedule feature to configure the restart schedule for Server OS machines within a Delivery Group. You can:
 
o Specify the days and hour on which reboots occur
o Distribute the restart activity over an evenly spaced duration (this is useful for large groups)
o Create a customized message that notifies users about the restart
 
Note: You cannot perform an automated power-on or shutdown in Studio.
 
1. From the Delivery Group node, select Edit Delivery Group.
 
2. Click Reboot Schedule.
 
3. Click Yes. The Reboot Schedule options activate.
 
4. Enter the following information:
o Restart machines — Select Daily, or specify a day of the week. For example, Every Saturday.
o Restart first group at — Using 24 hour format, enter the hour and minute at which the first group restarts. For example, 20:15.
o Restart additional groups every — Select All machines at once or the time interval at which groups restart. For example, 2 hours.
 
5. Select when to send a restart notification using the Send restart notification to user list. For example, 5 minutes before user is logged off. If you select this option, enter the notification message text then clickOK.
 

Environment

The above mentioned sample code is provided to you as is with no representations, warranties or conditions of any kind. You may use, modify and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the sample code may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the sample code fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the sample code. In no event should the code be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SAMPLE CODE, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Although the copyright in the code belongs to Citrix, any distribution of the sample code should include only your own standard copyright attribution, and not that of Citrix. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the sample code.

Additional Information

Citrix eDocs