Under Construction

hmc installios

Available: from 1.9.2

A virtual I/O server can be installed interactively using the command “hmc installios“:

hmc installios [-e] [-f] [-q] [-u] [-v] <hmc> [<label>]
-e : erase the specified label from /etc/nimol.conf
-f : force erasing a label (only valid with '-e')
-q : query for labels created
-u : unconfigure installios installation resources.

To do this, the command is started without any further options, only with the name of the HMC to be used for the installation as the only argument. All information required for the installation, such as virtual I/O server, IP address, network mask, gateway, installation image, etc., is requested interactively:

$ hmc installios hmc01
Logging session output to /tmp/installios.2105351.log.

The following objects of type "managed system" were found. Please select one:

1. ms01
2. ms02
3. ms03
4. ms04
5. ms05
6. ms06

Enter a number (1-6): 5

The following objects of type "virtual I/O server partition" were found. Please select one:

1. ms05-vio1
2. ms05-vio2

Enter a number (1-2): 1

The following objects of type "profile" were found. Please select one:

1. standard
2. vlan100

Enter a number (1-2): 2
Enter the source of the installation images [/dev/cdrom]: /extra/viosimages/VIOS_4.1.0.0/dvdimage.v1.iso
Enter the client's intended IP address: 10.255.255.59
Enter the client's intended subnet mask: 255.255.255.0
Enter the client's gateway: 10.255.255.57
(Note: To use the adapter's default setting, enter 'default' for speed)
Enter the client's speed [100]: default
Please select an adapter you would like to use for this installation.
(WARNING: The client IP address must be reachable through this adapter!
1. eth0 10.255.255.55
2. eth1 192.168.128.1
3. eth2
4. eth3
5. eth4
6. eth5
7. usb0 169.254.95.121
Enter a number (1-7): 1

Retrieving information for available network adapters
This will take several minutes...

The following objects of type "ethernet adapters" were found. Please select one:

1. ent U9009.22G.89C87C1-V3-C5-T1 828d5fd7b505 /vdevice/l-lan@30000005 n/a virtual

Enter a number: 1
Here are the values you entered:

managed system = ms05
virtual I/O server partition = ms05-vio1
profile = vlan100
source = /extra/viosimages/VIOS_4.1.0.0/dvdimage.v1.iso
IP address = 10.255.255.59
subnet mask = 255.255.255.0
gateway = 10.255.255.57
speed = default
duplex = default
install interface = eth0
ethernet adapters = 82:8d:5f:d7:b5:05

Press enter to proceed or type Ctrl-C to cancel...

nimol_config MESSAGE: Added "REMOTE_ACCESS_METHOD /usr/bin/rsh" to the file "/etc/nimol.conf"
nimol_config MESSAGE: Removed "disable = yes" from the file "/etc/xinetd.d/tftp"
nimol_config MESSAGE: Added "disable = no" to the file "/etc/xinetd.d/tftp"
nimol_config MESSAGE: Removed "local2,local3.* -/var/log/localmessages;RSYSLOG_TraditionalFileFormat" from the file "/etc/rsyslog.conf"
...
$

After the necessary information has been requested, the installation runs without any further manual intervention. At the end of the installation, the Virtual I/O Server is rebooted.

However, the Virtual I/O Server cannot be used until IBM’s license terms have been accepted. In addition, a password should be set for the user padmin after installation. The easiest way to do both is to log in via the console as user padmin (“lpar console“).