Changes between Version 37 and Version 38 of HowTo/ManageCustomImagesInstaGENI
- Timestamp:
- 06/14/16 13:13:07 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/ManageCustomImagesInstaGENI
v37 v38 19 19 === Creating a Custom Image === 20 20 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.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. 22 22 23 23 1. In order to capture the Image running on '' '''host1''' '' we must determine the URN for the host1 device by getting a sliver status: … … 37 37 "component_id": "urn:publicid:IDN+instageni.gpolab.bbn.com+node+pc1" 38 38 }}} 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'':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'': 40 40 {{{ 41 41 $ omni createimage -a gpo-ig lntest Icreatedthisimage -u urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+18223 … … 111 111 === Using a Custom Image === 112 112 113 First find out the Image URL and URN information. This can be done with the omni '' '''listimages'' ''' option at your rack aggregate:113 First find out the Image URL and URN information. This can be done with the Omni '' '''listimages'' ''' option at your rack aggregate: 114 114 {{{ 115 115 $ omni listimages -a my_rack_nickname … … 136 136 Deleting your custom image is done as follows with omni. 137 137 138 1. First determine the image urn by using the omni '' '''listimages'' ''' option:138 1. First determine the image urn by using the Omni '' '''listimages'' ''' option: 139 139 {{{ 140 140 lnevers@sendaria:~/gcf-2.4.1/instarspec$ omni listimages -a gpo-ig … … 226 226 === Deleting a Custom Image === 227 227 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 228 Any 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