Course Overview
This training prepares you to automate storage administration of a NetApp® ONTAP® based system by using modern REST APIs and Ansible. You learn about the structure of an ONTAP REST API. You write Python programs that use the Python client library to create an aggregate, a storage VM (storage virtual machine, also known as SVM), a flexible volume, a qtree, a NetApp SnapshotTM copy, and so on. You learn how to invoke the REST API method in a Windows PowerShell environment to demonstrate popular use case scenarios. You use the Ansible framework to automate and deploy storage administration tasks through NetApp ONTAP modules for Ansible. Finally, you use Python programs and Ansible playbooks to configure your system for CIFS, NFS, and SAN protocols.
This training includes classroom lecture, coding demonstrations, and hands-on programming activities.
Who should attend
Customers, channel partners, OEM partners, NetApp Authorized Learning Partners (ALPs), global systems integrators (GSIs), third-party software developers, infrastructure and professional services engineers, and NetApp employees.
Job Roles:
- Systems administrator, cloud architect, operator, data protection specialist, enterprise architect, integration developer, engineer
- Presales, Sales, customer success manager, solutions engineer (SE), technical support engineer, Support, technical support, and so on
Prerequisites
- ONTAP Cluster Administration (ONTAP9ADM)
- Python programming experience required
- Familiarity with Unix commands
Course Objectives
This course focuses on enabling you to do the following:
- Describe ONTAP REST APIs and the Ansible framework
- Implement REST API methods in your Python programs to create, access, update, and delete ONTAP resources such as aggregates, storage VMs, volumes, and so on
- Illustrate how to invoke ONTAP REST API methods from within the PowerShell environment
- Illustrate the Ansible framework to call NetApp ONTAP modules from within a playbook for automation of storage administration
- Configure CIFS, NFS, and SAN protocols programmatically by using Python programs and Ansible playbooks
- Describe performance monitoring of an ONTAP based system
Outline: Automate Storage Administration Using ONTAP REST API and Ansible (RSTAPI)
Module 1: ONTAP REST API
- What is REST API?
- ONTAP REST API documentation
- Python client library
Module 2: REST API Use Cases: Python Programming
- Create an aggregate, a storage VM, and a volume
- Volume management
- Create a Snapshot copy
Module 3: Windows PowerShell for REST API
- Introduction to NetApp PowerShell Toolkit
- Use case scenario of REST API methods
Module 4: Automation Using Ansible
- Introduction to Ansible
- Basics of YAML and YML
- Basics of Ansible
- Installing Ansible
- Ansible Playbooks
- Ansible Modules
- Coding Demonstration of Simple Playbooks
Module 5: CIFS Configuration
- CIFS configuration by a Python program
- CIFS configuration by an Ansible playbook
Module 6: NFS Configuration
- NFS configuration by a Python program
- NFS configuration by an Ansible playbook
Module 7: SAN Configuration
- SAN REST API documents
- iSCSI configuration
- FCP and NVMe-oF configuration
- Ansible modules and playbooks
Module 8: Performance Monitoring
- ONTAP performance
- Performance Metrics
- Collecting ONTAP Metrics