<?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: Netapp Zero Touch Provisioning in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/454677#M43888</link>
    <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/55504"&gt;@AlexDawson&lt;/a&gt;&amp;nbsp;When I used DHCP to assign IP to mgmt_auto LIF, ssh is enabled but I can not log in using admin account,&amp;nbsp; I have to run&amp;nbsp;&lt;SPAN&gt;security login create -user-or-group-name admin -application ssh -authentication-method password -role admin from console to allow admin to ssh.&amp;nbsp; &amp;nbsp;Is there a way to avoid console access to enable admin ssh access?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2024 15:06:54 GMT</pubDate>
    <dc:creator>PengZ</dc:creator>
    <dc:date>2024-08-23T15:06:54Z</dc:date>
    <item>
      <title>Netapp Zero Touch Provisioning</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/144223#M31938</link>
      <description>&lt;P&gt;We are trying to setup zero touch provisiong for Netapp CDOT systems.&lt;/P&gt;
&lt;P&gt;Does Netapp support any option to boot OnTap non-interactively, (may be using netboot) and configure interfaces, user account, and cluster ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 07:01:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/144223#M31938</guid>
      <dc:creator>rohancmr</dc:creator>
      <dc:date>2018-10-26T07:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Netapp Zero Touch Provisioning</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/144274#M31951</link>
      <description>&lt;P&gt;No - that functionality is not available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Storage systems operate across a continum of time, serving out data stored over time, managed and converted through a known set of tasks, not at a point in time, so the switch paragdim where ZTP is common doesn't really follow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is netboot functionality (requiring a specific image), but it is for restoring&amp;nbsp;systems with failed and/or replaced boot devices. Even factory configuration is performed by serial port connected automation of scripted commands. If you have enough systems, that may be worthwhile investigating.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Oct 2018 14:33:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/144274#M31951</guid>
      <dc:creator>AlexDawson</dc:creator>
      <dc:date>2018-10-27T14:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Netapp Zero Touch Provisioning</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/144282#M31955</link>
      <description>&lt;P&gt;Thank you for the response, AlexDawson.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have close to 50 Netapp storages&amp;nbsp;that needs to be configured.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 04:37:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/144282#M31955</guid>
      <dc:creator>rohancmr</dc:creator>
      <dc:date>2018-10-29T04:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Netapp Zero Touch Provisioning</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/442635#M41937</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/55504"&gt;@AlexDawson&lt;/a&gt;&amp;nbsp;Anything changed in last years?&lt;/P&gt;&lt;P&gt;We are looking at some way of auto-configuring the DOT system up to the point it's reachable via ssh/api so that automation can take over from there.&amp;nbsp;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 13:23:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/442635#M41937</guid>
      <dc:creator>AlexandruMihai</dc:creator>
      <dc:date>2023-03-21T13:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Netapp Zero Touch Provisioning</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/442779#M41962</link>
      <description>&lt;P&gt;Hi there! Blast from the past.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My original comments about ZTP paradigm for switches vs storage are overtaken by ansible, which uses the idea of idempotent states - so you tell ansible you want a netapp device configured a certain way, and it does what is needed to make that happen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, you need to be able to configure it, as you've noted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, where to go from there - new out of box nodes will present a cluster create/join on the CLI. This is also accessible via local subnet https API username admin and no password until the cluster is setup if dhcp is enabled on the subnet. So you should be able to use the cluster create API unauthenticated if you're on the same subnet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: As of 9.7, SSH to this LIF is apparently also supported, which would enable you to use "expect" scripts with ansible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps! Let me know - I haven't done it personally.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 04:14:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/442779#M41962</guid>
      <dc:creator>AlexDawson</dc:creator>
      <dc:date>2023-03-27T04:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Netapp Zero Touch Provisioning</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/451260#M43348</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/55504"&gt;@AlexDawson&lt;/a&gt;Write your contribution that there is a Cluster Create API. Could you tell me if there is also an example configuration file for it and if there is, where to find it. Thanks a lot&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 14:12:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/451260#M43348</guid>
      <dc:creator>M_Herrmanny</dc:creator>
      <dc:date>2024-03-06T14:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Netapp Zero Touch Provisioning</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/452067#M43531</link>
      <description>&lt;P&gt;Hello rohancmr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have solved this as follows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I execute the following command via the console.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl --user admin: -X POST "https://&amp;lt;dhcp_ip&amp;gt;/api/cluster?keep_precluster_config=true" -H "accept: application/hal+json" -d '{"name":"&amp;lt;cluster-name&amp;gt;","management_interface":{"ip":{"address":"&amp;lt;cluster_mgmt_ip&amp;gt;","netmask":"&amp;lt;netmask&amp;gt;","gateway":"&amp;lt;gateway&amp;gt;"}},"password":"&amp;lt;password&amp;gt;","nodes":[{"cluster_interface":{"ip":{"address":"&amp;lt;cluster_interlif_ip_node_a"}},"name":"&amp;lt;node_a_name&amp;gt;","management_interface":{"ip":{"address":"&amp;lt;node_a_mgnt_ip&amp;gt;"}}},{"cluster_interface":{"ip":{"address":"&amp;lt;cluster_interlif_ip_node_b"}},"name":"&amp;lt;node_b_name&amp;gt;","management_interface":{"ip":{"address":"&amp;lt;node_b_mgnt_ip"}}}]}' --insecure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I work with Ansible, I use na_ontap_rest_info to read out the first cluster interlif in advance and then pass it to the above command via a variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;REST info module Cluster Info Cluster Interface new2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;netapp.ontap.na_ontap_rest_info&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;hostname&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"{{ dhcp_node_a }}"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;password&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;gather_subset&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN&gt;cluster_node_info&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;fields&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN&gt;'cluster_interfaces'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;register&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;cluster_node_info_new2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have created the body as a template in Ansible and then call it via the&lt;BR /&gt;ansible.builtin.shell. The command is then executed there, whereby the file is called up after the -d.&lt;BR /&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;curl --user admin: -X POST 'https://{{ dhcp_ip_node_a }}/api/cluster?keep_precluster_config=true' -H 'accept: application/hal+json' -d @./files.json --insecure"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I can then configure the cluster and perform all other steps with Ansibel. The DHCP IP of Node A is read from the DHCP using the attached MAC of Node A and inserted. This means that only the MAC address of Node A needs to be scanned for a complete cluster installation.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Good luck with setting up the clusters.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Apr 2024 14:13:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/452067#M43531</guid>
      <dc:creator>M_Herrmanny</dc:creator>
      <dc:date>2024-04-16T14:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Netapp Zero Touch Provisioning</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/454677#M43888</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/55504"&gt;@AlexDawson&lt;/a&gt;&amp;nbsp;When I used DHCP to assign IP to mgmt_auto LIF, ssh is enabled but I can not log in using admin account,&amp;nbsp; I have to run&amp;nbsp;&lt;SPAN&gt;security login create -user-or-group-name admin -application ssh -authentication-method password -role admin from console to allow admin to ssh.&amp;nbsp; &amp;nbsp;Is there a way to avoid console access to enable admin ssh access?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 15:06:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/454677#M43888</guid>
      <dc:creator>PengZ</dc:creator>
      <dc:date>2024-08-23T15:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Netapp Zero Touch Provisioning</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/455511#M44021</link>
      <description>&lt;P&gt;Figured out, I picked up cluster IPs when I tried to set it up.&amp;nbsp; I need to find the cluster IPs&amp;nbsp; as M_Herrmanny mentioned.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 17:24:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Netapp-Zero-Touch-Provisioning/m-p/455511#M44021</guid>
      <dc:creator>PengZ</dc:creator>
      <dc:date>2024-09-30T17:24:02Z</dc:date>
    </item>
  </channel>
</rss>

