Changes between Version 20 and Version 21 of MTO

Show
Ignore:
Timestamp:
11/26/13 13:24:59 (11 years ago)
Author:
jorisborgdorff
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MTO

    v20 v21  
    1616Before running MTO, its configuration files must be set to connect all clusters that will be used in a simulation. 
    1717 
    18 MTO's configuration is stored in two files: 
    19  * global topology file (`$MUSCLE_HOME/etc/mto-topology.cfg`) 
    20 {{{ 
     18MTO's configuration is stored in three files: 
     19 * The global topology file (`$MUSCLE_HOME/etc/mto-topology.cfg`) that states what clusters will be connected by the MTO and on which port it will listen for connecting MTOs. The file should be the same for all participating MTOs. 
     20 {{{ 
    2121// Comment 
    2222# Comment 
     
    3030C localhost 
    3131D localhost 5300 
    32 }}} 
    33  * local mto config file ( `$MUSCLE_HOME/etc/mto-config.cfg`) 
    34 {{{ 
     32 }}} 
     33 * The local configuration file ( `$MUSCLE_HOME/etc/mto-config.cfg`) that states how the MTO can be contacted by MUSCLE 2 within the cluster. It also specifies a limited port range on a given cluster, which should be different for each participating cluster. The `internalAddress` may be set to an IP-address or hostname that is accessible from all nodes in the cluster. If the host has multiple internet interfaces, the wildcard address `*` may also be specified here. For example, the wildcard is useful for aliasing the hostnames `localhost` and the fully qualified domain name and for running the MTO in a virtual machine. 
     34 {{{ 
    3535# Name of this MTO as in mto-copology.cfg 
    3636myName = A 
     
    4646internalPort    = 5001 
    4747internalAddress = private-address 
    48 }}} 
    49  
    50 The global topology file states what clusters will be connected by the MTO and on which port it will listen for connecting MTOs. The file should be the same for all participating MTOs. 
    51  
    52 The local configuration states how the MTO can be contacted by MUSCLE 2 within the cluster. It also specifies a limited port range on a given cluster, which should be different for each participating cluster. The `internalAddress` may be set to an IP-address or hostname that is accessible from all nodes in the cluster. If the host has multiple internet interfaces, the wildcard address `*` may also be specified here. For example, the wildcard is useful for aliasing the hostnames `localhost` and the fully qualified domain name and for running the MTO in a virtual machine. 
    53  
    54 To make the information about the local MTO available to MUSCLE 2, create the file `$MUSCLE_HOME/etc/muscle.defaults` matching the `mto-config.cfg` file, containing 
    55  
    56 {{{ 
     48 }}} 
     49 * The MUSCLE 2 configuration (`$MUSCLE_HOME/etc/muscle.defaults`) that makes the information about the local MTO available to MUSCLE 2. This should match the local `mto-config.cfg` file.  
     50 {{{ 
    5751# Make the MTO available to MUSCLE. 
    5852export MUSCLE_MTO=private-address:5001 
    5953export MUSCLE_PORT_MIN=5002 
    6054export MUSCLE_PORT_MAX=5099 
    61 }}} 
    62  
    63 Whenever `$MUSCLE_HOME/etc/muscle.profile` is sourced, these variables are set. If a wildcard address was set in `mto-config.cfg`, a definite address still needs to be set for the `MUSCLE_MTO` variable. 
     55 }}} 
     56 Whenever `$MUSCLE_HOME/etc/muscle.profile` is sourced, these environment variables are set. If a wildcard address was set in `mto-config.cfg`, a definite address still needs to be set for the `MUSCLE_MTO` variable. 
    6457= Starting MTO = 
    6558The MTO can be started in two modes: