This post is more than 5 years old
111 Posts
0
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
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
No Events found!
NimaiSood
55 Posts
0
June 11th, 2008 05:00
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
NimaiSood
55 Posts
0
June 3rd, 2008 02:00
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.
chrisp3
111 Posts
0
June 3rd, 2008 07:00
So missing the "VMWare_ESXComputerSystem" is not a problem?
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.
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.
I tried root and I am still unable to discover the server.
I have tried restarting the CIM browser with no luck.
chrisp3
111 Posts
0
June 6th, 2008 15:00
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
chrisp3
111 Posts
0
June 11th, 2008 07:00
Thanks Again
Chris