To prepare the central system for virtual images, complete these tasks.
Ensure that the server has enough disk space to hold all the virtual images you are going to create. Refer to the Image catalog requirements listed in Prepare for virtual optical storage for information about disk space requirements for virtual images.
CRTDEVOPT DEVD(virtual-device-name) RSRCNAME(*VRT) ONLINE(*YES) TEXT(text-description)
VRYCFG CFGOBJ(virtual-device-name) CFGTYPE(*DEV) STATUS(*ON)
Create an image catalog for the licensed programs that you want to distribute. The Create Image Catalog (CRTIMGCLG) command associates an image catalog with a target directory where the optical image files are loaded.
CRTIMGCLG IMGCLG(catalog-name) DIR(catalog-path) CRTDIR(*YES) TEXT(image-catalog-name)Add a new image catalog entry with a size of 48MB to 16GB. The minimum size of the first volume must be 1489MB. If you plan to save the full operating system, add a new image catalog entry with a size of 4GB. If you plan to duplicate image catalogs to DVD, then ensure you select a virtual image size that matches the size of the DVD media you plan to write to.
If you want to save to a 4.7GB DVD, for example, use the following command to create the proper image size:
ADDIMGCLGE IMGCLG(catalog-name) FROMFILE(*NEW) TOFILE(file-name) SIZE(*DVD4700) TEXT(text-description)
If you want to save to CD-ROM media of 650MB or greater, use the following command to create the proper image size:
ADDIMGCLGE IMGCLG(catalog-name) FROMFILE(*NEW) TOFILE(file-name) SIZE(*CD650) TEXT(text-description)
Repeat this step for the number of desired images. You should add the images in the same order as you are going to install from them.
This step associates the virtual optical device to the image catalog. Up to 35 virtual optical devices can be active.
LODIMGCLG IMGCLG(catalog-name) DEV(virtual-device-name) OPTION(*LOAD)
INZOPT NEWVOL(MYSAVEVOL1) DEV(virtual-device-name) TEXT('volume text')
Repeat this step for the number of new images you want to initialize. Use the WRKIMGCLGE (Work with Image Catalog Entries) command to select the image to be initialized or use the LODIMGCLGE (Load/Unload/Mount Image Catalog Entry) command to continue to the next volume to be initialized.
LODIMGCLGE IMGCLG(MYCATALOG) IMGCLGIDX(index_number) OPTION(*MOUNT)
When you have completed initializing the new volumes, leave the first entry in mounted status.
LODIMGCLGE IMGCLG(MYCATALOG) IMGCLGIDX(1) OPTION(*MOUNT)
Next topic: When you are finished