Unsolved

This post is more than 5 years old

1428

May 2nd, 2012 17:00

EMC Powershell cmdlet issue

I'm creating scripts to run against our CX-4 using the EMC PSToolkit v2. I have installed the PSToolkit and the SMI-S Provider 4.3.2 for SMI-S 1.5. I am running Windows 2008 R2 32 bit as a VM with an RDM lun attached.

I have created an ECOM admin user by connecting to http://localhost:5989/ecomconfig

Once the PSToolkit has been imported in PS I can connect to the SMI-S provider with the following:

PS C:\Windows\system32> Get-EssProvider -HostName localhost -Port 5988 -UserName PSUser -Password xxxxxx

 

ServerURL                : http://localhost:5988

CIMOMVersion             : ECOM Version 2.6.7.0.0.24

ProviderVersion          :

ProviderLocation         :

ProviderServer           :

SolutionsEnablerVersion  :

AuthenticationType       : Basic

UserName                 : PSUser

Protocol                 : wsman

ConnectionTimeoutSeconds : 60

OperationTimeoutSeconds  : 360

Is it normal to have blank entries for ProviderVersion, Location and Server?

Then I set the session with:

PS C:\Windows\system32> Get-EssProvider -HostName localhost -Port 5988 -UserName PSUser -Password xxxxxx | Set-EssProviderSession

This returns to the cmd line without any output or error.

Then I try to add my storage system using:

PS C:\Windows\system32> Add-EssStorageSystem -SPA xxx.xxx.xxx.xxx -SPB xxx.xxx.xxx.xxx -username xxxxxx -password xxxxxx

Add-EssStorageSystem : Could not find instance of 'EMC_SystemRegistrationService'

At line:1 char:21

+ Add-EssStorageSystem <<<<  -SPA xxx.xxx.xxx.xxx -SPB xxx.xxx.xxx.xxx -username xxxxxx -password xxxxxx

    + CategoryInfo          : NotSpecified: (:) [Add-EssStorageSystem], Exception

    + FullyQualifiedErrorId : System.Exception,EMC.PowerShell.SMI.Commands.AddSmiStorageSystemCmdlet

Does anyone know why I am receiving this error and how to resolve? Thanks for looking

159 Posts

May 6th, 2012 20:00

What Solutions Enabler version are you using?

May 27th, 2012 19:00

Solutions Enabler is 7.3.2

0 events found

No Events found!

Top