{"id":4103,"date":"2024-04-17T19:56:27","date_gmt":"2024-04-17T19:56:27","guid":{"rendered":"https:\/\/geekmungus.co.uk\/?p=4103"},"modified":"2024-04-17T19:57:40","modified_gmt":"2024-04-17T19:57:40","slug":"hpe-nimble-storage-change-target-iqn-following-a-group-name-change","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=4103","title":{"rendered":"HPE Nimble Storage &#8211; Change Target IQN Following a Group Name Change"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">We were conducting a data centre relocation which involved moving an HPE Nimble Storage array, changing the array name and group is straight forward enough, this can be done from the GUI within the &#8220;Hardware&#8221; section. However once changed clients still see the old group name which included the old name of the array.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Resolving this is quite straight forward, however you must ensure you do not have any clients actively consuming storage when you make the change.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Additionally you must ensure that all the volumes are offline before changing the group IQN (iSCSI Target Name).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First run this to see the current iSCSI Target Name:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>group --info<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should see the target name, something like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>iSCSI Target Name: iqn.2007-11.com.nimblestorage:<strong>oldsite-nimble-01-g511c610c21bb709a<\/strong><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To change it, you need to use the CLI, by running the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>group --edit --iscsi_target_name newsite-nimble-01-g511c610c21bb709a<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You only need to specify the last part in the command, i.e. you don&#8217;t need to specify the <em>&#8220;iqn.2007-11.com.nimblestorage:&#8221;<\/em> in the command, this gets added automatically.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once entered you then will see this when running the &#8220;group &#8211;info&#8221; command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>iSCSI Target Name: iqn.2007-11.com.nimblestorage:<strong>newsite-nimble-01-g511c610c21bb709a<\/strong><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see its updated. Once the change is made you can online all your volumes and reconnect your iSCSI clients.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on the iSCSI client the procedure is different but you should ensure the old iQN is removed (Static Target on VMware for example), and rescan the client to ensure it has picked up the new iQN name of the HPE Nimble Storage iSCSI Target.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We were conducting a data centre relocation which involved moving an HPE Nimble Storage array, changing the array name and group is straight forward enough, this can be done from the GUI within the &#8220;Hardware&#8221; section. However once changed clients still see the old group name which included the old name of the array. Resolving &#8230; <a title=\"HPE Nimble Storage &#8211; Change Target IQN Following a Group Name Change\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=4103\" aria-label=\"Read more about HPE Nimble Storage &#8211; Change Target IQN Following a Group Name Change\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-4103","post","type-post","status-publish","format-standard","hentry","category-nimble-storage"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4103"}],"version-history":[{"count":2,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4103\/revisions"}],"predecessor-version":[{"id":4105,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4103\/revisions\/4105"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}