informatique:nix:ibm:ibm:ibm_aix_nim_iso

I had already created a mksysb file of bxaix85 in /usr/sap/put/bxaix85-mksysb.

 
root@bxaix85 /usr/sap/put # mkcd -L -S -I /usr/sap/put/image -m /usr/sap/put/bxaix85-mksysb
Initializing mkcd log: /var/adm/ras/mkcd.log...
Verifying command parameters...
Creating temporary file system: /mkcd/cd_fs...
Populating the CD or DVD file system...
Building chrp boot image...
Copying backup to the CD or DVD file system...
...
Creating Rock Ridge format image: /usr/sap/put/image/cd_image_712892
Running mkisofs ...
....
mkrr_fs was successful.
 
Making the CD or DVD image bootable...

 
Removing temporary file system: /mkcd/cd_fs...
 
root@bxaix85 /usr/sap/put # ls -ltr
total 4369112
drwxr-xr-x    2 root     system          256 Aug 20 10:31 lost+found
-rw-r--r--    1 root     system   2236979200 Dec 10 09:16 bxaix85-mksysb
drwxr-xr-x    2 root     system          256 Dec 10 09:23 image
  • Confirm the ISO image has been created.
root@bxaix85 /usr/sap/put # cd image
root@bxaix85 /usr/sap/put/image # ls -ltr
total 4483256
-rw-r--r--    1 root     system   2295425024 Dec 10 09:24 cd_image_712892
  • Copy the image to the VIOS virtual media library directory.
# df -m .
Filesystem    MB blocks      Free %Used    Iused %Iused Mounted on
/dev/VMLibrary_LV   7168.00   2768.93   62%        6     1% /var/vio/VMLibrary
 
# scp 10.3.29.160:/usr/sap/put/image/cd_image_712892 .
root@10.3.29.160's password:
cd_image_712892                               100% 2189MB  40.5MB/s   00:54
 
# ls -ltr
total 13432312
drwxr-xr-x    2 root     system          256 Dec 03 11:08 lost+found
-rw-r--r--    1 root     staff    3857645568 Dec 04 08:53 AIX61_DVD_1.iso
-rw-r--r--    1 root     staff     724271104 Dec 04 10:09 AIX61_DVD_2.iso
-rw-r--r--    1 root     staff    2295425024 Dec 10 09:33 cd_image_712892
  • Rename the image to a more meaningful name.
# mv cd_image_712892 bxaix85_mksysb.iso
 
# ls -ltr
total 13432312
drwxr-xr-x    2 root     system          256 Dec 03 11:08 lost+found
-rw-r--r--    1 root     staff    3857645568 Dec 04 08:53 AIX61_DVD_1.iso
-rw-r--r--    1 root     staff     724271104 Dec 04 10:09 AIX61_DVD_2.iso
-rw-r--r--    1 root     staff    2295425024 Dec 10 09:33 bxaix85_mksysb.iso
  • Map a virtual optical device to the client LPAR.
$ lsmap –vadapter vhost1
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost1          U7998.61X.10071DA-V1-C13                     0x00000000
 
VTD                   vtscsi3
Status                Available
LUN                   0x8100000000000000
Backing device        lp2vd1
Physloc
 
$ mkvdev -fbo -vadapter vhost1
vtopt0 Available
 
$ lsmap –vadapter vhost1
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost1          U7998.61X.10071DA-V1-C13                     0x00000000
 
VTD                   vtopt0
Status                Available
LUN                   0x8200000000000000
Backing device
Physloc
 
VTD                   vtscsi3
Status                Available
LUN                   0x8100000000000000
Backing device        lp2vd1
Physloc
 
$ lsrep
Size(mb) Free(mb) Parent Pool         Parent Size      Parent Free
    7139      579 rootvg                   139776            57344
 
Name                                    File Size Optical         Access
AIX61_DVD_1.iso                              3679 None            rw
AIX61_DVD_2.iso                               691 None            rw
bxaix85_mksysb.iso                           2190 None            rw
 
$ loadopt -f -vtd vtopt0 -disk bxaix85_mksysb.iso
 
$ lsmap -vadapter vhost1
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost1          U7998.61X.10071DA-V1-C13                     0x00000000
 
VTD                   vtopt0
Status                Available
LUN                   0x8200000000000000
Backing device        /var/vio/VMLibrary/bxaix85_mksysb.iso
Physloc
 
VTD                   vtscsi3
Status                Available
LUN                   0x8100000000000000
Backing device        lp2vd1
Physloc
  • Boot the LPAR from the virtual “SCSI CD” and install the image as “normal”.
  • On the VIOS you will see the fbdisk_io process.
  • informatique/nix/ibm/ibm/ibm_aix_nim_iso.txt
  • Dernière modification : 2015/06/25 10:13
  • de 127.0.0.1