{"id":556,"date":"2011-01-28T00:30:38","date_gmt":"2011-12-24T05:51:50","guid":{"rendered":"http:\/\/kraftek.com\/blog\/powerpath-mpxio-or-vxdmp\/"},"modified":"2011-01-28T00:30:38","modified_gmt":"2011-12-24T05:51:50","slug":"powerpath-mpxio-or-vxdmp","status":"publish","type":"post","link":"\/blog\/index.php\/powerpath-mpxio-or-vxdmp\/","title":{"rendered":"Powerpath, Mpxio or Vxdmp"},"content":{"rendered":"<pre>You want to know what DMP technology you are using at your server, and if having it activated, how do you see the\n disks....\n Wrote this script:\n #!\/bin\/ksh\n echo \"running check\"\n (\n echo \"MPXIO ?\"\n echo \"---------------------------------------------------\"\n modinfo | grep -i vhci\n M=`modinfo |grep -i vhci | wc -l`\n if [ $M -gt 0 ];then\n echo \"enabled\"\n else\n echo \"disabled\"\n fi\n echo \"\"\n echo \"POWERPATH ?\"\n echo \"---------------------------------------------------\"\n modinfo | grep -i emcp\n P=`modinfo |grep -i emcp | wc -l`\n if [ $P -gt 0 ];then\n echo \"enabled\"\n else\n echo \"disabled\"\n fi\n echo \"\"\n echo \"VXDMP ?\"\n echo \"---------------------------------------------------\"\n modinfo | grep -i vxdmp\n V=`modinfo |grep -i vxdmp | wc -l`\n if [ $V -gt 0 ];then\n echo \"enabled\"\n else\n echo \"disabled\"\n fi\n echo \"\"\n if [ $P -gt 0 ];then\n echo \"POWERPATH\"\n echo \"---------------------------------------------------\"\n \/etc\/powermt display dev=all\n fi\n if [ $V -gt 0 ];then\n echo \"VXDMP\"\n echo \"---------------------------------------------------\"\n 205\/433\n vxdmpadm listctlr all\n fi\n if [ $M -gt 0 ];then\n echo \"LUXADM\"\n echo \"---------------------------------------------------\"\n for d in `format &lt; \/dev\/null| egrep 'HIT|EMC' | awk '{ print $2 }'`;do\n echo $d\n luxadm display \/dev\/rdsk\/${d}s2\n done\n fi\n if [ -f \/usr\/sbin\/vxdisk ];then\n echo \"VXDISK LIST\"\n echo \"---------------------------------------------------\"\n for d in `\/usr\/sbin\/vxdisk -o alldgs list| awk '{ print $1 }'`;do\n echo $d\n \/usr\/sbin\/vxdisk list $d\n done\n fi\n ) &gt; \/tmp\/results_`uname -n`.txt\n echo \"finished running check\"\n Run it, relax, and enjoy\n Thx to Hiram Ruiz and Corey Joiner\n And YES\n This site has been back on Slackware 11 since at least 1 month.\n - rdircio\n 206\/433<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>You want to know what DMP technology you are using at your server, and if having it activated, how do you see the disks&#8230;. Wrote this script: #!\/bin\/ksh echo &#8220;running check&#8221; ( echo &#8220;MPXIO ?&#8221; echo &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8221; modinfo | grep -i vhci M=`modinfo |grep -i vhci | wc -l` if [ $M -gt 0 ];then [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-556","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=556"}],"version-history":[{"count":0,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/556\/revisions"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=556"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}