ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 安装Oracle 10.2.0.5 RAC for AIX6(二)

安装Oracle 10.2.0.5 RAC for AIX6(二)

原创 Linux操作系统 作者:yangtingkun 时间:2011-07-14 23:45:27 0 删除 编辑

简单介绍在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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2007-12-29

  • 博文量
    1954
  • 访问量
    10651880