Changes between Initial Version and Version 1 of windowsContainers


Ignore:
Timestamp:
Sep 10, 2015 9:24:42 AM (9 years ago)
Author:
Geoff Lawler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • windowsContainers

    v1 v1  
     1This is a page that explains how to use Chef to bring up Windows on DETER.
     2
     3**NOTE: work in progress - do not actually do this yet.**
     4
     5----------
     6
     7- checkout the containers source tree
     8- switch to the configdb branch
     9- swap in an experiment with physical nodes loaded with the PNODE-BASE image.
     10- ssh to a pnode
     11- cd {{{[path to containers]/bin}}}
     12- run {{{./chef_configure.sh}}}
     13- edit the file /tmp/nodes.conf, which describes the nodes you want to spawn. The file format is below.
     14- run {{{./spawn_windows.sh}}} and wait a long time (like 5 minutes per container).
     15
     16nodes.conf format and description:
     17{{{
     18nodes:
     19      - name: nodeOne
     20        image_name: deter/win7
     21        url: http://scratch/benito/deter_win7.box
     22        data_address: 10.1.1.100
     23        data_bridge: eth4
     24
     25      - name: nodeTwo
     26        image_name: deter/win7
     27        url: http://scratch/benito/deter_win7.box
     28        data_address: 10.1.1.101
     29        data_bridge: eth4
     30
     31...
     32
     33}}}
     34
     35nodes.conf description:
     36- {{{name}}}: the hostname of the new node
     37- {{{image_name}}}: the Vagrant name - this should be unique per image (*not* host, image)
     38- {{{url}}}: the URL to the container image
     39- {{{data_address}}}: the ip address of the container. Should really be in same subnet as host
     40- {{{data_bridge}}} - the interface to bridge the data address to from the container to the host.
     41- {{{control_addr}}} - [optional and experimental] the ip address for the container on the control network (172.16.x.x)
     42- {{{control_bridge}}} - [optional and experimental] - the host interface to bridge to the container's control address.
     43
     44If you add an address you must add a bridge.
     45
     46