在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.
LI
| 相关热词搜索 |
