TOPサーバ構築・運用> 「root.sh」の実行
最大限の可用性とスケーラビリティを実現するOracle RAC
最大限の可用性とスケーラビリティを実現するOracle RAC

第4回:Oracle Clusterwareインストール後の設定と確認
著者:日立システムアンドサービス  熊川 哲也   2006/8/7
前のページ  1  2   3  4  次のページ
「root.sh」の実行

   画面の表示に従い各サーバ(srv01、srv02)へrootユーザでログインして、「root.sh」を実行します。次の内容はsrv01サーバ上での「root.sh」実行例です。
srv01サーバ上での「root.sh」実行例
[root@srv01 crs]# ./root.sh

WARNING: directory '/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/app/oracle/product' is not owned by root
WARNING: directory '/app/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.


Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/app/oracle/product' is not owned by root
WARNING: directory '/app/oracle' is not owned by root
assigning default hostname srv01 for node 1.
assigning default hostname srv02 for node 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: srv01 srv01-priv srv01
node 2: srv02 srv02-priv srv02
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Now formatting voting device: /dev/raw/raw3
Now formatting voting device: /dev/raw/raw4
Now formatting voting device: /dev/raw/raw5
Format of 3 voting devices complete.
Startup will be queued to init within 90 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
        srv01
CSS is inactive on these nodes.
        srv02
Local node checking complete.
Run root.sh on remaining nodes to start CRS daemons.
[root@srv01 crs]#

   残りのサーバ(srv02)でも同じように「root.sh」を実行します。次の内容はsrv02サーバ上での「root.sh」実行例です。

srv02サーバ上での「root.sh」実行例
[root@srv02 crs]# ./root.sh

WARNING: directory '/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/app/oracle/product' is not owned by root
WARNING: directory '/app/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.

Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/app/oracle/product' is not owned by root
WARNING: directory '/app/oracle' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
assigning default hostname srv01 for node 1.
assigning default hostname srv02 for node 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: srv01 srv01-priv srv01
node 2: srv02 srv02-priv srv02
clscfg: Arguments check out successfully.

NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 90 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
        srv01
        srv02
CSS is active on all nodes.
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps

(2)ノードでVIPアプリケーション・リソースを作成しています...
(2)ノードでGSDアプリケーション・リソースを作成しています...
(2)ノードでONSアプリケーション・リソースを作成しています...
(2)ノードでVIPアプリケーション・リソースを起動しています...
(2)ノードでGSDアプリケーション・リソースを起動しています...
(2)ノードでONSアプリケーション・リソースを起動しています...

Done.

[root@srv02 crs]#

前のページ  1  2   3  4  次のページ


日立システムアンドサービス 熊川 哲也
著者プロフィール
日立システムアンドサービス  オープンソリューション本部
カスタマサポートセンタ   熊川 哲也

Oracle Ver 6 の頃からOracle製品に携わり、Oracle製品のサポートおよびビジネスパートナーへの技術支援などの業務に従事している。プロフェッショナルとして、お客様やビジネスパートナーの期待に応えるサービスを提供できるよう常日頃から心がけている。


INDEX
第4回:Oracle Clusterwareインストール後の設定と確認
  Oracle Clusterwareのインストール後の設定および確認
「root.sh」の実行
  コンフィギュレーション・アシスタントの実行
  Oracleソフトウェアのインストール要件の確認