{"id":506,"date":"2009-09-21T16:19:32","date_gmt":"2009-09-21T12:19:32","guid":{"rendered":"http:\/\/www.unixpin.com\/wordpress\/?p=506"},"modified":"2010-06-30T15:48:59","modified_gmt":"2010-06-30T11:48:59","slug":"solaris-multipating-mpxio-stms","status":"publish","type":"post","link":"https:\/\/www.unixpin.com\/?p=506","title":{"rendered":"\u041c\u044b \u043f\u043e\u0439\u0434\u0435\u043c \u0434\u0440\u0443\u0433\u0438\u043c \u043f\u0443\u0442\u0435\u043c ( multipathing MPxIO\/stms \u0432 Solaris )"},"content":{"rendered":"<p>\u0414\u043e Solaris10 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043c\u0443\u043b\u044c\u0442\u0438\u043f\u0430\u0442\u0438\u043d\u0433\u043e\u043c MPxIO \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e luxadm, \u0434\u0430 \u0438 \u0442\u043e, \u043e\u0447\u0435\u043d\u044c \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043e.<br \/>\n\u0412 Solaris 10 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0447\u043a\u0430 <a href=\"http:\/\/docs.sun.com\/app\/docs\/doc\/816-5166\/mpathadm-1m?a=view\" target=\"_blank\">mpathadm<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0431\u043b\u0430\u0433\u043e\u0440\u043e\u0434\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441,<br \/>\n\u043d\u0435 \u0442\u0430\u043d\u0446\u0435\u0432\u0430\u0442\u044c \u0441 \u0431\u0443\u0431\u043d\u043e\u043c, \u0430 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0442\u044c ;)<\/p>\n<p>\u0418\u0442\u0430\u043a, \u0432\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c &#8212; \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 MPxIO \u043d\u0430 \u0432\u0435\u0441\u044c \u0441\u0435\u0440\u0432\u0435\u0440:<br \/>\n<code>stmsboot -e ; reboot<\/code><br \/>\n\u041c\u043e\u0436\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043d\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0440\u0442\u044b \u0438\u0442\u0434 ( <a href=\"http:\/\/docs.sun.com\/app\/docs\/doc\/816-5166\/stmsboot-1m?a=view\" target=\"_blank\">man stmsboot<\/a> )<br \/>\n\u041e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u0438\u043c \u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 ;) \u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u0433\u043b\u0443\u0431\u0436\u0435.<\/p>\n<h2><span style=\"color: #ff0000;\">\u0414\u0438\u0441\u043a\u0438<\/span><\/h2>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u0438\u0441\u043a\u0438:<br \/>\n<!--more--><br \/>\n<code>#  mpathadm list lu<br \/>\n\/dev\/rdsk\/c7t20000004CFA16847d0s2<br \/>\nTotal Path Count: 1<br \/>\nOperational Path Count: 1<br \/>\n\/scsi_vhci\/ses<br \/>\nTotal Path Count: 1<br \/>\nOperational Path Count: 1<br \/>\n\/dev\/rdsk\/c7t8888888004ebeb000000ebeb00001D03d0s2<br \/>\nTotal Path Count: 4<br \/>\nOperational Path Count: 4<br \/>\n\/dev\/rdsk\/c7t8888888004ebeb000000ebeb00003903d0s2<br \/>\nTotal Path Count: 2<br \/>\nOperational Path Count: 2<\/code><br \/>\n&#8230;<br \/>\n\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0434\u0438\u0441\u043a:<br \/>\n<code>#  mpathadm list lu  \/dev\/rdsk\/c7t8888888004ebeb000000ebeb00001D03d0s2<br \/>\nmpath-support:  libmpscsi_vhci.so<br \/>\n\/dev\/rdsk\/c7t8888888004ebeb000000ebeb00001D03d0s2<br \/>\nTotal Path Count: 4<br \/>\nOperational Path Count: 4<\/code><\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0434\u0438\u0441\u043a \u0432 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044f\u0445:<br \/>\n<code>#  mpathadm show lu \/dev\/rdsk\/c7t8888888004ebeb000000ebeb00001D03d0s2<br \/>\nLogical Unit:  \/dev\/rdsk\/c7t8888888004ebeb000000ebeb00001D03d0s2<br \/>\nmpath-support:  libmpscsi_vhci.so<br \/>\nVendor:  HITACHI<br \/>\nProduct:  OPEN-V-CM<br \/>\nRevision:  5009<br \/>\nName Type:  unknown type<br \/>\nName:  8888888004ebeb000000ebeb00001d03<br \/>\nAsymmetric:  no<br \/>\nCurrent Load Balance:  round-robin<br \/>\nLogical Unit Group ID:  NA<br \/>\nAuto Failback:  on<br \/>\nAuto Probing:  NA<br \/>\nPaths:<br \/>\nInitiator Port Name:  210000e08b103b75<br \/>\nTarget Port Name:  70060e8004ebeb60<br \/>\nOverride Path:  NA<br \/>\nPath State:  OK<br \/>\nDisabled:  no<br \/>\nInitiator Port Name:  210000e08b103b75<br \/>\nTarget Port Name:  70060e8004ebeb20<br \/>\nOverride Path:  NA<br \/>\nPath State:  OK<br \/>\nDisabled:  no<br \/>\nInitiator Port Name:  210000e08b814d31<br \/>\nTarget Port Name:  70060e8004ebeb70<br \/>\nOverride Path:  NA<br \/>\nPath State:  OK<br \/>\nDisabled:  no<br \/>\nInitiator Port Name:  210000e08b814d31<br \/>\nTarget Port Name:  70060e8004ebeb30<br \/>\nOverride Path:  NA<br \/>\nPath State:  OK<br \/>\nDisabled:  no<br \/>\nTarget Ports:<br \/>\nName:  70060e8004ebeb60<br \/>\nRelative ID:  0<br \/>\nName:  70060e8004ebeb20<br \/>\nRelative ID:  0<br \/>\nName:  70060e8004ebeb70<br \/>\nRelative ID:  0<br \/>\nName:  70060e8004ebeb30<br \/>\nRelative ID:  0<\/code><\/p>\n<p>\u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u043b\u044f \u0434\u0438\u0441\u043a\u0430 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 &#171;load balance&#187;:<br \/>\n# mpathadm modify lu -b  logical-block \/dev\/rdsk\/c13t5000C5000FCDFCFFd0s2<br \/>\nError: Failed to change load balance: unsupported.<br \/>\nmpathadm: Unable to complete operation<\/p>\n<p>\u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u043b\u044f \u0434\u0438\u0441\u043a\u0430 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 &#171;failback&#187;:<br \/>\n<code># mpathadm modify  lu -a off \/dev\/rdsk\/c7t8888888004ebeb000000ebeb00003B03d0s2<br \/>\nError: Failed to change auto failback: unsupported.<br \/>\nmpathadm: Unable to complete operation<\/code><\/p>\n<p>\u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u0443\u0442\u044c (\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0435\u0441\u0442\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 &#171;active-standby&#187;) :<br \/>\n<code># mpathadm failover lu \/dev\/rdsk\/c7t8888888004ebeb000000ebeb00003B03d0s2<br \/>\nmpathadm:  Error: The logical unit is not asymmetric.<br \/>\nmpathadm: Unable to complete operation<\/code><\/p>\n<p>\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0443\u0442\u0435\u0439 \u043a \u0434\u0438\u0441\u043a\u0443:<br \/>\n<code># mpathadm disable path -i 210000e08b103b75 -t 70060e8004ebeb40 -l  \/dev\/rdsk\/c7t8888888004ebeb000000ebeb00003B03d0s2<br \/>\n# mpathadm show lu  \/dev\/rdsk\/c7t8888888004ebeb000000ebeb00003B03d0s2<br \/>\nLogical Unit:  \/dev\/rdsk\/c7t8888888004ebeb000000ebeb00003B03d0s2<br \/>\n...<br \/>\nPaths:<br \/>\nInitiator Port Name:  210000e08b103b75<br \/>\nTarget Port Name:  70060e8004ebeb40<br \/>\nPath State:  OK<br \/>\n<strong>Disabled:  yes<\/strong><br \/>\nInitiator Port Name:  210000e08b814d31<br \/>\nTarget Port Name:  70060e8004ebeb50<br \/>\nPath State:  OK<br \/>\n<strong>Disabled:  no<\/strong><\/code><br \/>\n&#8230;<br \/>\n\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f:<br \/>\n<code># mpathadm enable path -i 210000e08b103b75 -t 70060e8004ebeb40 -l  \/dev\/rdsk\/c7t8888888004ebeb000000ebeb00003B03d0s2<\/code><\/p>\n<h2><span style=\"color: #ff0000;\">\u0418\u043d\u0438\u0446\u0438\u0430\u0442\u043e\u0440\u044b.<\/span><\/h2>\n<p>\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u043d\u0438\u0446\u0438\u0430\u0442\u043e\u0440\u043e\u0432:<br \/>\n<code>#  mpathadm list initiator-port<br \/>\nInitiator Port:  23000003ba0af2e9<br \/>\nInitiator Port:  210000e08b104775<br \/>\nInitiator Port:  210000e08b81ed31<br \/>\nInitiator Port:  210000e08b107878<br \/>\nInitiator Port:  210000e08b103b75<br \/>\nInitiator Port:  210000e08b814d31<br \/>\nInitiator Port:  iqn.1986-03.com.sun:01:0003ba0af2e9.48a2edc8,4000002a00ff<\/code><\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u0443\u0442\u044c \u0438\u043d\u0438\u0446\u0438\u0430\u0442\u043e\u0440\u0430:<br \/>\n<code>#  mpathadm show initiator-port 23000003ba0af2e9<br \/>\nInitiator Port:  23000003ba0af2e9<br \/>\nTransport Type:  Fibre Channel<br \/>\nOS Device File:  \/devices\/pci@8,600000\/SUNW,qlc@2\/fp@0,0<\/code><\/p>\n<p>\u0418 \u0434\u0430\u0436\u0435 \u0434\u043b\u044f iscsi \u0438\u043d\u0438\u0446\u0438\u0430\u0442\u043e\u0440\u043e\u0432:<br \/>\n<code>#  mpathadm show initiator-port iqn.1986-03.com.sun:01:0003ba0af2e9.48a2edc8,4000002a00ff<br \/>\nInitiator Port:  iqn.1986-03.com.sun:01:0003ba0af2e9.48a2edc8,4000002a00ff<br \/>\nTransport Type:  iSCSI<br \/>\nOS Device File:  \/devices\/iscsi<\/code><\/p>\n<h2><span style=\"color: #ff0000;\">\u0421\u043e\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043c\u0443\u043b\u044c\u0442\u0438\u043f\u0430\u0442\u0438\u043d\u0433.<\/span><\/h2>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u043c\u0443\u043b\u044c\u0442\u0438\u043f\u0430\u0442\u0438\u043d\u0433 (\u043a\u0430\u043a\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u0447\u043a\u0438)<br \/>\n<code># mpathadm list  mpath-support<br \/>\nmpath-support:  libmpscsi_vhci.so<\/code><\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432:<br \/>\n<code># mpathadm show mpath-support  libmpscsi_vhci.so<br \/>\nmpath-support:  libmpscsi_vhci.so<br \/>\nVendor:  Sun Microsystems<br \/>\nDriver Name:  scsi_vhci<br \/>\nDefault Load Balance:  round-robin<br \/>\n<strong>Supported Load Balance Types:<br \/>\nround-robin<br \/>\nlogical-block<\/strong><br \/>\nAllows To Activate Target Port Group Access:  yes<br \/>\nAllows Path Override:  no<br \/>\nSupported Auto Failback Config:  1<br \/>\nAuto Failback:  on<br \/>\nFailback Polling Rate (current\/max):  0\/0<br \/>\nSupported Auto Probing Config:  0<br \/>\nAuto Probing:  NA<br \/>\nProbing Polling Rate (current\/max):  NA\/NA<br \/>\nSupported Devices:<br \/>\nVendor:  SUN<br \/>\nProduct:  T300<br \/>\nRevision:<br \/>\nSupported Load Balance Types:<br \/>\nround-robin<br \/>\nVendor:  SUN<br \/>\nProduct:  T4<br \/>\nRevision:<br \/>\nSupported Load Balance Types:<br \/>\nround-robin<br \/>\nVendor:  ENGENIO<br \/>\nProduct:  INF-01-00<br \/>\nRevision:<br \/>\nSupported Load Balance Types:<br \/>\nround-robin<br \/>\nVendor:  LSI<br \/>\nProduct:  INF-01-00<br \/>\nRevision:<br \/>\nSupported Load Balance Types:<br \/>\nround-robin<\/code><br \/>\n&#8230;<br \/>\n\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 &#171;Auto Failback&#187;:<br \/>\n<code># mpathadm modify mpath-support -a on libmpscsi_vhci.so<br \/>\n# mpathadm modify mpath-support -a off libmpscsi_vhci.so<\/code><\/p>\n<p>\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 &#171;Load Balance&#187;:<br \/>\n<code># mpathadm modify mpath-support -b logical-block libmpscsi_vhci.so<br \/>\nError: Failed to change load balance: unsupported.<br \/>\nmpathadm: Unable to complete operation<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u043e Solaris10 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043c\u0443\u043b\u044c\u0442\u0438\u043f\u0430\u0442\u0438\u043d\u0433\u043e\u043c MPxIO \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e luxadm, \u0434\u0430 \u0438 \u0442\u043e, \u043e\u0447\u0435\u043d\u044c \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043e. \u0412 Solaris 10 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0447\u043a\u0430 mpathadm, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0431\u043b\u0430\u0433\u043e\u0440\u043e\u0434\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u043d\u0435 \u0442\u0430\u043d\u0446\u0435\u0432\u0430\u0442\u044c \u0441 \u0431\u0443\u0431\u043d\u043e\u043c, \u0430 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0442\u044c ;) \u0418\u0442\u0430\u043a, \u0432\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c &#8212; \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 MPxIO \u043d\u0430 \u0432\u0435\u0441\u044c \u0441\u0435\u0440\u0432\u0435\u0440: stmsboot -e ; reboot \u041c\u043e\u0436\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043d\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0440\u0442\u044b \u0438\u0442\u0434 ( man [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,372],"tags":[99,51,732,512,740,68,728,737,727,726,73,736,725,729,741,440,174,739,116,730,731,27,75,167,180,738,733,735,734],"class_list":["post-506","post","type-post","status-publish","format-standard","hentry","category-sun","category-solaris","category-372","tag-cli","tag-disk","tag-disks","tag-dmp","tag-failbac","tag-fc","tag-fibre-cannel","tag-initiator","tag-lu","tag-lun","tag-luxadm","tag-mp","tag-mpathadm","tag-mpxio","tag-multipathing","tag-multipating","tag-path","tag-round-robin","tag-solaris-10","tag-stms","tag-stmsboot","tag-unix-solaris","tag-wwn","tag-167","tag-180","tag-738","tag-733","tag-735","tag-734"],"_links":{"self":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/506","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=506"}],"version-history":[{"count":12,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/506\/revisions"}],"predecessor-version":[{"id":722,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/506\/revisions\/722"}],"wp:attachment":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}