Under Construction

hmc installios

Verfügbar: ab 1.9.2

Mit dem Kommando „hmc installios“ kann ein Virtual-I/O-Server interaktiv installiert werden:

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.

Dazu wird das Kommando ohne weitere Optionen mit dem Namen der für die Installation zu verwendenden HMC als einziges Argument gestartet. Alle für die Installation notwendigen Informationen, wie Virtual-I/O-Server, IP-Adresse, Netzmaske, Gateway, Installations Image usw., werden interaktiv abgefragt:

$ 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"
...
$

Nach den Abfragen der notwendigen Informationen läuft die Installation dann ohne einen weiteren manuellen Eingriff ab. Am Ende der Installation wird der Virtual-I/O-Server dann rebootet. 

Der Virtual-I/O-Server kann aber erst verwendet werden, wenn die Lizenzbestimmungen von IBM akzeptiert wurden.  Außerdem sollte für den Benutzer padmin ein Passwort nach der Installation gesetzt werden. Beides geht am einfachsten mittels Login über die Konsole als Benutzer padmin („lpar console„).