Changes between Version 9 and Version 10 of ContainerFilesDoc


Ignore:
Timestamp:
Feb 17, 2015 8:56:42 AM (9 years ago)
Author:
Geoff Lawler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ContainerFilesDoc

    v9 v10  
    218218Documentation for select files from the containers repo is below.
    219219
    220 **setup/hv/bootstrap** - This is the file that gets executed as the DETER start_cmd on the pnodes once the experiment is swapped in. It reads the experiment-specific conf file then sets up the local containers working directory (in {{{/share/containers}}}). It then installs various packages, both for DETER and platform specific things ("deter_data" and a VDE build). It then runs {{{var/containers/setup/hv/hv}}} to do actual work. This file is described below.
    221 
    222 **/var/containers/setup/hv/hv** - This script is invoked by the start_cmd script on the pnode after the node has booted and before the containers are up. It untars the ${EXP}/containers dir into {{{/var/containers/config}}} and writes the /etc/{init,init.d} containers control/start/stop script. It then reads the {{{children}}} file. It then calls the per-child setup script ({{/setup/hv/*}}} (although I don't see these). Finally it invokes the /etc/init/containers platform script. (On Ubuntu it uses "start containers".) This maps to /var/containers/launch/hv/hv, described below.
     220**setup/hv/bootstrap** - This is the file that gets executed as the DETER start_cmd on the pnodes once the experiment is swapped in. It reads the experiment-specific conf file then sets up the local containers working directory (in {{{/share/containers}}} ). It then installs various packages, both for DETER and platform specific things ("deter_data" and a VDE build). It then runs {{{var/containers/setup/hv/hv}}} to do actual work. This file is described below.
     221
     222**/var/containers/setup/hv/hv** - This script is invoked by the start_cmd script on the pnode after the node has booted and before the containers are up. It untars the ${EXP}/containers dir into {{{/var/containers/config}}} and writes the /etc/{init,init.d} containers control/start/stop script. It then reads the {{{children}}} file. It then calls the per-child setup script {{{/setup/hv/*}}} (although I don't see these). Finally it invokes the /etc/init/containers platform script. (On Ubuntu it uses "start containers".) This maps to /var/containers/launch/hv/hv, described below.
    223223
    224224**/var/containers/launch/hv/hv** - The script invoked by {{{./setup/hv/hv}}} on the pnode. It sets up tap pipes and bridges for connecting VDE switches between pnodes. It creates the vde switches. It then calls {{{/var/containers/launch/%s/hv}}} %s=child name for all existing files. There is one of these files for each type of container supported, embedded_pnode, qemu, openvz, and process. The qemu version is explained below.