Highlighted
Super Contributor.. Super Contributor..
Super Contributor..
445 views

HP Universal Discovery: VMWare Infrastructure Discovery

Jump to solution

Version: HP UD 10.20.480

UD CP 15.00.123

OS: RHEL 6.5

 

Hello everyone,

 

I am trying to discover VMWare infrastructure using the VMware vCenter Connection by VIM and VMware vCenter Topology by VIM jobs. Followed the guide, took care of the prerequisites (Credentials & Permissions, JAR files, etc.)

 

Discovered the host CIs and associated proceses.

 

Now when I run the VMware vCenter Connection by VIM, I see the following error:

<< Progress message, Severity: Error>>
VMware VIM: Internal error. Details: (301)Moved Permanently

 

I think this is w.r.t. the URL it tries to access, but not sure what is wrong with the URL. 

I initially thought it was the jar, so, I downloaded the latest vim25.jar for version 5.1.

 

Any thoughts will be appreciated. Please find the communication log attached.

 

Thanks,

Praveen

0 Likes
1 Solution

Accepted Solutions
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: HP Universal Discovery: VMWare Infrastructure Discovery

Jump to solution

Thanks Ronald.

 

I turned SSL ON and provided a port number. It worked fine.

However, the result processing was super slow and it took hours for the discovered CIs to show up.

 

 

Thanks,

Praveen

View solution in original post

0 Likes
8 Replies
Highlighted
Absent Member.
Absent Member.

Re: HP Universal Discovery: VMWare Infrastructure Discovery

Jump to solution

Hi Praveen,

 

 So the solution is to set the 'Use SSL' to yes in the Vmware VIM credential.

Regards,

0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: HP Universal Discovery: VMWare Infrastructure Discovery

Jump to solution

Thanks Ronald.

 

I turned SSL ON and provided a port number. It worked fine.

However, the result processing was super slow and it took hours for the discovered CIs to show up.

 

 

Thanks,

Praveen

View solution in original post

0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: HP Universal Discovery: VMWare Infrastructure Discovery

Jump to solution

A quick Update...

The settings (SSL enabled and port 443) worked for almost all the vcenters (versions 4.0, 4.1) but is failing to discover versions 5.1 and 5.5.

 

VMware VIM: Internal error. Details: Cannot complete login due to an incorrect user name or password.

 

I could manually rdp into these machines using the service account that is being used in the VIM protocol.

And the account has remote enabled privileges.

 

Please check the comm logs and let me know if you guys see anything obvious.

 

Thanks,

Praveen

0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: HP Universal Discovery: VMWare Infrastructure Discovery

Jump to solution

Any updates on my recent question folks ?

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: HP Universal Discovery: VMWare Infrastructure Discovery

Jump to solution

Hello,

 

Are you using the correct vim25.jar file? What is the size of it in bytes? Mine is 3 561 084 byte, and Vmware 5.5 discovery is working.

 

BR,

 

Chris

0 Likes
Highlighted
Frequent Contributor.. Frequent Contributor..
Frequent Contributor..

Re: HP Universal Discovery: VMWare Infrastructure Discovery

Jump to solution

I believe the file to download from VMware is VMware-vSphere-SDK-5.5.0-1284541.zip.  Your mileage may vary.

0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: HP Universal Discovery: VMWare Infrastructure Discovery

Jump to solution

I have tried Vim25.jar files for both 5.5 (3,478 kb) and 6.0 (3,899 kb)

 

1: VMware-vSphere-SDK-5.5.0-1284541

2: VMware-vSphere-SDK-6.0.0-2561048

 

I am seriously doubting the way the credentials were setup and the privileges provided.

I also read an article about this error message on the vmware forum.

https://communities.vmware.com/message/2181960

 

Will keep you guys posted if I find something.

 

Thanks,

Praveen

0 Likes
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: HP Universal Discovery: VMWare Infrastructure Discovery

Jump to solution

Hi,

Did you find your a solution to your problem? Did you attempt to go along any of the suggestions in the article ?

George Karapetrov

Junior Techology Consultant
https://microfocus.fuze.me/georgi
george.karapetrov@microfocus.com
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.