Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

41

积分

0

好友

15

主题
1#
发表于 2012-6-19 10:40:41 | 查看: 4735| 回复: 1
最近安装一个11g rac学习环境,安装时参考文档:http://www.oracle.com/technetwork/cn/articles/hunter-rac11gr2-iscsi-083834-zhs.html

安装后发现listener.ora和tnsnames.ora内容相对10g rac变动很大,我把listener.ora和tnsnames.ora内容放下面,请问,安装后默认就是这样吗?
为什么用scan的地址呢?

环境如下:
os:Red Hat Enterprise Linux Server release 5.4 (Tikanga)
db:[oracle@syk2 admin]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Tue Jun 19 10:43:06 2012

[oracle@syk2 admin]$ more tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
SYKDB =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = syk-scan)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = sykdb)
    )
  )


[grid@syk1 admin]$ more listener.ora
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))))            # line added by Agent
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))                # line
added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON                # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON              # line added by Agent
[grid@syk1 admin]$
2#
发表于 2013-1-14 00:36:21
本帖最后由 hcn 于 2013-1-14 00:37 编辑

可以参看maclean的该文章

http://www.askmaclean.com/archives/11gr2-rac-add-listener-static-register.html

回复 只看该作者 道具 举报

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

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-11-16 07:39 , Processed in 0.048267 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569