Changes between Version 37 and Version 38 of HowTo/ManageCustomImagesInstaGENI


Ignore:
Timestamp:
06/14/16 13:13:07 (5 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/ManageCustomImagesInstaGENI

    v37 v38  
    1919=== Creating a Custom Image ===
    2020
    21 The omni tool allows experimenters to create custom images by replicating any node in an active experiment.  In this example a slice '' '''lntest''' '' is used which includes 2 hosts.  The '' '''host1''' '' image will be snapshotted with omni.
     21The Omni tool allows experimenters to create custom images by replicating any node in an active experiment.  In this example a slice '' '''lntest''' '' is used which includes 2 hosts.  The '' '''host1''' '' image will be snapshotted with omni.
    2222
    23231. In order to capture the Image running on '' '''host1''' '' we must determine the URN for the host1 device by getting a sliver status:
     
    3737 "component_id": "urn:publicid:IDN+instageni.gpolab.bbn.com+node+pc1"     
    3838}}}
    39 3. 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'':
     393. 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'':
    4040{{{
    4141$ omni createimage -a gpo-ig lntest Icreatedthisimage -u urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+18223
     
    111111=== Using a Custom Image ===
    112112
    113 First find out the Image URL and URN information. This can be done with the omni '' '''listimages'' ''' option at your rack aggregate:
     113First find out the Image URL and URN information. This can be done with the Omni '' '''listimages'' ''' option at your rack aggregate:
    114114{{{
    115115$ omni listimages -a my_rack_nickname
     
    136136Deleting your custom image is done as follows with omni.
    137137
    138 1. First determine the image urn by using the omni '' '''listimages'' ''' option:
     1381. First determine the image urn by using the Omni '' '''listimages'' ''' option:
    139139{{{
    140140lnevers@sendaria:~/gcf-2.4.1/instarspec$ omni listimages -a gpo-ig
     
    226226=== Deleting a Custom Image ===
    227227
    228 Any custom images that are no longer used should be deleted. Currently it is possible to delete a custom image with Omni tools:
    229 {{{
    230 $ omni deleteimage urn:publicid:IDN+instageni.gpolab.bbn.com+image+ch-geni-net:MyImage -a aggregate-id
    231 }}}
    232 There is no delete image function in the GENI Portal at this time.
    233 
    234 
     228Any custom images that are no longer used should be deleted. Currently it is only possible to delete a custom image with Omni tools, as described in the [http://groups.geni.net/geni/wiki/HowTo/ManageCustomImagesInstaGENI#DeletingaCustomImage Delete Custom Image] section above. There is no delete image function in the GENI Portal at this time.
     229
     230