.

This device server is certified as a reference implementation.

Development status: Released
Information status: Updated
Repository: https://github.com/tango-controls/starter
Contact: verdier@esrf.fr;



Class Description


This device server is able to control <b>Tango</b> components (database, device servers, clients...). It is able to start or stop and to report the status of these components.

Family: System

Key words:

Platform: All Platforms

License: GPL

Contact: verdier@esrf.fr

Hardware


Manufacturer: ESRF

Bus: Not Applicable

Class interface


Attributes:

Name Description
Servers Return all registred servers for this host.\nServer names are followed by their states and controls
StoppedServers Return all the Stopped servers.\n
RunningServers
HostState
NotifdState return ON or FAULT if notify daemon is running or not.

Commands:

Name Description
UpdateServersInfo Indicate to the device server than the information about servers to be controlled has been modified. The device server must read the database to update the servers info list. If the default case, this command is sent by Database server itself.
ResetStatistics Reset statistics file.
NotifyDaemonState Returns the Notify Daemon state.
HardKillServer Hard kill a server (kill -9)
DevReadLog At server startup, its standard error is redirected to a log file. This command will read this file and return the read string from the file.
DevGetStopServers Control the running process from property list. And return the list of the processes which are not running.
DevGetRunningServers Control the running process from property list. And return the list of the processes which are really running.
DevStopAll Stop all device servers controled on the host for the argin level.
DevStartAll Start all device servers controled on the host for the argin level.
DevStop Stop the specified server.
DevStart Start the specified server.
Status This command gets the device status (stored in its <i>device_status</i> data member) and returns it to the caller.
State This command gets the device state (stored in its <i>device_state</i> data member) and returns it to the caller.

Pipes:

Properties:

Name Description
UseEvents Use events if not null.
StartServersAtStartup Skip starting servers at startup if false. It a way to do not have a big re-start of many servers after a power cut.
ServerStartupTimeout Timeout on device server startup in seconds.
ReadInfoDbPeriod Period to read database for new info if not fired from Database server.
NbStartupLevels Number of startup levels managed by starter.
LogFileHome The home directory to log servers traces. For Linux the default value is /var/tmp For Win32 it is c:\temp
AutoRestartDuration If this property is greater than 0, if a server has been running more than the specified value (in minutes), and has failed, it will be restart automaticly.
WaitForDriverStartup The Starter will wait a bit before starting servers, to be sure than the drivers are started.This time is in seconds.
UseEvents Use events if not null.
StartServersAtStartup Skip starting servers at startup if false.
StartDsPath Path to find executable files to start device servers
ServerStartupTimeout Timeout on device server startup in seconds.
LogFileHome The home directory to log servers traces. For Linux the default value is /var/tmp For Win32 it is c:\temp
KeepLogFiles Number of log file kept.
InterStartupLevelWait Time to wait before two startup levels in seconds.
AutoRestartDuration If this property is greater than 0, if a server has been running more than the specified value (in minutes), and has failed, it will be restart automaticly.

Jan. 5, 2017, Andy Gotz
Edit:
The device server has been updated.
You can see previous version here .



Jan. 5, 2017, Andy Gotz
Add:
The device server has been added to catalogue.
Added by:agotz on:5 Jan 2017, 4:33 p.m.