1. はじめに
今回の記事では、IBM PowerSystems環境において、VIOS(Virtual I/O Server)の仮想光ディスク装置を利用し、LPAR(Logical Partition)にRed Hat Enterprise Linux 10.1(以下、RHEL 10.1)を新規インストールする手順を説明します。
1.1 対象者
- IBM PowerSystemsの管理者
- HMCを使用してLPARを管理する方
- VIOS経由でOSをインストールする方
- RHELのインストールを学習したい方
など
1.2 実行環境
サーバー : IBM PowerSystems S1014
HMC : V10 R3 SP1050
導入OS : RHEL 10.1
アーキテクチャ : ppc64le
インストール方式 : VIOS仮想光ディスク装置
インストール対象LPAR : test-rhel
インストールディスク : 40 GiB(mpatha)
2 インストール・メディアの登録方法
今回の作業では、HMCからVIOSの仮想光ディスク装置に追加されたRHELのISOイメージをインストール対象LPAR 「test-rhel」に導入します。
2.1 作業対象LPARの停止確認
最初に、HMCからインストール対象のLPAR「test-rhel」が停止していることを確認します。

2.2 仮想光ディスク装置の追加
HMCの画面から以下の順番で操作します。
- 「仮想ストレージ」を選択
- 「仮想光ディスク装置」を選択
- 「+ 仮想光ディスク装置の追加」を選択
2.3 ISOイメージのロード
仮想光ディスク装置の追加でVIOSを選択し、デバイス名を付けます。
デバイス名「test-rhel」の仮想光ディスク装置の追加が完了しました。
次にデバイス名「test-rhel」にインストールメディアを登録します。
「アクション」→「ロード」を選択します。
メディア・ファイルのロードにて、事前にディスクに用意されていたメディア(今回は rhel-10.1-ppc64le-dvd を使用します。)を選択します。
RHELにはx86_64向けとppc64le向けなどがあるため、インストール先のアーキテクチャに合ったISOを使用する必要があります。
※ISOイメージとは?
OSのインストールメディアを1つのファイルにまとめたものです。
※ppc64leとは?
IBM Powerのリトルエンディアン環境向けのCPUアーキテクチャです。

3.LPARの起動とSMS設定
3.1 LPARの活動化
HMCから対象LPARを「区画の活動化」にて活動化します。
設定内容:
- 区画構成:現行構成
- 詳細設定:ブート・モードを「システム管理サービス」に設定
※ブート・モードとは?
LPARをどのような方法で起動するかを指定する設定です。通常のOS起動ではなく、今回はSMS(System Management Services)を起動するため、「システム管理サービス」を選択します。

3.2 仮想端末の起動
HMC で vtmenu コマンドを実行し、対象 LPAR「test-rhel」の仮想端末を起動します。
※vtmenuは、管理対象のLPARを選択して仮想端末に接続するためのメニューを表示するコマンドです。
3.3 SMSメニューでの設定
SMS メニューから以下を選択します。
操作手順:
Main Menu → 5. Select Boot Options
※ Select Boot Options:起動に関する設定を行う

→ 1. Select Install/Boot Device
※ Select Install/Boot Device:OSの起動元となるデバイスを選択する

→ 5. List all Devices
※ List all Devices:使用可能なデバイスを一覧表示する

→ Select Device(今回は 3. SCSI CD-ROM を選択)
※今回はVIOS経由でRHELのISOイメージを登録しているため、SCSI CD-ROMを選択します。

4.RHELインストーラーの起動
4.1 インストールモードの選択
CD-ROMから起動すると、RHELのインストーラーが表示されます。今回は通常インストールを行うため1つ目の「Install Red Hat Enterprise Linux 10.x」を選択します。
2つ目の「Install Red Hat Enterprise Linux 10.x in FIPS mode」は、FIPS準拠が必要な場合に選択します。
*FIPSとは:Federal Information Processing Standards(連邦情報処理標準)の略称で、安全性が確認された暗号化の仕組みだけを使うためのセキュリティ基準です。FIPSモードではFIPSの要件に適合する暗号技術・暗号モジュールを使うよう制限があります。

続けて、「Enter」を押してOSを起動させます。
Welcome to the Red Hat Enterprise Linux 10.1 installer!
GRUB version 2.12
Press enter to boot the selected OS, `e' to edit the commands
before booting or `c' for a command-line.
4.2 インストール方式の選択
インストールモードを選択します。
「1) Use graphical mode via Remote Desktop Protocol」と「2) Use text mode」が選択できるのですが、私の環境では「Wayland was unable to start on your machine. 」と表示されたため、GUIでは起動できなさそうだったので、今回は2のテキストモードでインストールを進めます。
[anaconda]1:main* 2:shell 3:log 4:storage-log 5:program-log 6:packaging-log Switch tab: Alt+Tab | Help: F1 libreport is not available in this environment - bug reporting disabled
anaconda 40.22.3.33-1.el10_1 for Red Hat Enterprise Linux 10.1 started.
* installation log files are stored in /tmp during the installation
* shell is available on TTY2 and in second TMUX pane (ctrl+b, then press 2)
* when reporting a bug add logs from /tmp as separate text/plain attachments
Wayland did not start in the expected time, falling back to text mode. There are multiple ways to avoid this issue:
* Do not load the stage2 image over a slow network link.
* Wait longer for Wayland startup with the inst.xtimeout=<SECONDS> boot option.The default is 60 seconds.
* Load the stage2 image into memory with the rd.live.ram boot option to decrease access time.
* Enforce text mode when installing from remote media with the inst.text boot option.
=====================================================================
Wayland was unable to start on your machine. Would you like to start an RDP
session to connect to this computer from another computer and perform a
graphical installation or continue with a text mode installation?
1) Use graphical mode via Remote Desktop Protocol
2) Use text mode
Please make a selection from the above ['c' to continue, 'q' to quit, 'r' to refresh]
: 2
5.RHELインストール時の各種設定
テキストモードで起動すると、以下のようなインストールメニューが表示されます。
基本的には[!]が表示されている項目を設定します。
○画面の記号について
- [x]:設定完了
- [!]:未設定または処理中
- [ ]:未選択
Installation
1) [x] Language settings 2) [x] Time settings
(English (United States)) (America/New_York timezone)
3) [!] Installation source 4) [!] Software selection
(Setting up installation (Processing...)
source...)
5) [!] Installation Destination 6) [x] Kdump
(Processing...) (Kdump is enabled)
7) [x] Network configuration 8) [!] Root password
(Unknown) (Root account is disabled)
9) [!] User creation
(No user will be created)
5.1 Installation source(インストールソース)
まずは、「3) [!] Installation source 」にてインストールのタイプを設定します。こちらの設定ではOSのインストールに必要なパッケージを、どこから取得するか設定しています。
今回は仮想光学ドライブ経由でRHELのISOに接続しているので 「1) CD/DVD」を選択します。
※それぞれの意味は以下のとおりです。
- CD/DVD:CD-ROMやDVD-ROMなどの光学メディアから取得
- local ISO file:ローカルディスクに保存されているISOファイルから取得
- Network:ネットワーク経由でインストールソースに接続
Installation source
Choose an installation source type.
1) CD/DVD
2) local ISO file
3) Network
Please make a selection from the above ['c' to continue, 'q' to quit, 'r' to
refresh]: 1
5.2 Software selection(ソフトウェア選択)
次に「7) [x] Network configuration 」を選択し、インストールするOSの基本構成を設定します。
「1) Set host name」で任意のホスト名を指定します。今回はホスト名を「test-rhel」にしています。
Current host name: localhost
1) Set host name
2) Configure device env32
Please make a selection from the above ['c' to continue, 'q' to quit, 'r' to
refresh]: 1
=====================================================================
Enter a new value for 'Host Name' and press ENTER: test-rhel
次に「Base environment」でRHELをどんな用途のサーバーとしてインストールするか選択します。
今回は「1) [x] Server with GUI 」で設定しました。
それぞれの違いは以下のとおりです。
・Server with GUI: サーバー向けの基本機能に加え、GUI環境を導入します。GUIでの操作が必要な場合に選択します。
・Server: GUIを含まないサーバー向けの基本構成です。主にSSHやCLIを利用してサーバーを管理する場合に適しています。
・Minimal Install: 必要最低限のパッケージを導入する構成です。不要なソフトウェアを減らし、シンプルなサーバーを構築したい場合に使用します。
・Workstation: デスクトップ用途を想定した構成です。
・Custom Operating System: 導入するソフトウェアを細かく選択するための構成です。
Software selection
Base environment
1) [x] Server with GUI 4) [ ] Workstation
2) [ ] Server 5) [ ] Custom Operating System
3) [ ] Minimal Install
Please make a selection from the above ['c' to continue, 'q' to quit, 'r' to
refresh]: 1
続いて追加ソフトウェアを選択できます。
例えば以下のようなものがあります。
- Development Tools:開発用ツール
- Network File System Client:NFSクライアント機能
- Performance Tools:パフォーマンス調査用ツール
- Security Tools:セキュリティ関連ツール
- Container Management:コンテナ管理機能
これらは必要な用途に応じて選択してください。
今回は特に選択せずに「C (continue)」で進みました。
Software selection
Additional software for selected environment
1) [ ] Console Internet Tools 15) [ ] Network File System Client
2) [ ] Container Management 16) [ ] Network Servers
3) [ ] Debugging Tools 17) [ ] Performance Tools
4) [ ] Development Tools 18) [ ] Remote Desktop Clients
5) [ ] DNS Name Server 19) [ ] Remote Management for Linux
6) [ ] .NET Development 20) [ ] RPM Development Tools
7) [ ] File and Storage Server 21) [ ] Scientific Support
8) [ ] FTP Server 22) [ ] Security Tools
9) [ ] Graphical Administration Tools 23) [ ] Smart Card Support
10) [ ] Guest Agents 24) [ ] Windows File Server
11) [ ] Headless Management 25) [ ] System Tools
12) [ ] Infiniband Support 26) [ ] Virtualization Hypervisor
13) [ ] Legacy UNIX Compatibility 27) [ ] Basic Web Server
14) [ ] Mail Server
Please make a selection from the above ['c' to continue, 'q' to quit, 'r' to
refresh]: c
5.3 Installation Destination(インストール先ディスク)
次は「5) [!] Installation Destination 」にてRHELをインストールする場所を選択します。
今回は以下の通りインストール場所が一つしかないのでそのまま「C (continue)」で進みます。
もし、選択が複数あり、既存データがあるディスクを誤って選択すると、データが消失する可能性がありますので、インストール対象のディスクが正しいことを確認してください。
※mpathaとは?
mpathaは、LinuxのDevice Mapper Multipath機能によって認識されたマルチパスデバイスの名前です。
また、マルチパスとは、サーバーからストレージまでのアクセス経路を複数用意する仕組みです。
Installation Destination
1) [x] 2145: 40 GiB (mpatha), 60050763808106d7d800000000000643
1 disk selected; 40 GiB capacity; 40 GiB free
Please make a selection from the above ['c' to continue, 'q' to quit, 'r' to refresh]: c
ディスクを選択すると、以下の画面が表示されます。
「Partitioning Options」で今回は「2) Use All Space」を選択しました。
それぞれの違いは以下のとおりです。
-
Replace Existing Linux system(s):既存のLinuxシステムを置き換えるための選択肢です。
-
Use All Space:ディスクの全領域をインストールに使用します。(既存のパーティションやデータを削除する可能性があるため、十分注意してください。)
-
Use Free Space: ディスク内の未使用領域を使用します。(既存データを残したままインストール領域を確保したい場合に検討します。)
-
Manually assign mount points:パーティションやマウントポイントを手動で設定します。
Partitioning Options
1) [ ] Replace Existing Linux system(s)
2) [x] Use All Space
3) [ ] Use Free Space
4) [ ] Manually assign mount points
Installation requires partitioning of your hard drive. Select what space to use
for the install target or manually assign mount points.
Please make a selection from the above ['c' to continue, 'q' to quit, 'r' to
refresh]: c
続いて、ディスクのパーティション方式を選択します。
「Partition Scheme Options」では「2) LVM」を選択しました。
それぞれの違いは以下のとおりです。
-
Standard Partition: 通常のパーティション方式です。ディスクを複数のパーティションに分割して利用します。
-
LVM:Logical Volume Managerの略称です。物理的なディスク領域を柔軟に管理するための仕組みです。LVMを使用すると、容量の拡張や論理ボリュームの追加などを柔軟に行えます。
-
LVM Thin Provisioning:必要になった分だけ実際の容量を割り当てるシンプロビジョニング方式です。仮想ディスクなどの容量を効率的に利用したい場合に使用します。
Partition Scheme Options
1) [ ] Standard Partition
2) [x] LVM
3) [ ] LVM Thin Provisioning
Select a partition scheme configuration.
Please make a selection from the above ['c' to continue, 'q' to quit, 'r' to
refresh]: c
[!]の未完了部分は残り8)と9)になりました。次に「8) [!] Root password」を設定します。
Installation
1) [x] Language settings 2) [x] Time settings
(English (United States)) (America/New_York timezone)
3) [x] Installation source 4) [x] Software selection
(Local media) (Server with GUI)
5) [x] Installation Destination 6) [x] Kdump
(Automatic partitioning (Kdump is enabled)
selected)
7) [x] Network configuration 8) [!] Root password
(Unknown) (Root account is disabled)
9) [!] User creation
(No user will be created)
Please make a selection from the above ['b' to begin installation, 'q' to quit,
'r' to refresh]: 8
5.4 Root password
rootアカウントのパスワードを設定します。
rootはLinuxにおける管理者アカウントです。通常のユーザーでは実行できないシステム設定やファイル操作などを実行できます。
ここでは任意のパスワードを2回入力します。
Root password
Please select new root password. You will have to type it twice.
Password:
Password (confirm):
パスワードが弱い場合、警告が表示されることがあります。今回は検証環境のため警告を承認していますが、本番環境では推測されにくい十分に強固なパスワードを設定してください。
今回は検証なので一旦は「yes」で次に進みます。
Question
The password you have provided is weak: The password fails the dictionary check
- it is based on a dictionary word
Would you like to use it anyway?
Please respond 'yes' or 'no': yes
5.5 User creation(一般ユーザー作成)
一般ユーザーを作成する設定です。
Linuxではroot以外にもユーザーを作成してOSを管理できます。
例えば以下のような使い分けができます。
- root:システム全体の管理
- 一般ユーザー:通常のログインや作業
本番環境では、一般ユーザーを作成し、必要な管理作業をsudo経由で実行する運用が推奨されます。
今回は一般ユーザーを作成せず、rootアカウントのみでインストールするため、そのまま「C (Continue)」で進めます。
User creation
1) [ ] Create user
Please make a selection from the above ['c' to continue, 'q' to quit, 'r' to
refresh]: c
6.インストール開始
すべての設定が完了すると、以下の画面になります。
各項目の設定を確認し、問題がなければ「b」を入力してインストールを開始します。
これによりRHELのインストールが開始されます。
インストール中は、選択したパッケージの展開やファイルシステムの作成などが実施されます。
処理が完了するまで待ちます。
Installation
1) [x] Language settings 2) [x] Time settings
(English (United States)) (America/New_York timezone)
3) [x] Installation source 4) [x] Software selection
(Local media) (Server with GUI)
5) [x] Installation Destination 6) [x] Kdump
(Automatic partitioning (Kdump is enabled)
selected)
7) [x] Network configuration 8) [x] Root password
(Unknown) (Root password is set)
9) [ ] User creation
(No user will be created)
Please make a selection from the above ['b' to begin installation, 'q' to quit,
'r' to refresh]: b
6.1 インストール完了
インストールが完了したらこの画面で止まるので「ENTER」を入力します。インストーラーが終了し、システムの起動処理に進みます。
Installation complete. Press ENTER to quit:
[terminated]
[ OK ] Removed slice system-anaconda\x2dtmux.slice - Slice /system/anaconda-tmux.
Stopping anaconda.service - Anaconda...
[ OK ] Stopped udisks2.service - Disk Manager.
[ OK ] Started plymouth-reboot.service - Show Plymouth Reboot Screen.
[ OK ] Stopped lvm2-lvmdbusd.service - LVM2 D-Bus service.
7 RHELの初回起動とログイン
OSが起動すると、以下のようなログイン画面が表示されます。
ログインユーザーとパスワードを入力します。
今回は一般ユーザーを作成していないため、rootでログインします。
Red Hat Enterprise Linux 10.1 (Coughlan)
Kernel 6.12.0-124.8.1.el10_1.ppc64le on ppc64le
Web console: https://localhost:XXXX/
test-rhel login: [ 36.016728] sched: DL replenish lagged too much
[ 76.258240] block dm-4: the capability attribute has been deprecated.
test-rhel login: root
Password:
8 インストール後の動作確認
インストールが正常に完了したことを確認するため、以下のコマンドを実行します。
RHEL 10.1がインストールされていることを確認します。
[root@test-rhel ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 10.1 (Coughlan)
[root@test-rhel ~]#






