安装Oracle 10.2.0.5 RAC for AIX6(二)

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

转载于:http://blog.itpub.net/4227/viewspace-702243/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值