0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

VIOSを用いたAIX導入手順

Posted at

はじめに

VIOSを用いてAIXを新規導入した際の作業メモです。

実施環境

  • VIOS
    • LPAR名: s922vios21
    • OS: VIOS4.1.1.00
  • OS導入LPAR
    • LPAR名: s922201
    • ID: 7
    • 導入OS: AIX 7.3 TL3 SP0
  • NFSサーバー
    • IPアドレス: 192.168.64.11
    • OS: AIX 7.3 TL3 SP0
    • OSイメージ(iso): /export/AIX_v7.3_Install_7300-03-00-2446_flash_122024_LCD8265306.iso

実施内容

①VIOSでOSイメージを利用するためにNFSをマウント
②OSイメージから仮想メディア・リポジトリー上に仮想光メディアを作成
③仮想光デバイスを作成し、仮想光メディアをロード
④仮想光デバイスからOSを導入

image.png

①VIOSでOSイメージを利用するためにNFSをマウント

今回はNFSサーバーの"/export"にAIXのOSイメージ(AIX_v7.3_Install_7300-03-00-2446_flash_122024_LCD8265306.iso)を配置しました。
VIOS(s922vios21)上でOSイメージを利用するために"s922211:/export"にs922vios21の"/mnt"をマウントしました。

@s922vios21
$ mount 192.168.64.11:/export /mnt

VIOSからOSイメージが参照できることも確認できました。

@s922vios21
$ df -g
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4           1.00      0.94    7%     3370     2% /
/dev/hd2           4.00      0.95   77%    63315    22% /usr
/dev/hd9var        1.00      0.86   15%      792     1% /var
/dev/hd3           5.00      5.00    1%       78     1% /tmp
/dev/hd1          11.00     10.76    3%     1649     1% /home
/dev/hd11admin      1.00      1.00    1%        5     1% /admin
/proc                 -         -    -        -      - /proc
/dev/hd10opt       1.00      0.96    5%      676     1% /opt
/dev/livedump      1.00      1.00    1%        4     1% /var/adm/ras/livedump
/ahafs                -         -    -       43     1% /aha
192.168.64.11:/export      10.00      2.14   79%     2986     1% /mnt
$ 
$ ls /mnt
AIX_v7.3_Install_7300-03-00-2446_flash_122024_LCD8265306.iso

②OSイメージから仮想メディア・リポジトリー上に仮想光メディアを作成

仮想光メディアを配置するための仮想メディア・リポジトリーを作成しました。

仮想メディア・リポジトリーはrootvgに20GBで作成しました。

@s922vios21
$ mkrep -sp rootvg -size 20g
Virtual Media Repository Created
Repository created within "VMLibrary" logical volume
$
$ lsrep
Size(mb) Free(mb) Parent Pool         Parent Size      Parent Free
   20480    20396 rootvg                  6104064          6049792

AIXのOSイメージであるisoファイルから仮想メディア・リポジトリーに仮想光メディア(AIX7300_03_00_dvd)を作成しました。

@s922vios21
$ mkvopt -name AIX73_03_00_dvd -file /mnt/AIX_v7.3_Install_7300-03-00-2446_flash_122024_LCD8265306.iso
$
$ lsrep
Size(mb) Free(mb) Parent Pool         Parent Size      Parent Free
   20480    12444 rootvg                  6104064          6049792

Name                                                  File Size Optical         Access
AIX73_03_00_dvd                                            7953 None            rw

③仮想光デバイスを作成し、仮想光メディアをロード

OS導入対象のLPAR(s922201)には、vSCSI経由で30GBの仮想ディスクを割り当てました。
s922201の仮想ディスクが、どのvhostにマッピングされているかを確認しました。

@s922vios21
$ lsmap -all -cpid 7
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0          U9009.22G.78DE680-V1-C3                      0x00000007

VTD                   vtscsi0
Status                Available
LUN                   0x8100000000000000
Backing device        hdisk7
Physloc               U78D3.001.WZS0GG4-P1-C4-T2-W500507680D76B1DA-L6000000000000
Mirrored              false

vhost0経由で仮想ディスクがマッピングされていたため、vhost0にマッピングされるように仮想光デバイスを作成しました。

@s922vios21
$ mkvdev -fbo -vadapter vhost0 -dev AIX73_03_00_cd0
AIX73_03_00_cd0 Available
$
$ lsmap -all -cpid 7
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0          U9009.22G.78DE680-V1-C3                      0x00000007

VTD                   AIX73_03_00_cd0
Status                Available
LUN                   0x8200000000000000
Backing device
Physloc
Mirrored              N/A

VTD                   vtscsi0
Status                Available
LUN                   0x8100000000000000
Backing device        hdisk7
Physloc               U78D3.001.WZS0GG4-P1-C4-T2-W500507680D76B1DA-L6000000000000
Mirrored              false

仮想光デバイス(AIX73_03_00_cd0)に仮想光メディア(AIX73_03_00_dvd)をロードしました。

@s922vios21
$ lsvopt
VTD             Media                                                 Size(mb)
AIX73_03_00_cd0 No Media                                                   n/a
$
$ loadopt -disk AIX73_03_00_dvd -vtd AIX73_03_00_cd0
$
$ lsvopt
VTD             Media                                                 Size(mb)
AIX73_03_00_cd0 AIX73_03_00_dvd                                           7953

④仮想光デバイスからOSを導入

OS導入対象のLPAR(s922201)をSMSモードで起動しました。
5.Select Boot Options

@s922201
 PowerPC Firmware
 Version FW950.00 (VL950_045)
 SMS (c) Copyright IBM Corp. 2000,2020 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

1.Select Install/Boot Device

@s922201
 PowerPC Firmware
 Version FW950.00 (VL950_045)
 SMS (c) Copyright IBM Corp. 2000,2020 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

2.CD/DVD

@s922201
PowerPC Firmware
 Version FW950.00 (VL950_045)
 SMS (c) Copyright IBM Corp. 2000,2020 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

1.SCSI

@s922201
 PowerPC Firmware
 Version FW950.00 (VL950_045)
 SMS (c) Copyright IBM Corp. 2000,2020 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:1

1.U9009.22G.78DE680-V7-C2-T1 /vdevice/v-scsi@30000002

@s922201
 PowerPC Firmware
 Version FW950.00 (VL950_045)
 SMS (c) Copyright IBM Corp. 2000,2020 All rights reserved.
-------------------------------------------------------------------------------
 Select Media Adapter
 1.  U9009.22G.78DE680-V7-C2-T1   /vdevice/v-scsi@30000002
 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

1.SCSI CD-ROM

@s922201
 PowerPC Firmware
 Version FW950.00 (VL950_045)
 SMS (c) Copyright IBM Corp. 2000,2020 All rights reserved.
-------------------------------------------------------------------------------
 Select Device
 Device  Current  Device
 Number  Position  Name
 1.        -      SCSI CD-ROM
        ( loc=U9009.22G.78DE680-V7-C2-T1-L8200000000000000 )










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

2.Normal Mode Boot

@s922201
 PowerPC Firmware
 Version FW950.00 (VL950_045)
 SMS (c) Copyright IBM Corp. 2000,2020 All rights reserved.
-------------------------------------------------------------------------------
 Select Task

SCSI CD-ROM
    ( loc=U9009.22G.78DE680-V7-C2-T1-L8200000000000000 )

 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

1.Yes

@s922201
 PowerPC Firmware
 Version FW950.00 (VL950_045)
 SMS (c) Copyright IBM Corp. 2000,2020 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

以降はDVDを用いた導入(AIX 7.3導入手順)を参考に作業しました。

以上

0
0
0

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?