{"id":919,"date":"2019-12-08T18:19:12","date_gmt":"2019-12-08T10:19:12","guid":{"rendered":"http:\/\/www.821121.com\/?p=919"},"modified":"2021-02-02T14:25:07","modified_gmt":"2021-02-02T06:25:07","slug":"oracle19crac%e5%ae%89%e8%a3%85%e6%96%87%e6%a1%a3%ef%bc%88%e4%ba%8c%ef%bc%89","status":"publish","type":"post","link":"http:\/\/www.821121.com\/?p=919","title":{"rendered":"Oracle19cRAC\u5b89\u88c5\u6587\u6863\uff08\u4e8c\uff09"},"content":{"rendered":"<h1>5.\u4e0a\u4f20\u8f6f\u4ef6\u5305\uff0c\u5efa\u7acb\u4e92\u4fe1\u3001\u5b89\u88c5rpm\u5305\uff08\u5355\u8282\u70b9\uff09<\/h1>\n<pre><code class=\"language-sql\">grid\uff1aecho $ORACLE_HOME\noracle: echo $ORACLE_HOME<\/code><\/pre>\n<h2>5.1.\u4e0a\u4f20\u8f6f\u4ef6\u5305\u5230\/u01\u76ee\u5f55\u4e0b\uff0c\u5e76\u89e3\u538b\u6587\u4ef6<\/h2>\n<pre><code class=\"language-sql\">grid\u7528\u6237\uff1a\nunzip \/u01\/LINUX.X64_193000_grid_home.zip -d \/u01\/app\/19.3.0\/grid\/\n\noracle\u7528\u6237\uff1a\nunzip \/u01\/LINUX.X64_193000_db_home.zip -d \/u01\/app\/oracle\/product\/19.3.0\/db_1\/<\/code><\/pre>\n<h2>5.2.\u4f7f\u7528sshUserSetup.sh\u811a\u672c\u5efa\u7acb\u4e92\u4fe1<\/h2>\n<pre><code class=\"language-sql\">\u811a\u672c\u4f4d\u7f6e\uff1a\n\/u01\/app\/19.3.0\/grid\/oui\/prov\/resources\/scripts\/sshUserSetup.sh\n\n .\/sshUserSetup.sh -user grid -hosts &quot;cat1 cat2 &quot; -advanced -noPromptPassphrase\n .\/sshUserSetup.sh -user oracle -hosts &quot;cat1 cat2 &quot; -advanced -noPromptPassphrase\n\n\u9a8c\u8bc1\uff1a\u4ee5oracle\u548cgrid\u7528\u6237\u57282\u4e2a\u8282\u70b9\u4e0a\u90fd\u6d4b\u8bd5\u4e24\u8282\u70b9\u7684\u8fde\u901a\u6027\uff1a\nssh cat1 date\nssh cat2 date\nssh cat1priv date\nssh cat2priv date\nssh-agent $shell\nssh-add<\/code><\/pre>\n<h2>5.3.\u5b89\u88c5\u8865\u4e01\u5305<\/h2>\n<pre><code class=\"language-sql\">cd \/u01\/app\/19.3.0\/grid\/cv\/rpm\nrpm -ivh cvuqdisk-1.0.10-1.rpm\n\n\u62f7\u8d1dcvuqdisk-1.0.10-1.rpm\u5230\u8282\u70b92\nscp cvuqdisk-1.0.10-1.rpm cat2:\/tmp\/\n\n\u8282\u70b92\u5b89\u88c5\ncd \/u01\nrpm -ivh cvuqdisk-1.0.10-1.rpm <\/code><\/pre>\n<h2>5.4.\u5b89\u88c5grid\u524d\u68c0\u67e5<\/h2>\n<pre><code class=\"language-sql\">$ORACLE_HOME\/runcluvfy.sh  stage -pre crsinst -n cat1,cat2 -fixup -verbose\n$ORACLE_HOME\/runcluvfy.sh stage -pre crsinst -n , -method root   \/\/\u62a5\u9519\u89e3\u51b3<\/code><\/pre>\n<h1>6.\u88c5grid<\/h1>\n<h2>6.1\u53ef\u89c6\u5316\u5b89\u88c5<\/h2>\n<pre><code class=\"language-sql\">\u7528grid\u7528\u6237\u53ef\u89c6\u5316\u767b\u5f55\ncd $ORACLE_HOME\n.\/gridSetup.sh \n19c\uff0cmgmtdb\u53d8\u6210\u4e86\u53ef\u9009\u6027\u5b89\u88c5\u3002\n\u5982\u679c\u4e0d\u90e8\u7f72mgmtdb\uff0c\u4e00\u57575G\u7684\u78c1\u76d8\u7528\u4e8eOCR\u548cvoting disk\u5373\u53ef\n\n\u6839\u636e\u7a97\u53e3\u4fe1\u606f\uff0c\u5206\u522b\u7528root\u7528\u6237\u5728\u4e24\u4e2a\u51e0\u70b9\u4e0a\u8fd0\u884c\u4e24\u4e2a\u811a\u672c\u3002\n\u811a\u672c\u8fd0\u884c\u6210\u529f\u540e\uff0c\u4f1a\u62a5\u9519\uff0c\u5ffd\u7565\u8df3\u8fc7\uff1a<\/code><\/pre>\n<p>\u622a\u56fe\u5982\u4e0b\uff1a<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607508928436.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607508941284.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607508950956.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607508958519.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607508964125.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607508969436.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607508975642.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607508981529.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607508990499.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607508997247.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509002865.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509008476.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509014285.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509019391.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509024675.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509029590.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509034387.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509040099.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509054191.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509059235.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509064065.png\" alt=\"file\" \/><\/p>\n<h2>6.2\u5b89\u88c5GI\u540e\u68c0\u67e5<\/h2>\n<pre><code class=\"language-sql\">$ORACLE_HOME\/runcluvfy.sh  stage -post  crsinst -n &quot;cat1,cat2&quot;  -verbose<\/code><\/pre>\n<h1>7.\u6dfb\u52a0ASM\u78c1\u76d8\u7ec4<\/h1>\n<pre><code class=\"language-sql\">grid\u7528\u6237\u4e0b\u7528asmca\u547d\u4ee4\uff0c\u53ef\u89c6\u5316\u6dfb\u52a0\n\n\u5b89\u88c5\u4ee5\u4e0b\u521b\u5efa\u78c1\u76d8\u7ec4\nDG\u540d\u79f0    DISKGROUP\u5197\u4f59\u6a21\u5f0f   DG\u5bb9\u91cf\nOCR external    150G\nDATA    external    300G\nARCH    external    200G<\/code><\/pre>\n<p>\u622a\u56fe\u5982\u4e0b\uff1a<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509119520.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509125460.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509132092.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607509139777.png\" alt=\"file\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>5.\u4e0a\u4f20\u8f6f\u4ef6\u5305\uff0c\u5efa\u7acb\u4e92\u4fe1\u3001\u5b89\u88c5rpm\u5305\uff08\u5355\u8282\u70b9\uff09 <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49,51],"tags":[],"class_list":["post-919","post","type-post","status-publish","format-standard","hentry","category-oracle-19c","category--oracle-19c"],"_links":{"self":[{"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/posts\/919","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=919"}],"version-history":[{"count":1,"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/posts\/919\/revisions"}],"predecessor-version":[{"id":945,"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/posts\/919\/revisions\/945"}],"wp:attachment":[{"href":"http:\/\/www.821121.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.821121.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=919"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.821121.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}