Enstore Miscellaneous Status Help
Overview
The Enstore Miscellaneous Status page, provides links to results of user specified commands
executed by the Inquisitor within the Enstore framework. These commands are specified as
part of a Python dictionary with a keyword of update_commands, in the
inquisitor section of the configuration
file.
An example of the value of update_commands is -
{'enstore_node_uptimes.html':'/usr/local/bin/getnodeinfo'}
where the first element is a filename and it's value is the command to execute.
Miscellaneous Status Output
Periodically, the Inquisitor will execute each listed command, piping the output to the file
name associated with the command. This file will be created in the Enstore web directory
specified by the html_file keyword in the
inquisitor section of the
configuration file.
A link to this file is then included on the Enstore Miscellaneous
Status page, using the name of the file as the text and listing its creation date. So the
example given above would result in an entry that looked like -
Directories Created For Currently Running Miscellaneous Processes
Since it is unknown for how long a user specified command will run, the Inquisitor creates a
directory when the command is started, in the home ($HOME/MISC) directory of the user that started the Inquisitor
(usually enstore). If the command finishes successfully, the
directory is deleted. However, if the command hangs, the directory will remain as a flag
that something is wrong.
The Inquisitor will not execute the command again, if the last command has not successfully
finished and deleted the directory. Any commands that are currently running, will have the
Inquisitor created directory listed in this section of the Enstore Miscellaneous Status page.
Thus, while the command in our example is running,
there will be a line in this section that looks like -
/home/enstore/MISC/usrlocalbingetnodeinfo | 2000-May-09 14:38:21 |
Notice that the name of the created directory is the command that was executed with all of
the non-ASCII/numeric characters removed.
A Hung Miscellaneous Command
The information on the Enstore Miscellaneous Status page can be used to determine if a
user specified command is hung. A hung command will exhibit two symptoms -
- the creation date listed for the command under Miscellaneous Status, will be old
- there will be an entry in the Directories table mentioned above, showing that the
command started but never finished
Legal Notices
Last modified: Tue Aug 1 08:57:35 CDT 2000