Microsoft Virtualization Discussions

Initialize-NaController can't connect to Filer

mikeschubert

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

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

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

Announcements
Register for Insight 2021 Digital

INSIGHT 2021 Digital: Meet the Specialists 2

On October 20-22, gear up for a fully digital, totally immersive virtual experience with a downright legendary lineup of world-renowned specialists. Tune in for visionary conversations, solution deep dives, technical sessions and more.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public