Previous Topic: iso2class: Appliance Distro Creation UtilityNext Topic: Operating System Specific Considerations


iso2class Reference - Usage

Create a singleton class using an OS installed from an ISO image

Syntax
util iso2class app_name=<name> install_size=<size> console_type=<type> iso_volume1=<name> (iso_volume2=<name> iso_volume3=<name> iso_volume4=<name> (<prop>=<val>)*)
Options
app_name=<name>

Name of application to create which will include the singleton.

install_size=<size>

Size of the target volume for the OS install. Format is: <val>[M|G]. Units default to MB unless otherwise specified. Minimum is 10 MB.

console_type=<type>

Type of console to use for OS install. Valid values are 'text' and 'graphic'.

iso_volume1=<name>

The ISO volume to boot from to perform the OS install. _GLOBAL:vol_name copies an existing global volume. http://<path> imports the volume from a URL. vol_name imports the volume from the _impex volume of the grid.

iso_volume2=<name>

optional volume in the same format as iso_volume1. Typically this is a second disk where the install requires multiple CD's or DVD's.

iso_volume3=<name>

An optional volume in the same format as iso_volume1. Typically this is a third disk where the install requires multiple CD's or DVD's.

iso_volume4=<name>

An optional volume in the same format as iso_volume1. Typically this is a fourth disk where the install requires multiple CD's or DVD's.

<prop>=<val>

Operational parameters. The following parameters may be specified:

Notes
Supported Operating Systems
Examples
util iso2class app_name=my-app iso_volume1=_GLOBAL:win-disk-1.iso iso_volume2=_GLOBAL:win-disk-2.iso install_size=3G console_type=graphic virt_options=acpi=1 os=windows

util iso2class app_name=my-app iso_volume1=http://path-to-iso-image url_volume1_size=1G install_size=5G console_type=text mem=1G cpu=1.0

ISOs used for OS installations

Creating new appliances for specific operating systems requires the use of ISO images, such as cd-rom or DVD. The ISO is used to install the OS inside of an appliance using the iso2class utility. The ISO may be stored on the grid impex volume or a global volume, or from a remote website using HTTP.

CA 3Tera AppLogic has tested various ISOs downloaded from the web. This includes: Microsoft and Ubuntu/Debian/CentOS 5 as well as Microsoft SPLA Windows CD-ROMs (32-bit R2 Standard/Enterprise/Datacenter/Web editions).

To use the SPLA Windows CD-ROMs to create Windows appliances, the ISO images must be created from the CD-ROMs so that they can be used with iso2class.

You can create an ISO from a CD-ROM for any OS distribution that you want to use for your appliances:

Follow these steps:

  1. Attach a CD-ROM drive to one of your Linux-based servers, if needed, and insert the CD-ROM into the CD-ROM drive.
  2. Use the mount command to verify the CD-ROM is mounted.

    If the CD-ROM is mounted, unmount it: umount /mnt/cdrom

  3. Run the following command:
    dd if=/dev/cdrom of=my-image.iso 
    

    This command makes a block-level copy of the CD-ROM into the specified ISO image file. The resulting ISO image file is an exact copy of the CD-ROM.

    my-image.iso is now the ISO image you can use with iso2class to create your own Windows appliances. Typically this image is copied to the grid impex volume and imported as a global volume using vol import _GLOBAL:win03iso my-image.iso.

    When using the iso2class utility, _GLOBAL:win03iso would be the ISO image to use for the OS installation.

Important! CA 3Tera AppLogic has only tested OS installations using the ISOs mentioned above. If the ISO images are generated in any other way, such as a 3rd party ISO ripping tool/application, the resulting ISOs may not work.

Graphical Console Access

The graphical console used during OS installations requires the latest version of Java in your IE/FF browser. CA 3Tera AppLogic has tested Java version 6 update 7 on IE/FF.

If the latest version of Java is not used, the graphical console may not work correctly. For example: it will hang while trying to load. Before reporting graphical console errors, verify that you are using the latest Java version. If you need to upgrade java in your browser, re-open your browser afterward for the graphical console to work correctly.

Operation

iso2class is an interactive utility which progresses through the following steps: