| 57 | Here is an annotated {{{fedd.conf}}} file that describes the various parameters necessary to run an experiment controller: |
| 58 | |
| 59 | {{{ |
| 60 | [DEFAULT] |
| 61 | |
| 62 | # This section is primarily to set internal variables for customization. A |
| 63 | # variable is inserted by %(variable)s . NB: that s after the parens is |
| 64 | # literal. |
| 65 | |
| 66 | # The Experiment Controllers home directory. Used in susbtitutions. |
| 67 | base: /usr/local/etc/fedd |
| 68 | # Space in /var for the Experiment controller. Used in susbtitutions. |
| 69 | var: /var/db/fedd |
| 70 | # The DNS name the Experiment controller runs on. Used in susbtitutions. |
| 71 | hostname:users.isi.deterlab.net |
| 72 | |
| 73 | [globals] |
| 74 | |
| 75 | # Real EC configuration |
| 76 | |
| 77 | # The certificate file that identifies this controller. |
| 78 | cert_file: %(base)s/fedd.pem |
| 79 | |
| 80 | # The ports and protocols this node is supporting. This says listen on poer |
| 81 | # 23235 for SOAP connections and 23232 for XMLRPC connections. |
| 82 | services: 23235,23232:xmlrpc |
| 85 | [experiment_control] |
| 86 | |
| 87 | # How to convert tcl (ns2) experiments into topdl. Generally the safest way to |
| 88 | # do this is to contact DETER's EC using the ns2topdl_uri setting below. If |
| 89 | # the testbed is a DETER testbed, you may be able to do the conversion locally |
| 90 | # using the tcl_splitter parameter below. Pick one. |
| 91 | |
| 92 | #tcl_splitter: /usr/testbed/opsdir/lib/ns2ir/parse.tcl |
| 93 | ns2topdl_uri: http://users.isi.deterlab.net:23235 |
| 94 | |
| 95 | # Staging area for software being sent to federated experiments. This line |
| 96 | # stores it under /var/db/fedd (from the var variable above. |
| 97 | repodir: %(var)s/repo |
| 98 | |
| 99 | # Contact URL for retrieving software. |
| 100 | repo_url: https://%(hostname)s:23235 |
| 101 | |
| 102 | # Contact URL for retrieving experiment configuration data |
| 103 | store_url: https://%(hostname)s:23235 |
| 104 | |
| 105 | # File in which the dynamic experiment configuration data is stored. You do |
| 106 | # not need to create this file, nor manage it. |
| 107 | synch_store: %(base)s/store.dat |
| 108 | |
| 109 | # ABAC configuration. No other value for auth_type is currently valid. |
| 110 | auth_type = abac |
| 111 | |
| 112 | # Location of the ABAC state |
| 113 | auth_dir = %(base)s/abac |
| 114 | |
| 115 | # Time to cache status information, in seconds |
| 116 | info_cache = 300 |
| 117 | |
| 118 | # Logging level, in traditional syslog values. |
| 119 | log_level: debug |
| 120 | |
| 121 | # Debugging parameters. If leave_tempfiles is true, temporaries are not |
| 122 | # deleted. If create_debug is true, the local testbed is not accessed (no |
| 123 | # resources are allocated.) |
| 124 | #leave_tmpfiles: true |
| 125 | #create_debug: false |
| 126 | |
| 127 | # Internal experiment controller state. Completely managed internally |
| 128 | experiment_state: %(base)s/fedd.state |
| 129 | |
| 130 | # List of testbed names to access URLs |
| 131 | mapdb: %(base)s/exp_map_db |
| 132 | |
| 133 | # Software to install on each experiment node to form federated experiments. |
| 134 | # The first parameter is the directory in which to install it and the second |
| 135 | # the tra file to unpack. These are the correct values for the fedkit |
| 136 | # distributed with fedd. |
| 137 | fedkit: /usr %(base)s/fedkit.tgz |
| 138 | }}} |
| 139 | |
| 140 | This file is [attachment:experiment.conf attached] to this page for download and editing. |