{"id":154,"date":"2014-02-05T10:07:13","date_gmt":"2014-02-05T09:07:13","guid":{"rendered":"http:\/\/www.infrastructurematters.nl\/?p=154"},"modified":"2014-02-05T16:15:59","modified_gmt":"2014-02-05T15:15:59","slug":"3-commands-for-easy-nimble","status":"publish","type":"post","link":"https:\/\/www.infrastructurematters.nl\/?p=154","title":{"rendered":"3 commands for easy Nimble"},"content":{"rendered":"<p><a href=\"http:\/\/www.infrastructurematters.nl\/wp-content\/uploads\/2014\/02\/nimble-storage.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-157\" title=\"Nimble Storage\" src=\"http:\/\/www.infrastructurematters.nl\/wp-content\/uploads\/2014\/02\/nimble-storage.jpg\" alt=\"\" width=\"160\" height=\"123\" \/><\/a>OK, just a small thing I&#8217;d like to share:<\/p>\n<p>When checking an iSCSI\u00a0Nimble setup, 3 tiny commands can make your life a lot easier. In VMware ESXi 5.lul, SSH to a host and get your storage straight:<\/p>\n<p>1) If not already done so: change the default Path Selection Policy to Round Robin for new disks:<\/p>\n<p><em>esxcli storage nmp satp set &#8211;default-psp=VMW_PSP_RR &#8211;satp=VMW_SATP_ALUA<\/em><\/p>\n<p>2) Set all your already connected Nimble disks, and only Nimble disks,\u00a0to Path Selection Policy RoundRobin (VMW_PSP_RR) Handy in a mixed storage provider environment!<\/p>\n<p><em>for i in `esxcli storage nmp device list | awk &#8216;\/Nimble iSCSI Disk\/{print $7}&#8217; | sed -e &#8216;s\/(\/\/&#8217; -e &#8216;s\/)\/\/&#8217;`; do esxcli storage nmp device set -d $i &#8211;psp=VMW_PSP_RR;done<\/em><\/p>\n<p><!--?xml:namespace prefix = \"u2\" \/-->3) Set the IOPS to &#8220;1&#8221;in the Path Selection Policy VMW_PSP_RR for each connected Nimble disk as a new recommendation from NimbleStorage<\/p>\n<p><em>for i in `esxcli storage nmp device list | awk &#8216;\/Nimble iSCSI Disk\/{print $7}&#8217; | sed -e &#8216;s\/(\/\/&#8217; -e &#8216;s\/)\/\/&#8217;`; do esxcli storage nmp psp roundrobin deviceconfig set &#8211;type &#8220;iops&#8221; &#8211;iops=1 &#8211;device=$i; done<!--?xml:namespace prefix = \"u2\" \/--><\/em><\/p>\n<p>More info for ESXCLI command options at <a href=\"http:\/\/pubs.vmware.com\/vsphere-50\/index.jsp?topic=%2Fcom.vmware.vcli.examples.doc_50%2Fcli_manage_storage.6.5.html\">http:\/\/pubs.vmware.com\/vsphere-50\/index.jsp?topic=%2Fcom.vmware.vcli.examples.doc_50%2Fcli_manage_storage.6.5.html<\/a><br \/>\nDiscussion from Cormac Hogan at <a href=\"http:\/\/cormachogan.com\/2013\/07\/08\/automating-the-iops-setting-in-the-round-robin-psp\/\">http:\/\/cormachogan.com\/2013\/07\/08\/automating-the-iops-setting-in-the-round-robin-psp\/<\/a><\/p>\n<p>[EDIT]<\/p>\n<p>I asked Nimble how they got to the IOPS=1 part, and they said:<\/p>\n<p><em>&#8220;This is as the result of extensive internal testing. We have nothing available for customers, this was changed due to an issue we identified when migrating host profiles and is also set automatically by our NCM plugin.&#8221;<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OK, just a small thing I&#8217;d like to share: When checking an iSCSI\u00a0Nimble setup, 3 tiny commands can make your life a lot easier. In VMware ESXi 5.lul, SSH to a host and get your storage straight: 1) If not already done so: change the default Path Selection Policy to Round Robin for new disks: &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.infrastructurematters.nl\/?p=154\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;3 commands for easy Nimble&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[3,6],"tags":[37,36,35,34],"class_list":["post-154","post","type-post","status-publish","format-standard","hentry","category-storage","category-virtualisation","tag-iscsi","tag-nimble","tag-psp","tag-vmware"],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5hbZj-2u","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.infrastructurematters.nl\/index.php?rest_route=\/wp\/v2\/posts\/154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infrastructurematters.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infrastructurematters.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infrastructurematters.nl\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infrastructurematters.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=154"}],"version-history":[{"count":13,"href":"https:\/\/www.infrastructurematters.nl\/index.php?rest_route=\/wp\/v2\/posts\/154\/revisions"}],"predecessor-version":[{"id":160,"href":"https:\/\/www.infrastructurematters.nl\/index.php?rest_route=\/wp\/v2\/posts\/154\/revisions\/160"}],"wp:attachment":[{"href":"https:\/\/www.infrastructurematters.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infrastructurematters.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infrastructurematters.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}