LoginSignup
3
3

インストール・メディアでのブートによるAIXのアップグレード(7.2 -> 7.3)

Last updated at Posted at 2023-01-13

はじめに

インストール・メディアでのブートの方法による AIX 7.2 から AIX 7.3 へのマイグレーションのログです。

・AIX のマイグレーション
https://www.ibm.com/docs/ja/aix/7.3?topic=installing-migrating-aix

・AIX 6.1, 7.1, 7.2 から AIX 7.3 へダイレクトインストールは可能であると以下の資料にありました。
 Power Systems Virtual User Group
 12 January 2023: Power Systems OS Updates
  - AIX Presentation Materials
   - p20 AIX 7.3 Migration Strategies and Tips 参照

当手順は AIX 6.1, AIX 7.1 でも適用可能と考えられます。


対象

オンプレ IBM PowerSystems 環境でAIX のマイグレーションを NIM (Network Installation Manager) を使用せずに実行したい方


環境

・PowerSystems S824 (VIOS環境)
・対象LPAR: AIXサーバー (AIX 7.2, LPAR名: aixtest)
・HMC 環境

LPAR に ブート・メディア(isoファイル)を割り当てた状態です。
iso ファイルの割り当て方法は以下をご参考ください。


手順

(optional) pre_migration スクリプトを実行してマイグレーション前の状態を取得

・BOS の pre_migration チェックと post_migration チェック
https://www.ibm.com/docs/ja/aix/7.3?topic=aix-bos-pre-migration-post-migration-checks

(1) HMC から対象のサーバーのSMSブートを実行

 HMC GUI で対象のLPARを選択し、起動オプションでSMS を選択

(2) HMC に CLI でログインし、対象のLPARの vterm を起動
$ vtmenu
----------------------------------------------------------
  Partitions On Managed System:  p8-S824-No1-xxxxxx
  OS/400 Partitions not listed
 ----------------------------------------------------------
   
~ 省略 ~

   22)   aixtest            Open Firmware


~ 省略 ~


 Enter Number of Running Partition (q to quit): 22
22
    Opening Virtual Terminal On Partition aixtest . . .


 Open in progress

(3) ブート・デバイスの選択
 PowerPC Firmware
 Version FW860.70 (SV860_205)
 SMS (c) Copyright IBM Corp. 2000,2016 All rights reserved.
-------------------------------------------------------------------------------
 Main Menu
 1.   Select Language
 2.   Setup Remote IPL (Initial Program Load)
 3.   I/O Device Information
 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

=> "5.Select Boot Options" を選択

 Version FW860.70 (SV860_205)
 SMS (c) Copyright IBM Corp. 2000,2016 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

=> "1. Select Install/Boot Device" を選択

 PowerPC Firmware
 Version FW860.70 (SV860_205)
 SMS (c) Copyright IBM Corp. 2000,2016 All rights reserved.
-------------------------------------------------------------------------------
 Select Device Type
 1.   Tape
 2.   CD/DVD
 3.   Hard Drive
 4.   Network
 5.   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:2

=> " 2. CD/DVD" を選択

 PowerPC Firmware
 Version FW860.70 (SV860_205)
 SMS (c) Copyright IBM Corp. 2000,2016 All rights reserved.
-------------------------------------------------------------------------------
 Select Media Type
 1.   SCSI
 2.   SAN
 3.   SAS
 4.   SATA
 5.   USB
 6.   NVMe
 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:7

=> " 7. List All Devices" を選択

check /vdevice/vfc-client@30000006/disk@5005xxxxx0a4ca,0000000000000000

 PowerPC Firmware
 Version FW860.70 (SV860_205)
 SMS (c) Copyright IBM Corp. 2000,2016 All rights reserved.
-------------------------------------------------------------------------------
 Select Device
 Device  Current  Device
 Number  Position  Name
 1.        -      Interpartition Logical LAN
        ( loc=U8286.42A.xxxxx-V29-C32-T1 )
 2.        -      SCSI CD-ROM
        ( loc=U8286.42A.xxxxx-V29-C2-T1-L8100000000000000 )
 3.        2      21 GB   FC Harddisk, part=2 (AIX 7.2.0)
        ( loc=U8286.42A.xxxxx-V29-C3-T1-W500xxxxx0220a4cb-L0000000000000000 )
 4.        1      21 GB   FC Harddisk, part=2 (AIX 7.2.0)
        ( loc=U8286.42A.xxxxx-V29-C3-T1-W500xxxxx220a4ca-L0000000000000000 )
 5.        4      21 GB   FC Harddisk, part=2 (AIX 7.2.0)
        ( loc=U8286.42A.xxxxx-V29-C4-T1-W500xxxxx0210a4ca-L0000000000000000 )
 6.        3      21 GB   FC Harddisk, part=2 (AIX 7.2.0)
        ( loc=U8286.42A.xxxxx-V29-C4-T1-W500xxxxx210a4cb-L0000000000000000 )
 -------------------------------------------------------------------------------
 Navigation keys:
 M = return to Main Menu      N = Next page of list
 ESC key = return to previous screen         X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:2

=> " 2. - SCSI CD-ROM" を選択

PowerPC Firmware
 Version FW860.70 (SV860_205)
 SMS (c) Copyright IBM Corp. 2000,2016 All rights reserved.
-------------------------------------------------------------------------------
 Select Task

SCSI CD-ROM
    ( loc=U8286.42A.xxxxx-V29-C2-T1-L8100000000000000 )

 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:1

=> " 1. Information" で設定内容を確認

PowerPC Firmware
 Version FW860.70 (SV860_205)
 SMS (c) Copyright IBM Corp. 2000,2016 All rights reserved.
-------------------------------------------------------------------------------
 Device Information
    /vdevice/v-scsi@30000002/disk@8100000000000000
                   :  (Bootable)
DEVICE             : SCSI CD-ROM
    ( loc=U8286.42A.xxxxx-V29-C2-T1-L8100000000000000 )
NAME               : disk
DEVICE-TYPE        : block

 Parent Information
IBM,FW-ADAPTER-NAME: Virtual SCSI
NAME               : v-scsi
DEVICE-TYPE        : vscsi




 -------------------------------------------------------------------------------
 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<esc>

=> SCSI CD-ROM が設定されていることを確認後、esc で前の画面に戻る

PowerPC Firmware
 Version FW860.70 (SV860_205)
 SMS (c) Copyright IBM Corp. 2000,2016 All rights reserved.
-------------------------------------------------------------------------------
 Select Task

SCSI CD-ROM
    ( loc=U8286.42A.xxxxx-V29-C2-T1-L8100000000000000 )

 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

=> " 2. Normal Mode Boot" を選択

 PowerPC Firmware
 Version FW860.70 (SV860_205)
 SMS (c) Copyright IBM Corp. 2000,2016 All rights reserved.
-------------------------------------------------------------------------------
 Are you sure you want to exit System Management Services?
 1.   Yes
 2.   No

=> "1. Yes"を選択し、SMS を抜ける。

(4) ブート後、インストール設定
 -------------------------------------------------------------------------------
 Navigation Keys:

                                             X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:1
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 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 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 IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
-
Elapsed time since release of system processors: 430574 mins 48 secs
-
Elapsed time since release of system processors: 430574 mins 59 secs


-------------------------------------------------------------------------------
                                Welcome to AIX.
                   boot image timestamp: 17:28:09 04/18/2022
                 The current time and date: 08:30:19 01/10/2023
        processor count: 1;  memory size: 2048MB;  kernel size: 57995428
boot device: /vdevice/v-scsi@30000002/disk@8100000000000000:\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.


 HARDWARE SYSTEM MICROCODE
 Licensed Internal Code - Property of IBM
 (C) Copyright IBM Corp. 1990, 1994.
 All rights reserved.

 US Government Users Restricted Rights -
 Use, duplication or disclosure restricted
 by GSA ADP Schedule Contract with IBM Corp.

>>>  1 Type 1 and press Enter to have English during install.

=> 導入中に英語表記を選択するかどうか 1 を選択

                     Installation and Settings

Either type 0 and press Enter to install with current settings, or type the
number of the setting you want to change and press Enter.

    1  System Settings:
         Method of Installation.............Migration
         Disk Where You Want to Install.....hdisk0

    2  Primary Language Environment Settings (AFTER Install):
         Cultural Convention................Japanese(PC)
         Language ..........................Japanese(PC)
         Keyboard ..........................Japanese(PC)
         Keyboard Type......................Alternate
    3  Security Model.......................Default
    4  More Options  (Software install options)
    5  Select Edition.......................standard
>>> 0  Install with the current settings listed above.

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

=> "Installation and Settings" で " Method of Installation" が "Migration" となっていることを確認  
  "2 Primary Language Environment Settings (AFTER Install):" で Javanese(PC) を設定
  Choice 0 で実行

                            Migration Installation Summary

Disks:  hdisk0
Cultural Convention:  Ja_JP
Language:  Ja_JP
Keyboard:  Ja_JP@alt
Import User Volume Groups:  Yes
Enable System Backups to install any system:  Yes
Selected Edition:  standard

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

=> "1  Continue with Install" を選択

(5) Migration Information を確認
                                   Migration Confirmation

  Either type 0 and press Enter to continue the installation, or type the
  number of your choice and press Enter.

    1  List the saved Base System configuration files which will not be
       merged into the system.  These files are saved in /tmp/bos.
    2  List the filesets which will be removed and not replaced.
    3  List directories which will have all current contents removed.
    4  Reboot without migrating.

    Acceptance of license agreements is required before using system.
    You will be prompted to accept after the system reboots.

>>> 0  Continue with the migration.
   88  Help ?

+---------------------------------------------------------------------------
  WARNING: Selected files, directories, and filesets (installable options)
    from the Base System will be removed.  Choose 2 or 3 for more information.


>>> Choice[0]:

マイグレーションの変更点を確認

1 を選択した場合、変更されるファイルを表示

>>> Choice[0]: 1

        /etc/motd
/etc/rc
/etc/security/mkuser.sys
/etc/tsh_profile
/sbin/rc.boot
/usr/sbin/skulker

2 を選択した場合、削除または置き換えられるファイルセットを表示

>>> Choice[0]: 2
        bos.perf.pmaix
devices.artic960.diag
devices.artic960.rte
devices.artic960.ucode
devices.capi.14105043.rte
devices.capi.1410f0041410f004.com
devices.capi.1410f0041410f004.diag
devices.capi.1410f0041410f004.rte
devices.chrp.capi.rte
devices.chrp.IBM.HFI.rte
devices.chrp.IBM.lhea.diag
devices.chrp.IBM.lhea.rte
devices.common.IBM.atm.rte
devices.common.IBM.cflash.rte

~ 長いので省略 ~

3 を選択した場合、現在のコンテンツが削除されるディレクトリを表示

>>> Choice[0]: 3

        /lpp/bos
/tmp
/usr/lpp/bos/bos.rte
/usr/lpp/bos/bos.rte.*
/usr/lpp/bos/deinst

確認後、"0 Continue with the migration." を選択しマイグレーションを実行

                                   Migration Confirmation

  Either type 0 and press Enter to continue the installation, or type the
  number of your choice and press Enter.

    1  List the saved Base System configuration files which will not be
       merged into the system.  These files are saved in /tmp/bos.
    2  List the filesets which will be removed and not replaced.
    3  List directories which will have all current contents removed.
    4  Reboot without migrating.

    Acceptance of license agreements is required before using system.
    You will be prompted to accept after the system reboots.

>>> 0  Continue with the migration.
   88  Help ?

+---------------------------------------------------------------------------
  WARNING: Selected files, directories, and filesets (installable options)
    from the Base System will be removed.  Choose 2 or 3 for more information.

この後、マイグレーション実行ログが流れますが省略します。
50分弱程度、ファイルセットの置き換え、導入が実行されました。

導入完了後、ターミナル・タイプを選択

                           Set Terminal Type

The terminal is not properly initialized.  Please enter a terminal type
and press Enter.  Some terminal types are not supported in
non-English languages.


     ibm3101          tvi912          vt330          aixterm
     ibm3151          tvi920          vt340          dtterm
     ibm3161          tvi925          wyse30         xterm
     ibm3162          tvi950          wyse50         lft
     ibm3163          vs100           wyse60         sun
     ibm3164          vt100           wyse100
     ibmpc            vt320           wyse350


                      +-----------------------Messages------------------------
                      | If the next screen is unreadable, press Break (Ctrl-c)
    88  Help ?        | to return to this screen.
                      |

>>> Choice []: vt100

=> vt100 を選択します

・(参考) AIX システムを新規インストール後に構成
https://www.ibm.com/docs/ja/aix/7.3?topic=aix-configuring-system-after-new-installation

「Set Terminal Type (ターミナル・タイプの設定)」メニューが表示されたら、ターミナル・タイプとして vt100 と入力します。

Software License Agreements の実行

                Software License Agreements

Move cursor to desired item and press Enter.

  Show Installed License Agreements
  Accept License Agreements


F1=Help             F2=Refresh          F3=Cancel           Esc+8=Image
Esc+9=Shell         Esc+0=Exit          Enter=Do

---

                           Accept License Agreements

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
  ACCEPT Installed License Agreements?                yes                    +

F1=Help             F2=Refresh          F3=Cancel           F4=List
Esc+5=Reset         Esc+6=Command       Esc+7=Edit          Esc+8=Image
Esc+9=Shell         Esc+0=Exit          Enter=Do


---
                                 COMMAND STATUS

Command: OK            stdout: no            stderr: no

Before command completion, additional instructions may appear below.


Installation Assistant で設定できますが、"Tasks Completed - Exit to AIX Login" を選択し、AIX にログインします。


                             Installation Assistant

Move cursor to desired item and press Enter.

  Install Software Applications
  System Workload Partition Software Maintenance
  Using SMIT (information only)
  Tasks Completed - Exit to AIX Login



F1=Help             F2=Refresh          F3=Cancel           Esc+8=Image
Esc+9=Shell         Esc+0=Exit          Enter=Do


0513-085 The IBM.ESAGENT Subsystem is not on file.
0513-059 The ctrmc Subsystem has been started. Subsystem PID is 8126802.

ログイン


AIX Version 7
Copyright IBM Corporation, 1982, 2022.
Console login: root
*******************************************************************************
*                                                                             *
*                                                                             *
*  Welcome to AIX Version 7.3!                                                *
*                                                                             *
*                                                                             *
*  Please see the README file in /usr/lpp/bos for information pertinent to    *
*  this release of the AIX Operating System.                                  *
*                                                                             *
*                                                                             *
*******************************************************************************
Last login: Mon Jan  9 19:31:15 CST 2023 on /dev/pts/0 from 172.16.81.4

#
# oslevel -s
7300-00-02-2219
#

無事、AIX 7.3 へアップグレードされました。

(optional) post_migration スクリプトを実行して変更点を確認

・BOS の pre_migration チェックと post_migration チェック
https://www.ibm.com/docs/ja/aix/7.3?topic=aix-bos-pre-migration-post-migration-checks


参考

・BOS インストールのためのシステムの準備
https://www.ibm.com/docs/ja/aix/7.3?topic=73-preparing-your-system-bos-installation

・インストール・メディアからのブート
https://www.ibm.com/docs/ja/aix/7.3?topic=73-booting-from-your-installation-media

・BOS の移行の完了
https://www.ibm.com/docs/ja/aix/7.3?topic=73-finishing-bos-migration


AIX 7.3 でデフォルトでの変更がありますのでご注意ください。
以下では特にLVM について確認しています。

以上です。

3
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3