<?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: Remotly shuting down FAS 2020 via script. in ONTAP Hardware</title>
    <link>https://community.netapp.com/t5/ONTAP-Hardware/Remotly-shuting-down-FAS-2020-via-script/m-p/70054#M4945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use rsh (not secure) or ssh (more secure). By the way, if you use halt with the "-f" option, you do not need to disable cluster. That way, cf will get enabled automatically again after a reboot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For rsh, you will need to setup a host that may access the filer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options rsh.enable on&lt;/P&gt;&lt;P&gt;options rsh.access host=&amp;lt;ip-addres or hostname from which you run the script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the script, you can run the commands like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rsh filer1 -l root halt -t 3 -f&lt;/P&gt;&lt;P&gt;rsh filer2 -l root halt -t 4 -f&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For SSH, setup is a bit more difficult, especially if you run the script from a windows host. A good example is in this KB article: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://kb.netapp.com/support/index?page=content&amp;amp;id=1011670" target="_blank"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=1011670&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2011 09:06:11 GMT</pubDate>
    <dc:creator>avbohemen</dc:creator>
    <dc:date>2011-07-08T09:06:11Z</dc:date>
    <item>
      <title>Remotly shuting down FAS 2020 via script.</title>
      <link>https://community.netapp.com/t5/ONTAP-Hardware/Remotly-shuting-down-FAS-2020-via-script/m-p/70050#M4944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is to&lt;/P&gt;&lt;P&gt;How to shutdown FAS 2020 (no external shelfs) remotly via script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I nead to disable active/active configuration &lt;/P&gt;&lt;P&gt;shut down filer 1&lt;/P&gt;&lt;P&gt;shut down filer 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured It would start like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#login to filer 1 with root account&lt;/P&gt;&lt;P&gt;cf disable &lt;/P&gt;&lt;P&gt;halt -t 3 -f # shuting down filer 1 with 3 minut delay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#login to filer 2 with root account&lt;/P&gt;&lt;P&gt;halt - 4&amp;nbsp; -f #shuting down filer 1 with 4 minut delay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how do I execute thic script on filer &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;via telnet or something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:51:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Hardware/Remotly-shuting-down-FAS-2020-via-script/m-p/70050#M4944</guid>
      <dc:creator>starapigwa123</dc:creator>
      <dc:date>2025-06-05T06:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Remotly shuting down FAS 2020 via script.</title>
      <link>https://community.netapp.com/t5/ONTAP-Hardware/Remotly-shuting-down-FAS-2020-via-script/m-p/70054#M4945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use rsh (not secure) or ssh (more secure). By the way, if you use halt with the "-f" option, you do not need to disable cluster. That way, cf will get enabled automatically again after a reboot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For rsh, you will need to setup a host that may access the filer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options rsh.enable on&lt;/P&gt;&lt;P&gt;options rsh.access host=&amp;lt;ip-addres or hostname from which you run the script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the script, you can run the commands like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rsh filer1 -l root halt -t 3 -f&lt;/P&gt;&lt;P&gt;rsh filer2 -l root halt -t 4 -f&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For SSH, setup is a bit more difficult, especially if you run the script from a windows host. A good example is in this KB article: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://kb.netapp.com/support/index?page=content&amp;amp;id=1011670" target="_blank"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=1011670&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 09:06:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Hardware/Remotly-shuting-down-FAS-2020-via-script/m-p/70054#M4945</guid>
      <dc:creator>avbohemen</dc:creator>
      <dc:date>2011-07-08T09:06:11Z</dc:date>
    </item>
    <item>
      <title>Remotly shuting down FAS 2020 via script.</title>
      <link>https://community.netapp.com/t5/ONTAP-Hardware/Remotly-shuting-down-FAS-2020-via-script/m-p/70059#M4946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when using rsh what about providing password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like using windows to run the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It dosent have to be secure connection &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 09:12:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Hardware/Remotly-shuting-down-FAS-2020-via-script/m-p/70059#M4946</guid>
      <dc:creator>starapigwa123</dc:creator>
      <dc:date>2011-07-08T09:12:42Z</dc:date>
    </item>
    <item>
      <title>Remotly shuting down FAS 2020 via script.</title>
      <link>https://community.netapp.com/t5/ONTAP-Hardware/Remotly-shuting-down-FAS-2020-via-script/m-p/70064#M4947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With rsh you don't need to provide the password (that's why it is not secure - no password required and no encrypted network connection). Oh, and on Windows 2008/Vista and higher you don't have rsh anymore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 09:20:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Hardware/Remotly-shuting-down-FAS-2020-via-script/m-p/70064#M4947</guid>
      <dc:creator>avbohemen</dc:creator>
      <dc:date>2011-07-08T09:20:34Z</dc:date>
    </item>
  </channel>
</rss>

