前回の blog (AIX7.1 & PowerHA7.1 構築体験記~事前準備その1~)ではディスクの準備を行うところまで進めました。
今回は準備したディスクに AIX および PowerHA7.1 をインストールします。
- マシン環境:
9111-520 : 2台
DS4800 : 1台(共有ディスク)
- NIM 環境の設定
NIM マスターが同一ネットワーク内にあるシステムだったので、
AIX7.1 インストール用メディアを使って NIM マスターに AIX 7.1 の SPOT と LPP SOURCE を作成し、
NIM マスターを経由して AIX7.1 をインストールします。
NIM 側の手順は AIX7.1 特有のものはありませんでした。ここでは詳細は割愛します。
- AIX7.1 インストール
AIX7.1 のインストール手順も AIX5.3 や 6.1 とほとんど変わりません。
Update Installed Software to Latest Level (Update All)
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* LPP_SOURCE ptf_7100-00-02-1041
Software to Install update_all
Customization SCRIPT to run after installation []
(not applicable to SPOTs)
installp Flags
PREVIEW only? [yes]
Preview new LICENSE agreements? [yes]
ACCEPT new license agreements? [yes]
COMMIT software updates? [yes]
SAVE replaced files? [no]
AUTOMATICALLY install requisite software? [yes]
EXTEND filesystems if space needed? [yes]
OVERWRITE same or newer versions? [no]
VERIFY install and check file sizes? [no]
- AIX 7.1 初期設定
インストール完了後、自動的に再起動が行われます。
root にログイン後、以下の設定を行いました。
- タイムゾーンの設定
- パスワード設定
- .profile, /etc/hosts の設定
- AIX7.1 SP 更新
現在公開されている最新バージョンに AIX のバージョンを更新します。
インフォセンターから AIX7.1 SP2 をダウンロードし、ダウンロードした
ファイルを使用して NIM マスターに LPP SORUCE を作成します。
Update Installed Software to Latest Level (Update All)
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* LPP_SOURCE ptf_7100-00-02-1041
Software to Install update_all
Customization SCRIPT to run after installation []
(not applicable to SPOTs)
installp Flags
PREVIEW only? [no]
Preview new LICENSE agreements? [no]
ACCEPT new license agreements? [yes]
COMMIT software updates? [yes]
SAVE replaced files? [no]
AUTOMATICALLY install requisite software? [yes]
EXTEND filesystems if space needed? [yes]
OVERWRITE same or newer versions? [no]
VERIFY install and check file sizes? [no]
特に問題なくうまくいきました。
次に HA7.1 をインストールします。
インストールしていない文字コード関連のファイルセットと、
インストールしていないミドルウェアの Smart Assist のファイルセットを除く
全てのファイルセットを選択し、プレビューを試みます。
Install Software
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* LPP_SOURCE ha71base
* Software to Install [...
Customization SCRIPT to run after installation []
(not applicable to SPOTs)
installp Flags
PREVIEW only? [yes]
Preview new LICENSE agreements? [yes]
ACCEPT new license agreements? [yes]
COMMIT software updates? [yes]
SAVE replaced files? [no]
AUTOMATICALLY install requisite software? [yes]
EXTEND filesystems if space needed? [yes]
OVERWRITE same or newer versions? [no]
VERIFY install and check file sizes? [no]
以下のファイルセットが必要のようなので、
AIX7.1 の LPP SOURCE からインストールします。
- rsct.opt.fence
- openssh.base
以下のファイルセットもまとめてインストールします。
bos.clvm はコンカレントVG を作成する際に必要で、
bos.adt は問題の調査を行う際に必要になるファイルセットです。
- bos.clvm
- bos.adt
上記ファイルセット適用後、これらのファイルセットのバージョンを
SP2 の LPP SORUCE に更新します。
Update Installed Software to Latest Level (Update All)
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* LPP_SOURCE ptf_7100-00-02-1041
Software to Install update_all
Customization SCRIPT to run after installation []
(not applicable to SPOTs)
installp Flags
PREVIEW only? [no]
Preview new LICENSE agreements? [no]
ACCEPT new license agreements? [yes]
COMMIT software updates? [yes]
SAVE replaced files? [no]
AUTOMATICALLY install requisite software? [yes]
EXTEND filesystems if space needed? [yes]
OVERWRITE same or newer versions? [no]
VERIFY install and check file sizes? [no]
- 実行結果:
WARNINGS
--------
Problems described in this section are not likely to be the source of any
immediate or serious failures, but further actions may be necessary or
desired.
Already Installed
-----------------
The number of selected filesets that are either already installed
or effectively installed through superseding filesets is 68. See
the summaries at the end of this installation for details.
NOTE: Base level filesets may be reinstalled using the "Force"
option (-F flag), or they may be removed, using the deinstall or
"Remove Software Products" facility (-u flag), and then reinstalled.
<< End of Warning Section >>
SUCCESSES
---------
Filesets listed in this section passed pre-installation verification
and will be installed.
Selected Filesets
-----------------
cluster.hativoli.client 7.1.0.0 # PowerHA SystemMirror Tivoli ...
cluster.hativoli.server 7.1.0.0 # HACMP Tivoli Server
<< End of Success Section >>
既にインストールされているというワーニングは出ましたが、これは想定内のメッセージです。
これで HA7.1 のベースがインストールできました。
次に PowerHA7.1 の SP2 を適用します。
以下のページから SP2 のファイルセットをダウンロードし、
ダウンロードしたファイルセットを用いて NIM マスター上に LPP SORUCE を作成します。
PowerHA Cluster Manager (HACMP)
http://www14.software.ibm.com/webapp/set2/sas/f/hacmp/download/aix71.html
作成した LPP SOURCE を用いて PowerHA7.1 に SP2 を適用します。
Update Installed Software to Latest Level (Update All)
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* LPP_SOURCE HA71sp02
Software to Install update_all
Customization SCRIPT to run after installation []
(not applicable to SPOTs)
installp Flags
PREVIEW only? [no]
Preview new LICENSE agreements? [no]
ACCEPT new license agreements? [yes]
COMMIT software updates? [yes]
SAVE replaced files? [no]
AUTOMATICALLY install requisite software? [yes]
EXTEND filesystems if space needed? [yes]
OVERWRITE same or newer versions? [no]
VERIFY install and check file sizes? [no]
ほとんど NIM による作業ですね。NIM は一度構成してしまえば
インストール作業を簡単に行うことができます。
これで AIX7.1 & PowerHA7.1 の適用作業は完了しました。
次は PowerHA7.1 の構成を行います。
それではまた。