{"id":44,"date":"2008-08-08T16:07:43","date_gmt":"2008-08-08T12:07:43","guid":{"rendered":"http:\/\/www.unixpin.com\/wordpress\/?p=44"},"modified":"2008-08-08T16:13:31","modified_gmt":"2008-08-08T12:13:31","slug":"%d0%bf%d1%80%d0%be%d1%86%d0%b5%d0%b4%d1%83%d1%80%d0%b0-%d0%bf%d0%b5%d1%80%d0%b5%d0%bd%d0%be%d1%81%d0%b0-%d0%b1%d0%b0%d0%b7-oracle-%d1%81%d1%80%d0%b5%d0%b4%d1%81%d1%82%d0%b2%d0%b0%d0%bc%d0%b8-vxvm","status":"publish","type":"post","link":"https:\/\/www.unixpin.com\/?p=44","title":{"rendered":"\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430 \u0431\u0430\u0437 ORACLE \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 VxVm \u0438 SAN"},"content":{"rendered":"<p>\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u0430 \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0447\u0435\u0440\u0435\u0437 SAN, \u0434\u0438\u0441\u043a\u043e\u0432\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f VxVm \u0438 \u0434\u0430\u0442\u0430\u0444\u0430\u0439\u043b\u044b \u0441 \u043e\u0440\u0430\u0445\u043e\u043c\u0430\u043c\u0438 \u043b\u0435\u0436\u0430\u0442 \u043d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u0432 \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u0435 (\u0442\u0430\u043a \u043b\u043e\u0433\u0438\u0447\u043d\u043e, \u0443\u0434\u043e\u0431\u043d\u043e \u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e).<br \/>\n\u0414\u0438\u0441\u043a\u043e\u0432\u044b\u0435 \u0433\u0440\u0443\u043f\u043f\u044b \u0442\u0430\u043a\u0436\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0431\u0430\u0437\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u0443\u0442\u0430\u0442\u044c\u0441\u044f.<br \/>\n\u041d\u0430\u0432\u0435\u0441\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u0443\u0434\u043e\u0431\u043d\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u043c\u0443 \u043e\u043a\u0442\u0435\u0442\u0443 IP.<\/p>\n<p><!--more--><\/p>\n<p><strong>HOWTO \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u0431\u0430\u0437\u044b<\/strong><\/p>\n<p><strong>\u041e\u0442\u043a\u0443\u0434\u0430 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c<\/strong><\/p>\n<p><strong>#\u0417\u0430\u0439\u0442\u0438 \u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0431\u0430\u0437\u0443<\/strong><br \/>\n\tsu &#8212; BASE<br \/>\n\tlsnrctl stop<br \/>\n\tsqlplus &#171;\/as sysdba&#187;<br \/>\n\t\tSQL&gt; shutdown immediate<br \/>\n\texit<\/p>\n<p><strong>#\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441<\/strong><br \/>\n\tifconfig ce0 removeif BASE-db<\/p>\n<p><strong>#\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0447\u0442\u043e \u0438 \u043a\u0443\u0434\u0430 \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e\t<\/strong><br \/>\n\tcat \/etc\/vfstab | grep BASE<\/p>\n<p><strong>#\u0420\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c<\/strong><br \/>\n\tumount -a \/usr\/oracle\/BASE \/usr\/oracle\/archivelog\/BASE<\/p>\n<p><strong>#\u0414\u0435\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c<\/strong><br \/>\n\tvxdg deport BASE<\/p>\n<p><strong>\u041a\u0443\u0434\u0430 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c<\/strong><\/p>\n<p><strong>#\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0435\u0441\u0442\u044c \u043b\u0438 \u0432 \u0445\u043e\u0441\u0442\u0430\u0445<\/strong><br \/>\n\tcat \/etc\/hosts |grep BASE<\/p>\n<p><strong>#\u0415\u0441\u043b\u0438 \u043d\u0435\u0442 &#8212; \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c.<\/strong><\/p>\n<p><strong>#\u041f\u043e\u0434\u043d\u044f\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441<\/strong><\/p>\n<p>\tifconfig ce3:## plumb<br \/>\n\tifconfig ce3:## BASE netmask + broadcast + up<\/p>\n<p>\t## &#8212; \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043e\u043a\u0442\u0435\u0442 IP \u0431\u0430\u0437\u044b.<\/p>\n<p><strong>#\u0417\u0430\u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0442\u044c \u0434\u0438\u0441\u043a\u043e\u0432\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443.<\/strong><br \/>\n\t<strong>#\u0415\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u044b\u043b \u0436\u0438\u0432\u043e\u0439 \u0438 \u043c\u044b \u043d\u043e\u0440\u043c\u043b\u0430\u044c\u043d\u043e \u0434\u0435\u043f\u043e\u0440\u0442\u0440\u043e\u0432\u0430\u043b\u0438 \u0433\u0440\u0443\u043f\u043f\u0443<\/strong><br \/>\n\t\tvxdg import BASE<br \/>\n\t\tvxrecover -g BASE -s<br \/>\n\t<strong>#\u0415\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c \u0441 \u043c\u0435\u0440\u0442\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/strong><br \/>\n\t\tvxdg -C import BASE<br \/>\n\t\tvxrecover -g BASE -s<\/p>\n<p><strong>#\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0434\u043b\u044f \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/strong><br \/>\n\tmkdir -p \/usr\/oracle\/BASE \/usr\/oracle\/archivelog\/BASE<\/p>\n<p><strong>#\u0415\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0432 vfstab \u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c<\/strong><br \/>\n\tmount -a \/usr\/oracle\/BASE \/usr\/oracle\/archivelog\/BASE<\/p>\n<p><strong>#\u0415\u0441\u043b\u0438 \u043d\u0435\u0442 &#8212; \u043b\u0438\u0431\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c \u0432 vfstab (\u0435\u0441\u043b\u0438 \u0431\u0430\u0437\u0430 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u043b\u0433\u043e \u0436\u0438\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435), \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0437 \/dev\/vx\/dsk\/BASE<\/strong><br \/>\n\tmount \/dev\/vx\/dsk\/BASE\/home_BASE \/usr\/oracle\/BASE<br \/>\n\tmount \/dev\/vx\/dsk\/BASE\/arch \/usr\/oracle\/archivelog\/BASE<\/p>\n<p><strong>#\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0431\u0430\u0437\u0443<\/strong><br \/>\n\tsu &#8212; BASE<br \/>\n\tsqlplus &#171;\/as sysdba&#187;<br \/>\n\tlsnrctl start<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u0430 \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0447\u0435\u0440\u0435\u0437 SAN, \u0434\u0438\u0441\u043a\u043e\u0432\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f VxVm \u0438 \u0434\u0430\u0442\u0430\u0444\u0430\u0439\u043b\u044b \u0441 \u043e\u0440\u0430\u0445\u043e\u043c\u0430\u043c\u0438 \u043b\u0435\u0436\u0430\u0442 \u043d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u0432 \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u0435 (\u0442\u0430\u043a \u043b\u043e\u0433\u0438\u0447\u043d\u043e, \u0443\u0434\u043e\u0431\u043d\u043e \u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e). \u0414\u0438\u0441\u043a\u043e\u0432\u044b\u0435 \u0433\u0440\u0443\u043f\u043f\u044b \u0442\u0430\u043a\u0436\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0431\u0430\u0437\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u0443\u0442\u0430\u0442\u044c\u0441\u044f. \u041d\u0430\u0432\u0435\u0441\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u0443\u0434\u043e\u0431\u043d\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u043c\u0443 \u043e\u043a\u0442\u0435\u0442\u0443 IP.<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[91,4],"tags":[89,90,88],"class_list":["post-44","post","type-post","status-publish","format-standard","hentry","category-oracle-rdbms","category-solaris","tag-oracle","tag-san","tag-veritas-storage-foundation"],"_links":{"self":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=44"}],"version-history":[{"count":0,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/44\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}