Welcome to my collection of automation demos. In this repository you will find various examples on how to automate administrative and operational tasks on NetApp solutions. The main purpose is enabling you writing your own scripts/integartions by providing simple examples in small chunks. The scripts in this repository are not tuned for production use.
If you are a customer, partner or NetApp employee:
-
Please use the virtual hands-on lab (log in with your NetApp support account):
- Customer: https://handsonlabs.netapp.com/lab/ontapapi
- NetApp/Partner: https://labondemand.netapp.com/lab/sl10655
-
Log into the Ansible Linux host ("ansible.demo.netapp.com") and clone this repository:
# git clone https://github.com/AdrianBronder/ntap-automation.git
-
Initialize the environment by running the lab init script:
# sudo ./ntap-automation/ntaplod_init/ontapapi_sl10599_init.sh
-
Execute scripts from subfolders depending on type of solution, method and task, e.g.: ontap9 --> python --> create SVM
# ./ntap-automation/ontap9/ansible/21_create_pri_svm.yml # ./ntap-automation/ontap9/curl/02_get_svm_details.curl # ./ntap-automation/ontap9/python/90_delete_all.py
If you are a customer, partner or NetApp employee:
-
Please use the virtual hands-on lab (log in with your NetApp support account):
- Customer: https://handsonlabs.netapp.com/lab/storagegrid
- NetApp/Partner: https://labondemand.netapp.com/lab/sl10610
-
Log into the first Linux machine (Linux1) and make sure "git" utilities are installed on the machine:
# yum install git -y
-
Clone this repository:
# git clone https://github.com/AdrianBronder/ntap-automation.git
-
Initialize the environment by running the lab init script (Ansible collections for StorageGRID have to be loaded and installed manually):
# ./ntap-automation/ntaplod_init/storagegrid_sl10610_init.sh
-
Execute scripts from subfolders depending on type of solution, method and task, e.g.: storagegrid --> ansible --> create tenant
# ./ntap-automation/storagegrid/ansible/21_create_tenant.yml