{"id":609,"date":"2021-02-23T18:44:35","date_gmt":"2021-02-23T18:44:35","guid":{"rendered":"http:\/\/192.168.8.14\/?p=609"},"modified":"2021-02-23T18:44:35","modified_gmt":"2021-02-23T18:44:35","slug":"change-netapp-fc-ports-to-ethernet","status":"publish","type":"post","link":"https:\/\/www.jasonstreet.com\/?p=609","title":{"rendered":"Change NetApp FC ports to Ethernet"},"content":{"rendered":"\n<p>I was recently in a situation at work when I needed to stop work on a NetApp AFF redeploy and mount the SAN so some of its original data could be recovered. Now the SAN used Fiber Channel in its old location and its new location was Ethernet.<\/p>\n\n\n\n<p>At this point I have re-IPed the Service Processors and was about to factory reset the unit. But now I needed present the LUNs to VMware. To do this I needed to remove the FC ports and mount the LUNs using iSCSI over Ethernet.<\/p>\n\n\n\n<p>After allot of fruitless searching I remembered my college Mick did the same thing with this SANs DR target. He even blogged about it.<\/p>\n\n\n\n<p>Micks Blog post is here.<br><a href=\"https:\/\/www.jordansphere.co.uk\/convert-netapp-ports-from-fc-to-cna\/\">https:\/\/www.jordansphere.co.uk\/convert-netapp-ports-from-fc-to-cna\/<\/a><\/p>\n\n\n\n<p>I needed to convert ports e0e &#8211; e0h from Fiber Channel to CNA (Ethernet)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"837\" src=\"http:\/\/192.168.8.14\/wp-content\/uploads\/2020\/11\/AFF-A300_Back-1024x837.jpg\" alt=\"\" class=\"wp-image-612\" srcset=\"https:\/\/www.jasonstreet.com\/wp-content\/uploads\/2020\/11\/AFF-A300_Back-1024x837.jpg 1024w, https:\/\/www.jasonstreet.com\/wp-content\/uploads\/2020\/11\/AFF-A300_Back-300x245.jpg 300w, https:\/\/www.jasonstreet.com\/wp-content\/uploads\/2020\/11\/AFF-A300_Back-768x628.jpg 768w, https:\/\/www.jasonstreet.com\/wp-content\/uploads\/2020\/11\/AFF-A300_Back-850x695.jpg 850w, https:\/\/www.jasonstreet.com\/wp-content\/uploads\/2020\/11\/AFF-A300_Back.jpg 1192w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>So, once I am SSHed to the cluster I enter the following to display the FC ports. Note I am in standard admin mode.<\/p>\n\n\n\n<p>First I need to see the ports I want to convert.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nucadmin show\n<\/pre><\/div>\n\n\n<p>And I get the following<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n                       Current  Current    Pending  Pending    Admin\nNode          Adapter  Mode     Type       Mode     Type       Status\n\u2014\u2014\u2014\u2014  \u2014\u2014-  \u2014\u2014-  \u2014\u2014\u2014  \u2014\u2014-  \u2014\u2014\u2014  \u2014\u2014\u2014\u2013\nsan01-01\n              0e       fc       target     \u2013        \u2013          online\nsan01-01\n              0f       fc       target     \u2013        \u2013          online\nsan01-01\n              0g       fc       target     \u2013        \u2013          online\nsan01-01\n              0h       fc       target     \u2013        \u2013          online\nsan01-02\n              0e       fc       target     \u2013        \u2013          online\nsan01-02\n              0f       fc       target     \u2013        \u2013          online\nsan01-02\n              0g       fc       target     \u2013        \u2013          online\nsan01-02\n              0h       fc       target     \u2013        \u2013          online\n8 entries were displayed.\n<\/pre><\/div>\n\n\n<p>Next I need to disable these ports.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnetwork fcp adapter modify -node san01-01 -adapter 0e -status-admin down\nnetwork fcp adapter modify -node san01-01 -adapter 0f -status-admin down\nnetwork fcp adapter modify -node san01-01 -adapter 0g -status-admin down\nnetwork fcp adapter modify -node san01-01 -adapter 0h -status-admin down\nnetwork fcp adapter modify -node san01-02 -adapter 0e -status-admin down\nnetwork fcp adapter modify -node san01-02 -adapter 0f -status-admin down\nnetwork fcp adapter modify -node san01-02 -adapter 0g -status-admin down\nnetwork fcp adapter modify -node san01-02 -adapter 0h -status-admin down\n<\/pre><\/div>\n\n\n<p>Now the ports are disabled I can change them to cna mode.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsystem node hardware unified-connect modify -node san01-01 -adapter 0e -mode cna\nsystem node hardware unified-connect modify -node san01-01 -adapter 0f -mode cna\nsystem node hardware unified-connect modify -node san01-01 -adapter 0g -mode cna\nsystem node hardware unified-connect modify -node san01-01 -adapter 0h -mode cna\nsystem node hardware unified-connect modify -node san01-02 -adapter 0e -mode cna\nsystem node hardware unified-connect modify -node san01-02 -adapter 0f -mode cna\nsystem node hardware unified-connect modify -node san01-02 -adapter 0g -mode cna\nsystem node hardware unified-connect modify -node san01-02 -adapter 0h -mode cna\n<\/pre><\/div>\n\n\n<p>When converting adapters 0e and 0g you will be asked for confirmation<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nWarning: Mode on adapter 0e and also adapter 0f will be changed to cna.\nDo you want to continue? {y|n}: y\n\nAny changes will take effect after rebooting the system. Use the &quot;system node reboot&quot; command to reboot.\n<\/pre><\/div>\n\n\n<p>Just enter &#8220;y&#8221; and carry on.<\/p>\n\n\n\n<p>Once done you will have to reboot each controller. <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsystem node reboot -node san01-01\n<\/pre><\/div>\n\n\n<p>One at a time<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsystem node reboot -node san01-02\n<\/pre><\/div>\n\n\n<p>Once both controllers are back up, SSH back on to the cluster and enable the now Ethernet ports.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnetwork fcp adapter modify -node san01-01 -adapter 0e -status-admin up\nnetwork fcp adapter modify -node san01-01 -adapter 0f -status-admin up\nnetwork fcp adapter modify -node san01-01 -adapter 0g -status-admin up\nnetwork fcp adapter modify -node san01-01 -adapter 0h -status-admin up\nnetwork fcp adapter modify -node san01-02 -adapter 0e -status-admin up\nnetwork fcp adapter modify -node san01-02 -adapter 0f -status-admin up\nnetwork fcp adapter modify -node san01-02 -adapter 0g -status-admin up\nnetwork fcp adapter modify -node san01-02 -adapter 0h -status-admin up\n<\/pre><\/div>\n\n\n<p>There you go.<\/p>\n\n\n\n<p>Thank you Mick for the initial pain of finding this info. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was recently in a situation at work when I needed to stop work on a NetApp AFF redeploy and mount the SAN so some of its original data could be recovered. Now the SAN used Fiber Channel in its old location and its new location was Ethernet. At this point I have re-IPed the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[58,59],"tags":[112,116,115,111,114,60,113],"class_list":["post-609","post","type-post","status-publish","format-standard","hentry","category-netapp","category-ontap","tag-aff","tag-convert","tag-ethernet","tag-fas","tag-fc","tag-netapp","tag-ports"],"_links":{"self":[{"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/posts\/609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=609"}],"version-history":[{"count":5,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/posts\/609\/revisions"}],"predecessor-version":[{"id":616,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/posts\/609\/revisions\/616"}],"wp:attachment":[{"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}