automatic scheduled reboot of servers

andy_smith

Well Known Member
List,

There were several posts in the past regarding rebooting terminal
servers (particularly when they were on NT4 TSE).

Do sites still carry out scheduled reboots of the TSE's ? - and what
approaches are taken to do this ?

Regards


Andy Smith
Technical Consultant


WHITEHOUSE

Consultants

http://www.whitehouse-consult.co.uk

Office: 01564 711037
Direct: 01159 825987
Mobile: 07949 603770

E-Mail: [email protected]




Andy Smith
Whitehouse Consultants
Win2K SQLServer7 Xe
 
Yes. I still do this every week. Just schedule the following script to run weekly.

REM ==========================================
REM
REM Citrix Terminal Server Maintenance Script
REM
REM
REM Created: Nov 12th, 2001: CDAWES
REM
REM ==========================================


REM ==========================================
REM Disable *NEW* User logins 60 minutes before shutdown
REM Disable RDP and ICA
change logon /disable


REM ==========================================
REM Send Message to All Users
msg * Server is going down in 60 minutes. Please save your work and log off OneWorld.
REM Wait 50 minutes
sleep.exe 3000


REM ==========================================
REM Send Message to All Users
msg * Server is going down in 10 minutes. Please save your work NOW and log off OneWorld.
REM Wait 10 minutes
sleep.exe 540


REM ==========================================
REM Send Message to All Users
msg * Server is SHUTTING DOWN
REM Wait 1 minute
sleep.exe 60


REM ==========================================
REM Disconnect all Existing Connections
echo y | reset session ica-tcp
echo y | reset session rdp-tcp


REM ==========================================
REM Reboot the Terminal Server
tsshutdn /REBOOT
 
Andy

We reboot our terminal servers as well. We have Windows 2000 servers with Citrix XP. We find that the servers begin to act flakie after awhile if they are not rebooted. Each terminal server gets rebooted once a week. The lan administrator has automated the process. First he removes two servers from the citrix pool. After a number of hours have elapsed, the servers have a scheduled reboot followed by a return to the pool. This is happening in a round robin fashion during the off-hours.

Gregg Larkin
Praxair, Inc.
North American PeopleSoft
Enterprise One System Administrator
 
Back
Top