Solstice DiskSuite4.0インストール
Solstice DiskSuite4.0インストール
〜for Solaris2.5.1編〜
0.改定履歴
- 1997.10.07 初版
- 1997.10.12 参考資料に,RAID5の作成方法へのリンクを追加
- 1997.10.20 親ページへのリンクエラー修正
1.はじめに
このドキュメントは,Solaris2.5.1にSolstice DiskSuite4.0をインストールする方法を説明する.
2.Solstice Disk Suite4.0とは
Solistice DiskSuite4.0(以降DiskSuiteと略)とは,Solaris上で使用するディスク管理用ソフトウェアである. メタディスクドライバという疑似デバイスドライバを使用することによって,入出力の処理効率を向上させる,また利用可能なディスク領域を増やすなどができる.
平たく簡単に言うと,“Solaris上でソフトウェアRAIDを実現するもの”である.
次のような機能が備えられている.
- コンポーネントの障害からデータを保護する. ディスクの3面ミラー化機能.
- RAID1のことかなぁ.NTでいうところのミラーセット.
- 複数の物理コンポーネントをより大きなメタデバイスに結合する,ディスク連結機能
- これはRAIDとは関係ないはずで,NTでいうところのボリュームセット.
- 複数のコンポーネントにデータ要求を分散する,ディスクストライプ機能.
- GUIで,すべてのメタデバイスをアイコンで操作する事ができるDiskSuiteツール.
- システムのリブートを高速化し,ディスクへの同期書き込みの回数を少なくするUFSロギング機能.
- 障害が発生したコンポーネントを自動的に交換する,ホットスペア機能.
- メタデバイスの設定情報を安全なディスク装置上の状態データベース複製に保存する機能.
- ディスク障害から復旧するためのRAIDレベル5.
- ホストマシンとディスクドライブをディスクセットとしてグループ化し,ディスクセット内の全てのホストとドライブを接続する,ディスクセット機能
3.前提条件
DiskSuite4.0を利用するには,以下のような前提条件がある.
- GUIのDiskSuiteツール(metatool)を利用するにはMotif環境(CDE)が必要である. よって,事前にCDEをセットアップしておく.(CDEのインストールに関してはドキュメント「Solaris
Common Desktop Environment Version 1.01 インストール」を参照する)
- UFSロギング機能はSolaris2.4以降が必要である.
- ディスクセット機能は,Solaris2.4以降を使用しているSPARCマシンでサポートされており,x86システムでは利用不可である.
- フルインストール時には次のようにディスクの空き領域が必要である.
- 約26Mbyte(/opt 25839k )
- 約08Mbyte(/usr 7686k)
4.インストールの開始
- 「」とかかれたCD-ROMをセットする
- rootでログインする.
- /cdrom/cdrom0に移動する.
root@duo# cd /cdrom/cdrom0
root@duo# ls
Demo README.ja SUNWjabmd SUNWmdg SUNWmdja run_demo
README SUNWabmd SUNWmd SUNWmdgja patches scripts
|
- pkgaddコマンドを入力する. すると,次のように表示される.
root@duo# /usr/sbin/pkgadd -d `pwd`
The following packages are available:
1 SUNWabmd DiskSuite 4.0 AnswerBook
(all) 68.1.5
2 SUNWjabmd DiskSuite 4.0 Japanese AnswerBook
(all) 5303.1.1
3 SUNWmd Solstice DiskSuite
(all) 4.0,REV=1.0
4 SUNWmdg Solstice DiskSuite Tool
(all) 4.0,REV=1.0
5 SUNWmdgja Solstice DiskSuite Tool Japanese Feature
(all) 4.0,REV=1.0
6 SUNWmdja Solstice DiskSuite Japanese Feature
(all) 4.0,REV=1.0
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
|
パッケージ名 |
日本語名称 |
内容説明 |
SUNWmd |
DiskSuite 4.0 |
DiskSuite4.0本体. |
SUNWmdg |
DiskSuiteツール4.0 |
GUIの管理ツール.英語版. |
SUNWabmd |
DiskSuite 4.0 AnswerBook |
AnswerBook形式のヘルプファイル. 英語版. |
SUNWmdja |
DiskSuite4.0日本語機能 |
DiskSuite4.0本体の英語版? |
SUNWmdgja |
DiskSuiteツール4.0日本語機能 |
GUIの管理ツール.日本語版. |
SUNWjabmd |
DiskSuite4.0日本語AnswerBook |
AnswerBook形式のヘルプファイル. 日本語版. |
elect package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all
|
5.英語版AnswerBookの導入
</cdrom/ja_disksuite_4_0> 中のパッケージインスタンス <SUNWabmd> を処理しています
。
DiskSuite 4.0 AnswerBook
〜略〜
The installation options are as follows:
Option: Description:
--------------------------------------------
1. nil: less than 1 Megabyte disk space required [slowest performance].
2. heavy: 14.21 Megabytes disk space required [best performance].
Note: If the install option which you choose below fails
due to lack of space, try another location, or
choose a lower install option number.
Enter the number of an installation option from the list above (1 or 2).
Select an installation option:
|
- インストールオプションを選択する.
- データ量(説明文が多い)方の2を選択する.
elect an installation option: 2
Installation option: heavy selected.
The next request for input asks you to specify the parent directory of
AnswerBook Make sure to choose a parent directory on a file system big
enough toaccommodate all the files to be moved for the INSTALL OPTION
you selected.
Specify the parent of the AnswerBook home directory:
|
- リターンキーを押す. 次のように表示され,デフォルトの/optディレクトリにインストールされることがわかる.
For the heavy option all files will be placed under /opt/SUNWabmd.
Using </opt> as the package base directory.
## パッケージ情報を処理しています。
## システム情報を処理しています。
## パッケージの依存関係を検証しています。
## ディスク領域を確認しています。
## すでにインストールされているパッケージとの衝突がないか調べています。
## setuid/setgid を行うプログラムを検査しています。
|
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWabmd> [y,n,?]
|
- "スーパユーザ権限を持つユーザじゃないとこのインストールはできません"とかかれている. いまrootユーザであれば"y"を入力する. "n"を入力したらたぶんインストールが終了する.
Do you want to continue with the installation of <SUNWabmd> [y,n,?] y
DiskSuite 4.0 AnswerBook を <SUNWabmd> としてインストールしています。
## 第 1 部 (全 1 部) をインストールしています。
〜略〜
Installation of <SUNWjabmd> was successful.
|
6.日本語版AnswerBookの導入
手順などはすべて英語版と同じなので,そちらを参照する.
</cdrom/ja_disksuite_4_0> 中のパッケージインスタンス <SUNWjabmd> を処理していま
す。
DiskSuite 4.0 Japanese AnswerBook
(all) 5303.1.1
Copyright 1995 Sun Microsystems, Inc. All Rights Reserved.
Printed in the United States of America.
2550 Garcia Avenue, Mountain View, California, 94043-1100 U.S.A.
〜略〜
The installation options are as follows:
Option: Description:
--------------------------------------------
1. nil: less than 1 Megabyte disk space required [slowest performance].
2. heavy: 11.02 Megabytes disk space required [best performance].
Note: If the install option which you choose below fails
due to lack of space, try another location, or
choose a lower install option number.
Enter the number of an installation option from the list above (1 or 2).
Select an installation option: 2
|
The next request for input asks you to specify the parent directory of AnswerBook
Make sure to choose a parent directory on a file system big enough to
accommodate all the files to be moved for the INSTALL OPTION you selected.
Specify the parent of the AnswerBook home directory:
|
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWjabmd> [y,n,?] y
〜略〜
Installation of <SUNWjabmd> was successful.
|
7.DiskSuite4.0のインストール
</cdrom/ja_disksuite_4_0> 中のパッケージインスタンス <SUNWmd> を処理しています。
Solstice DiskSuite
(all) 4.0,REV=1.0
Copyright (c) 1995 Sun Microsystems, Inc. All Rights Reserved.
Manufactured in the United States of America.
2550 Garcia Avenue, Mountain View, California, 94043-1100 U.S.A.
〜略〜
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWmd> [y,n,?] y
〜略〜
Installation of <SUNWmd> was successful.
|
8.DiskSuite4.0 Toolのインストール
</cdrom/ja_disksuite_4_0> 中のパッケージインスタンス <SUNWmdg> を処理しています
。
Solstice DiskSuite Tool
(all) 4.0,REV=1.0
Copyright (c) 1995 Sun Microsystems, Inc. All Rights Reserved.
Manufactured in the United States of America.
2550 Garcia Avenue, Mountain View, California, 94043-1100 U.S.A.
〜略〜
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWmdg> [y,n,?] y
|
9.インストールの終了後処理
選択したプロダクトのインストールが全て終了したら,初期メニューに戻る.
The following packages are available:
1 SUNWabmd DiskSuite 4.0 AnswerBook
(all) 68.1.5
2 SUNWjabmd DiskSuite 4.0 Japanese AnswerBook
(all) 5303.1.1
3 SUNWmd Solstice DiskSuite
(all) 4.0,REV=1.0
4 SUNWmdg Solstice DiskSuite Tool
(all) 4.0,REV=1.0
5 SUNWmdgja Solstice DiskSuite Tool Japanese Feature
(all) 4.0,REV=1.0
6 SUNWmdja Solstice DiskSuite Japanese Feature
(all) 4.0,REV=1.0
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
|
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: q
*** IMPORTANT NOTICE ***
This machine must now be rebooted in order to ensure
sane operation. Execute
shutdown -y -i6 -g0
and wait for the "Console Login:" prompt.
root@duo#
|
- ここでは,「このマシンをリブートして,Console Loginプロンプトがでるまで待ちなさい」となっている.
- shutdown -y -i6 -g0を実行して,マシンをリブートする.
10.インストールの確認
pkginfoコマンドにより,DiskSuiteがインストールされたか否かを確認する.
root@duo# pkginfo | grep DiskSuite
application SUNWjabmd DiskSuite 4.0 Japanese AnswerBook
system SUNWmd Solstice DiskSuite
system SUNWmdg Solstice DiskSuite Tool
system SUNWmdgja Solstice DiskSuite Tool Japanese Feature
system SUNWmdja Solstice DiskSuite Japanese Feature
root@duo#
|
pkginfo -l(える)にて,詳細情報を表示させることもできる.
root@duo# pkginfo -l SUNWmd
PKGINST: SUNWmd
NAME: Solstice DiskSuite
CATEGORY: system
ARCH: all
VERSION: 4.0,REV=1.0
BASEDIR: /
VENDOR: SunSoft, a Sun Microsystems, Inc. Business
DESC: SunSoft's Solstice DiskSuite
PSTAMP: airjazz950414160211
INSTDATE: Oct 06 1997 16:59
VSTOCK: 258-4903-10
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 79 installed pathnames
17 shared pathnames
22 directories
25 executables
8923 blocks used (approx)
root@duo#
|
11.パス環境変数の設定
環境変数PATHとマニュアルへのMANPATHを設定する.
項目 |
パス |
バイナリへのパス |
/usr/opt/SUNWmd/sbin |
マニュアル(man)へのパス |
/usr/opt/SUNWmd/man |
参考資料
ちょっとややこしが,実際に利用したのはSolistice DiskSuite4.0で,マニュアルは4.1版を見ていたのであった.