<?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 Shutdown Script with RBAC in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Shutdown-Script-with-RBAC/m-p/113490#M4607</link>
    <description>&lt;P&gt;Hi folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to do an automated shutdown using powershell toolkit, involving Invoke-NCSsh (Clustered DataONTAP)&lt;/P&gt;
&lt;P&gt;Problem is, as long as the user (in the script) has the role set DEFAULT = ALL this script works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;connect first controller&lt;/P&gt;
&lt;P&gt;system node halt -node Cluster-01 -inhibit-takeover true -skip-lif-migration-before-shutdown true&lt;/P&gt;
&lt;P&gt;connect second controller&lt;/P&gt;
&lt;P&gt;&lt;SPAN&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;prompts "Error not authorized for that command"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As soon as I change the role of the user to DEFAULT=read-only and grant only access to "system" = all, this script won't work.&lt;/P&gt;
&lt;P&gt;A normal SSH session via putty and the same user lets me halt the controllers manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am I missing something in the RBAC rights management?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 22:33:32 GMT</pubDate>
    <dc:creator>DAMNX6789</dc:creator>
    <dc:date>2025-06-04T22:33:32Z</dc:date>
    <item>
      <title>Shutdown Script with RBAC</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Shutdown-Script-with-RBAC/m-p/113490#M4607</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to do an automated shutdown using powershell toolkit, involving Invoke-NCSsh (Clustered DataONTAP)&lt;/P&gt;
&lt;P&gt;Problem is, as long as the user (in the script) has the role set DEFAULT = ALL this script works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;connect first controller&lt;/P&gt;
&lt;P&gt;system node halt -node Cluster-01 -inhibit-takeover true -skip-lif-migration-before-shutdown true&lt;/P&gt;
&lt;P&gt;connect second controller&lt;/P&gt;
&lt;P&gt;&lt;SPAN&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;prompts "Error not authorized for that command"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As soon as I change the role of the user to DEFAULT=read-only and grant only access to "system" = all, this script won't work.&lt;/P&gt;
&lt;P&gt;A normal SSH session via putty and the same user lets me halt the controllers manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am I missing something in the RBAC rights management?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 22:33:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Shutdown-Script-with-RBAC/m-p/113490#M4607</guid>
      <dc:creator>DAMNX6789</dc:creator>
      <dc:date>2025-06-04T22:33:32Z</dc:date>
    </item>
  </channel>
</rss>

