mercoledì 8 aprile 2015

Defining an mksysb resource for vios setup


Prerequisites:
VIOS Install media (dvd or iso files).

Copy in a local path the 3 fractions of original mksysb file.
For example i copied in temp dir just under my home ; just a note , you have to rename the first file
because its name is identical to the third file, so i renamed it in mksysb_image1 to avoid any issue so
now i have these files in my temp dir :

 
-rw-rw-r--. 1 src582 src582 2146959360 Oct 16 03:25 mksysb_image1                                                 -rw-rw-r--. 1 src582 src582 1073479680 Oct 16 03:25 mksysb_image2
-rw-rw-r--. 1 src582 src582  309800960 Oct 16 03:30 mksysb_image3

To join these pieces in a unique file i have to simply concatenate them with cat :

cat mksysb_image1 mksysb_image2 mksysb_image3 > vios_2234_mksysb_image

so now :

-rw-rw-r--. 1 src582 src582 2146959360 Oct 16 03:25 mksysb_image1                                                 -rw-rw-r--. 1 src582 src582 1073479680 Oct 16 03:25 mksysb_image2                                               --rw-rw-r--. 1 src582 src582  309800960 Oct 16 03:30 mksysb_image3                                                 
-rw-rw-r--. 1 src582 src582 3530240000 Apr  8 15:15 vios_2234_mksysb_image


Now we can define the resources to perform vios installations :

IOS_MKSYSB:
nim -o define -t ios_mksysb -a server=master -a location=/export/mksysb/vios_2234_mksysb_image  ios_mksysb-vios-2234


SPOT:
nim -o define -t spot -a server=master -a location=/export/spot -a source=ios_mksysb-vios-2234 spot-vios2234

 Creating SPOT in "/export/spot" on machine "master" from "ios_mksysb-vios-2234" ...

 Restoring files from BOS image.  This may take several minutes ...

...
...
Checking filesets and network boot images for SPOT "spot-vios2234".
 This may take several minutes ...




Nessun commento: