Changes between Version 13 and Version 14 of UsersGuide


Ignore:
Timestamp:
Oct 16, 2012 6:59:43 PM (12 years ago)
Author:
Ted Faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsersGuide

    v13 v14  
    273273The physical node {{{n-9}}} shows up in the DETER visualization, and otherwise acts as a physical node that is in a 11-node topology.  This experiment uses three different container types: physical nodes, ViewOS processes, and Qemu VMs.
    274274
     275=== Setting Openvz Parameters ===
     276
     277An advantage of openvz nodes is that the OS flavor and CPU bit-width can be set across experiments and per-node.  Similarly the size of the disk allocated to each node can be set. 
     278
     279Openvz uses templates to look like various linux installations.  The choices of Linux distribution that openvz supports are:
     280
     281|| __Template__ || __Distribution__ || __Bit-width__ ||
     282|| centos-6-x86 || CentOS 6 || 32 bit ||
     283|| centos-6-x86_64 || CentOS 6 || 64 bit ||
     284|| debian-6.0-x86 || Debian || 32 bit ||
     285|| debian-6.0-x86_64 || Debian || 64 bit ||
     286|| fedora-16-x86 || Fedora 16 || 32 bit ||
     287|| fedora-16-x86_64 || Fedora 16 || 64 bit ||
     288|| fedora-17-x86 || Fedora 17 || 32 bit ||
     289|| fedora-17-x86_64 || Fedora 17 || 64 bit ||
     290|| scientific-6-x86 || [https://www.scientificlinux.org/ Scientific Linux] || 32 bit ||
     291|| scientific-6-x86_64 || [https://www.scientificlinux.org/ Scientific Linux] || 64 bit ||
     292|| ubuntu-10.04-x86 || Ubuntu 10.04 LTS || 32 bit ||
     293|| ubuntu-10.04-x86_64 || Ubuntu 10.04 LTS || 64 bit ||
     294|| ubuntu-12.04-x86 || Ubuntu 12.04 LTS || 32 bit ||
     295|| ubuntu-12.04-x86_64 || Ubuntu 12.04 LTS || 64 bit ||
     296
     297By default the {{{ubuntu-10.04-x86}}} template is used.
     298
     299To set a template across an entire topology, give {{{--openvz-template}}} and the template name from the list above.  Invoking {{{containerize.py}}} on [attachment:example1.tcl our original example] as below will instantiate the experiment under 64-bit Ubuntu 12.04:
     300
     301{{{
     302users:~$ /share/containers/containerize.py --openvz-template ubuntu-12.04-x86_64 DeterTest example1 ~/example1.tcl
     303Containerized experiment DeterTest/example1 successfully created!
     304Access it via http://www.isi.deterlab.net//showexp.php3?pid=DeterTest&eid=example1
     305}}}
     306
     307We can set the size of the file system of containers in the experiment using {{{--openvz-diskspace}}}.  The value of the parameter is determined by the suffix:
     308
     309|| __Suffix__ || Value ||
     310|| G || Gigabytes ||
     311|| M || Megabytes ||
     312
     313The most practical suffix for DETER nodes is "G":
     314
     315{{{
     316users:~$ /share/containers/containerize.py --openvz-diskspace 15G DeterTest example1 ~/example1.tcl
     317Containerized experiment DeterTest/example1 successfully created!
     318Access it via http://www.isi.deterlab.net//showexp.php3?pid=DeterTest&eid=example1
     319}}}
     320
     321Each of these parameters can be set on individual nodes using attributes.  The attribute to set a template on a node is {{{containers:openvz_template}} and the attribute to set the disk space is {{{containers:openvz_diskspace}}}.
     322
    275323=== Changing The Packing Factor ===
    276324