Changes between Version 21 and Version 22 of HowTo/ManageCustomImagesInstaGENI


Ignore:
Timestamp:
02/15/15 08:37:04 (10 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/ManageCustomImagesInstaGENI

    v21 v22  
    44
    55This page capture examples for creating InstaGENI Custom images using both Flack and Omni tools. Custom images are usually created when you have defined and experiment node that has all the features and applications that you intend to use again and again for additional experiments.
    6 
    7 
    86
    97== Custom Images with Omni ==
     
    52503. You now have the device URN that is actively running as ''' ''host1'' ''' in the slice lntest.  With this information we can now have omni create a custom image which we will name ''Icreatedthisimage'' using the slice ''lntest' and the URN that corresponds to ''host1'':
    5351{{{
    54 $ omni.py createimage -a gpo-ig lntest Icreatedthisimage -u urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+18223
     52$ omni createimage -a gpo-ig lntest Icreatedthisimage -u urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+18223
    555317:28:46 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
    565417:28:46 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     
    73714. Omni also includes a command to ''' ''listimages'' ''', which lists your custom images, both public and private:
    7472{{{
    75 $ omni.py listimages -a gpo-ig
     73$ omni listimages -a gpo-ig
    767417:29:41 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
    777517:29:41 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     
    115113First find out the Image URL and URN information. This can be done with the omni '' '''listimages'' ''' option at your rack aggregate:
    116114{{{
    117 $ omni.py listimages -a my_rack_nickname
     115$ omni listimages -a my_rack_nickname
    118116}}}
    119117Now that you have the image information, you can add it to your request RSpec. To add an custom disk image that can run in any rack, you should use both URN and URL in your RSpec:
     
    1401381. First determine the image urn by using the omni '' '''listimages'' ''' option:
    141139{{{
    142 lnevers@sendaria:~/gcf-2.4.1/instarspec$ omni.py listimages -a gpo-ig
     140lnevers@sendaria:~/gcf-2.4.1/instarspec$ omni listimages -a gpo-ig
    14314117:29:41 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
    14414217:29:41 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config