{"id":411,"date":"2012-11-06T11:20:54","date_gmt":"2012-11-06T04:20:54","guid":{"rendered":"http:\/\/blog.trichev.com\/?p=411"},"modified":"2017-08-10T09:35:17","modified_gmt":"2017-08-10T02:35:17","slug":"linux-multipath-with-emc-clariion","status":"publish","type":"post","link":"https:\/\/trichev.com\/blog\/2012\/11\/06\/linux-multipath-with-emc-clariion\/","title":{"rendered":"Linux multipath with EMC CLARiiON"},"content":{"rendered":"<p>\u0412\u0441\u0435 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e&#8230; \u0415\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e LUN\u043e\u0432, HBA-\u0430\u0434\u0430\u043f\u0442\u0435\u0440, \u0445\u0440\u0430\u043d\u0438\u043b\u043e\u0432\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e EMC Clariion VNX5700, RHEL6. \u0421\u0440\u0430\u0437\u0443 \u0432\u0441\u0435 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u043d\u0435 \u0437\u0430\u0432\u0435\u043b\u043e\u0441\u044c, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u0442\u0430\u043a \u0441\u0442\u0440\u0430\u0448\u043d\u043e&#8230;<br \/>\n\u0412\u0430\u0436\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\u0438\u043a:<br \/>\n\/usr\/share\/doc\/device-mapper-multipath-0.4.9\/multipath.conf.defaults<\/p>\n<p>multipath.conf:<\/p>\n<p>defaults {<br \/>\nfind_multipaths yes<br \/>\nuser_friendly_names yes<br \/>\n}<\/p>\n<p>blacklist {<br \/>\nwwid &#8220;WWID&#8221;<br \/>\ndevnode &#8220;^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*&#8221;<br \/>\ndevnode &#8220;^hd[a-z]&#8221;<br \/>\ndevnode &#8220;^cciss!c[0-9]d[0-9]*&#8221;<br \/>\n}<\/p>\n<p>devices {<br \/>\n# Configurazione specifica EMC CLARiiON<br \/>\ndevice {<br \/>\nvendor &#8220;DGC&#8221;<br \/>\nproduct &#8220;*&#8221;<br \/>\nproduct_blacklist &#8220;LUNZ&#8221;<br \/>\ngetuid_callout &#8220;\/lib\/udev\/scsi_id &#8211;whitelisted &#8211;device=\/dev\/%n&#8221;<br \/>\nfeatures &#8220;1 queue_if_no_path&#8221;<br \/>\nhardware_handler &#8220;1 alua&#8221;<br \/>\npath_selector &#8220;round-robin 0&#8221;<br \/>\npath_grouping_policy group_by_prio<br \/>\nfailback immediate<br \/>\nrr_weight uniform<br \/>\nno_path_retry 60<br \/>\nrr_min_io 1000<br \/>\nprio alua<br \/>\n}<br \/>\n}<\/p>\n<p>chkconfig multipathd on<br \/>\nservice multipathd start<br \/>\nmultipath -ll<br \/>\n\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<br \/>\nmpathconf<br \/>\nmultipath -F<\/p>\n<p>\u0421\u0441\u044b\u043b\u043a\u0438:<br \/>\n<a href=\"http:\/\/www.nxnt.org\/2010\/08\/multipath-linux-and-emc-clariion\/\">http:\/\/www.nxnt.org\/2010\/08\/multipath-linux-and-emc-clariion\/<\/a><br \/>\n<a href=\"http:\/\/www.sourceware.org\/lvm2\/wiki\/MultipathUsageGuide\">http:\/\/www.sourceware.org\/lvm2\/wiki\/MultipathUsageGuide<\/a><br \/>\n<a href=\"https:\/\/access.redhat.com\/knowledge\/docs\/en-US\/Red_Hat_Enterprise_Linux\/6\/html\/DM_Multipath\/\">https:\/\/access.redhat.com\/knowledge\/docs\/en-US\/Red_Hat_Enterprise_Linux\/6\/html\/DM_Multipath\/<\/a><br \/>\n<a href=\"https:\/\/access.redhat.com\/knowledge\/docs\/en-US\/Red_Hat_Enterprise_Linux\/6\/html\/Storage_Administration_Guide\">https:\/\/access.redhat.com\/knowledge\/docs\/en-US\/Red_Hat_Enterprise_Linux\/6\/html\/Storage_Administration_Guide<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0441\u0435 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e&#8230; \u0415\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e LUN\u043e\u0432, HBA-\u0430\u0434\u0430\u043f\u0442\u0435\u0440, \u0445\u0440\u0430\u043d\u0438\u043b\u043e\u0432\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e EMC Clariion VNX5700, RHEL6. \u0421\u0440\u0430\u0437\u0443 \u0432\u0441\u0435 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u043d\u0435 \u0437\u0430\u0432\u0435\u043b\u043e\u0441\u044c, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u0442\u0430\u043a \u0441\u0442\u0440\u0430\u0448\u043d\u043e&#8230; \u0412\u0430\u0436\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\u0438\u043a: \/usr\/share\/doc\/device-mapper-multipath-0.4.9\/multipath.conf.defaults multipath.conf: defaults { find_multipaths yes user_friendly_names yes } blacklist { wwid &#8220;WWID&#8221; devnode &#8220;^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*&#8221; devnode &#8220;^hd[a-z]&#8221; devnode &#8220;^cciss!c[0-9]d[0-9]*&#8221; } devices { # Configurazione specifica EMC CLARiiON device { vendor [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[231],"tags":[175,32,86,28,14,11],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/posts\/411"}],"collection":[{"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/comments?post=411"}],"version-history":[{"count":9,"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/posts\/411\/revisions"}],"predecessor-version":[{"id":522,"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/posts\/411\/revisions\/522"}],"wp:attachment":[{"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/media?parent=411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/categories?post=411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/tags?post=411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}