ONTAP Discussions

PowerShell Script for Upgrades

HMS
1,939 Views

Does anyone know if there is an existing  PowerShell script that can be customized to automate a rolling ONTAP upgrade, to upgrade the system from v9.0 to v9.1 then v9.1 to v9.3 and then v9.3 to v9.5 on a system with 2 HA clusters?  Is automating this process recommended, or is the manual upgrade a better best practice?  Thank you!!

1 ACCEPTED SOLUTION

pedro_rocha
1,833 Views

search for the netapp powershell toolkit

 

using ansible you have: https://docs.ansible.com/ansible/latest/collections/netapp/ontap/na_ontap_software_update_module.html

 

regarding automate or not... it depends on how many clusters, nodes...

 

so if one cluster, couples of nodes, no. Upgrade via System Manager is already automated. Even for a cluster with more nodes.. so it does not seem so necessary.

 

maybe with multiple clusters you can start to have some advantages

 

this is just an opinion from someone that never needed to do that (automation of this kind). maybe others in the community have a better opinion on this.

 

 

View solution in original post

1 REPLY 1

pedro_rocha
1,834 Views

search for the netapp powershell toolkit

 

using ansible you have: https://docs.ansible.com/ansible/latest/collections/netapp/ontap/na_ontap_software_update_module.html

 

regarding automate or not... it depends on how many clusters, nodes...

 

so if one cluster, couples of nodes, no. Upgrade via System Manager is already automated. Even for a cluster with more nodes.. so it does not seem so necessary.

 

maybe with multiple clusters you can start to have some advantages

 

this is just an opinion from someone that never needed to do that (automation of this kind). maybe others in the community have a better opinion on this.

 

 

Public