DIANE2 Worker Environment

Goal

Review and migrate the current app/__init__.py:BOOT mechanism into 2.0

Use cases:

  • preconfig is used to set maxGIOPMessageSize and also to create ~/diane.workspace/diane.config file (which must (?) be present before diane environment setup?)
  • postconfig is used to download application components etc.
  • postworker is used for syntax purpose if one of the previous placeholders defines an HERE-script in bash (in that case postworker contains END marker)

Requirements:

  • we must be able to configure the worker agent (some parameters may require static configuration/before the worker is started/ such as maxGIOPMessageSize)
  • we must be able to configure the worker application adapter (by arbitrary change in the environment)

The tentative design of the worker agent wrapper:

setup DIANE (either from shared filesystem path or from local install/download)
$WORKER_START_PLACEHOLDER
start worker agent
spawn application servlet process
   $APPLICATION_START_PLACEHOLDER
   load and start application
   $APPLICATION_STOP_PLACEHOLDER
$WORKER_STOP_PLACEHOLDER

-- JakubMoscicki - 14 Dec 2007

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2007-12-14 - JakubMoscicki
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ArdaGrid All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback