<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CDOT 8.3 Create Role to limit a user to only Shutdown nodes in a Cluster in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/125945#M27154</link>
    <description>&lt;P&gt;Page 127 of&amp;nbsp;&lt;A href="https://library.netapp.com/ecm/ecm_download_file/ECMLP2348035" target="_blank"&gt;https://library.netapp.com/ecm/ecm_download_file/ECMLP2348035&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;security login role create -role rHaltUser -access admin -cmddirname "system node halt"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe it should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;security login role create -role rHaltUser -access all -cmddirname "system node halt"&lt;/PRE&gt;&lt;P&gt;Let me know how it goes!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Dec 2016 04:15:59 GMT</pubDate>
    <dc:creator>AlexDawson</dc:creator>
    <dc:date>2016-12-05T04:15:59Z</dc:date>
    <item>
      <title>CDOT 8.3 Create Role to limit a user to only Shutdown nodes in a Cluster</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/125938#M27148</link>
      <description>&lt;P&gt;I am trying to create a role that will&amp;nbsp;limit&amp;nbsp;a user to login via ssh and&amp;nbsp;only halt the nodes in the Cluster, using the -inhibit-takeover true&amp;nbsp;and -skip-lif-migration-before-shutdown true options.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user will connect to the first node and run:&lt;/P&gt;&lt;P&gt;cluster1::&amp;gt; system node halt -node Cluster-01 -inhibit-takeover true -skip-lif-migration-before-shutdown true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connect second controller and run:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cluster1::&amp;gt; system node halt -node Cluster-02 -inhibit-takeover true -skip-lif-migration-before-shutdown true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have created a role named rHaltUser with the following permissions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cluster1::&amp;gt; security login role create -role rHaltUser -access admin -cmddirname "system node halt"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also created a user named haltuser and assigned the rHaltUser role..&lt;/P&gt;&lt;P&gt;cluster1::&amp;gt; security login create -vserver&amp;nbsp;cluster1 -user-or-group-name&amp;nbsp;haltuser -application&amp;nbsp;ontapi -authmethod password -role rHaltUser&lt;/P&gt;&lt;P&gt;cluster1::&amp;gt; security login create -vserver&amp;nbsp;cluster1 -user-or-group-name&amp;nbsp;haltuser -application&amp;nbsp;ssh -authmethod password -role rHaltUser&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to halt the nodes, but not invoke the -inhibit-takeover true&amp;nbsp;and -skip-lif-migration-before-shutdown true options.&lt;/P&gt;&lt;P&gt;do I need to add addtional -cmddirname permissions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions welcomed.&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 18:07:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/125938#M27148</guid>
      <dc:creator>DREdwards</dc:creator>
      <dc:date>2025-06-04T18:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT 8.3 Create Role to limit a user to only Shutdown nodes in a Cluster</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/125945#M27154</link>
      <description>&lt;P&gt;Page 127 of&amp;nbsp;&lt;A href="https://library.netapp.com/ecm/ecm_download_file/ECMLP2348035" target="_blank"&gt;https://library.netapp.com/ecm/ecm_download_file/ECMLP2348035&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;security login role create -role rHaltUser -access admin -cmddirname "system node halt"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe it should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;security login role create -role rHaltUser -access all -cmddirname "system node halt"&lt;/PRE&gt;&lt;P&gt;Let me know how it goes!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 04:15:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/125945#M27154</guid>
      <dc:creator>AlexDawson</dc:creator>
      <dc:date>2016-12-05T04:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT 8.3 Create Role to limit a user to only Shutdown nodes in a Cluster</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/126098#M27200</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; That works. Much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 13:41:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/126098#M27200</guid>
      <dc:creator>DREdwards</dc:creator>
      <dc:date>2016-12-09T13:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT 8.3 Create Role to limit a user to only Shutdown nodes in a Cluster</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/126102#M27201</link>
      <description>&lt;P&gt;Do you know which ontapi -cmddirname that will allow the user to perform the below command during the system node halt:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;-skip-lif-migration-before-shutdown true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that the haltuser can only shut down the node that does not hold epsilon.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 15:50:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/126102#M27201</guid>
      <dc:creator>DREdwards</dc:creator>
      <dc:date>2016-12-09T15:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT 8.3 Create Role to limit a user to only Shutdown nodes in a Cluster</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/126109#M27204</link>
      <description>&lt;P&gt;Can you execute "set -confirmations off" in the same command session before issuing the shutdown command? That should fix that.&amp;nbsp;Alternatively,&lt;SPAN&gt;&amp;nbsp;adding "-ignore-quorum-warnings true" to the halt command might do it&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 03:08:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/126109#M27204</guid>
      <dc:creator>AlexDawson</dc:creator>
      <dc:date>2016-12-12T03:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT 8.3 Create Role to limit a user to only Shutdown nodes in a Cluster</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/126149#M27219</link>
      <description>&lt;P&gt;I received the following error message 'not authorized for that command' when halting the second node using a custom account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found an article (917335) that states: If you run the 'system node halt' command on the local node by using a user&amp;nbsp;&amp;nbsp;name with a role that has 'DEFAULT' and the access level is 'none', the command&amp;nbsp;&amp;nbsp;fails with the following error message:&lt;BR /&gt;&amp;nbsp;Error: not authorized for that command&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Workaround:&amp;nbsp; To prevent the 'system node halt' command from failing, perform one of the&amp;nbsp;following steps:&lt;BR /&gt;&amp;nbsp;- Run the command by using a user name with a role that has 'DEFAULT' and the access level is 'all'.&lt;BR /&gt;&amp;nbsp;- Run the command from a node other than the one you are attempting to halt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you create a custome role, "DEFAULT" is also created for that role with an access level of "none".&lt;/P&gt;&lt;P&gt;I modifued "DEFAULT for that role&amp;nbsp;to an access level of "all" and was able to halt both nodes without error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again...&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 19:22:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/126149#M27219</guid>
      <dc:creator>DREdwards</dc:creator>
      <dc:date>2016-12-12T19:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: CDOT 8.3 Create Role to limit a user to only Shutdown nodes in a Cluster</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/126440#M27296</link>
      <description>&lt;P&gt;&lt;STRONG&gt;There are several issues with this workaround:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If you give ‘DEFAULT’ the access level of ‘all’, then you grant that custom (haltuser) account full access to execute all commands on the storage system.&lt;/LI&gt;&lt;LI&gt;Once you have already halted one node, you cannot run the command from another node if you only have a two-node cluster.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the BUG details, this problem was fixed in Data ONTAP 9.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 21:47:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CDOT-8-3-Create-Role-to-limit-a-user-to-only-Shutdown-nodes-in-a-Cluster/m-p/126440#M27296</guid>
      <dc:creator>DREdwards</dc:creator>
      <dc:date>2016-12-20T21:47:03Z</dc:date>
    </item>
  </channel>
</rss>

