Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1130

June 2nd, 2008 15:00

VMWare Discovery through ECC 6.0

I have 31 ESX Servers in my environment.
I do have 1 ESX Server which is console based 3.5 and I can not seem to pick it up.

I am discovering the Virtual Center Server for the whole environment and matching the ecc account on all ESX Servers and VC and this pulls into ECC all the ESX Servers without an issue

EGV.log has the following error for this host...
EGV 17:31:29 EGV 1 P E 1388 (20.56 MB -96.000000K) EGVAgent::RunDiscovery => Discovery failed for MO
- Host=vmovh203.ds.ohnet; reason: CIM error: CIM_ERR_INVALID_CLASS: The specified class does
- not exist: "VMWARE_ESXComputerSystem"
EGV 17:31:29 C P F 1388 (20.56 MB) EGVAgent::SendDiscoveryAlert => Server: vmovh203.ds.ohnet;
- failedState: true; message: CIM error: CIM_ERR_INVALID_CLASS: The specified class does not
- exist: "VMWARE_ESXComputerSystem"


I have compared this server with other servers I have successfully discovered and do not see a difference. I have a CIM Browser and I am able to conenct to this server using the ecc user account I created.

I have also tried discovering the ESX Server directly but get the same message..

Any Help would be appreciated
Chris

55 Posts

June 11th, 2008 05:00

Hello,

As per Jarra Voleynik, this will be fixed by following these steps:

Edit the roleauth-schema compiler directive to include the VMware_Identity class definition using

vi /var/pegasus/vmware/install_queue/1_files/mofs/root/PG_Interop/roleauth-schema.mof

Add the bolded line above the pre-existing member directive.

#pragma include ("VMware_Identity.mof")
#pragma include ("VMware_IdentityMemberOfCollection.mof")

It also needs to be added in the standard cimv2 path.

vi /var/pegasus/vmware/install_queue/1_files/mofs/root/cimv2/roleauth-schema.mof

#pragma include ("VMware_Identity.mof")
#pragma include ("VMware_IdentityMemberOfCollection.mof")

Copy the missing file from the stardard cimv2 path to the shared path.

cp /var/pegasus/vmware/install_queue/1_files/mofs/root/cimv2/VMware_Identity.mof

/var/pegasus/vmware/install_queue/1_files/mofs/root/PG_Interop/

Stop and start the service with these commands.

/etc/init.d/pegasus stop
/etc/init.d/pegasus start


You should see the following:

./pegasus stop
Stopping Pegasus CIMOM (cimserver)... [ OK ]
./pegasus start
Processing /var/pegasus/vmware/install_queue/1 [ OK ]
Processing /var/pegasus/vmware/install_queue/2 [ OK ]
Starting Pegasus CIMOM (cimserver)... [ OK ]


Now you can also use the cimbrowser to verify that the
CIM_ManagedElement->CIM_ManagedSystemElement->CIM_LogicalElement->CIM_EnabledLogicalElement->CIM_System->CIM_ComputerSystem->VMWARE_VMComputerSystem class exists

Nimai Sood

55 Posts

June 3rd, 2008 02:00

Hi,

To correct the issue, try the following options:

Restart the pegasus, mgmt-vmware, and vmware-webAccess services on the ESX host. For example:

/etc/init.d/pegasus restart
/etc/init.d/mgmt-vmware restart
/etc/init.d/vmware-webAccess restart

If restarting the services does not resolve the issue, re-install the pegasus and VMware-cim RPMs, using the "Reinstall the CIM Provider" procedure outlined in emc169483.

111 Posts

June 3rd, 2008 07:00

we are able to discover ESX 3.5.0 servers using ECC 6.0 . EGV log says, the >>class "VMWARE_ESXComputerSystem" is not found in the CIMOM

So missing the "VMWare_ESXComputerSystem" is not a problem?

Let me know whether you are able to enumerate instances of the >>class "VMWARE_ESXComputerSystem" using CIM browser or CIM navigator >>tool after logging into the ESX server ?.

I have openCIM Browser and it looks like its functionality is limited.
I do not see how I can search for keys or try and find this class.

do you have any other 3.5 ESX servers and facing the same problem with all 3.5 >>ESX servers?

I am able to discover all other servers, except for a few 3i servers that do not have CIM functionality yet. It is my impression that EMC is working on supporting this down the road.

are you able to discover the ESX using root credentials?

I tried root and I am still unable to discover the server.

I have tried restarting the CIM browser with no luck.

111 Posts

June 6th, 2008 15:00

Thanks for the continued followup...

The one I am having trouble with is 3.5 Build 84374.

I compared this to a server I can discover and it is the same build...so I do not know

111 Posts

June 11th, 2008 07:00

Thank you for the clear instructions. I followed them and I do now see this computer class in the CIM Browser. I am just waiting now to make sure ECC picks it up but the logs look good.

Thanks Again
Chris
No Events found!

Top