8.2.1. Installation über CD oder DVD

Verfügt das Managed System über ein DVD-Laufwerk, dann können die Virtual-I/O-Server über DVD installiert werden. In vielen Fällen besitzen aber gerade neuere Managed Systems kein eigenes DVD-Laufwerk mehr. Es bleibt dann aber immer noch die Möglichkeit über USB zu installieren.

Wir zeigen daher die Installation über DVD für ein älteres System ms04 (Power740). Das DVD-Laufwerk hat hier den Physical Location Code P2-D9 und ist dem SAS-Adapter im Slot P1-T9 zugeordnet. Das DVD-Laufwerk kann also immer nur von einem Virtual-I/O-Server benutzt werden, diesem muß der SAS-Adapter im Slot P1-T9 zugeordnet sein!

Für die Installation über DVD müssen die beiden DVD-Images zunächst auf DVD gebrannt werden. Ein DVD-Writer steht als Device cd0 auf unserem AIX-System aixnim zur Verfügung. Das erste DVD-Image kann unmittelbar mit dem Kommando burn_cd auf eine leere DVD gebrannt werden:

aixnim # burn_cd -d /dev/cd0 Virtual_IO_Server_Base_Install_3.1.2.20_DVD_1_of_2_042021_LCD8250106.iso 
Running readcd ...
 

aixnim #

Das zweite DVD-Image liegt im ZIP-Format vor und muß daher zunächst ausgepackt werden, bevor es dann auf eine zweite leere DVD gebrannt werden kann:

aixnim # unzip Virtual_IO_Server_Base_Install_3.1.2.20_DVD_2_of_2_042021_LCD8250206.iso.ZIP 
Archive:  Virtual_IO_Server_Base_Install_3.1.2.20_DVD_2_of_2_042021_LCD8250206.iso.ZIP
ZIP/390 Build:10/01/13 by Data 21
  inflating: Virtual_IO_Server_Base_Install_3.1.2.20_DVD_2_of_2_042021_LCD8250206.iso 
aixnim #
aixnim # burn_cd -d /dev/cd0 Virtual_IO_Server_Base_Install_3.1.2.20_DVD_2_of_2_042021_LCD8250206.iso
Running readcd ...
 

aixnim #

Die beiden gebrannten DVDs sollten auf jeden Fall beschriftet werden, so daß jederzeit erkennbar ist, was auf der DVD drauf ist. Z.B.: „VIOS 3.1.2.20 1/2“ und „VIOS 3.1.2.20 2/2“.

Der SAS-Adapter mit dem DVD-Laufwerk wurde dem Virtual-I/O-Server ms04-vio1 zugeordnet. Wir legen daher die erste Installations-DVD („VIOS 3.1.2.20 1/2“) in das DVD-Laufwerk ein und aktivieren den Virtual-I/O-Server. Wir wählen den Boot-Mode SMS und geben das Profil standard an, gleichzeitig starten wir eine Konsolen-Sitzung (Option ‚-c‘):

$ lpar -p standard activate -b sms -c ms04-vio1
 
Open in progress 
 
 Open Completed.
  Network     SCSI     Speaker
 
PowerPC Firmware
Version AL740_167
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Main Menu
1.   Select Language
2.   Setup Remote IPL (Initial Program Load)
3.   Change SCSI Settings
4.   Select Console
5.   Select Boot Options
 
 
 
 
 
 
 
 
 
-------------------------------------------------------------------------------
Navigation Keys:

                                             X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:5

Als erstes muß der Menüpunkt 5Select Boot Options“ ausgewählt werden:

-------------------------------------------------------------------------------
Navigation Keys:

                                             X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:5
 
PowerPC Firmware
Version AL740_167
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Multiboot
1.   Select Install/Boot Device
2.   Configure Boot Device Order
3.   Multiboot Startup <OFF>
4.   SAN Zoning Support
 
 
 
 
 
 
 
 
 
 
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen         X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:1

Hier muß dann der Menüpunkt 1Select Install/Boot Device“ ausgewählt werden:

PowerPC Firmware
Version AL740_167
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Select Device Type
1.   Diskette
2.   Tape
3.   CD/DVD
4.   IDE
5.   Hard Drive
6.   Network
7.   List all Devices
 
 
 
 
 
 
 
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen         X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:3

Bei der Auswahl der Geräte-Typen muß der Punkt 3CD/DVD“ ausgewählt werden:

-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen         X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:3
 
PowerPC Firmware
Version AL740_167
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Select Media Type
1.   SCSI
2.   SSA
 3.   SAN
 4.   SAS
 5.   SATA
6.   USB
 7.   IDE
 8.   ISA
 9.   List All Devices
 
 
 
 
 
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen         X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:5

Der Typ des DVD-Laufwerks ist SATA, also muß der Punkt 5 ausgewählt werden:

-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen         X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:5
 
PowerPC Firmware
Version AL740_167
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Select Media Adapter
1.             /pci@80000002000000a/pci1014,0339@0/sata
2.   List all devices
 
 
 
 
 
 
 
 
 
 
 
 
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen         X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:1

Der einzige auswählbare Adapter ist die Nummer 1:

check /pci@80000002000000a/pci1014,0339@0/sata/disk@60000                       
 
PowerPC Firmware
Version AL740_167
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Select Device
Device  Current  Device
Number  Position  Name
1.        -      SATA CD-ROM
        ( loc=U78AA.001.WZSHV1R-P2-D9 )
 
 
 
 
 
 
 
 
 
 
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen         X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:1

Der Adapter besitzt nur ein DVD-Laufwerk, daher ist hier erneut der Punkt 1 auszuwählen:

Navigation keys:
M = return to Main Menu
ESC key = return to previous screen         X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:1
 
PowerPC Firmware
Version AL740_167
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Select Task
 
SATA CD-ROM
    ( loc=U78AA.001.WZSHV1R-P2-D9 )
 
1.   Information
2.   Normal Mode Boot
3.   Service Mode Boot
 
 
 
 
 
 
 
 
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen         X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:2

Für die Installation des Virtual-I/O-Servers ist ein normaler Boot erforderlich, als Menüpunkt 2Normal Mode Boot“:

-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen         X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:2
 
PowerPC Firmware
Version AL740_167
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Are you sure you want to exit System Management Services?
1.   Yes
2.   No
 
 
 
 
 
 
 
 
 
 
 
 
-------------------------------------------------------------------------------
Navigation Keys:

                                             X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:1

Als letztes muß noch bestätigt werden das der SMS Mode verlassen werden soll, Menüpunkt 1Yes“. Das System beginnt von der eingelegten DVD zu booten:

IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM                             IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM     STARTING SOFTWARE       IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM        PLEASE WAIT...       IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM                             IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
\
Elapsed time since release of system processors: 140918 mins 14 secs

Nach kurzer Zeit (einige Sekunden) erscheint dann auch die Boot-Meldung des Virtual-I/O-Servers und die Abfrage nach der verwendeten System Konsole:

-------------------------------------------------------------------------------
                       Welcome to the Virtual I/O Server.
                   boot image timestamp: 01:20:51 03/18/2021
                 The current time and date: 07:30:59 06/04/2021
        processor count: 1;  memory size: 4096MB;  kernel size: 51876481
boot device: /pci@80000002000000a/pci1014,0339@0/sata/disk@60000:\ppc\chrp\bootfile.exe
-------------------------------------------------------------------------------
 
 
 
 
 
******* Please define the System Console. *******
 
Type a 1 and press Enter to use this terminal as the
  system console.
Pour definir ce terminal comme console systeme, appuyez
  sur 1 puis sur Entree.
Taste 1 und anschliessend die Eingabetaste druecken, um
  diese Datenstation als Systemkonsole zu verwenden.
Premere il tasto 1 ed Invio per usare questo terminal
  come console.
Escriba 1 y pulse Intro para utilizar esta terminal como
  consola del sistema.
Escriviu 1 1 i premeu Intro per utilitzar aquest
  terminal com a consola del sistema.
Digite um 1 e pressione Enter para utilizar este terminal
  como console do sistema.
 
1


Hier muß lediglich die angezeigte Nummer eingetippt und mit der RETURN-Taste bestätigt werden.

Als nächstes erfolgt die Abfrage nach der Sprache während der Installation:

>>>  1 Type 1 and press Enter to have English during install.
     2 Entreu 2 i premeu Intro per veure la installaci en catal.
     3 Entrez 3 pour effectuer l'installation en franais.
     4 Für Installation in deutscher Sprache 4 eingeben
        und die Eingabetaste drücken.
     5 Immettere 5 e premere Invio per l'installazione in Italiano.
     6 Digite 6 e pressione Enter para usar Portugus na instalao.
     7 Escriba 7 y pulse Intro para la instalacion en espanol.
 
 
  
    88  Help ?
 
 
>>> Choice [1]:1
 
 

Hier ist die gewünschte Sprache während der Installation auszuwählen, wir bleiben hier bei Englisch und wählen daher die Nummer 1 aus.

                      Welcome to Base Operating System
                      Installation and Maintenance
 
Type the number of your choice and press Enter.  Choice is indicated by >>>.
 
>>> 1 Start Install Now with Default Settings
 
    2 Change/Show Installation Settings and Install
 
    3 Start Maintenance Mode for System Recovery
 
    4 Make Additional Disks Available
 
    5 Select Storage Adapters
 
 
 
 
 
 
    88  Help ?
    99  Previous Menu
 
>>> Choice [1]:

Wir bleiben bei den Defaults und starten die Installation durch Auswahl des Punktes 1:

                            System Backup Installation Summary
 
Disks:  hdisk0
Use Physical Location Maps:  No
Shrink File Systems:  No
Import User Volume Groups:  No
Recover Devices:  No
Selected Edition:  standard

 
 
 
 
 
 
 
 
 
>>> 1   Continue with Install
                       +-----------------------------------------------------
    88  Help ?         |    WARNING: Base Operating System Installation will
    99  Previous Menu  |    destroy or impair recovery of ALL data on the
                       |    destination disk hdisk0.
>>> Choice [1]:

An dieser Stelle ist die letzte Möglichkeit noch einmal zurück zu gehen und die Einstellungen zu überprüfen, was wir aber nicht tun. Wir bestätigen daher die vorgeschlagene Auswahl 1Continue with Install“:

                        Installing Base Operating System
 
 
 
 
        Please wait...
 
 
 
 
 
 
 
 
 
 
 
 
 
        Approximate     Elapsed time
     % tasks complete   (in minutes)
 
 
          8               0      1% of mksysb data restored. 
                                                  

Die Installation startet unmittelbar. Im unteren Bereich wird ein Fortschrittsangabe in Prozent angegeben mit zusätzlichen kurzen Hinweisen, was im Moment bei der Installation genau gemacht wird.
Die Installation bleibt nach einiger Zeit stehen, und fordert auf die zweite DVD einzulegen:

        Approximate     Elapsed time
     % tasks complete   (in minutes)
 
 
          70               3      84% of mksysb data restored.                
 
 … 
 
        Please remove volume 1, insert volume 2, and press the ENTER key.
 

Nachdem die zweite DVD eingelegt und die ENTER-Taste gedrückt wird, geht die Installation sofort weiter:

                        Installing Base Operating System
 
 
 
 
        Please wait...
 
 
 
 
 
 
 
 
 
 
 
 
 
        Approximate     Elapsed time
     % tasks complete   (in minutes)
 
 
          71               10      86% of mksysb data restored.               

Wenn die Installation abgeschlossen ist, wird der Virtual-I/O-Server sofort automatisch rebootet:

Licensed Materials - Property of IBM
 
5765CD200
   Copyright International Business Machines Corp. 1985, 2021.
   Copyright AT&T 1984, 1985, 1986, 1987, 1988, 1989.
   Copyright Regents of the University of California 1980, 1982, 1983, 1985, 1986, 1987, 1988, 1989.
   Copyright BULL 1993, 2021.
   Copyright Digi International Inc. 1988-1993.
   Copyright Interactive Systems Corporation 1985, 1991.
   Copyright ISQUARE, Inc. 1990.
   Copyright Innovative Security Systems, Inc. 2001-2006.
   Copyright Mentat Inc. 1990, 1991.
   Copyright Open Software Foundation, Inc. 1989, 1994.
   Copyright Sun Microsystems, Inc. 1984, 1985, 1986, 1987, 1988, 1991.
 
All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
Rebooting . . .

Der Reboot nach der Installation dauert etwas länger als ein normaler Reboot, da beim ersten Booten einige Initialisierungen vorgenommen werden. Nach einiger Zeit erscheint die Aufforderung nach dem Login:


System reconfiguration in progress.  Please wait.
/ filesystem not converted.
        Small inode extents are already enabled.
 
Rebuild of Scriptinfo file is complete
 
Setting vpm_fold_policy to 4 in nextboot file
Setting vpm_fold_policy to 4
0513-059 The lldpd Subsystem has been started. Subsystem PID is 4129060.
0513-059 The ecpvdpd Subsystem has been started. Subsystem PID is 4718936.
IBM Virtual I/O Server
 
                      login:

Hier muß eine Anmeldung als Benutzer padmin erfolgen. Es gibt kein Standard-Passwort! Beim ersten Anmelden muß ein neues Passwort vergeben werden:

                      login: padmin
[compat]: 3004-610 You are required to change your password.
        Please choose a new one.
 
padmin's New password: XXXXXXXX
Enter the new password again: XXXXXXXX
 
Indicate by selecting the appropriate response below whether you
accept or decline the software maintenance terms and conditions.
Accept (a) |  Decline (d) |  View Terms (v) > a
$

Außerdem müssen die Software-Lizenzbestimmungen von IBM durch Eingabe von ‚a‘ (Accept) angenommen werden. Danach ist man als Benutzer padmin eingeloggt und kann die weitere Konfiguration vornehmen. Bevor man ein IOS Kommando starten kann, muss noch die I/O-Server Lizenz akzeptiert werden, ansonsten kann kein Kommando ausgeführt werden und es erscheint immer ein Warnhinweis:

$ ioslevel
The I/O Server license must be accepted before running this command.
Only the chlang command may be run before accepting the license.
To view the license, run the license command with the -view option.
If the -lang flag is not specified the license will be displayed in
the current locale (set by the chlang command).  If the license is not
available in the language selected, English will be the default.
To accept the license, run the license command with the -accept option.
 
Locale currently set to: "en_US".
 
Usage: license {[-view] [-accept]} [-lang Name]
       license [-ls]
 
View and accept the I/O Server license agreement.
 
        -accept Accept the license agreement.
        -lang   Specifies the language-territory (locale name) the license
                is displayed in.
        -ls     Lists available locales.
        -view   Displays the license agreement.
 
 
$

Wir akzeptieren die Lizenz durch Ausführen des Kommandos „license -accept“:

$ license -accept
 
  Current system settings are different from the best practice recommendations for a VIOS.
 
  To view the differences between system and the recommended settings, run the following:
  $rules -o diff -s -d
 
  To deploy the VIOS recommended default settings, run the following:
  $rules -o deploy -d
  $shutdown -restart
 
$

Danach lassen sich auch alle Kommandos starten:

$ ioslevel
3.1.2.20
$