ProLiant Servers (ML,DL,SL)
1819697 Members
3342 Online
109605 Solutions
New Discussion юеВ

SSADUESXI error when attempting to create ADU report

 
MikeHD
Occasional Advisor

SSADUESXI error when attempting to create ADU report

Good evening,

Running into an error when attempting to create an ADU report for an ESXi 7.02 DL 380 Gen 9 host, running the Smart Storage Admin, utility on a Windows 2016 server.

The message is as follows:

----------

SSADUESXI: Version 3.47.6.0 2019-07-15

Generating and encoding report...

A problem occurred when attempting to generate a report.

SSADUESXI requires the use of the VMware vSphere CLI (esxcli) client application. Make certain that this client has been installed and is available from this directory. If vSphere CLI has been installed, check the correctness of the inputted parameters.

For additional help, type 'ssaduesxi' with no parameters.

------------

 

The syntax I am using is:

----------

C:\Progra~1\Smarts~1\ssaducli\bin\ssaduesxi --server=server ip --user=login --password=password --thumbprint=hex thumbprint value --file=c:\temp\adu.zip

----------

I've tried this a number of different ways, including without specifying the thumbprint value, but the same error appears. ESXCLI is installed and if I type it from a command prompt, it display the list of options. I have validated that the IP is correct for the ESXi host in the command above, as well as the user name and password. I also have the older hpssaduesxi utility installed on the same VM, but that returns the same error.

I'm sure I'm missing something simple here, but any help would be appreciated, as I haven't been able to find anything specific pertaining to this error or how SSADUESXI passes arguments to ESXCLI.

 

Thanks.

 

 

 

9 REPLIES 9
Suman_1978
HPE Pro

Re: SSADUESXI error when attempting to create ADU report

Hi,

Can you actually go into that bin directory and run the command.

Here are some videos.

Thank You!
I work with HPE but opinions expressed here are mine.
Recent Support Video Releases



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
MikeHD
Occasional Advisor

Re: SSADUESXI error when attempting to create ADU report

Running the ssaduesxi utility from within the \bin folder containing the executable yields the same error message:

--------

SSADUESXI: Version 3.47.6.0 2019-07-15

Generating and encoding report...

A problem occurred when attempting to generate a report.

SSADUESXI requires the use of the VMware vSphere CLI (esxcli) client application. Make certain that this client has been installed and is available from this directory. If vSphere CLI has been installed, check the correctness of the inputted parameters.

For additional help, type 'ssaduesxi' with no parameters.

--------

 

Thanks.

Suman_1978
HPE Pro

Re: SSADUESXI error when attempting to create ADU report

Hi,

Why the (thumbprint=hex thumbprint value)?

If you check this document, Page#18-19

hpssaduesxi --server=<server_ip_address> --user=<username> --password=<password> <targetfile.zip>
Example Usage:
hpssaduesxi --server=10.12.132.5 --user=root --password=root.123 myreport.zip

Thank You!
I work with HPE but opinions expressed here are mine.
Recent Support Video Releases



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
MikeHD
Occasional Advisor

Re: SSADUESXI error when attempting to create ADU report

I've tried it both ways, including specifying the server, user ID and password as listed above. No luck.

 

 

Sham82
HPE Pro

Re: SSADUESXI error when attempting to create ADU report

Hello Mike, 

 

From your Query i understand that the Host OS is Esxi and you are trying to run the Utility on the one of the VM's with Windows installed.

So from the Virtual Machine , Running and generating ADU report is not possible , as the utility has to be installed on the HOST.

 

Please make sure you have the Latest Firmware and Driver of the Controller installed 
with below version of the utility:

https://support.hpe.com/connect/s/softwaredetails?language=en_US&softwareId=MTX_9ebc547e69eb417bb989e8f322&tab=revisionHistory

and run below commands :

Generate diagnostic report files

esxcli ssacli cmd -q "ctrl all diag file=/tmp/adureport.zip zip=on ris=on xml=on"

 

SmartSSD Wear Gauge report files

esxcli ssacli cmd -q "ctrl all diag file=/tmp/adureport.zip zip=on ris=on xml=on ssdrpt=on"


Regards 

HPE



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
MikeHD
Occasional Advisor

Re: SSADUESXI error when attempting to create ADU report

Thank you for the information, but that's incorrect. It was working just fine from within the VM until about a week ago, and I was able to install the 64 bit SSADUESXI utility for Windows on a 'clean' VM and collect the ADU reports, using this link:

https://support.hpe.com/connect/s/softwaredetails?language=en_US&softwareId=MTX_06844ab2ee244d5294cb7e5fbd

It also requires the latest VMware Perk SDK available at this link, which includes the ESXCLI.EXE utility, required by SSA

https://developer.vmware.com/web/sdk/6.7/vsphere-perl

We still don't know why it's not working on the original Hyper-V VM, but at this point it will be quicker to simply deploy a new image than wrestle with troubleshooting this one.

 

 

 

Sham82
HPE Pro

Re: SSADUESXI error when attempting to create ADU report

Hello Mike, 

 

Yes, we would recommend you to try and re-install the OS.
In case you would need further assistance , please log a support case with HPE.

 

Regards
HPE



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
MikeHD
Occasional Advisor

Re: SSADUESXI error when attempting to create ADU report

So it turns out the issue was related to a missing environment variable used by the VMware Perl SDK when connecting to the server to create the ADU reports. When trying to run the ESXCLI utility, this message was getting created:

"Can't locate VMware/VICredstore.pm in @INC"

The PERL5LIB environment value needs to be set on a PER USER basis:

Variable name:  PERL5LIB

Variable value: C:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\lib

(installed VMware SDK folder)

 

Because the install wasn't completing, this environment variable wasn't getting properly for all users, and the ESXCLI utility couldn't find the required files. Also, if you're running the install using the Windows 'Run As' option, it will not get set for the user account which is logged in, but only for the one with the 'Run As' credentials being used.

Once this value was set by the user, either in control panel or during a command prompt sesssion, they could run the ADU reports with no problem using the SSADUESXI command from the Windows 2016 virtual server.

Victor_Cespon
HPE Pro

Re: SSADUESXI error when attempting to create ADU report

As stated at the begginng of the thread, this customer is running ESX 7.0

Old instructions are not valid now. Posting here what we have found so far (it is not documented)

Recent versions have changed some names and paths:

 

C:\Program Files\Smart Storage Administrator\ssaducli\bin

C:\Program Files (x86)\VMware\esxcli

Name is ssaduesxi.exe

Requires --file=<filename.zip>

Requires a value on --thumbprint=THUMBPRINT

I work for HPE.