| 1 | == The standard image format == |
| 2 | |
| 3 | Images are stored in a custom Emulab format called imagezip. The extension is '.ndz'. This represents the raw data that will be loaded on the testbed node disks. It does not contain any of the necessary metadata about partitions, what sort of OS the image contains, etc. We have a XML file that contains this called the image descriptor file. |
| 4 | |
| 5 | |
| 6 | == Downloading the Standard Operating System images == |
| 7 | |
| 8 | Standard Testbed images are located at [http://www.deterlab.net/~jjh/Deter%20OS%20Images/]. |
| 9 | The standard location for testbed-wide images is on boss in /usr/testbed/images. |
| 10 | |
| 11 | There is a simple script called "fetch_images" located in the install directory of the testbed source to automate downloading these images. |
| 12 | {{{ |
| 13 | [jjh@boss ~/testbed/install]$ ./fetch_images |
| 14 | % Total % Received % Xferd Average Speed Time Time Time Current |
| 15 | Dload Upload Total Spent Left Speed |
| 16 | 100 2045 100 2045 0 0 162k 0 --:--:-- --:--:-- --:--:-- 665k |
| 17 | Fetching CentOS5.ndz |
| 18 | % Total % Received % Xferd Average Speed Time Time Time Current |
| 19 | Dload Upload Total Spent Left Speed |
| 20 | 100 604M 100 604M 0 0 65.2M 0 0:00:09 0:00:09 --:--:-- 74.2M |
| 21 | Fetching FBSD8-STD.ndz |
| 22 | % Total % Received % Xferd Average Speed Time Time Time Current |
| 23 | Dload Upload Total Spent Left Speed |
| 24 | 100 443M 100 443M 0 0 74.2M 0 0:00:05 0:00:05 --:--:-- 75.2M |
| 25 | Fetching FBSD62-STD.ndz |
| 26 | % Total % Received % Xferd Average Speed Time Time Time Current |
| 27 | Dload Upload Total Spent Left Speed |
| 28 | 100 295M 100 295M 0 0 67.5M 0 0:00:04 0:00:04 --:--:-- 67.6M |
| 29 | Fetching Ubuntu1004-STD.ndz |
| 30 | % Total % Received % Xferd Average Speed Time Time Time Current |
| 31 | Dload Upload Total Spent Left Speed |
| 32 | 100 849M 100 849M 0 0 72.9M 0 0:00:11 0:00:11 --:--:-- 73.5M |
| 33 | [jjh@boss ~/testbed/install]$ cd /usr/testbed/images/ |
| 34 | [jjh@boss /usr/testbed/images]$ ls |
| 35 | CentOS5.ndz FBSD62-STD.ndz FBSD8-STD.ndz Ubuntu1004-STD.ndz |
| 36 | [jjh@boss /usr/testbed/images]$ |
| 37 | }}} |
| 38 | |
| 39 | == Loading the image descriptors == |
| 40 | |
| 41 | |