{"id":992,"date":"2012-01-18T23:55:52","date_gmt":"2012-01-18T14:55:52","guid":{"rendered":"http:\/\/blog.kourin.org\/blog\/?p=992"},"modified":"2012-01-30T13:17:17","modified_gmt":"2012-01-30T04:17:17","slug":"linux%e3%83%a1%e3%83%a2%ef%bc%9a%e3%83%9e%e3%83%ab%e3%83%81%e3%83%91%e3%82%b9%e3%83%87%e3%83%90%e3%82%a4%e3%82%b9%e3%81%ae%e6%8e%a5%e7%b6%9a","status":"publish","type":"post","link":"http:\/\/blog.kourin.org\/blog\/?p=992","title":{"rendered":"Linux\u30e1\u30e2\uff1a\u30de\u30eb\u30c1\u30d1\u30b9\u30c7\u30d0\u30a4\u30b9\u306e\u63a5\u7d9a"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001MSA1000\u306b\u306fFC\u306e\u53e3\u304c\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u6bce\u306b\uff11\u3064\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306f\u3064\u307e\u308a\u3001\u7247\u65b9\u304c\u58ca\u308c\u3066\u3082\u3082\u30461\u500b\u6709\u308b\u304b\u3089\u5927\u4e08\u592b\u30fb\u30fb\u30fb<br \/>\n\u3068\u3044\u3046\u5197\u9577\u69cb\u6210\u306a\u306e\u3067\u3001SAN-Switch\u306a\u3069\u3092\u7d4c\u7531\u3057\u3066\u30b5\u30fc\u30d0\u3068\u63a5\u7d9a\u3057\u305f\u5834\u5408<br \/>\n\uff08\u30b5\u30fc\u30d0\u5074\u306eFC HBA\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u3082\uff09\u306f\u3001<br \/>\n\u540c\u3058Disk\u304c\u4f55\u500b\u3082\u898b\u3048\u308b\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u305d\u308c\u3058\u3083\u3041\u56f0\u308b\u30fb\u30fb\u30fb\u3068\u8a00\u3046\u4e8b\u3067\u3001Linux\u306e\u30de\u30eb\u30c1\u30d1\u30b9\u30c7\u30d0\u30a4\u30b9\u306e\u63a5\u7d9a\u3067\u3059\u30fd(\uff9f\u2200\uff9f)\uff89<\/p>\n<p><strong># yum install device-mapper-multipath<\/strong><br \/>\ndevice-mapper-multipath \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<p><strong># cp -p \/usr\/share\/doc\/device-mapper-mutipath-0.4.9\/multipath.conf \/etc\/multipath.conf<\/strong><br \/>\n<strong># vi \/etc\/multipath.conf<\/strong><br \/>\nmultipath.conf \u306b\u30de\u30eb\u30c1\u30d1\u30b9\u30c7\u30d0\u30a4\u30b9\u306e\u8a2d\u5b9a\u306a\u3069\u3092\u8a18\u8ff0<\/p>\n<p><strong># service multipathd start<\/strong><br \/>\nmultipathd \u306e\u8d77\u52d5<\/p>\n<p><strong># chkconfig multipathd on<\/strong><br \/>\n<strong># chkconfig &#8211;list | grep multipath<\/strong><br \/>\nmultipathd \u306e\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a<br \/>\n\u203b multipath.conf \u306e\u8a2d\u5b9a\u306b\u306f\u300cmpathconf\u300d\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u3068\u697d\u51fa\u6765\u308b\u3089\u3057\u3044\u3002<\/p>\n<p>\uff20 \u4eca\u56de\u60a9\u3093\u3060\u3068\u3053\u308d&#8230;<br \/>\n\u901a\u5e38\u306f\u5168\u90e8\u30d6\u30e9\u30c3\u30af\u30ea\u30b9\u30c8\u306b\u5165\u308c\u3066\u3001\u30de\u30eb\u30c1\u30d1\u30b9\u30c7\u30d0\u30a4\u30b9\u3060\u3051\u3092\u8a8d\u8b58\u3059\u308b\u3088\u3046\u306b<br \/>\n\u8a2d\u5b9a\u300c\u00a0find_multipaths yes\u300d\u3059\u308c\u3070\u826f\u3044\u3089\u3057\u3044\u306e\u3060\u304c&#8230;<br \/>\n\u7ba1\u7406\u4eba\u306e\u74b0\u5883\u306f\u73fe\u5728\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3068FC\u30ab\u30fc\u30c9\u304c\u76f4\u7e4b\u304e\u72b6\u614b\u3067<br \/>\n\u30b7\u30f3\u30b0\u30eb\u30d1\u30b9\u306a\u306e\u3067\u3001\u00a0find_multipaths \u306f\u4f7f\u3048\u306a\u3044\u3002<br \/>\n\uff08\u3068\u8a00\u3046\u304b\u3001\u3053\u308c\u3067\u7d44\u3093\u3060\u5834\u5408\u3063\u3066\u7247\u65b9\u898b\u3048\u306a\u3044\u72b6\u614b\u3067\u30b7\u30b9\u30c6\u30e0<br \/>\n\u518d\u8d77\u52d5\u3057\u305f\u3089\u3001\u3061\u3083\u3093\u3068\u30d1\u30b9\u3092\u8a8d\u8b58\u3057\u3066\u8d77\u52d5\u3057\u3066\u304f\u308b\u306e\u304b\u306a\uff1f\uff09<\/p>\n<p>\u30fb\u30fb\u30fb\u3068\u8a00\u3046\u308f\u3051\u3067\u3001\u57fa\u672c\u7684\u306b\u5168\u3066\u3092\u30de\u30eb\u30c1\u30d1\u30b9\u3068\u3057\u3066\u6271\u3046\u69d8\u306b\u3057\u3066<br \/>\n\u672c\u5f53\u306b\u4e0d\u8981\u306a\u3068\u3053\u308d\u3060\u3051\u3001\u660e\u793a\u7684\u306b\u30d6\u30e9\u30c3\u30af\u30ea\u30b9\u30c8\u306b\u8a18\u5165\u3057\u3066\u307f\u305f\u3002<\/p>\n<p>\uff08\u4ee5\u4e0b\u3001\u7ba1\u7406\u4eba\u306e multipath.conf \u306f\u3053\u3093\u306a\u611f\u3058\uff09<br \/>\n<strong>blacklist {<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 device {<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 vendor &#8220;ATA&#8221;<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 product &#8220;ST3500320AS&#8221;<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }<\/strong><br \/>\n<strong>}<\/strong><br \/>\n<strong>defaults {<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 find_multipaths no<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 user_friendly_names yes<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 path_grouping_policy group_by_prio<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 path_selector &#8220;round-robin 0&#8221;<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 failback immediate<\/strong><br \/>\n<strong>}<\/strong><br \/>\n<strong>multipaths {<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 multipath {<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 wwid 3600805f30019cba0a00b79xxxxxxxxxx<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 alias MSA1000-01<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 multipath {<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 wwid 3600805f30019cba0a00b79xxxxxxxxxx<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 alias MSA1000-02<\/strong><br \/>\n<strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }<\/strong><br \/>\n<strong>}<\/strong><\/p>\n<p>\u53c2\u8003\u306b\u3057\u305f\u30b5\u30a4\u30c8\u306f\u3053\u3061\u3089<br \/>\n<a href=\"http:\/\/d.hatena.ne.jp\/jitsu102\/20110130\/1296388354\" target=\"_blank\">http:\/\/d.hatena.ne.jp\/jitsu102\/20110130\/1296388354<\/a><br \/>\n<a href=\"http:\/\/si87474.g.hatena.ne.jp\/bbs\/11\/2\" target=\"_blank\">http:\/\/si87474.g.hatena.ne.jp\/bbs\/11\/2<\/a><br \/>\n<a href=\"http:\/\/docs.redhat.com\/docs\/ja-JP\/Red_Hat_Enterprise_Linux\/6\/html-single\/DM_Multipath\/index.html\" target=\"_blank\">http:\/\/docs.redhat.com\/docs\/ja-JP\/Red_Hat_Enterprise_Linux\/6\/html-single\/DM_Multipath\/index.html<\/a><br \/>\n<!-- Rakuten Dynamicad FROM HERE --><br \/>\n<script type=\"text\/javascript\">\n<!-- \nrakuten_template = \"468_120_img\";\nrakuten_affiliateId = \"0efa174f.f076923c.0efa1750.f66d9d27\";\nrakuten_service = \"all\";\nrakuten_target = \"_blank\";\nrakuten_color_bg = \"FFFFFF\";\nrakuten_color_border = \"BF0000\";\nrakuten_color_text = \"000000\";\nrakuten_color_link = \"0000FF\";\nrakuten_color_price = \"CC0000\";\n\/\/--><\/script><br \/>\n<script type=\"text\/javascript\"\n  src=\"http:\/\/dynamic.rakuten.co.jp\/js\/rakuten_dynamic.js\">\n<\/script><br \/>\n<!-- Rakuten Dynamicad TO HERE --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001MSA1000\u306b\u306fFC\u306e\u53e3\u304c\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u6bce\u306b\uff11\u3064\u3042\u308a\u307e\u3059\u3002 \u3053\u308c\u306f\u3064\u307e\u308a\u3001\u7247\u65b9\u304c\u58ca\u308c\u3066\u3082\u3082\u30461\u500b\u6709\u308b\u304b\u3089\u5927\u4e08\u592b\u30fb\u30fb\u30fb \u3068\u3044\u3046\u5197\u9577\u69cb\u6210\u306a\u306e\u3067\u3001SAN-Switch\u306a\u3069\u3092\u7d4c\u7531\u3057\u3066\u30b5\u30fc\u30d0\u3068\u63a5\u7d9a\u3057\u305f\u5834\u5408 \uff08\u30b5\u30fc\u30d0\u5074\u306eFC HBA\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u3082\uff09\u306f\u3001 \u540c\u3058Disk\u304c\u4f55\u500b\u3082\u898b\u3048\u308b\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002 \u305d\u308c\u3058\u3083\u3041\u56f0\u308b\u30fb\u30fb\u30fb\u3068\u8a00\u3046\u4e8b\u3067\u3001Linux\u306e\u30de\u30eb\u30c1\u30d1\u30b9\u30c7\u30d0\u30a4\u30b9\u306e\u63a5\u7d9a\u3067\u3059\u30fd(\uff9f\u2200\uff9f)\uff89 # yum install device-mapper-multipath device-mapper-multipath \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002 # cp -p \/usr\/share\/doc\/device-mapper-mutipath-0.4.9\/multipath.conf \/etc\/multipath.conf # vi \/etc\/multipath.conf multipath.conf \u306b\u30de\u30eb\u30c1\u30d1\u30b9\u30c7\u30d0\u30a4\u30b9\u306e\u8a2d\u5b9a\u306a\u3069\u3092\u8a18\u8ff0 # service multipathd start multipathd \u306e\u8d77\u52d5 # chkconfig multipathd on # chkconfig &#8211;list | grep multipath multipathd \u306e\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a \u203b multipath.conf \u306e\u8a2d\u5b9a\u306b\u306f\u300cmpathconf\u300d\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u3068\u697d\u51fa\u6765\u308b\u3089\u3057\u3044\u3002 \uff20 \u4eca\u56de\u60a9\u3093\u3060\u3068\u3053\u308d&#8230; \u901a\u5e38\u306f\u5168\u90e8\u30d6\u30e9\u30c3\u30af\u30ea\u30b9\u30c8\u306b\u5165\u308c\u3066\u3001\u30de\u30eb\u30c1\u30d1\u30b9\u30c7\u30d0\u30a4\u30b9\u3060\u3051\u3092\u8a8d\u8b58\u3059\u308b\u3088\u3046\u306b \u8a2d\u5b9a\u300c\u00a0find_multipaths yes\u300d\u3059\u308c\u3070\u826f\u3044\u3089\u3057\u3044\u306e\u3060\u304c&#8230; \u7ba1\u7406\u4eba\u306e\u74b0\u5883\u306f\u73fe\u5728\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3068FC\u30ab\u30fc\u30c9\u304c\u76f4\u7e4b\u304e\u72b6\u614b\u3067 \u30b7\u30f3\u30b0\u30eb\u30d1\u30b9\u306a\u306e\u3067\u3001\u00a0find_multipaths \u306f\u4f7f\u3048\u306a\u3044\u3002 \uff08\u3068\u8a00\u3046\u304b\u3001\u3053\u308c\u3067\u7d44\u3093\u3060\u5834\u5408\u3063\u3066\u7247\u65b9\u898b\u3048\u306a\u3044\u72b6\u614b\u3067\u30b7\u30b9\u30c6\u30e0 \u518d\u8d77\u52d5\u3057\u305f\u3089\u3001\u3061\u3083\u3093\u3068\u30d1\u30b9\u3092\u8a8d\u8b58\u3057\u3066\u8d77\u52d5\u3057\u3066\u304f\u308b\u306e\u304b\u306a\uff1f\uff09 \u30fb\u30fb\u30fb\u3068\u8a00\u3046\u308f\u3051\u3067\u3001\u57fa\u672c\u7684\u306b\u5168\u3066\u3092\u30de\u30eb\u30c1\u30d1\u30b9\u3068\u3057\u3066\u6271\u3046\u69d8\u306b\u3057\u3066 [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,16,9,3],"tags":[1413,23,24,32],"class_list":["post-992","post","type-post","status-publish","format-standard","hentry","category-linux","category-digital","category-trub","category-kourin","tag-linux","tag-multipath","tag-24","tag-32"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/992"}],"collection":[{"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=992"}],"version-history":[{"count":5,"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/992\/revisions"}],"predecessor-version":[{"id":1043,"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/992\/revisions\/1043"}],"wp:attachment":[{"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=992"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=992"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}