Centralis.co.uk Home | Site Map | Downloads | Contact Us

 
 
Centralis > Centralis Software > Added-value Tools for Citrix
myCentralis
Sign In / Register
 
 
   

   
  Follow Us
  Follow Us on Twitter Follow Us on LinkedIn Follow Us on YouTube Follow Us on our Blog
   
  Partners
 
   

Centralis Centinel 2

Free software enabling safer reboots for XenApp/Terminal Servers.

CentinelOverview

In Citrix environments which are available to users 24 hours a day, 7 days a week, it is often difficult for administrators to perform regular reboots of the XenApp Servers to relieve instability issues caused by application memory leaks.

Scheduled reboots are fine, but potentially one or more XenApp Servers will have users logged in, and therefore can’t be safely rebooted.

Centralis Centinel gives administrators the ability to check prior to a reboot whether users are logged into each Server. Only if there are no users logged into the Server will the reboot be performed.

The application also allows a script to be run prior to the reboot, and also for Centinel to retry after a fixed number of times (at minute intervals) to test whether any remaining users have logged out.

How It Works

Centralis Centinel is a pure Win32 application and requires no additional DLL’s. It uses the Windows Terminal Server API and can therefore be used on either Terminal Server or XenApp Servers.

When executed, it will check the number of currently logged on users. If no users are currently logged onto the server, the server will be rebooted. If any users are logged onto the Server, then the server will not be rebooted. "Console" Sessions do NOT count as a logged-in user and will be ignored.

The different session states monitored are Active, Connected, ConnectQuery, Shadow, Disconnected, Idle, Listen, Reset, Down and Init. If the session type is either Idle, Listen or Down it is ignored.

Using Centralis Centinel

Centinel should be run as a scheduled task. Simply copy the file into a directory which is in the System Path (defined by the PATH variable) and schedule the application to run when you wish to reboot the server (and the most likely time when no users are expected to be logged on). The command line arguments for the application are shown below.

The success or failure of a reboot is reported in the NT Event Log.

Platforms

Centralis Centinel is designed to run on Windows 2000 Server and Windows 2003 Server with Terminal Services enabled and Windows Server 2008.

Options

Centralis Centinel supports the following command line switches:

  • -d
    Ignore disconnected session.
  • -v
    Verbose mode.
  • -l
    Launch a script (e.g. .bat, .cmd, etc) file prior to rebooting a server. Centinel will wait for the script to execute before rebooting.
  • -r
    Retries. Number of times (in minutes) to retry if users are logged in. The number of retries must be specified as there is no default setting.
  • -f
    Force reboot. Forces all programs that are running to quit. The option to save any data that may have changed is ignored.
  • -?
    Display command line help.

 

Example command line:

centinel.exe -d -l myscript.cmd -r 5

Ignore disconnected sessions. If users are connected, retry 5 times (once every minute). If all users are disconnected within the five tries, execute myscript.cmd and then reboot the server.

More Information

This product is provided free of charge, and as such does not carry any kind of warranty. Centralis accept no responsibilty for any loss or damage
caused by the use of this product.

Click here to download Centralis Centinel 2

 

 

Keeping the Agile Enterprise running

Add value to your investment in Citrix XenApp