Changes between Version 35 and Version 36 of HowTo/ManageCustomImagesInstaGENI


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

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/ManageCustomImagesInstaGENI

    v35 v36  
    226226=== Deleting a Custom Image ===
    227227
    228 There is no delete image function in the GENI portal, to delete a custom image you must use Omni tools.
    229 
    230 
    231 {{{
    232 #!comment
    233 == Custom Images with Flack - Deprecated ==
    234 NOTE: If you create an Image with Flack it will be created as private, i.e. only you will have access to the image, to make it public you have to email geni-users@googlegroups.com and
    235 ask to be made public
    236 
    237 The Flack tool supports create, using, listing and deleting custom images.  Each of these custom image functions are outlined in this section.
    238 
    239 === Creating a Custom Image ===
    240 
    241 The Flack tool can make a copy of an OS image from any active node in a slice. The custom image that Flack creates is a capture of your original image that is available via a URN and URL for use by later slices in the same rack or in other racks. In this example we have a slice named ''lntest''  which includes 2 hosts is used to create image.
    242 
    243 1. First access the slice that includes the node whose setup you would like to capture in a custom image. This example uses the GENI portal, where you select  the "Launch Flack" button for the slice:
    244 
    245 [[Image(CustomImage-flack-pt.jpg)]]
    246 
    247 2. Once you have selected the slice in Flack you will see the the resources in use:
    248 
    249 [[Image(CustomImage-topo-pt.jpg)]]
    250 
    251 3. We are going to select '' '''host2''' '' to generate a custom image. First click on the '' '''host2''' ''  information button [[Image(info.jpg)]], this brings up the host details. Select the ''Create Image'' button:
    252 
    253 [[Image(CustomImage-create-pt.jpg)]]
    254 
    255 4. Selecting the ''Create Image'' button results in a pop-up requesting that you name the custom image that is about to be created for you:
    256 
    257 [[Image(CustomImage-name-pt.jpg)]]
    258 
    259 5. Clicking the '' '''OK''' '' button will start the custom image creation. You will then see a results window which will report that the image is creates and provides information to use the image on future slices:
    260 
    261 [[Image(CustomImage-confirm-pt.jpg)]]
    262 
    263 You may choose to ''copy'', ''save'' or ''email'' the custom image information.  You are now ready to use your custom image in other slices.
    264 
    265 === Using your Custom Image ===
    266 
    267 This section will show you how to use the custom image creates in the previous section. The procedure is the same whether the image is on the local Rack or on any other InstaGENI rack.
    268 
    269 1. To use your custom image in the same rack, first create your new slice and then proceed to define the sliver. Once you have added a host, select the node information button and click on the  ''Select a user for user-created disk images'' pull-down:
    270 
    271 [[Image(CustomImage-select-pt.jpg)]]
    272 
    273 Once you have selected the  ''Select a user for user-created disk images'' a pop-up windows will show your user URN, keep the default if you a using your own image, if you are using someone else's image, you must enter their URN:
    274 
    275 [[Image(CustomImage-select1-pt.jpg)]]
    276 
    277 Click on OK to get the list of available images.
    278 
    279 2. When the previous step is completed, you can click on the "Select user-created disk image" pull-down to get a list of all known images at all aggregates and select your image, for our example we will select the image named "!MyCustomImage" created earlier:
    280 
    281 [[Image(CustomImage-list-pt.jpg)]]
    282 
    283 After the selection you will see the Name of the image detail in the "Name" or "URL" field:
    284 
    285 [[Image(CustomImage-name-urn-pt.jpg)]]
    286 
    287 Your node will be created using the custom image you just selected.
    288 
    289 
    290 === Deleting your Custom Image ===
    291 
    292 Currently the GENI portal does not support deleting custom images. If you would like to delete your custom image you can follow the omni instructions in the Omni [wiki:HowTo/ManageCustomImagesInstaGENI#DeletingyourCustomImage1 Deleting Custom Images] section.
    293 
    294 }}}
     228Any 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}}}
     232There is no delete image function in the GENI Portal at this time.
     233
     234