Changes between Version 32 and Version 33 of HowTo/ManageCustomImagesInstaGENI


Ignore:
Timestamp:
06/13/16 14:56:28 (8 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/ManageCustomImagesInstaGENI

    v32 v33  
    33= InstaGENI Custom Images =
    44
    5 This page capture examples for creating InstaGENI Custom images using both the GENI Portal and Omni tools. Custom images are usually created when you have defined an experiment node that has all the features and applications that you intend to use again and again for additional experiments.
     5
     6Custom images are usually created when you have defined an experiment node that has all the features and applications that you intend to use again and again for additional experiments.  This page capture examples for creating InstaGENI custom images using both the GENI Portal and Omni tools. For guidelines on managing and maintaining snapshots, see the [http://groups.geni.net/geni/wiki/HowTo/ManageCustomImages How to manage Custom Images] page.
     7
     8In InstaGENI it is possible to create a custom images (aka snapshot) of a setup that you have reserved.  When a snapshot is taken, a copy of that image is available to use  in any InstaGENI rack.  However, keep in mind that the /users directories are erased when a snapshot is taken.  Also if any software is installed that adds a new user or group in the system (/etc/passwd, /etc/shadow, /etc/group), then these user or group changes are not saved. 
     9
     10For example, if you installed the SNMP Daemon package, a new user called 'snmpd' is added and the SNMP server is configured to use this userid to work correctly, but when a custom image is created and then used on a new node, the 'snmpd' user id and group is missing, which will cause the SNMP server to fail to run. As a possible workaround you can  save off these newly added ids and groups and add a startup script in rc.local which would add them back in when the image is used later.  If you need to save files in your image, you can create a directory on the / directory and save it inside that folder.
     11
     12In addition to creating a  / directory to save any files that may not be otherwise preserved, you can also choose to run an install script that puts this information back in place when the custom image is used again. See the [http://groups.geni.net/geni/wiki/HowTo/WriteInstallScript How to create an install script] page for more details.
     13Following is an outline of features and expected behavior for custom images. 
    614
    715== Custom Images with Omni ==