{"id":911,"date":"2010-03-30T11:55:16","date_gmt":"2010-03-30T03:55:16","guid":{"rendered":"http:\/\/blog.nuface.tw\/?p=911"},"modified":"2012-09-08T23:08:08","modified_gmt":"2012-09-08T15:08:08","slug":"%e7%9c%9f%e6%98%af%e8%90%ac%e5%85%a8%e7%9a%84%e6%ba%96%e5%82%99%e5%91%80","status":"publish","type":"post","link":"https:\/\/blog.nuface.tw\/?p=911","title":{"rendered":"\u771f\u662f\u842c\u5168\u7684\u6e96\u5099\u5440!"},"content":{"rendered":"<p>\u4eca\u5929\u4e00\u65e9\u4f86\uff0c\u5c31\u767c\u73fe\u5c0f\u745e\u7684Oracle DB \u51fa\u73fe\u554f\u984c\uff0c\u96e3\u9053\u662f\u6211\u53eb\u7db2\u7ba1\u628a<a href=\"http:\/\/blog.nuface.tw\/?p=681\">\u4e56\u4e56<\/a>\u62ff\u51fa\u4f86\u7684\u5831\u61c9\u3002\u5148\u6aa2\u67e5\u4e00\u4e0b\uff0c\u5230\u5e95\u662f\u4ec0\u9ebc\u75c5\u75c7\uff0c\u518d\u6e96\u5099\u597d\u5fc5\u8981\u7684\u6025\u6551\u624b\u8853\u3002<br \/>\n<!--more--><br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.nuface.tw\/wp-content\/uploads\/2012\/09\/shack.jpg\" alt=\"\u5687\u4e00\u8df3\u7684\u9752\u86d9\" \/><br \/>\n\u5f15\u7528\u81f3\u3000<a href=\"http:\/\/blog.huayuworld.org\/est28760\">\u61f6\u4eba\u5c0f\u7ad9<\/a>  \u7ad9\u9577 <a href=\"http:\/\/blog.huayuworld.org\/est28760\/11071\/2008\/11\/27\/20194\">\u9752\u86d9\u5687\u4e00\u8df3<\/a>\u3000\u4f5c\u54c1<\/p>\n<p>\u9032\u6a5f\u623f\u5f8c\uff0c\u770b\u5230\u5944\u5944\u4e00\u606f\u7684DB \uff0c\u4f86\u4e0d\u53ca\u8ddf\u5b83\u6253\u62db\u547c\uff0c\u5c31\u5f80\u751f\u4e86\u3002\u6c92\u6709\u8fa6\u6cd5\uff0c\u53ea\u597d\u7531\u5916\u5c64\u9032\u884c\u6aa2\u67e5\uff0c\u67e5\u770b\u662f\u4ec0\u9ebc\u554f\u984c\u3002\u7d93\u904e\u591a\u500b\u6aa2\u67e5\u7a0b\u5e8f\u5f8c\uff0c\u767c\u73fe\u4e3b\u8981\u554f\u984c\u5728\uff0c\u958b\u6a5f\u7684\u90a3\u500b OS partition \u6709\u72c0\u6cc1\uff0c\u51fa\u73feext3-fs error \u7684\u554f\u984c\u3002<\/p>\n<p>\u76ee\u524d\u9664\u4e86\u9019\u500b\u554f\u984c\u4e4b\u5916\uff0c\u53e6\u5916DB \u5b58\u653edatafile \u7684\u90a3\u500b partition \u53caArch log \u7684partition \u770b\u8d77\u4f86\u662f\u6b63\u5e38\u7684\u3002<\/p>\n<p>\u6240\u4ee5\u8981\u89e3\u6c7a\u9019\u500b\u554f\u984c\uff0c\u6709\u5169\u500b\u601d\u8003\u65b9\u5411\uff1a<br \/>\n1. \u628aOS \u7684\u90a3\u500bpartition \u91cd\u88dd<br \/>\n2. \u7531Dataguard \u63a5\u624b\uff0c\u7531standby db \u8f49\u70ba primary db <\/p>\n<p>\u5982\u679c\u7b2c1\u500b\u60c5\u6cc1\u6240\u82b1\u7684\u6642\u9593\uff0c\u8d85\u904e2\u5c0f\u6642\uff0c\u6211\u5c31\u6703\u8003\u616e\u4f7f\u7528\u7b2c2\u500b\u505a\u6cd5\u3002\u4e0d\u904e\u4e4b\u524d\u7db2\u7ba1\uff0c\u6c92\u6709\u6bcf\u5929\u53bb\u6aa2\u67e5dataguard \u7684log apply \u662f\u5426\u6b63\u5e38\uff0c\u7d50\u679c\u5728\u4e0a\u4e00\u6b21\uff0cDB \u51fa\u554f\u984c\u6642\uff0c\u6709\u67d0\u4e00\u500blog \u6c92\u6709\u88ab\u6b63\u5e38\u7684apply \uff0c\u9020\u6210\u4e4b\u5f8c\u7684log \u6c92\u6709\u8fa6\u6cd5\uff0c\u63a5\u7e8c\u8457apply \uff0c\u6240\u4ee5\u6c92\u6709\u6210\u529f\u7684\u63a5\u624b\uff0c\u6210\u70baprimary db \uff0c\u90a3\u662f\u4e00\u6b21\u5931\u6557\u7d93\u9a57\u3002\u4e4b\u5f8c\u5728\u7db2\u7ba1\u7684\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u9664\u4e86\u6aa2\u67e5RMAN \u7684\u5099\u4efd\u662f\u5426\u6b63\u5e38\u5916\uff0c\u53e6\u52a0\u5165\u4e00\u9805\uff0c\u6aa2\u67e5dataguard \u7684log apply \u4f5c\u696d\uff0c\u662f\u5426\u6b63\u5e38\u3002<\/p>\n<p>\u5728\u9019\u6a23\u7684\u8981\u6c42\u4e0b\uff0c\u9019\u4e00\u6b21dataguard \u63a5\u624b\uff0c\u7b97\u662f\u6e96\u5099\u5b8c\u5168\uff0c\u96a8\u6642\u53ef\u4ee5\u63a5\u624b\u3002\u5c31\u770bOS \u91cd\u65b0\u5012\u56de\u4f86\u7684\u6642\u9593\u3002<\/p>\n<p>\u56e0\u70ba\u5728DB \u4e0a\u7684\u67b6\u69cb\u662f\u628a\u7d14OS \u53e6\u5207\u4e00\u500bpartition \uff0cdata \u53ca program \u53e6\u5916\u653e\u4e00\u500bpartition \uff0c\u6240\u4ee5\u53ea\u8981\u8655\u7406\u90a3\u500b\u58de\u7684 partition \u5373\u53ef\uff0c\u91cd\u65b0\u5b89\u88dd\uff0c\u61c9\u8a72\u6703\u8d85\u904e2\u5c0f\u6642\uff0cUser \u7b49\u5f85\u6642\u9593\u592a\u9577\uff0c\u4e0d\u662f\u5f88\u7406\u60f3\u3002\u800c\u4e4b\u524d\u6709\u91dd\u5c0d\u9019\u500bpartition \u9032\u884c\u904edd \u5099\u4efd\uff0c\u4e5f\u5c31\u662fwindows \u4e0a\u5e38\u7528\u7684 ghost \u6280\u5006\u3002<\/p>\n<p>\u7531NAS \u4e0a\u76f4\u63a5\u628a\u90a3\u500b images file \uff0c\u76f4\u63a5\u900f\u904e dd \u6307\u4ee4\uff0c\u5012\u56de\u5e95\u5c64\u7684LVM \u7684LV \u4e0a\uff0c\u6307\u4ee4\u53c3\u8003\u5982\u4e0b\uff1a<\/p>\n<blockquote><p><code><br \/>\n\u6307\u4ee4\u5728NAS \u90a3\u53f0\u4e0b<br \/>\ndd bs=64k if=\/backup\/dbos.img | ssh 192.168.xx.xx \"( dd bs=64k of=\/dev\/Volgroup00\/dbos_lv )\"<br \/>\n<\/code><\/p><\/blockquote>\n<p>\u7531server lan \u50b3\u6a94\uff0c\u5927\u7d0410\u5206\u9418\u5de6\u53f3\uff0c\u641e\u5b9a\u5f8c\uff0c\u679c\u7136\u91cd\u555fDB \u90a3\u53f0\u865b\u6a5f\uff0c\u5373\u6b63\u5e38\u958b\u6a5f\u6210\u529f\u3002\u958b\u5b8c\u6a5f\u5f8c\uff0c\u518d\u91dd\u5c0dDB \u7684datafile \u90a3\u500b partition \u9032\u884c e2fsck \u6aa2\u67e5\u4e00\u4e0b\u53ca\u4fee\u5fa9\u4e00\u4e0bdisk error \uff0c\u6574\u500b\u904e\u7a0b\u5927\u7d0430\u5206\u9418\uff0cDB Server \u5c31\u56de\u9b42\u4e86\u3002<\/p>\n<p>\u9019\u4e00\u6b21\u8655\u7406\u554f\u984c\u7684\u5fc3\u60c5\u662f\uff0c\u5f88\u8f15\u9b06\uff0c\u4e00\u9ede\u90fd\u4e0d\u64d4\u5fc3\u3002\u5099\u4efd\uff0c\u771f\u7684\u5f88\u91cd\u8981\uff0c\u96d6\u7136\u5e73\u5e38\u7528\u4e0d\u5230\uff0c\u4f46\u767c\u751f\u72c0\u6cc1\u6642\uff0c\u56e0\u70ba\u9019\u500b\u5099\u4efd\uff0c\u53ef\u4ee5\u6e1b\u5c11User Data \u7684\u640d\u5931\uff0c\u53caIT \u4eba\u54e1\u56de\u5fa9\u7684\u6642\u9593\u3002<\/p>\n<p>\u6240\u4ee5MIS\u540c\u5fd7\u5011\uff0c\u8acb\u4e56\u4e56\u7684\u5b9a\u6642\u505a\u5099\u4efd\u54e6^_^<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\u4e00\u65e9\u4f86\uff0c\u5c31\u767c\u73fe\u5c0f\u745e\u7684Oracle DB \u51fa\u73fe\u554f\u984c\uff0c\u96e3\u9053\u662f\u6211\u53eb\u7db2\u7ba1\u628a\u4e56\u4e56\u62ff\u51fa\u4f86\u7684\u5831\u61c9\u3002\u5148\u6aa2\u67e5\u4e00\u4e0b\uff0c\u5230\u5e95\u662f\u4ec0\u9ebc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[117,114,120,119,116,118,115,70],"class_list":["post-911","post","type-post","status-publish","format-standard","hentry","category-misbird","tag-apply-log","tag-dataguard","tag-dd","tag-lvm","tag-primary-db","tag-rman","tag-standby-db","tag-70"],"_links":{"self":[{"href":"https:\/\/blog.nuface.tw\/index.php?rest_route=\/wp\/v2\/posts\/911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.nuface.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.nuface.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.nuface.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.nuface.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=911"}],"version-history":[{"count":13,"href":"https:\/\/blog.nuface.tw\/index.php?rest_route=\/wp\/v2\/posts\/911\/revisions"}],"predecessor-version":[{"id":1467,"href":"https:\/\/blog.nuface.tw\/index.php?rest_route=\/wp\/v2\/posts\/911\/revisions\/1467"}],"wp:attachment":[{"href":"https:\/\/blog.nuface.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.nuface.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.nuface.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}