Changes between Version 20 and Version 21 of NeoContainers


Ignore:
Timestamp:
Oct 5, 2015 8:30:04 AM (9 years ago)
Author:
Geoff Lawler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NeoContainers

    v20 v21  
    77Note that much of the detail of the system is still exposed. Users must currently run a script or two. These scripts (or the functionality they contain) will be moved into the system itself in the future and will be hidden.
    88
    9 1. Checkout the containers repository and switch to the {{{configdb}}} branch:
     91. Checkout the config_server repository. This has the {{{config_server}}} code as well as the  script you will use to populate the config server database.
    1010{{{
    1111users: > cd src
    12 users: > git clone ssh://tardis.deterlab.net:/var/local/git/benito containers
    13 users: > cd containers
    14 users: > git checkout configdb
     12users: > git clone https://github.com/deter-project/config_server.git
    1513}}}
    1614
     
    70686. Populate the configuration database that runs on {{{chef.isi.deterlab.net}}} by running the database population scripts {{{load_containers_db.sh}}} and {{{load_config_db.sh}}} (This will automated in the future.) This should be run from a physical node in the experiment. I use {{{pnode-0000}}} in the example below.
    7169
     70On a single pnode:
    7271{{{
    7372> ssh pnode-0000.${EXPID}.${PROJID}
    74 > cd [your container repository]
     73> cd [your config_server repository]/bin
    7574> ./load_containers_db.sh -p ${PROJID} -e ${EXPID}
    7675> ./load_config_db.sh
     
    8483{{{
    8584> ssh pnode-0000.${EXPID}.${PROJID}
    86 > cd [your container repository]
     85> cd [your config_server repository]/bin
    8786> ./bootstrap_node.sh -r pnode
    8887}}}
     
    9190
    9291Once nodes are bootstrapped, simply running {{{sudo chef-client}}} will re-configure the nodes (both pnodes and the containers) if something should go wrong.
     92
     938. Remove experiment data from the configuration database once the experiment is complete.
     94
     95On a single pnode:
     96{{{
     97> ssh pnode-0000.${EXPID}.${PROJID}
     98> cd [your config_server repository]/bin
     99> ./rm_experiment_config.sh -p ${PROJID} -e ${EXPID}
     100}}}
     101
     102-------------
    93103
    94104Fun things to do after the containers are running.