Configuration of transport layer (omniORB

To enable Grid authentication see DIANE2GSI

The DIANE transport layer (networking) is provided by omniORB which is an external library and which has its own configuration system. DIANE allows to easily and conveniently control omniORB configuration from a single place: all configuration parameters may be collected in a single place in a run file. Here are the details.

Standard configuration settings

There are two types of the network connectivity setups supplied with DIANE:

  • security disabled (default):
  • security based on Grid Certificates (GSI):

The run file symbol omniorb_config_type specifies which setup to use.

The standard settings are provided in these files:

  • etc/omniorb_config/default.cfg
  • etc/omniorb_config/gsi.cfg

Each of these files defines a separate configuration section for each DIANE service (e.g. master, worker, directoryservice, etc).

For example the default.cfg file defines the following sections (as python strings):

  • default_master : default configuration used for the run master
  • default_worker : default configuration used for the worker agent

Defining configuration

The default_master and default_worker variables may be redefined in the run file by a user.

Here is an example: DIANEQuestionsAndAnswers#How_to_set_options_for_transport

Check the reference of all available ORB configuration options: http://omniorb.sourceforge.net/omni41/omniORB

OMNICONFIG variable

DIANE automatically creates the internal configuration files based on specified configuration variables and sets OMNICONFIG variable.

Therefore if OMNICONFIG variable is defined by hand by the user then it will be overridden and a warning message printed:

WARNING: OMNIORB_CONFIG is already defined (name), I am resetting it now

Setting omniORB options directly

If a user directly sets ORB environment variables (or specifies command line arguments) in his shell then these values are only effective for the diane commands (e.g. diane-run) which are started in that shell.

The only way to set ORB parameters for the worker agent is to declare them in the run file (it is also technically possible but not recommended to modify the worker agent submission wrapper script).

It is recommended to set configuration options in a run-file in order to have reproducible and controlled environment

-- JakubMoscicki - 18 Jan 2008

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2008-08-12 - 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