Advertise with Googlier.com  John Wray's Blog - Storage Misc Work Stuff that I would probably forget in six months... http://blog.johnwray.com/ http://www.rssboard.org/rss-specification BlogEngine.NET 3.3.8.0 en-GB http://blog.johnwray.com/opml.axd http://www.dotnetblogengine.net/syndication.axd John C. Wray III John Wray's Blog 0.000000 0.000000 7-Mode snapmirror to CDoT cli <p><a href="http://mysupport.netapp.com/NOW/cgi-bin/software/?product=7-Mode+Transition+Tool&amp;platform=Windows" target="_blank">NetApp has a 7-mode migration tool you can also use to do this.</a> CLI manually seems easier to me. You don't have to install software anywhere. This assumes you have the intercluster lif ip addresses added to the 7-mode controller's snapmirror.allow file. You cannot snapmirror between the systems without an intercluster lif on the CDoT system. You will need an intercluster lif on each node in the cluster that can route to the 7-mode system.<br /><br />1. Create a transition peer relationship</p> <div style="margin-left: 40px;">vserver peer transition create -local-vserver <span style="font-weight: bold;">&lt;cluster name&gt; </span>-src-filer-name <span style="font-weight: bold;">&lt;7-Mode Controller&gt;</span></div> <p><span style="font-weight: bold;">&nbsp;</span></p> <p>2. Create the volume to use for the mirror on the cluster side.</p> <p style="margin-left: 40px;">volume create -vserver <span style="font-weight: bold;">&lt;SVM on cluster&gt;</span> -volume <span style="font-weight: bold;">&lt;mirror name&gt;</span> -aggregate aggr1_01 -size 4t -space-guarantee none -percent-snapshot-space 0 -type DP</p> <p style="margin-left: 40px;">This creates a thin provisioned volume on the storage virtual machine that will eventually be using this volume. The aggregate, size, naming will be specific to your environment.</p> <p>3.&nbsp; Create the snapmirror relationship, type, and schedule.</p> <div style="margin-left: 40px;">snapmirror create -source-path <span style="font-weight: bold;">&lt;7-mode controlle&gt;:&lt;source volume&gt;</span>&nbsp; -destination-path <span style="font-weight: bold;">&lt;svm&gt;:&lt;snapmirror volume&gt;</span> -type TDP -schedule hourly</div> <p>4. Initialize the mirror</p> <div style="margin-left: 40px;">snapmirror initialize -destination-path <span style="font-weight: bold;">&lt;svm&gt;:&lt;snapmirror volume&gt;</span><br />Once the initialization completes it will sync on the hour if you chose hourly.</div> <p>You see the progress by using snapmirror show. Keep in mind CDoT does not constantly update the stats so you may not see change for 5 minutes or so. If you want more live stats, you can do a snapmirror status on the 7-mode controller.<br /><br /></p> http://blog.johnwray.com/post/2014/09/25/7-mode-snapmirror-to-cdot-cli john@johnwray.com http://blog.johnwray.com/post/2014/09/25/7-mode-snapmirror-to-cdot-cli#comment http://blog.johnwray.com/post.aspx?id=07179b06-1390-494d-becd-96a9db631e4c Thu, 25 Sep 2014 00:17:00 -0500 Storage NetApp 7-Mode CDOT John C. Wray III http://blog.johnwray.com/pingback.axd http://blog.johnwray.com/post.aspx?id=07179b06-1390-494d-becd-96a9db631e4c 0 http://blog.johnwray.com/trackback.axd?id=07179b06-1390-494d-becd-96a9db631e4c http://blog.johnwray.com/post/2014/09/25/7-mode-snapmirror-to-cdot-cli#comment http://blog.johnwray.com/syndication.axd?post=07179b06-1390-494d-becd-96a9db631e4c NetApp CDoT Move Root Aggregate <div class="attr STEP"> <div class="content"> <p>Taken straight from NetApp's site.</p> <p><a href="https://kb.netapp.com/support/index?page=content&amp;id=3013873&amp;locale=en_US">https://kb.netapp.com/support/index?page=content&amp;id=3013873&amp;locale=en_US</a></p> <p>In clustered Data ONTAP 8.2, it has become a lot easier to move the root volume to a new root aggregate than it was in earlier releases. Still, there are a number of steps involved, especially if the maintenance is to be non-disruptive.</p> <p class="im-warning">Warning: Although not required, it is recommended to upgrade to 8.2.1P1 or 8.2.2RC1 (or an as of the writing of this document not available later release) before doing this maintenance, to avoid Burt # <a href="http://support.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;Display=810014"><u><span style="color: #0066cc;">810014</span></u></a>.&nbsp;Due to the nature of this bug, avoid moving the root aggregate more than 1 time if possible.</p> <p>Due to the possible impact of a system that is down for the duration of this maintenance on other nodes in the cluster, the first steps are somewhat different for 2-node, 4-node, or larger clusters, and exist to protect data access in the rest of the cluster. <br /><br /> In the example below, <code><span style="font-family: 'Courier New';">root aggregate aggr0_node1</span></code> on node01 is going to be hosted on 3 manually specified drives.</p> <p class="im-warning">Warning:&nbsp;Below steps marked in green are very important to perform first. If the steps for 2-node or 4-node clusters are not performed, you will risk an outage of all nodes in the cluster, and will need to contact support to get data access recovered, this can possibly take hours. There have been users who have skipped these pre-steps and have experienced real outages as a result.</p> <p><strong>Important</strong>: <span style="background-color: lime;"><strong>If you are running a 2-node cluster</strong></span><strong>,</strong> make sure to disable cluster HA prior to maintenance (this will not disable failover but will change quorum voting for 2-node clusters) and make sure the node that will not be changed (the partner node of the system being worked on) is set to be epsilon.<br /><span style="font-family: 'Courier New';"><code>::&gt;cluster ha modify -configured false<br /> ::&gt; set adv<br /> ::*&gt;&nbsp; cluster modify -node node01 -epsilon false<br /> ::*&gt;&nbsp; cluster modify -node node02 -epsilon true<br /> ::*&gt;&nbsp; cluster show</code><br /><br /></span> The commands above will allow halting node01 to maintenance mode without a takeover (required for some of the steps later on), and prevent node02 from going out of quorum as a result. Prior to this halt, relevant storage will be moved to node02 so it can continue to be served in steps below. If above steps are not followed in a 2-node cluster, the surviving node hosting all the storage will not serve any of it or it's partner's data and there will be an outage of all data on both nodes of the 2-node cluster.<br /><br /><span style="background-color: lime;"><strong>If you are running a 4-node cluster</strong></span>, run the following prior to maintenance. Check if the node you are working on is epsilon; if it is, move epsilon to a different node in the cluster to reduce the risk of a cluster quorum loss in case of an unexpected failover in other parts of the cluster. <br /><code><span style="font-family: 'Courier New';">::&gt; set adv<br /> ::*&gt;&nbsp; cluster show<br /> ::*&gt;&nbsp; cluster modify -node node01 -epsilon false<br /> ::*&gt;&nbsp; cluster modify -node node03 -epsilon true<br /> ::*&gt;&nbsp; cluster show</span></code></p> <p><span style="background-color: lime;"><strong>If you are running a cluster with more than 4 nodes, no additional protections are neccessary.</strong></span></p> <p><strong>Important</strong>: Check the administration documentation on size requirements for the root volume for the platform you are using. If the new root aggregate drives you are using are smaller in size, you may need to have a root aggregate of more than 3 disks to acommodate for the space.</p> <p><strong><span style="background-color: lime;">If you are running a cluster with only a single node, please refer to&nbsp; </span></strong>KB <a href="http://kb.netapp.com/support/index?page=content&amp;id=1014615"><u><span style="color: #0066cc;">1014615</span></u></a> How to move mroot to a new root aggregate in a single node cluster. Single node cluster root volume migration cannot be done non-disruptively.</p> </div> </div> <div class="attr STEP"> <div class="content"> <p>Perform the following steps to create the new root aggregate and have it host the new root volume:</p> <ol> <li>Relocate the data aggregates on the node you want to change and move them to the partner. Include all SFO aggregates that have data volumes on them. <br /> Aggr relocate will cause the relevant aggregates to be reassigned to the partner. Any volumes in aggregates not relocated will be inaccessible during the maintenance, so be sure to verify afterwards if all aggregates with user data are moved. Once maintenance is done, be sure to move the aggregates back.<br /><code><span style="font-family: 'Courier New';">::&gt;aggr relocation start -node node01 -destination node02 -aggregate-list aggr1_node1,aggr2_node1</span></code></li> <li>Once you have successfully moved all data aggregates, only the root aggregate and at least 3 spare drives should remain on the maintenance node. Run the following to verify:<br /><span style="font-family: 'Courier New';"><code>::&gt; aggr show&nbsp; -nodes node01 -fields has-mroot <br /> aggregate&nbsp;&nbsp; has-mroot <br /> ----------- --------- </code><br /><code>aggr0_node1 true&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</code></span></li> <li>Create the new root aggregate with 3 disks, specifying the exact drives.<br /><span style="font-family: 'Courier New';"><code>::*&gt;aggr create -aggregate newroot -disklist node01:0a.11.16,node01:0a.11.19,node01:0a.11.22 -force-small-aggregate true</code><br /></span> ----&gt;Notice the requirement for the <code><span style="font-family: 'Courier New';">-force-small-aggregate true</span></code> flag due to the fact that there are only 3 drives. This is an advanced level option.</li> <li>Migrate all LIFs on the relevant node to other nodes in the cluster&nbsp;(make sure any failover groups are configured correctly!) <br /><code><span style="font-family: 'Courier New';">::*&gt;net int migrate-all -node node01</span></code></li> <li> <p class="im-warning">Verify that the aggregrate is fully created. If the drives used for the new aggregate were not zeroed beforehand, the aggregate creation may take some time. Don't start the next step until after the newly created root aggregate is fully ready.</p> You can verify the status with <code><span style="font-family: 'Courier New';">sysconfig -r</span></code> in the nodeshell of the relevant node. Again, this may take a few hours if no zeroed disks were available for disk creation.<br /><code><span style="font-family: 'Courier New';">::*&gt; run -node node01 sysconfig -r</span></code></li> <li>Verify all of above steps have been done correctly before doing below. Once you are confident of quorum settings (epsilon and cluster ha) are correct, the data aggregates and LIFs are moved to the right nodes, and the new root aggregate is fully created and ready, then reboot the node without takeover with the following command, and go to Maintenance mode. <br /><code><span style="font-family: 'Courier New';">::*&gt; reboot -node node01 -inhibit-takeover true<br /><br /> NetApp Data ONTAP 8.2 Cluster-Mode<br /> Copyright (C) 1992-2013 NetApp.<br /> All rights reserved.<br /> md1.uzip: 39168 x 16384 blocks<br /> md2.uzip: 7360 x 16384 blocks<br /> *******************************<br /> *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *<br /> * Press Ctrl-C for Boot Menu. *<br /> *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *<br /> *******************************&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br /> ^C^C^C^C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;------ Ctrl-C<br /> Boot Menu will be available.<br /><br /></span></code>Select&nbsp; one of the following:<code><br /><br /><span style="font-family: 'Courier New';"> (1) Normal Boot.<br /> (2) Boot without /etc/rc.<br /> (3) Change password.<br /> (4) Clean configuration and initialize all disks.<br /> (5) Maintenance mode boot.<br /> (6) Update flash from backup config.<br /> (7) Install new software first.<br /> (8) Reboot node.<br /> Selection (1-8)? 5&nbsp;&nbsp; &lt;---------------option 5<br /><br /></span></code></li> <li>Set the new aggregate to CFO, which allows it to become the new root aggregate. Then set the root flag, which will make it the new root aggregate. After booting, this aggregate will automatically have a new root volume pre-created. This new root volume is called AUTOROOT. (or AUTOROOT-1 if a volume with that name already exists)<br /><br /><code><span style="font-family: 'Courier New';">*&gt; aggr options newroot ha_policy cfo<br /> Setting ha_policy to cfo will substantially increase the client outage <br /> during giveback for volumes on aggregate "newroot".<br /><br /> Are you sure you want to proceed (y/n)? y<br /><br /> *&gt; aggr options newroot root<br /> Aggregate 'newroot' will become root at the next boot.<br /><br /> Bring the system back up so you can clear the recovery flag.<br /><br /> *&gt;halt<br /><br /> LOADER-A&gt; boot_ontap</span></code></li> <li>The system will now boot with a newly created skeleton root volume. Based on the data stored in the cf card and NVRAM, the node knows its identity in the cluster. Because the node previously had cluster database data in its root volume, and this volume is now empty, the system will set a recovery flag and give a warning at boot:<br /><br /><code><span style="font-family: 'Courier New';">Sep 11 17:00:33 [node01:mgmtgwd.rootvol.recovery.new:EMERGENCY]: A new root volume was detected. This node is not fully operational. Contact technical support to obtain the root volume recovery procedures. <br /> Sep 11 17:00:33 [node01:callhome.root.vol.recovery.reqd:EMERGENCY]: Call home for ROOT VOLUME NOT WORKING PROPERLY: RECOVERY REQUIRED. <br /><br /> Wed Sep 11 17:00:35 EST 2013<br /> login: admin<br /> Password:<br /> ******************************************************<br /> * This is a serial console session. Output from this *<br /> * session is mirrored on the SP/RLM console session. *<br /> ******************************************************<br /> *********************** <br /> **&nbsp; SYSTEM MESSAGES&nbsp; ** <br /> *********************** <br /><br /> A new root volume was detected.&nbsp; This node is not fully operational.&nbsp; Contact <br /> support personnel for the root volume recovery procedures.&nbsp; <br /></span></code></li> <li>To unset the recovery flag and let the node synchronize its cluster database with the rest of the cluster, bring the system to a halt:<br /><br /><code><span style="font-family: 'Courier New';">::*&gt; halt -node node01 -inhibit-takeover true<br /> (system node halt)<br /></span></code></li> <li>Unset the recovery flag at the loader prompt and boot the node back up.<br /><br /><span style="font-family: 'Courier New';"><code>LOADER-A*&gt; unsetenv bootarg.init.boot_recovery<br /> LOADER-A*&gt; boot_ontap </code><br /></span> The node should boot normally, without the recovery warning this time. It will take a few seconds at the end of the logging before the login prompt is visible while the node is synchronizing the cluster database.</li> <li>Check for the health of the node with cluster ring show in set advanced, all rings should show numbers.<br /><code><span style="font-family: 'Courier New';">::*&gt;set adv<br /><br /> Warning: These advanced commands are potentially dangerous; use them only when directed to do so by NetApp personnel.<br /> Do you want to continue? {y|n}: y<br /><br /> ::*&gt;cluster ring show <br /> Node&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UnitName Epoch&nbsp;&nbsp;&nbsp; DB Epoch DB Trnxs Master&nbsp;&nbsp;&nbsp; Online<br /> --------- -------- -------- -------- -------- --------- ---------<br /> cm3240c-rtp-01 <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mgmt&nbsp;&nbsp;&nbsp;&nbsp; 22&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2971287&nbsp; cm3240c-rtp-01 <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n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bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cm3240c-rtp-01 <br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; secondary</span></code></li> </ol> <p class="im-warning" style="margin-left: 40px;">Warning: If there are dashes or RPC&nbsp;errors for any of the rings shown instead of numbers in the 3 columns, wait for at least 10 more minutes and check cluster ring show again. If after waiting for 20 minutes after logging dashes or errors still show for some of the rows, contact NetApp support before taking further action.</p> <ol start="12"> <li><strong><span style="background-color: lime;">If you are running a 2-node cluster</span></strong>, run the following to re-enable HA after all rings show numbers:</li> </ol> <p style="margin-left: 40px;"><code><span style="font-family: 'Courier New';">::&gt;cluster ha modify -configured true</span></code></p> <p style="margin-left: 40px;">Check the health of the&nbsp;HA&nbsp;relationship:</p> <p style="margin-left: 40px;"><code><span style="font-family: 'Courier New';">::&gt; storage failover show<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Takeover<br /> Node&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Partner&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Possible State Description<br /> -------------- -------------- -------- -------------------------------------<br /> cm3240c-rtp-01 cm3240c-rtp-02 <span style="background-color: #ffff00;">true&nbsp;&nbsp;&nbsp;&nbsp; </span>Connected to cm3240c-rtp-02<br /> cm3240c-rtp-02 cm3240c-rtp-01 <span style="background-color: #ffff00;">true&nbsp;&nbsp;&nbsp;&nbsp; </span>Connected to cm3240c-rtp-01<br /> 2 entries were displayed.</span></code></p> <p style="margin-left: 40px;"><code><span style="font-family: 'Courier New';">::&gt; set diag <br /><br /> Warning: These diagnostic commands are for use by NetApp personnel only.<br /> Do you want to continue? {y|n}: y <br /><br /> ::*&gt; cluster ha show<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; High Availability Configured: <span style="background-color: #ffff00;">true</span><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; High Availability Backend Configured (MBX): <span style="background-color: #ffff00;">true</span><br /><br /></span></code></p> <p class="im-warning" style="margin-left: 40px;">Warning: If you see false after enabling HA, contact NetApp support before taking further action.</p> </div> </div> <div class="attr STEP"> <div class="content"> <p>Important Additional Cleanup steps:&nbsp;</p> <ol> <li>With the system back and in fully redundant state, you can now delete the old volume and aggregate. The old root volume is likely called vol0 (the default)&nbsp;but might be called something else. Check aggr status in the nodeshell to see what volume resides in the old root aggregate. In this example, it is called vol0.<br /><code><span style="font-family: 'Courier New';">::*&gt; run -node node01<br /><br /> node01&gt; vol offline vol0<br /> Volume 'vol0' is now offline.<br /> node01&gt; vol destroy vol0<br /> Are you sure you want to destroy volume 'vol0'? y<br /> Volume 'vol0' destroyed.<br /></span></code></li> <li>Return to the Cluster-shell to delete the old root aggregate<span style="font-family: 'Courier New';"><code>:&nbsp;<br /></code><code>::*&gt; aggr delete -aggregate aggr0_node1</code><br /></span> <p class="im-warning">Warning: Are you sure you want to destroy aggregate "aggr0_node1"? {y|n}: y<br /> [Job 110] Job succeeded: DONE</p> </li> <li>When moving the root volume, some of the volume and aggregate changes are done outside of the knowledge of the cluster database.<br /> As a result, it is important to make sure that the cluster database is modified to know about the aggregate and volume changes made during this maintenance. To make the volume location database aware of the changes, run the following diag level commands:<br /><span style="font-family: 'Courier New';"><code>::*&gt;set diag<br /> ::*&gt;volume remove-other-volume -volume vol0 -vserver node01<br /> ::*&gt;volume add-other-volumes -node node01<br /></code><br /></span> Verify the correctness of the vldb with the following diag level command:<br /><span style="font-family: 'Courier New';"><code>::*&gt;debug vreport show<br /> This table is currently empty.</code><br /><br /><code>Info: WAFL and VLDB volume/aggregate records are consistent.</code><br /></span> If the above message is displayed, it is confirmed that there are no issues reported.<br /> &nbsp;</li> <li>Move back the relocated aggregates as there are no issues:<br /><br /><code><span style="font-family: 'Courier New';">::&gt;aggr relocation start -node node02 -destination node01 -aggregate-list aggr1_node1,aggr2_node1<br /></span></code></li> <li>Add the NVFAIL option to the new root vol. <pre>::*&gt; node run -node node01 vol options AUTOROOT nvfail on ::*&gt; volume show -volume AUTOROOT -fields nvfail vserver volume nvfail ------------- -------- ------ node01 AUTOROOT on</pre> </li> <li>Rename the new root volume and new aggregate to the name before. The new root volume is most likely named AUTOROOT and it can be changed if desired. <br /> In this example, AUTOROOT volume is renamed to <code><span style="font-family: 'Courier New';">vol0</span></code> and the aggregate created as newroot is renamed <code><span style="font-family: 'Courier New';">as aggr0</span></code>.<br /><code><span style="font-family: 'Courier New';">::*&gt; vol rename -volume AUTOROOT -newname vol0 -vserver node01<br /> (volume rename)<br /> [Job 111] Job succeeded: Successful<br /> ::*&gt; aggr rename newroot -newname aggr0_node1<br /> [Job 112] Job succeeded: DONE</span></code></li> <li>There are size restrictions for the root volume. Make sure the root volume size is still correct and adheres to the size reqiurements as stated in the Data ONTAP system administration guide for your release. You might need to increase the size of the volume. If the new aggregate consists of smaller drives than the drives used before, it might need an additional disk to hold the space required.</li> </ol> </div> </div> http://blog.johnwray.com/post/2014/09/24/netapp-cdot-move-root-aggregate john@johnwray.com http://blog.johnwray.com/post/2014/09/24/netapp-cdot-move-root-aggregate#comment http://blog.johnwray.com/post.aspx?id=79d973e7-0f3f-4017-ae8b-60d98e18c359 Wed, 24 Sep 2014 03:46:00 -0500 Storage NetApp CDOT John C. Wray III http://blog.johnwray.com/pingback.axd http://blog.johnwray.com/post.aspx?id=79d973e7-0f3f-4017-ae8b-60d98e18c359 0 http://blog.johnwray.com/trackback.axd?id=79d973e7-0f3f-4017-ae8b-60d98e18c359 http://blog.johnwray.com/post/2014/09/24/netapp-cdot-move-root-aggregate#comment http://blog.johnwray.com/syndication.axd?post=79d973e7-0f3f-4017-ae8b-60d98e18c359 Convert 7-mode to CDoT on NetApp <h3>Clustered Ontap Change of Boot Loader</h3> <p>Stop the boot and go into the loader prompt.</p> <p>LOADER-A&gt;&gt; setenv bootarg.init.boot_clustered true</p> <p>LOADER-A&gt;&nbsp;setenv bootarg.bsdportname e0M</p> <p>LOADER-A&gt; boot_ontap</p> <p>Press CTRL-C to enter into the boot menu</p> <p>Once in the boot menu select option 4 to <em>Clean configuration and initialize all disks. </em></p> <p><strong>WARNING</strong>: This will erase your entire storage system, so unless you are doing this on a brand new system, a demo system, or an existing system that does not have any data on it, do not continue any further.</p> <p>&nbsp;</p> http://blog.johnwray.com/post/2014/09/22/convert-7-mode-to-cdot-on-netapp john@johnwray.com http://blog.johnwray.com/post/2014/09/22/convert-7-mode-to-cdot-on-netapp#comment http://blog.johnwray.com/post.aspx?id=9f2a1b11-bd2d-4dda-9ef3-4367375baa8c Mon, 22 Sep 2014 00:48:00 -0500 Storage NetApp 7-Mode CDOT John C. Wray III http://blog.johnwray.com/pingback.axd http://blog.johnwray.com/post.aspx?id=9f2a1b11-bd2d-4dda-9ef3-4367375baa8c 0 http://blog.johnwray.com/trackback.axd?id=9f2a1b11-bd2d-4dda-9ef3-4367375baa8c http://blog.johnwray.com/post/2014/09/22/convert-7-mode-to-cdot-on-netapp#comment http://blog.johnwray.com/syndication.axd?post=9f2a1b11-bd2d-4dda-9ef3-4367375baa8c