Under Construction

Import via NFS

In many cases, a virtual I/O server installation image is first downloaded to a server, often the so-called NIM server in AIX environments. If the image was stored in a directory exported via NFS, the HMC can access the installation image via NFS.

In the following example, an installation image for version 4.1.0.0 was stored on the server aixnim (NIM server) in the /export/iso directory. The image can then be imported onto the HMC using the “hmc cpviosimg” command as follows:

LPAR-Tool
$ hmc cpviosimg hmc02 nfs://aixnim//export/iso/Virtual_IO_Server_Base_Install_4.1.0.0_DVD_112023_LCD8293900.iso VIOS_4.1.0.0
$
HMC-CLI
hscroot@hmc02:~> cpviosimg -h aixnim -l /export/iso -f Virtual_IO_Server_Base_Install_4.1.0.0_DVD_112023_LCD8293900.iso -r nfs -n VIOS_4.1.0.0
hscroot@hmc02:~>

Note: Instead of a host name, an IP address can also be specified. If a host name is specified, it must be resolvable on the HMC.

A quick check with “hmc lsviosimg” shows the availability of the image just copied:

LPAR-Tool
$ hmc lsviosimg hmc02
NAME          SIZE     IMAGE_FILES
VIOS_4.1.0.0  3487.68  dvdimage.v1.iso
]$
HMC-CLI
hscroot@hmc02:~> lsviosimg
name=VIOS_4.1.0.0,size=3487.55,image_files=dvdimage.v1.iso
hscroot@hmc02:~>

If there are 2 ISO files for a VIOS version, then both ISO files must be specified separated by a comma, e.g.:

LPAR-Tool
$ hmc cpviosimg hmc02 aixnim:/export/iso/VIOS_3.1.4.30_DVD_1_of_2.iso,VIOS_3.1.4.30_DVD_2_of_2.iso VIOS_3.1.4.30
$
HMC-CLI
hscroot@hmc02:~> cpviosimg -h aixnim -l /export/iso -f VIOS_3.1.4.30_DVD_1_of_2.iso,VIOS_3.1.4.30_DVD_2_of_2.iso -r nfs -n VIOS_3.1.4.30
hscroot@hmc02:~>

Note: Here the form <host>:/<absolute_path> known from the mount command was used.

It is important to specify the ISO files in the correct order!