Changes between Version 20 and Version 21 of NeoContainers
- Timestamp:
- Oct 5, 2015 8:30:04 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NeoContainers
v20 v21 7 7 Note 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. 8 8 9 1. Checkout the con tainers repository and switch to the {{{configdb}}} branch:9 1. 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. 10 10 {{{ 11 11 users: > cd src 12 users: > git clone ssh://tardis.deterlab.net:/var/local/git/benito containers 13 users: > cd containers 14 users: > git checkout configdb 12 users: > git clone https://github.com/deter-project/config_server.git 15 13 }}} 16 14 … … 70 68 6. 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. 71 69 70 On a single pnode: 72 71 {{{ 73 72 > ssh pnode-0000.${EXPID}.${PROJID} 74 > cd [your con tainer repository]73 > cd [your config_server repository]/bin 75 74 > ./load_containers_db.sh -p ${PROJID} -e ${EXPID} 76 75 > ./load_config_db.sh … … 84 83 {{{ 85 84 > ssh pnode-0000.${EXPID}.${PROJID} 86 > cd [your con tainer repository]85 > cd [your config_server repository]/bin 87 86 > ./bootstrap_node.sh -r pnode 88 87 }}} … … 91 90 92 91 Once nodes are bootstrapped, simply running {{{sudo chef-client}}} will re-configure the nodes (both pnodes and the containers) if something should go wrong. 92 93 8. Remove experiment data from the configuration database once the experiment is complete. 94 95 On 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 ------------- 93 103 94 104 Fun things to do after the containers are running.