Unsolved
This post is more than 5 years old
1 Rookie
•
9 Posts
0
2849
October 26th, 2018 06:00
Powershell StorageCenter API - Initialization
Hi Community.
I'm working on a scripted method for initializing and configuring our Storage Centers.
I managed to do anything which comes after the initialization, but the initialization makes me go crazy.
In the API there is a command Start-DellEmDiscoveredStorageCenterDiscover which requires a connection object back to the Data Collector. When I try to execute the command this gives me the following error.
PS C:\Windows\System32\WindowsPowerShell\v1.0> Start-DellEmDiscoveredStorageCenterDiscover -Connection $StorageCenterConnection -Verbose VERBOSE: Performing the operation "DiscoverStorageCenters" on target "EmDiscoveredStorageCenter". Start-DellEmDiscoveredStorageCenterDiscover : StorageCenterError - Network Communication error At line:1 char:1 + Start-DellEmDiscoveredStorageCenterDiscover -Connection $StorageCente ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : SecurityError: (DellStorage.Api...overStartCmdlet:DellEmDiscovere...overStartCmdlet) [Start-DellEmDis...eCenterDiscove r], DellStorageApiMethodException + FullyQualifiedErrorId : ConnectionError,DellStorage.Api.CommandSet.Cmdlets.DellEmDiscoveredStorageCenterDiscoverStartCmdlet
The internet doesn't give me any clues what could be the problem.
Did any of you tried doing the same? Or saw the same error?
Thanks in advance
No Events found!
DELL-Bob Mi
2 Intern
•
230 Posts
0
October 27th, 2018 13:00
Looking at your output it looks like you are using an old version of PowerShell:
C:\Windows\System32\WindowsPowerShell\v1.0>
Per the Dell Storage API PowerShell SDK Getting Started Guide the Prerequisites are:
Verify that you have PowerShell 4.0 with the get-host command:
The Help for this command shows:
NAME Start-DellEmDiscoveredStorageCenterDiscover
SYNOPSIS Gets the list EmDiscoveredStorageCenter objects that are available on the same subnet as the EM Data Collector or localhost
SYNTAX Start-DellEmDiscoveredStorageCenterDiscover -Connection " []"
DESCRIPTION This method gets the list EmDiscoveredStorageCenter objects that are available on the same subnet as the EM Data Collector or localhost. Note that layer 2 multicasting must not be blocked between the host and the Storage Center for it to show up here.
With the correct version of PowerShell, and a good connection the output will show:
hegeduslevi
1 Rookie
•
9 Posts
0
October 29th, 2018 03:00
Thank you for trying to help me.
Just to make sure.
I'm running the commands from a Windows Server 2016 host PowerShell version is 5.1.14393.2580
Installed .Net Framework: 4.7.03062
Dell Storage API: v3.5
The commands I execute on the Physical Host which has the network ports on the same VLAN as the Storage Center from an elevated shell. The SC also attached by SAS cables. (The installed SM Client application can see the uninitialized Storage Center) The Data Collector is installed on a different server.
DELL-Bob Mi
2 Intern
•
230 Posts
0
October 29th, 2018 09:00
The prerequisites of doing this via PowerShell are the same as when using the Dell Storage Manager (DSM) Client:
From Dell Storage Manager 2016 R3 Administrator’s Guide: https://topics-cdn.dell.com/pdf/storage-sc2000_administrator-guide_en-us.pdf
Discover and Select an Uninitialized Storage Center
The first page of the Discover and Configure Uninitialized Storage Centers wizard provides a list of prerequisite actions and information required before setting up a Storage Center.
Prerequisites
Since you show: Start-DellEmDiscoveredStorageCenterDiscover : StorageCenterError - Network Communication error
The PowerShell commands are using the Data Collector to connect. Your output shows you can connect to the Data Collector. I would verify that you can also pass via the DSM Client from the Data Collector server to determine if you need to disable the firewall and/or allow Layer 2 multicast from the Data Collector.
hegeduslevi
1 Rookie
•
9 Posts
0
November 6th, 2018 08:00
Okay new update.
I tried to discover the Storage Center from the Data Collector, and it gives me the same non helping error.
Do you know where there might be any logs that might be more useful.
I have turned on the Debug Loggers for several things but only the Compellent API gives me this error. Which is the same:
When running it from PowerShell:
Any more ideas what could be the problem? What could be the next step in debugging the cause of the problem?