Tuesday, September 14, 2010

Portable Athenaeum Command Line Client - PACLC

Because the standard Command Line Interface to Athenaeum is limited to Linux and requires local installation of Athenaeum, WebStart Portable Athenaeum Command Line Client has been created. It works on any platform and is installed (and updated) automatically. The only requirement is the availability of Java (1.6+) on local machine.

Application can be started from the Web Browser using following link:
http://cern.ch/hrivnac/Activities/Packages/WebStart/Athenaeum/Athenaeum.jnlp
or on the Linux/MacOSX using following command:
javaws http://cern.ch/hrivnac/Activities/Packages/WebStart/Athenaeum/Athenaeum.jnlp.

Application provides access to most of the standard Athenaeum operations (available also on the WebService interface and simple Command Line interfaces):
  • help(); shows local and remote help
  • status(); shows status of currently configured Athenaeum servers
  • jobs(); shows a list of running or finished jobs, user can then go to the jobs overview pages and inspect or download results, user can also remove selected job results
  • jcids(); shows a list of uploaded JobConfigs, user can inspect or download them, user can also remove selected JobConfigs
  • jobconfig(name, comment, bestBefore); uploads new JobConfig into the server, user will be asked for the local XML file to be uploaded, name and bestBefore variables are not required
  • extract(jcid); sends extract command using uploaded configuration identified by jcid number
  • other BeanShell commands and any Java code is available
Commands are written to the lower window. The same window shows direct command feedback. The upper window shows command results. Hyperlinks can lead to new pages or initiate new actions. All new results appear on new tabs in upper window. Most tabs have remove and save mini-buttons.

All commands are executed on the currently selected Worker via currently selected Manager. This selection is visible on the command prompt and can be changed by setting worker and manager variables.

No comments:

Post a Comment