{"id":38,"date":"2014-02-17T18:20:16","date_gmt":"2014-02-17T10:20:16","guid":{"rendered":"http:\/\/blog.cyszys.com\/?p=38"},"modified":"2014-02-19T13:31:06","modified_gmt":"2014-02-19T05:31:06","slug":"oracle-11g-rac-scan-dns%e9%83%a8%e5%88%86%e9%85%8d%e7%bd%ae%e7%a4%ba%e4%be%8b","status":"publish","type":"post","link":"http:\/\/blog.cyszys.com\/?p=38","title":{"rendered":"Oracle 11g rac SCAN\u529f\u80fdDNS\u90e8\u5206\u914d\u7f6e\u793a\u4f8b"},"content":{"rendered":"<p>\u5f88\u591a\u4eba\u5728\u5b89\u88c5Oracle11g RAC\u8fc7\u7a0b\u4e2d\u5bf9\u5176\u4e2d\u7684SCAN\u7684DNS\u914d\u7f6e\u90e8\u5206\u611f\u5230\u56f0\u60d1\uff0c\u672c\u6587\u8be6\u7ec6\u8bb0\u5f55\u4e86\u572811g\u7248\u672c\u7684RAC\u73af\u5883\u4e0bSCAN\u7684DNS\u914d\u7f6e\u65b9\u6848\u3002<!--more--><\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u6ce8\u610f\uff1a\u672c\u8fc7\u7a0b\u5df2\u5728\u9879\u76ee\u8fc7\u7a0b\u4e2d\u7684\u5b9e\u9645\u7cfb\u7edf\u73af\u5883\u4e0b\u9a8c\u8bc1<\/strong><\/span><\/p>\n<p>\u914d\u7f6e\u6587\u4ef6\u5171\u67094\u4e2a\n1\u3001\u6b63\u5411\u89e3\u6790\u6587\u4ef6---->db.cyszys.com\n2\u3001\u53cd\u5411\u89e3\u6790\u6587\u4ef6---->db.15.168.192\n3\u3001\u6839\u670d\u52a1\u5668\u63cf\u8ff0\u6587\u4ef6---->named.ca\n4\u3001Bind\u670d\u52a1\u5668\u914d\u7f6e\u6587\u4ef6---->named.conf<\/p>\n<p>\/etc\/hosts \u914d\u7f6e\u5185\u5bb9\uff1a<\/p>\n<pre class=\"brush:other\">################db.cyszys.com#####################\n192.168.15.101        ora01\n192.168.15.102        ora02\n192.168.15.201        ora01-vip\n192.168.15.202        ora02-vip\n192.168.1.101        ora01-priv\n192.168.1.102        ora02-priv\n################db.cyszys.com#####################<\/pre>\n<p>db.cyszys.com\u00a0\u6587\u4ef6\u914d\u7f6e\uff1a<\/p>\n<pre class=\"brush:other\">################db.cyszys.com#####################\n$ttl 38400\ncyszys.com.   IN      SOA     cyszys.com.   root.cyszys.com.(\n                        2012110303\n                        10800\n                        3600\n                        604800\n                        38400)\n                IN      NS      ns1.cyszys.com\n                IN      NS      ns2.cyszys.com\nns1             IN      A       192.168.15.13\nns2             IN      A       192.168.15.14\nora01           IN      A       192.168.15.101\nora02           IN      A       192.168.15.102\nscan                IN      A       192.168.15.211\nscan                IN      A       192.168.15.212\nscan                IN      A       192.168.15.213\nora01-vip       IN      A       192.168.15.201\nora02-vip       IN      A       192.168.15.202\n################db.cyszys.com#####################<\/pre>\n<p>db.15.168.192\u00a0\u6587\u4ef6\u914d\u7f6e\uff1a<\/p>\n<pre class=\"brush:other\">################db.15.168.192#####################\n$ttl 38400\n15.168.192.in-addr.arpa.        IN      SOA     ns.cyszys.com. root.cyszys.com.(\n                                2009050803\n                                10800\n                                3600\n                                604800\n                                38400)\n                                        NS      ns1.cyszys.com.\n                                        NS      ns2.cyszys.com.\n13.15.168.192.in-addr.arpa.             PTR     ns1.cyszys.com.\n14.15.168.192.in-addr.arpa.             PTR     ns2.cyszys.com.\n101.15.168.192.in-addr.arpa.            PTR     ora01.cyszys.com.\n102.15.168.192.in-addr.arpa.            PTR     ora02.cyszys.com.\n211.15.168.192.in-addr.arpa.            PTR     scan.cyszys.com.\n212.15.168.192.in-addr.arpa.            PTR     scan.cyszys.com.\n213.15.168.192.in-addr.arpa.            PTR     scan.cyszys.com.\n201.15.168.192.in-addr.arpa.            PTR     ora01-vip.cyszys.com.\n202.15.168.192.in-addr.arpa.            PTR     ora02-vip.cyszys.com.\n################db.15.168.192#####################<\/pre>\n<p>named.ca \u6587\u4ef6\u914d\u7f6e\uff1a<\/p>\n<pre class=\"brush:other\">################named.ca########################\n;       This file holds the information on root name servers needed to\n;       initialize cache of Internet domain name servers\n;       (e.g. reference this file in the \"cache  .  <file>\"\n;       configuration file of BIND domain name servers).\n;\n;       This file is made available by InterNIC \n;       under anonymous FTP as\n;           file                \/domain\/named.root\n;           on server           FTP.INTERNIC.NET\n;       -OR-                    RS.INTERNIC.NET\n;\n;       last update:    Feb 04, 2008\n;       related version of root zone:   2008020400\n;\n; formerly NS.INTERNIC.NET\n;\n.                        3600000  IN  NS    A.ROOT-SERVERS.NET.\nA.ROOT-SERVERS.NET.      3600000      A     198.41.0.4\nA.ROOT-SERVERS.NET.      3600000      AAAA  2001:503:BA3E::2:30\n;\n; formerly NS1.ISI.EDU\n;\n.                        3600000      NS    B.ROOT-SERVERS.NET.\nB.ROOT-SERVERS.NET.      3600000      A     192.228.79.201\n;\n; formerly C.PSI.NET\n;\n.                        3600000      NS    C.ROOT-SERVERS.NET.\nC.ROOT-SERVERS.NET.      3600000      A     192.33.4.12\n;\n; formerly TERP.UMD.EDU\n;\n.                        3600000      NS    D.ROOT-SERVERS.NET.\nD.ROOT-SERVERS.NET.      3600000      A     128.8.10.90\n;\n; formerly NS.NASA.GOV\n;\n.                        3600000      NS    E.ROOT-SERVERS.NET.\nE.ROOT-SERVERS.NET.      3600000      A     192.203.230.10\n;\n; formerly NS.ISC.ORG\n;\n.                        3600000      NS    F.ROOT-SERVERS.NET.\nF.ROOT-SERVERS.NET.      3600000      A     192.5.5.241\nF.ROOT-SERVERS.NET.      3600000      AAAA  2001:500:2f::f\n;\n; formerly NS.NIC.DDN.MIL\n;\n.                        3600000      NS    G.ROOT-SERVERS.NET.\nG.ROOT-SERVERS.NET.      3600000      A     192.112.36.4\n;\n; formerly AOS.ARL.ARMY.MIL\n;\n.                        3600000      NS    H.ROOT-SERVERS.NET.\nH.ROOT-SERVERS.NET.      3600000      A     128.63.2.53\nH.ROOT-SERVERS.NET.      3600000      AAAA  2001:500:1::803f:235\n;\n; formerly NIC.NORDU.NET\n;\n.                        3600000      NS    I.ROOT-SERVERS.NET.\nI.ROOT-SERVERS.NET.      3600000      A     192.36.148.17\n;\n; operated by VeriSign, Inc.\n;\n.                        3600000      NS    J.ROOT-SERVERS.NET.\nJ.ROOT-SERVERS.NET.      3600000      A     192.58.128.30\nJ.ROOT-SERVERS.NET.      3600000      AAAA  2001:503:C27::2:30\n;\n; operated by RIPE NCC\n;\n.                        3600000      NS    K.ROOT-SERVERS.NET.\nK.ROOT-SERVERS.NET.      3600000      A     193.0.14.129 \nK.ROOT-SERVERS.NET.      3600000      AAAA  2001:7fd::1\n;\n; operated by ICANN\n;\n.                        3600000      NS    L.ROOT-SERVERS.NET.\nL.ROOT-SERVERS.NET.      3600000      A     199.7.83.42\n;\n; operated by WIDE\n;\n.                        3600000      NS    M.ROOT-SERVERS.NET.\nM.ROOT-SERVERS.NET.      3600000      A     202.12.27.33\nM.ROOT-SERVERS.NET.      3600000      AAAA  2001:dc3::35\n; End of File\n################named.ca########################<\/pre>\n<p>named.conf\u00a0\u6587\u4ef6\u914d\u7f6e\uff1a<\/p>\n<pre class=\"brush:other\">################named.conf#######################\n\n\/\/\n\/\/ named.conf for Red Hat caching-nameserver \n\/\/\n\noptions {\n        directory \"\/var\/named\";\n        dump-file \"\/var\/named\/data\/cache_dump.db\";\n        statistics-file \"\/var\/named\/data\/named_stats.txt\";\n        \/*\n         * If there is a firewall between you and nameservers you want\n         * to talk to, you might need to uncomment the query-source\n         * directive below.  Previous versions of BIND always asked\n         * questions using port 53, but BIND 8.1 uses an unprivileged\n         * port by default.\n         *\/\n         \/\/ query-source address * port 53;\n};\n\n\/\/ \n\/\/ a caching only nameserver config\n\/\/ \ncontrols {\n        inet 127.0.0.1 allow { localhost; } keys { rndckey; };\n};\n\nzone \".\" IN {\n        type hint;\n        file \"named.ca\";\n};\n\nzone \"cyszys.com\" IN {\n        type master;\n        file \"db.cyszys.com\";\n        allow-update { none; };\n};\n\nzone \"15.168.192.in-addr.arpa\" IN {\n        type master;\n        file \"db.15.168.192\";\n        allow-update { none; };\n};\n\ninclude \"\/etc\/rndc.key\";\n\n################named.conf#######################<\/pre>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>\u5f88\u591a\u4eba\u5728\u5b89\u88c5Oracle11g RAC\u8fc7\u7a0b\u4e2d\u5bf9\u5176\u4e2d\u7684SCAN\u7684DNS\u914d\u7f6e\u90e8\u5206\u611f\u5230\u56f0\u60d1\uff0c\u672c\u6587\u8be6\u7ec6\u8bb0\u5f55\u4e86\u572811g\u7248 [&hellip;]<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,12,11],"tags":[26,24,22,23,27,25],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/blog.cyszys.com\/index.php?rest_route=\/wp\/v2\/posts\/38"}],"collection":[{"href":"http:\/\/blog.cyszys.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.cyszys.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.cyszys.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.cyszys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=38"}],"version-history":[{"count":3,"href":"http:\/\/blog.cyszys.com\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":41,"href":"http:\/\/blog.cyszys.com\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions\/41"}],"wp:attachment":[{"href":"http:\/\/blog.cyszys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.cyszys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.cyszys.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}