WDR のインストール

『WDR インストールマニュアル』は、以下の節から構成されています。


Sun Fire 15K、12K、6800、4810、4800、および 3800 システム上での WDR の動作条件

適切なバージョンの Solaris オペレーティングシステムのインストール

WDR は、Solaris 8 2/02 または Solaris 9 オペレーティング環境のいずれかが実行されている Sun Fire 15K、12K、6800、4810、4800、および 3800 システム上でのみ動作します。

Solaris ソフトウェアのインストール場所



注 - MSP のハードウェア要件とソフトウェア要件については、Midframe Service Processor (MSP) の必要条件を参照してください。



Solaris ソフトウェアのインストール情報

Solaris ソフトウェアのインストールに関する詳細は、以下のマニュアルを参照してください。


Sun Fire 15K/12K システム上での WDR のインストール

Sun Fire 15K/12K システムで DR の実行に必要なパッチ

Sun Fire 15K/12K システムで Solaris 8 2/02 オペレーティング環境を実行している場合は、動的再構成を有効にするパッチもインストールする必要があります。パッチは、sunsolve.sun.com からダウンロードすることができます。パッチのインストール方法については、『Sun Fire 15K/12K Dynamic Reconfiguration Installation Guide and Release Notes, Solaris 8 2/02』(Part No. 816-5080-10) を参照してください。

Sun Fire 15K/12K システムで Solaris 9 オペレーティング環境を実行している場合は、動的再構成を有効にするパッチもインストールする必要があります。パッチおよび、Sun Fire 15K/12K システムにそのパッチをインストールする方法が記載されたマニュアルは、http://www.sun.com/servers/highend/sunfire15k/ からダウンロードすることができます。

CIMOM の動作と接続可能状態の確認

両方の SC 上でSolaris 8 2/02 オペレーティング環境が実行されている場合

スーパーユーザーとして SC にログインし、以下のコマンドを入力します。

# /etc/init.d/init.wbem status

"SMC server version 2.0.0 running on port 898." というメッセージが表示された場合は、Solaris WBEM Services が実行され、接続可能な状態です。

しかし、"SMC server not running on port 898." というメッセージが表示された場合は、以下のコマンドを入力して smcboot プロセスを調べます。

# ps -ef| /usr/xpg4/bin/grep -e smcboot

2 つの smcboot プロセスが表示された場合は、Solaris WBEM Services が実行され、接続可能な状態です。プロセスが表示されなかった場合は、Solaris WBEM Services を起動する必要があります。

両方の SC 上でSolaris 9 オペレーティング環境が実行されている場合

スーパーユーザーとして SC にログインし、以下のコマンドを入力します。

# /etc/init.d/init.wbem status

"Solaris Management Console server version 2.1.0 running on port 898." というメッセージが表示された場合は、Solaris WBEM Services が実行され、接続可能な状態です。

しかし、"Solaris Management Console server not running on port 898." というメッセージが表示された場合は、Solaris WBEM Services を起動する必要があります。

Solaris WBEM Services の起動

スーパーユーザーとして、以下のコマンドを入力します。

# /etc/init.d/init.wbem start

Sun Fire 15K および 12K でのインストール手順の実行

この節では、コマンドラインに入力するコマンドと、Sun Fire 15K/12K システムの両方の SC に WDR が正常にインストールされているときに画面に表示されるメッセージ内容をすべて示します。


procedure icon  WDR をインストールする前に、既存のバージョンの WDR をアンインストールする



注 - 使用しているシステムにすでに WDR がインストールされている場合のみ、この節の手順を実行してください。初めて WDR をインストールする場合は、すぐに次の節に進んで、WDR パッケージをインストールしてください。



Web Installer または Solaris サプリメント CD を使用して WDR をインストールした場合

1. CIMOM が動作していることを確認します。CIMOM の動作と接続可能状態の確認を参照してください。

2. スーパーユーザーとして /opt/SUNWWDR/bin ディレクトリにある wdrunconfig スクリプトを実行し、WDR CIM クラスをすべて削除します。

# cd /opt/SUNWWDR/bin
# ./wdrunconfig
Do you want to delete the WBEM DR CIM classes now? [y,n] y
Please enter the root password:
deleting class ":Solaris_SystemBoardHasControllers"
deleting class ":Solaris_SystemBoardHasMemory"
deleting class ":Solaris_SystemBoardHasProcessors"
deleting class ":Solaris_DomainHasSlots"
deleting class ":Solaris_SlotHasSystemBoard"
deleting class ":Solaris_CHController"
deleting class ":Solaris_CHMemory"
deleting class ":Solaris_CHCPU"
deleting class ":Solaris_CHSystemBoard"
deleting class ":Solaris_WDRAttachmentPoint"
deleting class ":Solaris_XCDomain"
deleting class ":Solaris_WDRDomain"
deleting class ":Solaris_XCSlot"
deleting class ":Solaris_WDRSlot"
deleting class ":Solaris_XCComponentRemove"
deleting class ":Solaris_XCComponentInsert"
deleting class ":Solaris_XCBoardPowerOn"
deleting class ":Solaris_XCBoardPowerOff"
deleting class ":Solaris_XCDomainConfigChange"
deleting class ":Solaris_XCDomainUp"
deleting class ":Solaris_XCDomainDown"
deleting class ":Solaris_XCDomainStop"
deleting class ":Solaris_XCDomainStateChange"
deleting class ":Solaris_XCEnvironmentalIndication"
deleting class ":Solaris_XCSystemBoardConfigChange"
deleting class ":Solaris_XCDomainIndication"
deleting class ":Solaris_WDRIndication"
deleting instance ":Solaris_ProviderPath.pathurl="file:///usr/sadm/lib/wbem/wdr.jar""
WBEM DR CIM classes have been removed successfully.

3. DISPLAY 変数が設定されていることを確認します。

4. Solaris 8 2/02 オペレーティング環境を実行している場合 :

a. prodreg ユーティリティーを実行します。

b. "WBEM DR" を選択します。

c. "Uninstall (アンインストール)" をクリックします。

d. "Next (次へ)" をクリックします。

e. "Full (全体的)" (デフォルト) を選択します。

f. "Next (次へ)" をクリックします。

g. "Uninstall Now (アンインストール開始)" をクリックします。

5. Solaris 9 オペレーティング環境を実行している場合 :

a. cd /var/sadm/prod と入力します。

b. java uninstall_WBEM_DR_1_0 と入力します。

6. パッケージが正常に削除されたかどうかを確認します。

# pkginfo | /usr/xpg4/bin/grep -e SUNWWDRr -e SUNWWDRcfg -e SUNWmcfg
#
pkgadd(1M) コマンドを使用して WDR をインストールした場合

1. CIMOM が動作していることを確認します。CIMOM の動作と接続可能状態の確認を参照してください。

2. スーパーユーザーとして /opt/SUNWWDR/bin ディレクトリにある wdrunconfig スクリプトを実行し、WDR CIM クラスをすべて削除します。

# cd /opt/SUNWWDR/bin
# ./wdrunconfig
Do you want to delete the WBEM DR CIM classes now? [y,n] y
Please enter the root password:
deleting class ":Solaris_SystemBoardHasControllers"
deleting class ":Solaris_SystemBoardHasMemory"
deleting class ":Solaris_SystemBoardHasProcessors"
deleting class ":Solaris_DomainHasSlots"
deleting class ":Solaris_SlotHasSystemBoard"
deleting class ":Solaris_CHController"
deleting class ":Solaris_CHMemory"
deleting class ":Solaris_CHCPU"
deleting class ":Solaris_CHSystemBoard"
deleting class ":Solaris_WDRAttachmentPoint"
deleting class ":Solaris_XCDomain"
deleting class ":Solaris_WDRDomain"
deleting class ":Solaris_XCSlot"
deleting class ":Solaris_WDRSlot"
deleting class ":Solaris_XCComponentRemove"
deleting class ":Solaris_XCComponentInsert"
deleting class ":Solaris_XCBoardPowerOn"
deleting class ":Solaris_XCBoardPowerOff"
deleting class ":Solaris_XCDomainConfigChange"
deleting class ":Solaris_XCDomainUp"
deleting class ":Solaris_XCDomainDown"
deleting class ":Solaris_XCDomainStop"
deleting class ":Solaris_XCDomainStateChange"
deleting class ":Solaris_XCEnvironmentalIndication"
deleting class ":Solaris_XCSystemBoardConfigChange"
deleting class ":Solaris_XCDomainIndication"
deleting class ":Solaris_WDRIndication"
deleting instance ":Solaris_ProviderPath.pathurl="file:///usr/sadm/lib/wbem/wdr.jar""
WBEM DR CIM classes have been removed successfully.

3. SUNWWDRcfg パッケージを削除します。

# pkgrm SUNWWDRcfg
The following package is currently installed:
SUNWWDRcfg WBEM-Based Dynamic Reconfiguration Config Files
(sparc) 1.0.0,REV=2002.05.24.16.34
Do you want to remove this package? [y,n,?,q] y
## Removing installed package instance <SUNWWDRcfg>
This package contains scripts which will be executed with super-user permission during the process of removing this package.
Do you want to continue with the removal of this package [y,n,?,q] y
## Verifying package dependencies.
## Processing package information.
## Removing pathnames in class <none>
/opt/SUNWWDR/bin/wdrunconfig
/opt/SUNWWDR/bin/wdrconfig
/opt/SUNWWDR/bin/newwdrlog
/opt/SUNWWDR/bin
/opt/SUNWWDR
## Executing postremove script.
20 3 * * 6 /opt/SUNWWDR/bin/newwdrlog # SUNWWDRcfg
## Updating system information.
Removal of <SUNWWDRcfg> was successful.

4. SUNWWDRr パッケージを削除します。

# pkgrm SUNWWDRr
The following package is currently installed:
SUNWWDRr WBEM Automatic Dynamic Reconfiguration
(sparc) 1.0.0,REV=2002.05.24.16.34
Do you want to remove this package? y
## Removing installed package instance <SUNWWDRr>
## Verifying package dependencies.
## Processing package information.
## Removing pathnames in class <none>
/usr/sadm/mof/WDR_XC1.0.mof
/usr/sadm/mof/WDR_SG1.0.mof
/usr/sadm/mof/WDR_Core1.0.mof
/usr/sadm/mof <shared pathname not removed>
/usr/sadm/lib/wbem/wdr.jar
/usr/sadm/lib/wbem/libwdr_xc.so.1
/usr/sadm/lib/wbem/libwdr_sg.so.1
/usr/sadm/lib/wbem/libwdr.so.1
/usr/sadm/lib/wbem/libwdr.so
/usr/sadm/lib/wbem <shared pathname not removed>
/usr/sadm/lib <shared pathname not removed>
/usr/sadm <shared pathname not removed>
/usr/lib/locale/C/LC_MESSAGES/SUNW_WDR.mo
/usr/lib/locale/C/LC_MESSAGES/SUNW_MCFG.mo
/usr/lib/locale/C/LC_MESSAGES <shared pathname not removed>
/usr/lib/locale/C <shared pathname not removed>
/usr/lib/locale <shared pathname not removed>
/usr/lib <shared pathname not removed>
## Updating system information.
Removal of <SUNWWDRr> was successful.

5. パッケージが正常に削除されたかどうかを確認します。

# pkginfo | /usr/xpg4/bin/grep -e SUNWWDRr -e SUNWWDRcfg
#

procedure icon  Web Installer を使用して WDR をインストールする

1. 新しいディレクトリにファイル wdr1.0.zip をダウンロードします。

2. その新しいディレクトリで、unzip wdr1.0.zip と入力します。

3. ./installer と入力して、表示されるプロンプトに従います。


procedure icon  Solaris サプリメント CD から WDR をインストールする

1. CD-ROM ドライブに Solaris サプリメント CD を挿入します。

2. cd /cdrom/cdrom0/WBEM_DR_1.0 と入力します。

3. ./installer と入力して、表示されるプロンプトに従います。


procedure icon  pkgadd(1M) コマンドを使用して WDR をインストールする

1. WDR パッケージが格納されているディレクトリに移動します。たとえば、以下のコマンドを入力します。

# cd /tmp/packages/wdr1.0

2. そのディレクトリに格納されているのは、以下の 3 つのパッケージだけであることを確認します。

# ls
SUNWWDRcfg SUNWWDRr SUNWmcfg

3. pkgadd(1M) コマンドを実行し、インストールプログラムのプロンプトに従って、SUNWWDRrSUNWWDRcfg パッケージをこの順に追加します。



注 - SUNWmcfg パッケージは、Sun Fire 6800、4810、4800、および 3800 システムの場合にだけインストールします。



# pkgadd -d .
The following packages are available:
1 SUNWWDRcfg WBEM-Based Dynamic Reconfiguration Config Files
(sparc) 1.0.0,REV=2002.05.24.16.34
2 SUNWWDRr WBEM Dynamic Reconfiguration
(sparc) 1.0.0,REV=2002.05.24.16.34
3 SUNWmcfg SunMC/WDR Management Workstation Shared Config File
(sparc) 1.0.0,REV=2002.05.24.16.34
Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: 2
Processing package instance <SUNWWDRr> from </ws/cadr1.0-gate/packages/sparc/wdr1.0_28>
WBEM Dynamic Reconfiguration
(sparc) 1.0.0,REV=2002.05.24.16.34
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
## Executing checkinstall script.
Using </usr> as the package base directory.
## Processing package information.
## Processing system information.
8 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
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 <SUNWWDRr> [y,n,?] y
Installing WBEM Dynamic Reconfiguration as <SUNWWDRr>
## Installing part 1 of 1.
/usr/lib/locale/C/LC_MESSAGES/SUNW_MCFG.mo
/usr/lib/locale/C/LC_MESSAGES/SUNW_WDR.mo
/usr/sadm/lib/wbem/libwdr_sg.so.1
/usr/sadm/lib/wbem/libwdr_xc.so.1
/usr/sadm/lib/wbem/wdr.jar
/usr/sadm/mof/WDR_Core1.0.mof
/usr/sadm/mof/WDR_SG1.0.mof
/usr/sadm/mof/WDR_XC1.0.mof
[ verifying class <none> ]
## Executing postinstall script.
Installation of <SUNWWDRr> was successful.
The following packages are available:
1 SUNWWDRcfg WBEM-Based Dynamic Reconfiguration Config Files
(sparc) 1.0.0,REV=2002.05.24.16.34
2 SUNWWDRr WBEM Dynamic Reconfiguration
(sparc) 1.0.0,REV=2002.05.24.16.34
3 SUNWmcfg SunMC/WDR Management Workstation Shared Config File
(sparc) 1.0.0,REV=2002.05.24.16.34
Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: 1
Processing package instance <SUNWWDRcfg> from </ws/cadr1.0-gate/packages/sparc/wdr1.0_28>
WBEM-Based Dynamic Reconfiguration Config Files
(sparc) 1.0.0,REV=2002.05.24.16.34
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </opt> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
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 <SUNWWDRcfg> [y,n,?] y
Installing WBEM-Based Dynamic Reconfiguration Config Files as <SUNWWDRcfg>
## Installing part 1 of 1.
/opt/SUNWWDR/bin/newwdrlog
/opt/SUNWWDR/bin/wdrconfig
/opt/SUNWWDR/bin/wdrunconfig
[ verifying class <none> ]
## Executing postinstall script.
Installation of <SUNWWDRcfg> was successful.
The following packages are available:
1 SUNWWDRcfg WBEM-Based Dynamic Reconfiguration Config Files
(sparc) 1.0.0,REV=2002.05.24.16.34
2 SUNWWDRr WBEM Dynamic Reconfiguration
(sparc) 1.0.0,REV=2002.05.24.16.34
3 SUNWmcfg SunMC/WDR Management Workstation Shared Config File
(sparc) 1.0.0,REV=2002.05.24.16.34
Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: q

4. WDR パッケージが正常に追加されたかどうかを調べます。

# pkginfo | /usr/xpg4/bin/grep -e SUNWWDRcfg -e SUNWWDRr
application SUNWWDRcfg WBEM-Based Dynamic Reconfiguration Config Files
application SUNWWDRr WBEM Dynamic Reconfiguration

procedure icon  .mof ファイルをコンパイルする

.mof ファイルをコンパイルする WDR スクリプトは wdrconfig という名前で、/opt/SUNWWDR/bin ディレクトリにあります。以下のコマンドを入力します。

1. # cd /opt/SUNWWDR/bin/

2. # ls
newwdrlog wdrconfig wdrunconfig

3. # ./wdrconfig

Do you want to compile the MOF files now? [y,n] y
Enter root password:
Compiling Core MOF File
-------------------------------
Compilation succeeded.
Compiling Sun Fire 15k MOF File
-------------------------------
Compilation succeeded.

これでインストールプロセスは終了です。

Sun Fire 15K/12K システム上でのユーザーグループの設定

Sun Fire 15K/12K システムコントローラでは、現在ログインしているユーザーが割り当てられているグループに関する情報が必要なときは、/etc/group ファイルを調べます。ユーザーが割り当てられているグループを変更するには、/opt/SUNWSMS/bin/smsconfig スクリプトに適切な引数を指定して実行し、/etc/group ファイルを修正します。SMS セキュリティー、管理モデル、および Sun Fire 15K/12K システム上のグループについての詳細は、『System Management Services (SMS) 1.2 管理者マニュアル』(Part No. 816-7243) を参照してください。

ユーザーが実行できる操作は、そのユーザーが属しているグループによって異なります。Sun Fire 15K/12K システムのグループには、platadmn、platoper、dmnxadm、および dmnxrcfg があります。グループ名に含まれている x は、ドメイン識別子です。


Sun Fire 6800、4810、4800、または 3800 システム上での WDR のインストール



注 - Sun Fire 6800、4810、4800、および 3800 システムでは、WDR を SC 上にインストールすることはできません。WDR は Midframe Service Processor (MSP) 上にインストールします。



必要条件

WDR を Sun Fire 6800、4810、4800、または 3800 システム上にインストールする前に、MSP、システムドメイン、および SC で以下の要件がすべて満たされていることを確認します。

Midframe Service Processor (MSP) の必要条件

ソフトウェア要件

以下のいずれかがインストールされていることを確認します。

Solaris オペレーティング環境のマニュアルは、docs.sun.com からダウンロードできます。

ハードウェア要件

MSP に必要な最小構成のハードウェア要件は、次のとおりです。

Sun Fire 6800/4810/4800/3800 システムの必要条件

以下のいずれかが各ドメインにインストールされていることを確認します。

以下のソフトウェアが SC にインストールされていることを確認します。

ドメイン構成サーバー (DCS)

DCS が Sun Fire 6800/4810/4800/3800 システムにインストールされて動作中であることを、以下の手順で確認します。

1. 以下のコマンドを入力して、DCS パッケージがインストールされているかどうかを調べます。

# pkginfo | grep dcs
以下のメッセージが表示されたときは、DCS パッケージはインストールされています。
system SUNWdcsr Domain Configuration Server, (Root)
system SUNWdcsu Domain Configuration Server

2. DCS パッケージがインストールされていない場合は、pkgadd(1M) コマンドを使用して、SUNWdcsrSUNWdcsu パッケージを追加します。

CIMOM の動作と接続可能状態の確認

Solaris 8 2/02 オペレーティング環境が実行されている MSP 上で確認する場合

スーパーユーザーとして MSP にログインし、以下のコマンドを入力します。

# /etc/init.d/init.wbem status

"SMC server version 2.0.0 running on port 898." というメッセージが表示された場合は、Solaris WBEM Services が実行され、接続可能な状態です。

しかし、"SMC server not running on port 898." というメッセージが表示された場合は、以下のコマンドを入力して smcboot プロセスを調べます。

# ps -ef| /usr/xpg4/bin/grep -e smcboot

2 つの smcboot プロセスが表示された場合は、Solaris WBEM Services が実行され、接続可能な状態です。プロセスが表示されなかった場合は、Solaris WBEM Services を起動する必要があります。

Solaris 9 オペレーティング環境が実行されている MSP 上で確認する場合

スーパーユーザーとして MSP にログインし、以下のコマンドを入力します。

# /etc/init.d/init.wbem status

"Solaris Management Console server version 2.1.0 running on port 898." というメッセージが表示された場合は、Solaris WBEM Services が実行され、接続可能な状態です。

しかし、"Solaris Management Console server not running on port 898." というメッセージが表示された場合は、Solaris WBEM Services を起動する必要があります。

Solaris WBEM Services の起動

スーパーユーザーとして、以下のコマンドを入力します。

# /etc/init.d/init.wbem start

Sun Fire 6800、4810、4800、および 3800 でのインストール手順の実行

この節では、コマンドラインに入力するコマンドと、Sun Fire 6800、4810、4800、または 3800 システムの両方の SC で WDR が正常にインストールされているときに画面に表示されるメッセージ内容をすべて示します。


procedure icon  WDR をインストールする前に、既存のバージョンの WDR をアンインストールする



注 - 使用しているシステムにすでに WDR がインストールされている場合のみ、この節の手順を実行してください。初めて WDR をインストールする場合は、すぐに次の節に進んで、WDR パッケージをインストールしてください。



Web Installer または Solaris サプリメント CDを使用して WDR をインストールした場合

1. CIMOM が動作していることを確認します。CIMOM の動作と接続可能状態の確認を参照してください。

2. スーパーユーザーとして /opt/SUNWWDR/bin ディレクトリにある wdrunconfig スクリプトを実行し、WDR CIM クラスをすべて削除します。

# cd /opt/SUNWWDR/bin
# ./wdrunconfig

Do you want to delete the WBEM DR CIM classes now? [y,n] y
Please enter the root password:
deleting class ":Solaris_SystemBoardHasControllers"
deleting class ":Solaris_SystemBoardHasMemory"
deleting class ":Solaris_SystemBoardHasProcessors"
deleting class ":Solaris_DomainHasSlots"
deleting class ":Solaris_SlotHasSystemBoard"
deleting class ":Solaris_CHController"
deleting class ":Solaris_CHMemory"
deleting class ":Solaris_CHCPU"
deleting class ":Solaris_CHSystemBoard"
deleting class ":Solaris_WDRAttachmentPoint"
deleting class ":Solaris_XCDomain"
deleting class ":Solaris_WDRDomain"
deleting class ":Solaris_XCSlot"
deleting class ":Solaris_WDRSlot"
deleting class ":Solaris_XCComponentRemove"
deleting class ":Solaris_XCComponentInsert"
deleting class ":Solaris_XCBoardPowerOn"
deleting class ":Solaris_XCBoardPowerOff"
deleting class ":Solaris_XCDomainConfigChange"
deleting class ":Solaris_XCDomainUp"
deleting class ":Solaris_XCDomainDown"
deleting class ":Solaris_XCDomainStop"
deleting class ":Solaris_XCDomainStateChange"
deleting class ":Solaris_XCEnvironmentalIndication"
deleting class ":Solaris_XCSystemBoardConfigChange"
deleting class ":Solaris_XCDomainIndication"
deleting class ":Solaris_WDRIndication"
deleting instance ":Solaris_ProviderPath.pathurl="file:///usr/sadm/lib/wbem/wdr.jar""
WBEM DR CIM classes have been removed successfully.

3. DISPLAY 変数が設定されていることを確認します。

4. Solaris 8 2/02 オペレーティング環境を実行している場合 :

a. prodreg ユーティリティーを実行します。

b. "WBEM DR" を選択します。

c. "Uninstall (アンインストール)" をクリックします。

d. "Next (次へ)" をクリックします。

e. "Full (全体的)" (デフォルト) を選択します。

f. "Next (次へ)" をクリックします。

g. "Uninstall Now (アンインストール開始)" をクリックします。

5. Solaris 9 オペレーティング環境を実行している場合 :

a. cd /var/sadm/prod と入力します。

b. java uninstall_WBEM_DR_1_0 と入力します。

6. パッケージが正常に削除されたかどうかを確認します。

# pkginfo | /usr/xpg4/bin/grep -e SUNWWDRr -e SUNWWDRcfg -e SUNWmcfg
#
pkgadd(1M) コマンドを使用して WDR をインストールした場合

1. CIMOM が動作していることを確認します。CIMOM の動作と接続可能状態の確認を参照してください。

2. スーパーユーザーとして /opt/SUNWWDR/bin ディレクトリにある wdrunconfig スクリプトを実行し、WDR CIM クラスをすべて削除します。

# cd /opt/SUNWWDR/bin
# ./wdrunconfig
Do you want to delete the WBEM DR CIM classes now? [y,n] y
Please enter the root password:
deleting class ":Solaris_SystemBoardHasControllers"
deleting class ":Solaris_SystemBoardHasMemory"
deleting class ":Solaris_SystemBoardHasProcessors"
deleting class ":Solaris_DomainHasSlots"
deleting class ":Solaris_SlotHasSystemBoard"
deleting class ":Solaris_CHController"
deleting class ":Solaris_CHMemory"
deleting class ":Solaris_CHCPU"
deleting class ":Solaris_CHSystemBoard"
deleting class ":Solaris_WDRAttachmentPoint"
deleting class ":Solaris_XCDomain"
deleting class ":Solaris_WDRDomain"
deleting class ":Solaris_XCSlot"
deleting class ":Solaris_WDRSlot"
deleting class ":Solaris_XCComponentRemove"
deleting class ":Solaris_XCComponentInsert"
deleting class ":Solaris_XCBoardPowerOn"
deleting class ":Solaris_XCBoardPowerOff"
deleting class ":Solaris_XCDomainConfigChange"
deleting class ":Solaris_XCDomainUp"
deleting class ":Solaris_XCDomainDown"
deleting class ":Solaris_XCDomainStop"
deleting class ":Solaris_XCDomainStateChange"
deleting class ":Solaris_XCEnvironmentalIndication"
deleting class ":Solaris_XCSystemBoardConfigChange"
deleting class ":Solaris_XCDomainIndication"
deleting class ":Solaris_WDRIndication"
deleting instance ":Solaris_ProviderPath.pathurl="file:///usr/sadm/lib/wbem/wdr.jar""
WBEM DR CIM classes have been removed successfully.

3. SUNWWDRcfg パッケージを削除します。

# pkgrm SUNWWDRcfg
The following package is currently installed:
SUNWWDRcfg WBEM-Based Dynamic Reconfiguration Config Files
(sparc) 1.0.0,REV=2002.05.24.16.34
Do you want to remove this package? [y,n,?,q] y
## Removing installed package instance <SUNWWDRcfg>
This package contains scripts which will be executed with super-user permission during the process of removing this package.
Do you want to continue with the removal of this package [y,n,?,q] y
## Verifying package dependencies.
## Processing package information.
## Removing pathnames in class <none>
/opt/SUNWWDR/bin/wdrunconfig
/opt/SUNWWDR/bin/wdrconfig
/opt/SUNWWDR/bin/newwdrlog
/opt/SUNWWDR/bin
/opt/SUNWWDR
## Executing postremove script.
20 3 * * 6 /opt/SUNWWDR/bin/newwdrlog # SUNWWDRcfg
## Updating system information.
Removal of <SUNWWDRcfg> was successful.

4. SUNWWDRr パッケージを削除します。

# pkgrm SUNWWDRr

The following package is currently installed:
SUNWWDRr WBEM Dynamic Reconfiguration
(sparc) 1.0.0,REV=2002.05.24.16.34
Do you want to remove this package? [y,n,?,q] y
## Removing installed package instance <SUNWWDRr>
## Verifying package dependencies.
## Processing package information.
## Removing pathnames in class <none>
/usr/sadm/mof/WDR_XC1.0.mof
/usr/sadm/mof/WDR_SG1.0.mof
/usr/sadm/mof/WDR_Core1.0.mof
/usr/sadm/mof <shared pathname not removed>
/usr/sadm/lib/wbem/wdr.jar
/usr/sadm/lib/wbem/libwdr_xc.so.1
/usr/sadm/lib/wbem/libwdr_sg.so.1
/usr/sadm/lib/wbem/libwdr.so.1
/usr/sadm/lib/wbem/libwdr.so
/usr/sadm/lib/wbem <shared pathname not removed>
/usr/sadm/lib <shared pathname not removed>
/usr/sadm <shared pathname not removed>
/usr/lib/locale/C/LC_MESSAGES/SUNW_WDR.mo
/usr/lib/locale/C/LC_MESSAGES/SUNW_MCFG.mo
/usr/lib/locale/C/LC_MESSAGES <shared pathname not removed>
/usr/lib/locale/C <shared pathname not removed>
/usr/lib/locale <shared pathname not removed>
/usr/lib <shared pathname not removed>
## Updating system information.
Removal of <SUNWWDRr> was successful.

5. SUNWmcfg パッケージを削除します。

# pkgrm SUNWmcfg

The following package is currently installed:
SUNWmcfg SunMC / WDR Management Workstation Shared
Configuration File
(sparc) 1.0.0,REV=2002.05.24.16.34
Do you want to remove this package? [y,n,?,q] y
## Removing installed package instance <SUNWmcfg>
This package contains scripts which will be executed with super-user permission during the process of removing this package.
Do you want to continue with the removal of this package [y,n,?,q] y
## Verifying package dependencies.
## Processing package information.
## Executing preremove script.
## Removing pathnames in class <none>
/opt/SUNWmcfg/lib/libmcfg.so.1
/opt/SUNWmcfg/lib/libmcfg.so
/opt/SUNWmcfg/lib
/opt/SUNWmcfg/bin/setconfigfile
/opt/SUNWmcfg/bin/mcfgconfig
/opt/SUNWmcfg/bin
/opt/SUNWmcfg
## Updating system information.
Removal of <SUNWmcfg> was successful.

6. パッケージが正常に削除されたかどうかを確認します。

# pkginfo | /usr/xpg4/bin/grep -e SUNWWDRr -e SUNWWDRcfg -e SUNWmcfg
#

procedure icon  Web Installer を使用して WDR をインストールする

1. 新しいディレクトリにファイル wdr1.0.zip をダウンロードします。

2. その新しいディレクトリで、unzip wdr1.0.zip と入力します。

3. ./installer と入力して、表示されるプロンプトに従います。


procedure icon  Solaris サプリメント CD から WDR をインストールする

1. CD-ROM ドライブに Solaris サプリメント CD を挿入します。

2. cd /cdrom/cdrom0/WBEM_DR_1.0 と入力します。

3. ./installer と入力して、表示されるプロンプトに従います。


procedure icon  pkgadd(1M) コマンドを使用して WDR をインストールする

1. WDR パッケージが格納されているディレクトリに移動します。たとえば、以下のコマンドを入力します。
# cd /tmp/packages/wdr1.0

2. そのディレクトリに格納されているのは、以下の 3 つのパッケージだけであることを確認します。

# ls
SUNWWDRcfg SUNWWDRr SUNWmcfg

3. pkgadd(1M) コマンドを実行し、インストールプログラムのプロンプトに従って、SUNWWDRrSUNWWDRcfg、および SUNWmcfg パッケージをこの順に追加します。

# pkgadd -d .
The following packages are available:
1 SUNWWDRcfg WBEM-Based Dynamic Reconfiguration Config Files
(sparc) 1.0.0,REV=2002.05.24.16.34
2 SUNWWDRr WBEM Dynamic Reconfiguration
(sparc) 1.0.0,REV=2002.05.24.16.34
3 SUNWmcfg SunMC/WDR Management Workstation Shared Config File
(sparc) 1.0.0,REV=2002.05.24.16.34
Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: 2
Processing package instance <SUNWWDRr> from </ws/cadr1.0-gate/packages/sparc/wdr1.0_28>
WBEM Dynamic Reconfiguration
(sparc) 1.0.0,REV=2002.05.24.16.34
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
## Executing checkinstall script.
Using </usr> as the package base directory.
## Processing package information.
## Processing system information.
8 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
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 <SUNWWDRr> [y,n,?] y
Installing WBEM Dynamic Reconfiguration as <SUNWWDRr>
## Installing part 1 of 1.
/usr/lib/locale/C/LC_MESSAGES/SUNW_MCFG.mo
/usr/lib/locale/C/LC_MESSAGES/SUNW_WDR.mo
/usr/sadm/lib/wbem/libwdr_sg.so.1
/usr/sadm/lib/wbem/libwdr_xc.so.1
/usr/sadm/lib/wbem/wdr.jar
/usr/sadm/mof/WDR_Core1.0.mof
/usr/sadm/mof/WDR_SG1.0.mof
/usr/sadm/mof/WDR_XC1.0.mof
[ verifying class <none> ]
## Executing postinstall script.
Installation of <SUNWWDRr> was successful.
The following packages are available:
1 SUNWWDRcfg WBEM-Based Dynamic Reconfiguration Config Files
(sparc) 1.0.0,REV=2002.05.24.16.34
2 SUNWWDRr WBEM Dynamic Reconfiguration
(sparc) 1.0.0,REV=2002.05.24.16.34
3 SUNWmcfg SunMC/WDR Management Workstation Shared Config File
(sparc) 1.0.0,REV=2002.05.24.16.34
Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: 1
Processing package instance <SUNWWDRcfg> from </ws/cadr1.0-gate/packages/sparc/wdr1.0_28>
WBEM-Based Dynamic Reconfiguration Config Files
(sparc) 1.0.0,REV=2002.05.24.16.34
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </opt> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
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 <SUNWWDRcfg> [y,n,?] y
Installing WBEM-Based Dynamic Reconfiguration Config Files as <SUNWWDRcfg>
## Installing part 1 of 1.
/opt/SUNWWDR/bin/newwdrlog
/opt/SUNWWDR/bin/wdrconfig
/opt/SUNWWDR/bin/wdrunconfig
[ verifying class <none> ]
## Executing postinstall script.
Installation of <SUNWWDRcfg> was successful.
The following packages are available:
1 SUNWWDRcfg WBEM-Based Dynamic Reconfiguration Config Files
(sparc) 1.0.0,REV=2002.05.24.16.34
2 SUNWWDRr WBEM Dynamic Reconfiguration
(sparc) 1.0.0,REV=2002.05.24.16.34
3 SUNWmcfg SunMC/WDR Management Workstation Shared Config File
(sparc) 1.0.0,REV=2002.05.24.16.34
Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: 3
Processing package instance <SUNWmcfg> from </net/twinsun.west/export/workspace/d4/issakov/cadr1.0-packages/wdr1.0_28>
SunMC / WDR Management Workstation Shared Configuration File
(sparc) 1.0.0,REV=2002.05.24.16.34
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </opt> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing SunMC / WDR Management Workstation Shared Configuration File as <SUNWmcfg>
## Installing part 1 of 1.
/opt/SUNWmcfg/bin/mcfgconfig
/opt/SUNWmcfg/bin/setconfigfile
/opt/SUNWmcfg/lib/libmcfg.so <symbolic link>
/opt/SUNWmcfg/lib/libmcfg.so.1
[ verifying class <none> ]
Installation of <SUNWmcfg> was successful.
The following packages are available:
1 SUNWWDRcfg WBEM-Based Dynamic Reconfiguration Config Files
(sparc) 1.0.0,REV=2002.05.24.16.34
2 SUNWWDRr WBEM Dynamic Reconfiguration
(sparc) 1.0.0,REV=2002.05.24.16.34
3 SUNWmcfg SunMC/WDR Management Workstation Shared Config File
(sparc) 1.0.0,REV=2002.05.24.16.34
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: q

4. WDR パッケージが正常に追加されたかどうかを調べます。

# pkginfo | /usr/xpg4/bin/grep -e SUNWWDRcfg -e SUNWWDRr -e SUNWmcfg
application SUNWWDRcfg WBEM-Based Dynamic Reconfiguration Config
Files
application SUNWWDRr WBEM Dynamic Reconfiguration
application SUNWmcfg SunMC / WDR Management Workstation Shared
Configuration File

procedure icon  WDR を構成する

以下のコマンドを入力します。

# /opt/SUNWmcfg/bin/mcfgconfig

Do you want to configure the shared config file now? [yes]

Initiate Shared Configuration File
----------------------------------
SC IP Address or Hostname: <my_SC_hostname>
platformRComm: P-public
platformWComm: P-private
domainA IP Address or Hostname: <my_domain_A__hostname>
domainB IP Address or Hostname:
domainC IP Address or Hostname: <my_domain_C__hostname>
domainD IP Address or Hostname:
#



注 - 上記の P-public および P-private コミュニティーストリングは、デフォルトの SNMP コミュニティーストリングです。実際に入力するときは、使用している SC に設定されているコミュニティーストリングを入力してください。




procedure icon  .mof ファイルをコンパイルする

.mof ファイルをコンパイルする WDR スクリプトは wdrconfig という名前で、/opt/SUNWWDR/bin ディレクトリにあります。以下のコマンドを入力します。

1. # cd /opt/SUNWWDR/bin/

2. # ls
newwdrlog wdrconfig wdrunconfig

3. wdrconfig スクリプトを実行します。



注 - WDR をインストールする MSP 上で Sun MC Platform Agent を実行している場合は、2 つのトラップポートにトラップを送信するように SC を構成する必要があります。このトラップポートの一方は Sun MC Platform Agent (デフォルトポート: 162) 用で、もう一方は WDR 用 (これは、以下の SCTrapPort の構成の際に使用されるポート番号) です。



# ./wdrconfig
Initiate WDR Configuration File
-------------------------------
SCTrapPort[162]:
SCTrapPort value set to 162 in /var/opt/SUNWWDR/cfg/serengeti-wdr-cfg.dat
Do you want to compile the MOF files now? [y,n] y
Enter root password:
Compiling Core MOF File
-------------------------------
Compilation succeeded.
Compiling Serengeti MOF File
-------------------------------
Compilation succeeded.

これでインストールプロセスは終了です。

プロセス表示の構成

Sun Fire 6800、4810、4800、または 3800 システムでプロセス表示を受け取るには、WDR WBEM Provider と Sun MC プラットフォーム側エージェントの両方にトラップを送信するよう SC を構成する必要があります。どちらも同じホストにインストールされている場合は、それぞれに異なるポートを使用する必要があります。

以下の作業を実行します。

snoop port trap_port

Sun Fire 6800、4810、4800、または 3800 システム上でのユーザーグループの設定

Sun Fire 6800/4810/4800/3800 システムコントローラでは、現在ログインしているユーザーが割り当てられているグループに関する情報が必要なときは、/etc/group ファイルを調べます。ユーザーが割り当てられているグループを変更するには、/etc/group ファイルを手動で修正します。

ユーザーが実行できる操作は、そのユーザーが属しているグループによって異なります。すべてのユーザーは、Sun Fire 6800/4810/4800/3800 システム上のドメインおよびスロットを列挙することができます。

Sun Fire 6800/4810/4800/3800 システムのグループには、spltadmn、spltop、sdxadm、および sdxop があります。グループ名に含まれている x は、ドメイン識別子です。