| 176 | === Releasing Resources === |
| 177 | |
| 178 | As with a physical DETER experiment, you release resources by swapping the experiment out using the web interface or the {{{swapexp}}} command. If you are using the [UsersGuide#StartCommands startcommand workaround] to detect startup, clear the startup directory when you swap the experiment out. |
| 179 | |
| 180 | == Advanced Usage == |
| 181 | |
| 182 | The previous section showed how to create an experiment using only openvz containers packed 10 (or so) to a machine. This section shows how to change those parameters. |
| 183 | |
| 184 | === Using Other Container Types === |
| 185 | |
| 186 | To change the container type that {{{containerize.py}}} assigns to nodes, use the {{{--default-container}}} option. Valid choices follow the [NewIntro#KindsofContainers kinds of containers] DETER suports. Specifically: |
| 187 | |
| 188 | || __Parameter__ || __Container__ || |
| 189 | || {{{embedded_pnode}}} || Physical Node || |
| 190 | || {{{qemu}}} || Qemu VM || |
| 191 | || {{{openvz}}} || Openvz Container || |
| 192 | || {{{process}}} || ViewOS process || |
| 193 | |
| 194 | We can try this on our [attachment:example1.tcl example topology]: |
| 195 | |
| 196 | {{{ |
| 197 | users:~$ /share/containers/containerize.py --default-container qemu DeterTest example2 ~/example1.tcl |
| 198 | |
| 199 | Requested a QEMU node with more than 7 experimental interfaces. Qemu nodes |
| 200 | can only support 7 experimental interfaces. |
| 201 | |
| 202 | |
| 203 | }}} |
| 204 | |
| 205 | The good news is that the container system is using qemu containers to build our experiment. Unfortunately qemu containers only support 7 experimental interfaces, an internal limit on the number of interfaces the virtual hardware supports. A |