{"id":679,"date":"2017-09-06T14:42:11","date_gmt":"2017-09-06T06:42:11","guid":{"rendered":"http:\/\/www.821121.com\/?p=679"},"modified":"2020-12-11T10:01:07","modified_gmt":"2020-12-11T02:01:07","slug":"oracle11grac%e9%83%a8%e7%bd%b2%e4%ba%8c","status":"publish","type":"post","link":"http:\/\/www.821121.com\/?p=679","title":{"rendered":"Oracle11gRAC\u90e8\u7f72(\u4e8c)"},"content":{"rendered":"<h1>5\u3001\u5b89\u88c5grid 11.2.0.4<\/h1>\n<h2>5.1\u5b89\u88c5rpm\u5305<\/h2>\n<pre><code class=\"language-sql\">\u5728\u8282\u70b91 grid\u5b89\u88c5\u76ee\u5f55\u4e0b\u7684rpm\u76ee\u5f55\u4e0b\u6709cvuqdisk-1.0.9-1.rpm\u7684\u5b89\u88c5\u5305\u3002\ncd \/soft\/grid\/rpm\nrpm -ivh cvuqdisk-1.0.9-1.rpm\n\n\u62f7\u8d1dcvuqdisk-1.0.9-1.rpm\u5230\u8282\u70b92\nscp cvuqdisk-1.0.9-1.rpm 10.1.200.121:\/soft\/\n\n\u8282\u70b92\u5b89\u88c5\ncd \/soft\/\nrpm -ivh cvuqdisk-1.0.9-1.rpm<\/code><\/pre>\n<h2>5.2\u68c0\u67e5\u5b89\u88c5\u6761\u4ef6\u662f\u5426\u6ee1\u8db3<\/h2>\n<pre><code class=\"language-sql\">\u8282\u70b91\u8fd0\u884c\u4ee5\u4e0b\u811a\u672c\u8fdb\u884c\u68c0\u67e5\nsu - grid\ncd \/soft\/grid\/\n.\/runcluvfy.sh stage -pre crsinst -n rac1-11g,rac2-11g -fixup -verbose\n\u5728NTP\u3001DNS\u3001pdksh\u62a5\u9519\uff0c\u53ef\u4ee5\u5ffd\u7565\u3002<\/code><\/pre>\n<h2>5.3\u56fe\u5f62\u5316\u5b89\u88c5GRID<\/h2>\n<p>\u8282\u70b91\u7528grid\u7528\u6237\u5f00\u542fvncserver\u6216xmanager\uff0c\u7136\u540e\u7528vnc\u767b\u5f55<br \/>\nvncserver<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049354711.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049362276.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049372263.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049378047.png\" alt=\"file\" \/><br \/>\n\u4e0b\u56fe\u70b9\u51fbADD\u6dfb\u52a0\u8282\u70b92<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049391627.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049398888.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049405474.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049417341.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049424313.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049429672.png\" alt=\"file\" \/><br \/>\n\u4ee5\u4e0b4\u4e2a\u62a5\u9519\u53ef\u5ffd\u7565<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049446115.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049454041.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049460768.png\" alt=\"file\" \/><br \/>\n\u57282\u4e2a\u8282\u70b9\u4e0a\u5206\u522b\u5728root\u7528\u6237\u4e0b\uff0c\u6309\u7167\u987a\u5e8f\u8fd0\u884c2\u4e2a\u811a\u672c\u3002\u5b8c\u6210\u540e\u70b9\u51fbOK\u3002<br \/>\n\u56fe\u5f62\u5316\u5b89\u88c5\u6700\u540e\u4e00\u6b65\u6709\u62a5\u9519\u53ef\u8df3\u8fc7\u3002<\/p>\n<h1>6\u3001\u6dfb\u52a0ASM\u78c1\u76d8\u7ec4<\/h1>\n<p>\u7528asmca\u547d\u4ee4\uff0c\u53ef\u89c6\u5316\u6dfb\u52a0\u3002<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049500047.png\" alt=\"file\" \/><br \/>\n\u5b89\u88c5\u4ee5\u4e0b\u521b\u5efa\u78c1\u76d8\u7ec4<br \/>\nDG\u540d\u79f0    DISKGROUP\u5197\u4f59\u6a21\u5f0f   DG\u5bb9\u91cf<br \/>\nMESDG1  external    2T<br \/>\nMESDG2  external    1T<br \/>\nARCHDG1 external    0.5T<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049512087.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049519776.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049531015.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607049537199.png\" alt=\"file\" \/><\/p>\n<h1>7\u3001\u5347\u7ea7grid\u5230\u6700\u65b0PSU<\/h1>\n<p>\u4ee5\u4e0b\u64cd\u4f5c2\u4e2a\u8282\u70b9\u90fd\u8981\u64cd\u4f5c\uff0c\u8282\u70b91\u505a\u5b8c\u518d\u505a\u8282\u70b92.<\/p>\n<h2>7.1\u66f4\u65b0opatch<\/h2>\n<pre><code class=\"language-sql\">\u5c06\u6700\u65b0\u7248opatch\u6587\u4ef6\u89e3\u538b\u7f29\uff0c\u4e0a\u4f20\u5230grid\u7528\u6237\u7684oracle_home\u8def\u5f84\u4e0b\uff08\u539fopatch\u6587\u4ef6\u8981\u5907\u4efd\uff09\u3002\n\u7528root\u7528\u6237\uff1a\n[root@whepi1 11.2.0.4]# mv \/u01\/grid\/11.2.0.4\/OPatch\/ \/u01\/grid\/11.2.0.4\/OPatch_bk20180430\/\n[root@whepi1 11.2.0.4]# cd \/soft\/\n[root@whepi1 soft]# unzip opatch-p6880880_112000_Linux-x86-64.zip\n[root@whepi1 soft]# cp -R OPatch\/  \/u01\/grid\/11.2.0.4\/\n[root@whepi1 11.2.0.4]# chown -R grid:oinstall \/u01\/grid\/11.2.0.4\/OPatch<\/code><\/pre>\n<h2>7.2\u521b\u5efaOCM\u54cd\u5e94\u6587\u4ef6<\/h2>\n<pre><code class=\"language-sql\">grid\u7528\u6237\n[grid@mes1 bin]$ $ORACLE_HOME\/OPatch\/ocm\/bin\/emocmrsp  -no_banner -output \/u02\/ocm.rsp\nProvide your email address to be informed of security issues, install and\ninitiate Oracle Configuration Manager. Easier for you if you use your My\nOracle Support Email address\/User Name.\nVisit http:\/\/www.oracle.com\/support\/policies.html for details.\nEmail address\/User Name: \n\nYou have not provided an email address for notification of security issues.\nDo you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  yes\nThe OCM configuration response file (\/u02\/ocm.rsp) was successfully created.<\/code><\/pre>\n<h2>7.3\u68c0\u67e5 Inventory\u6709\u6548\u6027<\/h2>\n<pre><code class=\"language-sql\">[grid@mes1 bin]$ $ORACLE_HOME\/OPatch\/opatch lsinventory -detail -oh $ORACLE_HOME\n<\/code><\/pre>\n<h2>7.4\u5b89\u88c5PSU<\/h2>\n<pre><code class=\"language-sql\">\u4e0a\u4f20\u3001\u89e3\u538b\u7f29PSU\u8865\u4e01\u6587\u4ef6\u3002\n\u5982\u679c\u6709\u5f00\u542fEM\u7684\u8bdd\uff0c\u6682\u505cem\nsu \u2013 oracle\necho $ORACLE_UNQNAME\nemctl status dbconsole\n$ORACLE_HOME\/bin\/emctl stop dbconsole\n\n\u8865\u4e01\u89e3\u538b\u7f29\u8d4b\u6743\uff1a\n[grid@whepi1 ~]$ cd \/soft\/\n[grid@whepi1 soft]$ unzip grid_psu_p26610246_112040_Linux-x86-64.zip\n[grid@whepi1 soft]$ chown -R grid:oinstall \/soft\/26610246\/\n\u7528root\u7528\u6237\u8fd0\u884c\n[root@mes1 ~]# cd \/u01\/grid\/11.2.0.4\/OPatch\n[root@mes1 OPatch]#.\/opatch auto \/soft\/26610246\/ -oh \/u01\/grid\/11.2.0.4 -ocmrf \/u02\/ocm.rsp<\/code><\/pre>\n<h2>7.5\u68c0\u67e5\u6253\u8865\u4e01\u60c5\u51b5<\/h2>\n<p>[root@whepi1 OPatch]# su - grid<\/p>\n<pre><code class=\"language-sql\">[grid@whepi1 ~]$ cd \/u01\/grid\/11.2.0.4\/OPatch\n[grid@whepi1 OPatch]$ .\/opatch lsinventory<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>5\u3001\u5b89\u88c5grid 11.2.0.4 5.1\u5b89\u88c5rp<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,37],"tags":[],"class_list":["post-679","post","type-post","status-publish","format-standard","hentry","category-oracle-11g","category--oracle-11g"],"_links":{"self":[{"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/posts\/679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.821121.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=679"}],"version-history":[{"count":1,"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/posts\/679\/revisions"}],"predecessor-version":[{"id":700,"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/posts\/679\/revisions\/700"}],"wp:attachment":[{"href":"http:\/\/www.821121.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.821121.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=679"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.821121.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}