I'm trying to write a script to automate the setup of a FAS 2240 running version 8.1.2 (mode 7) using the PowerShell toolkit.
My first question is whether there is a way to completely automate the setup process? I reset everything back to defaults by choosing option 4 from the boot menu, but this still returns me to the setup prompts with no DHCP address assigned to the filer. To work around this, I booted into mode 2 without the /etc/rc file and set a static IP to the filer.
I tried to connect to the filer by using the following command:
Initialize-NaController 192.168.1.50 test 192.168.1.1
I get the following error:
Unable to connect to controller. Please make sure it is an uninitialized Data OnTap Controller.
I tried other variations of commands (including the Connect-NaController command) to connect using http, rpc, ssh, etc, but these all failed as well.
Is there any documentation that shows how to get started with these commands including how to put the Netapp in the proper state in order to run these scripts? Any assistance would be greatly appreciated.