12
返回列表 发新帖
楼主: xchui702

[讨论] 请教:RAC 注册ASM instance 失败

[复制链接]
论坛徽章:
3
ITPUB十周年纪念徽章
日期:2011-11-01 16:21:152014年新春福章
日期:2014-02-18 16:42:02马上有房
日期:2014-02-18 16:42:02
11#
 楼主| 发表于 2010-11-16 10:18 | 只看该作者
Hi Huang,

The IP in the connection string is public IP.

I find the real reason is that the oracle version of client is 9i and the version of RAC server is 10g.

When using 10g client to connect 10g RAC, S-S TAF is available.

Thanks a lot!

***********************test results*****************************************
SQL> select host_name,instance_name from v$instance;

HOST_NAME            INSTANCE_NAME
-------------------- ---------------
rac2.localdomain.com devdb12

SQL> select host_name,instance_name from v$instance;

HOST_NAME            INSTANCE_NAME
-------------------- ---------------
rac2.localdomain.com devdb12

SQL> select host_name,instance_name from v$instance;   --after shutdown instance devdb12


HOST_NAME            INSTANCE_NAME
-------------------- ---------------
rac1.localdomain.com devdb11

SQL> select a.FAILOVER_TYPE,a.FAILOVER_METHOD,a.FAILED_OVER from v$session a where a.USERNAME='HR';

FAILOVER_TYPE FAILOVER_M FAI
------------- ---------- ---
SELECT        BASIC      YES

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
12#
发表于 2010-11-16 23:29 | 只看该作者
xchui702,

Thanks for your finding. More test shows that the client's failover capability starts with 10.2.0.1, not anything below it including 10.1.0.5. So we have to say version of 10gR1 and below will have the problem, not 9i and below. What's your exact client version?

It's strange Oracle didn't say this in Sql*Plus New Features document:
http://download.oracle.com/docs/ ... b14357/whatsnew.htm

Maybe they consider it as part of "Transparent Application Failover (TAF) Notification" in the overall New Features document:
http://download.oracle.com/docs/ ... .htm#FEATURENO05703

Yong Huang

[ 本帖最后由 Yong Huang 于 2010-11-16 09:34 编辑 ]

使用道具 举报

回复
论坛徽章:
3
ITPUB十周年纪念徽章
日期:2011-11-01 16:21:152014年新春福章
日期:2014-02-18 16:42:02马上有房
日期:2014-02-18 16:42:02
13#
 楼主| 发表于 2010-11-17 16:25 | 只看该作者

回复 #12 Yong Huang 的帖子

Hi Huang,

As you say, I think the S-S TAF begins with 10.2.0.1.

The oracle client version is 9.2.0.1.0.
The RAC oracle server version is 10.2.0.1.0.

In this situation, I can't use S-S TAF function.

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
14#
发表于 2010-11-18 06:26 | 只看该作者
Are you talking about server or client version? My test shows that when the *client* is 10.2.0.1 or newer, connecting to a server (which happens to be 10.2.0.4 in all my test cases) has server-side TAF. If the client is 10.1.0.5 or older, the connection does not.

Your abbreviation "S-S' means "server side". Correct?

Yong Huang

使用道具 举报

回复
论坛徽章:
3
ITPUB十周年纪念徽章
日期:2011-11-01 16:21:152014年新春福章
日期:2014-02-18 16:42:02马上有房
日期:2014-02-18 16:42:02
15#
 楼主| 发表于 2010-11-18 10:13 | 只看该作者
Yes, when I use 9.2.0.1.0 client to connect to 10.2.0.1.0 RAC server, the S-S TAF doesn't work.

S-S means "server side".

Thanks for your test.

使用道具 举报

回复
论坛徽章:
10
ITPUB十周年纪念徽章
日期:2011-11-01 16:25:222014系统架构师大会纪念章
日期:2014-08-11 17:52:242013系统架构师大会纪念章
日期:2014-08-11 17:52:242012系统架构师大会纪念章
日期:2014-08-11 17:52:242011系统架构师大会纪念章
日期:2014-08-11 17:52:242010系统架构师大会纪念
日期:2014-08-11 17:52:242009架构师大会纪念徽章
日期:2014-08-11 17:52:24ITPUB社区千里马徽章
日期:2013-06-09 10:15:34生肖徽章2007版:龙
日期:2012-02-28 12:20:38白羊座
日期:2016-05-06 19:50:34
16#
发表于 2014-11-27 15:31 | 只看该作者
你还是说中文吧。。。

使用道具 举报

回复
论坛徽章:
10
ITPUB十周年纪念徽章
日期:2011-11-01 16:25:222014系统架构师大会纪念章
日期:2014-08-11 17:52:242013系统架构师大会纪念章
日期:2014-08-11 17:52:242012系统架构师大会纪念章
日期:2014-08-11 17:52:242011系统架构师大会纪念章
日期:2014-08-11 17:52:242010系统架构师大会纪念
日期:2014-08-11 17:52:242009架构师大会纪念徽章
日期:2014-08-11 17:52:24ITPUB社区千里马徽章
日期:2013-06-09 10:15:34生肖徽章2007版:龙
日期:2012-02-28 12:20:38白羊座
日期:2016-05-06 19:50:34
17#
发表于 2014-11-27 15:33 | 只看该作者
xchui702 发表于 2010-11-9 10:32
谢谢两位,真的是权限问题。发现这个文件的权限在$ORCALE_HOME, ASM home 下是如下所示:
-rwxr-x---  1 o ...

怎么我的$ORACLE_BASE/product/10.2.0/下面没有asm目录

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
18#
发表于 2014-12-1 23:50 | 只看该作者
> 怎么我的$ORACLE_BASE/product/10.2.0/下面没有asm目录?

The location for your ASM home (or GRID home or GI home) is completely up to you. I personally like to separate it far away from $ORACLE_HOME. For instance, my DB ORACLE_HOME is /u01/app/oracle/product/11.2.0/db, but my GI home is /u01/app/grid as shown on the last line below (for which Oracle base is /u01/app/oracle):

$ env | grep HOME
HOME=/home/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/db
$ . oraenv
ORACLE_SID = [oracp71] ? +ASM1
The Oracle base for ORACLE_HOME=/u01/app/grid is /u01/app/oracle

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表