Microsoft Virtualization Discussions

Initialize-NaController can't connect to Filer

mikeschubert
2,740 Views

Hello,

i have some trouble with Initialize-NaController.

the Problem (testet with 7-Mode Ontap 8.01. Simulator):

the simulator has on e0c an DHCP Address ( 172.22.40.12 )

to change hostname and IP address on e0a i use

Initialize-NaController -DhcpAddress 172.22.40.12 -Gateway 172.22.1.1 -Hostname mysim -PrimaryInterfaceAddress 172.22.115.77

but i can't connect to this IP:

Initialize-NaController : Controller setup for controller '172.22.40.12' returned error Die Verbindung mit dem Remoteserver kann nicht hergestellt werden.

Bei E:\Daten\Projekte\Canon\powershell\allgemein\netapp\setNaHostnameIP.ps1:26 Zeichen:24

+ Initialize-NaController <<<< 172.22.40.12 mysim 172.22.1.1 -Password $PW -Verbose

+ CategoryInfo : OperationStopped: (172.22.40.12:String) [Initialize-NaController], Exception

+ FullyQualifiedErrorId : Controller setup for controller '172.22.40.12' returned error Die Verbindung mit dem Remoteserver kann nicht hergestellt werden.,DataONTAP.PowerShell.SDK.

Cmdlets.Turnup.InitializeNaController

the german message means "Can't connect to remote server ...."

but a Connect-NaController works fine.

meybe i have misunderstand this command but it should work...

Thanks,

Mike

2 REPLIES 2

sizemore
2,740 Views

Hey Mike,

Initialize-NaController doesn't currently work with 8.0.1 7-mode...  We're looking into it now stay tuned, and thanks for reporting your issue.


~Glenn

mikeschubert
2,740 Views

Hello Glenn,

Thanks for the quick response.

Is there an other way to set hostname via PowerShell?

My first idea to use Invoke-NaSsh -Command "hostname newhostname" doesn't work.

(set hostname via rsh is not allowed 😞  )

best regards

Mike

Public