足球游戏_中国足彩网¥体育资讯$

Oracle 10g RAC网络设置
来源:易贤网 阅读:883 次 日期:2014-09-17 14:44:51
温馨提示:易贤网小编为您整理了“Oracle 10g RAC网络设置”,方便广大网友查阅!

在Oracle10g RAC的安装过程中,网络的设置需要谨慎,也极其重要。

以下将我的Oracle10g RAC环境的网络配置列举一下,供参考。

1.hosts文件的设置

由于RAC要设置多个地址,所以需要准备好网络环境,我的hosts文件设置如下:

#

# Internet host table

#

127.0.0.1 localhost

172.16.19.11 db210-rac1 db210-rac1.hurray.com.cn loghost

172.16.19.211 db210-rac1vip db210-rac1vip.hurray.com.cn

192.168.18.11 db210-rac1priv db210-rac1priv.hurray.com.cn

192.168.19.11 db210-rac1hb db210-rac1hb.hurray.com.cn

172.16.19.12 db210-rac2 db210-rac2.hurray.com.cn

172.16.19.212 db210-rac2vip db210-rac2vip.hurray.com.cn

192.168.18.12 db210-rac2priv db210-rac2priv.hurray.com.cn

192.168.19.12 db210-rac2hb db210-rac2hb.hurray.com.cn

2.监听器的配置

我的监听器文件配置如下:

bash-2.05$ cat listener.ora

# listener.ora.db210-rac1 Network Configuration

File: /opt/oracle/product/10.2.0/db/network/admin/listener.ora.db210-rac1

# Generated by Oracle configuration tools.

LISTENER_DB210-RAC1 =

(DESCRIPTION_LIST =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP)(HOST = db210-rac1vip)(PORT = 1521)(IP = FIRST))

)

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.19.11)(PORT = 1521)(IP = FIRST))

)

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))

)

)

)

     

3.tnsnames.ora文件配置

网络服务名等配置如下:

bash-2.05$ cat tnsnames.ora

# tnsnames.ora Network Configuration File: /opt/oracle/product/10.2.0/db/network/admin/tnsnames.ora

# Generated by Oracle configuration tools.

EYGLE2 =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = db210-rac2vip)(PORT = 1521))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = eygle)

(INSTANCE_NAME = eygle2)

)

)

EYGLE1 =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = db210-rac1vip)(PORT = 1521))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = eygle)

(INSTANCE_NAME = eygle1)

)

)

EYGLE =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = db210-rac1vip)(PORT = 1521))

(ADDRESS = (PROTOCOL = TCP)(HOST = db210-rac2vip)(PORT = 1521))

(LOAD_BALANCE = yes)

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = eygle)

(FAILOVER_MODE =

(TYPE = SELECT)

(METHOD = BASIC)

(RETRIES = 180)

(DELAY = 5)

)

)

)

LISTENERS_EYGLE =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP)(HOST = db210-rac1vip)(PORT = 1521))

(ADDRESS = (PROTOCOL = TCP)(HOST = db210-rac2vip)(PORT = 1521))

)

这就是主要的一些配置文件,其中,Oracle的相关配置文件都是自动生成的,VIP可以实现故障时的自动切换。

中国足彩网信息请查看IT技术专栏

中国足彩网信息请查看数据库
易贤网手机网站地址:Oracle 10g RAC网络设置
由于各方面情况的不断调整与变化,易贤网提供的所有考试信息和咨询回复仅供参考,敬请考生以权威部门公布的正式信息和咨询为准!

2025国考·省考课程试听报名

  • 报班类型
  • 姓名
  • 手机号
  • 验证码
关于我们 | 联系我们 | 人才招聘 | 网站声明 | 网站帮助 | 非正式的简要咨询 | 简要咨询须知 | 加入群交流 | 手机站点 | 投诉建议
工业和信息化部备案号:滇ICP备2023014141号-1 足球游戏_中国足彩网¥体育资讯$ 滇公网安备53010202001879号 人力资源服务许可证:(云)人服证字(2023)第0102001523号
云南网警备案专用图标
联系电话:0871-65099533/13759567129 获取招聘考试信息及咨询关注公众号:hfpxwx
咨询QQ:526150442(9:00—18:00)版权所有:易贤网
云南网警报警专用图标