你好,游客 登录 注册 搜索
背景:
阅读新闻

Oracle 11g RAC安装总结

[日期:2012-06-12] 来源:Linux社区  作者:mikixiyou [字体:大 中 小]

3.  安装11g RAC

3.1          安装 grid infrastructure

在VNC 上登录到grid 用户下,打开安装包中的runInstaller 文件,按照下列步骤进行安装。

安装贴图,我上传不了,在此处就过滤掉了。

SCAN Name 配置的内容就是hosts 中配置的条目,端口可以自定义。

这个信息出现在数据库实例的初始化参数remote_listener 中。(作用未知)

SQL> show parameter listener

NAME                                  TYPE         VALUE

------------------------------------ ----------- ------------------------------

listener_networks                     string

local_listener                        string       (DESCRIPTION=(ADDRESS_LIST=(AD

                                                  DRESS=(PROTOCOL=TCP)(HOST=serv

                                                  1-vip)(PORT=1522))))

remote_listener                       string       serv-scan:1590

  1. PMON process of each instance registers the database services with the default listener on the local node and with each SCAN listener, which is specified by the REMOTE_LISTENER database parameter.
  2. Oracle client connects using SCAN name: myscan:1521/sales.example.com
  3. Client queries DNS to resolve scan_name.
  4. SCAN listener selects least loaded node (node in this example)
  5. The client connects to the local listener on node2. The local listener starts a dedicated server process for the connection to the database.
  6. The client connects directly to the dedicated server process on node2 and accesses the sales2 database instance.

 

SCAN 的虚拟IP 的解析,Oracle 推荐了两种方法DNS 和GNS 。

l   Using DNS

To use the DNS method for defining your SCAN, the network administrator must create a single name that resolves to three separate IP addresses using round-robin algorithms. Regardless of how many systems are part of your cluster, Oracle recommends that 3 IP addresses are configured to allow for failover and load-balancing.

It is important that the IP addresses are on the same subnet as the public network for the server. The other two requirements are that the name (not including the domain suffix) are 15 characters or less in length and that the name can be resolved without using the domain suffix. Also, the IP addresses should not be specifically assigned to any of the nodes in the cluster.

You can test the DNS setup by running an nslookup on the scan name two or more times. Each time, the IP addresses should be returned in a different order:

nslookup mydatabase-scan
linux
相关资讯       Oracle安装 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款