Oracle 10g RAC網(wǎng)絡(luò)設(shè)置
來(lái)源:易賢網(wǎng) 閱讀:882 次 日期:2014-09-17 14:44:51
溫馨提示:易賢網(wǎng)小編為您整理了“Oracle 10g RAC網(wǎng)絡(luò)設(shè)置”,方便廣大網(wǎng)友查閱!

在Oracle10g RAC的安裝過(guò)程中,網(wǎng)絡(luò)的設(shè)置需要謹(jǐn)慎,也極其重要。

以下將我的Oracle10g RAC環(huán)境的網(wǎng)絡(luò)配置列舉一下,供參考。

1.hosts文件的設(shè)置

由于RAC要設(shè)置多個(gè)地址,所以需要準(zhǔn)備好網(wǎng)絡(luò)環(huán)境,我的hosts文件設(shè)置如下:

#

# 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.監(jiān)聽(tīng)器的配置

我的監(jiān)聽(tīng)器文件配置如下:

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文件配置

網(wǎng)絡(luò)服務(wù)名等配置如下:

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的相關(guān)配置文件都是自動(dòng)生成的,VIP可以實(shí)現(xiàn)故障時(shí)的自動(dòng)切換。

更多信息請(qǐng)查看IT技術(shù)專(zhuān)欄

更多信息請(qǐng)查看數(shù)據(jù)庫(kù)
易賢網(wǎng)手機(jī)網(wǎng)站地址:Oracle 10g RAC網(wǎng)絡(luò)設(shè)置
由于各方面情況的不斷調(diào)整與變化,易賢網(wǎng)提供的所有考試信息和咨詢(xún)回復(fù)僅供參考,敬請(qǐng)考生以權(quán)威部門(mén)公布的正式信息和咨詢(xún)?yōu)闇?zhǔn)!

2025國(guó)考·省考課程試聽(tīng)報(bào)名

  • 報(bào)班類(lèi)型
  • 姓名
  • 手機(jī)號(hào)
  • 驗(yàn)證碼
關(guān)于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡(jiǎn)要咨詢(xún) | 簡(jiǎn)要咨詢(xún)須知 | 加入群交流 | 手機(jī)站點(diǎn) | 投訴建議
工業(yè)和信息化部備案號(hào):滇ICP備2023014141號(hào)-1 云南省教育廳備案號(hào):云教ICP備0901021 滇公網(wǎng)安備53010202001879號(hào) 人力資源服務(wù)許可證:(云)人服證字(2023)第0102001523號(hào)
云南網(wǎng)警備案專(zhuān)用圖標(biāo)
聯(lián)系電話:0871-65099533/13759567129 獲取招聘考試信息及咨詢(xún)關(guān)注公眾號(hào):hfpxwx
咨詢(xún)QQ:526150442(9:00—18:00)版權(quán)所有:易賢網(wǎng)
云南網(wǎng)警報(bào)警專(zhuān)用圖標(biāo)