安裝Oracle 10.2.0.5 RAC for AIX6(二)

yangtingkun發表於2011-07-14

簡單介紹在AIX6上安裝10.2.0.5 RAC的過程。

這一篇描述CLUSTER的建立。

安裝Oracle 10.2.0.5 RAC for AIX6(一):http://yangtingkun.itpub.net/post/468/520680

 

 

上一篇進行了安裝的準備工作,下面開始安裝CLUSTER,首先需要執行rootpre.sh

# cd /home/oracle/software/clusterware/Disk1/
# cd install
# cd rootpre
# ./rootpre.sh
./rootpre.sh output will be logged in /tmp/rootpre.out_11-04-15.00:09:02
Saving the original files in /etc/ora_save_11-04-15.00:09:02....
Copying new kernel extension to /etc....
Loading the kernel extension from /etc

Oracle Kernel Extension Loader for AIX
Copyright (c) 1998,1999 Oracle Corporation


Successfully loaded /etc/pw-syscall.64bit_kernel with kmid: 0x512c3000
Successfully configured /etc/pw-syscall.64bit_kernel with kmid: 0x512c3000
The kernel extension was successfuly loaded.

Configuring Asynchronous I/O....
Asynchronous I/O is not installed on this system.
You will need to install it, and either configure it yourself using
'smit aio' or rerun the Oracle root installation procedure.

Configuring POSIX Asynchronous I/O....
Posix Asynchronous I/O is not installed on this system.
You will need to install it, and either configure it yourself using
'smit aio' or rerun the Oracle root installation procedure.

Checking if group services should be configured....
Nothing to configure.

下面執行runInstaller,開始CLUSTER的安裝,這個過長和其他平臺下的CLUSTER安裝沒有區別,這裡就不詳細描述了,基本上圖形介面上的說明已經可以幫助順利完成CLUSTER的安裝。

安裝完成後,兩個節點分別執行orainstRoot.sh

# /opt/oracle/oraInventory/orainstRoot.sh
Changing permissions of /opt/oracle/oraInventory to 775.
Changing groupname of /opt/oracle/oraInventory to oinstall.
The execution of the script. is complete

在節點1上執行root.sh

# /opt/oracle/product/10.2/crs/root.sh
WARNING: directory '/opt/oracle/product/10.2' is not owned by root
WARNING: directory '/opt/oracle/product' is not owned by root
WARNING: directory '/opt/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 '/opt/oracle/product/10.2' is not owned by root
WARNING: directory '/opt/oracle/product' is not owned by root
WARNING: directory '/opt/oracle' is not owned by root
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node :
node 1: ywdb1 ywdb1-priv ywdb1
node 2: ywdb2 ywdb2-priv ywdb2
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
Now formatting voting device: /ywdb01/rac/vot
Now formatting voting device: /ywdb01/rac/vot1
Now formatting voting device: /ywdb02/rac/vot2
Format of 3 voting devices complete.
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
ywdb1
CSS is inactive on these nodes.
ywdb2
Local node checking complete.
Run root.sh on remaining nodes to start CRS daemons.

在節點2上執行root.sh

# /opt/oracle/product/10.2/crs/root.sh
WARNING: directory '/opt/oracle/product/10.2' is not owned by root
WARNING: directory '/opt/oracle/product' is not owned by root
WARNING: directory '/opt/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 '/opt/oracle/product/10.2' is not owned by root
WARNING: directory '/opt/oracle/product' is not owned by root
WARNING: directory '/opt/oracle' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node :
node 1: ywdb1 ywdb1-priv ywdb1
node 2: ywdb2 ywdb2-priv ywdb2
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 30 seconds.
Adding daemons to inittab
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
ywdb1
ywdb2
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
The given interface(s), "en0" is not public. Public interfaces should be used to configure virtual IPs.

這個錯誤以前碰到過多次了,OraclePUBLICinterface認為是private的,導致無法配置vip。透過手工啟動vipca圖形介面來進行配置vip,這個過程就不再重複了。Vip配置成功後,CLUSTER環境的安裝順利完成。

 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4227/viewspace-702243/,如需轉載,請註明出處,否則將追究法律責任。

相關文章