Under Construction
Non-interactive installation
If a virtual I/O server is to be installed non-interactively via an HMC, the command “vios installios” can be used. In addition to the virtual I/O server, at least the following information must be specified on the command line:
addr - Client-IP des Virtual-I/O-Servers
netmask - Netzmaske des Virtual-I/O-Servers
gateway - Gateway-IP
path - Installations-Image oder Backup
These 4 attributes can be specified either in the form <attribute>=<value> in any order, or alternatively only via the value directly after the name of the virtual I/O server to be installed and then in exactly the order mentioned above. The following calls to “vios installios” are equivalent:
vios installios ms1vio3 192.168.199.13 255.255.255.0 192.168.199.1 VIOS_4.1.0.0
vios installios ms1vio3 192.168.199.13 255.255.255.0 192.168.199.1 path=VIOS_4.1.0.0
vios installios ms1vio3 192.168.199.13 255.255.255.0 gateway=192.168.199.1 path=VIOS_4.1.0.0
vios installios ms1vio3 192.168.199.13 255.255.255.0 path=VIOS_4.1.0.0 gateway=192.168.199.1
vios installios ms1vio3 192.168.199.13 path=VIOS_4.1.0.0 gateway=192.168.199.1 netmask=255.255.255.0
vios installios ms1vio3 gateway=192.168.199.1 path=VIOS_4.1.0.0 addr=192.168.199.13 netmask=255.255.255.0
Optionally, additional attributes can be specified:
bosisnt_pvid - the PVID of the LUN to use for installation
interface - the interface to use on the HMC for the installation
mac_addr - the MAC address of the VIOS interface
nfs_options - the mount option to use for NFS (e.g. vers=4)
dest_dir - directory where to copy the source, default is /extra filesystem
label - label name to use instead of 'default1'
language - language the license agreement will be displayed
speed - the speed wo configure the client's network interface
10, 100 (default), 1000, auto
duplex - the duplex setting to configure the client network interface
half, full (default), auto
vlan_tag - the VLAN tag id to use for the client network interface
vlan_priority - the VLAN tag priority to use
bootp_retry_count - maximum number of BOOTP retries (0-9)
tftp_retry_count - maximum number of TFTP retries (0-9)
Note: If VLAN tagging is used in the installation network and the port VLAN ID of the installation interface of the Virtual I/O server is not the VLAN that must be used for the installation, then the vlan_tag attribute must be specified with the desired VLAN!
As a rule, all other attributes have working default values or the installios sub-command automatically finds the values to use, such as the interface to be used for the installation on the HMC (attribute interface). However, the start of the installation can be accelerated if this information is provided when calling it.
Note: We recommend specifying the attributes interface (interface to be used on the HMC) and mac_addr (the MAC address of the VIOS). The installios sub-command then does not have to laboriously find out this information itself!
The ISO image or full backup to be installed can be specified in one of the following ways:
/dev/cdrom - perform installation using a DVD
/dev/<usb-device> - perform installation using an image on USB,
use 'hmc lsmediadev' to display the device name
image-name - use an ISO install image stored on the HMC,
use 'vios lsviosimg' to display available images
backup-name - use a fullback of a virtual-I/O-server stored as a NIM resource,
use 'vios lsviosbk' or 'hmc lsviosbk' to display available backups
/absolute/path - use absolute path to an ISO image or a fullback on the HMC
nfs-server:/absolute/path - use a fullbackup on an nfs-server
If a specific HMC is to be used for the installation (only relevant for dual HMC configurations), the desired HMC can be specified with the “-h” option.
If the Virtual I/O Server LPAR is active, it is first deactivated and then restarted with the current profile. If there is no current profile, the default profile is used by default. The desired profile can also be specified by using the “-p” option.
Installing a Virtual I/O Server via the HMC is always a network installation. If you do not want the installed Virtual I/O Server to adopt the network configuration used for installation after installation, you can use the “-N” option. The network is then not configured after installation and the Virtual I/O Server can only be accessed via the console.
Below are some examples of non-interactive installation via HMC.