Hyper-V Host Status: Error: Invalid Class

When you post information about some problem, please include the following details: - OS version (e.g. Windows 2000 Professional SP3); HostMonitor version; problem description.
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Hyper-V Host Status: Error: Invalid Class

Post by xcentric »

Just setup a new host status test for a Hyper-V 2012 R2 server (GUI).
RMA was updated to 4.80.
Comes back with invalid class.

Side note. Have you guys thought about putting in a status for replication health per vm?

Regards
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Most likelly its not a bug, problem with your system.
Try "lodctr /r" command
Have you guys thought about putting in a status for replication health per vm
Not yet.
Please post this into "wish list" forum, may be other admins need this as well

Regards
Alex
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

Command is successful but no change.

What you are suggesting is that I have four broken hyper-v hosts. Hosts were newly created. Only role installed is hyper-v and all MS updates.

If its not a bug and my systems are not broken, there is a prerequisite that is unidentified somewhere. If all my hosts are broken then ms broke it.

Regards
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Do you see the following WMI classes on this system?
- MSVM_ComputerSystem
- MSVM_Processor
- Win32_PerfFormattedData_HvStats_HyperVHypervisorLogicalProcessor
You may use WMI Explorer to check this.

Regards
Alex
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

Yes.

- MSVM_ComputerSystem
- MSVM_Processor

Reside in the root\virtualization\v2 namespace.

Win32_PerfFormattedData_HvStats_HyperVHypervisorLogicalProcessor resides in the root\cimv2 namespace.

Each class has it's appropriate instances available for query.

Regards
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Reside in the root\virtualization\v2 namespace
by default root\virtualization\v2 is not accessible remotely, that's why HostMonitor uses root\virtualization namespace.
Could you please check MSVM_ComputerSystem in root\virtualization namespace starting WMI Explorer on the same system where HostMonitor is running using the same user account for connection?

Regards
Alex
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

Now we are getting somewhere.

Logged into the hyper-v host as Administrator.
Machine is not part of Active Directory.
Not trying to perform test from remote agent. Active agent is local to machine for vm host status test.

Classes are not available through wmi explorer under root\virtualization in the hyper-v host.

Regards
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

Found this digging around.

"Note: Hyper-V 2012 R2 (scheduled for this year, preview available for download now) drops support for the V1 namespace".

Relevant?

Regards
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

Confirmation. v1 deprecated for 2012 R2.

http://technet.microsoft.com/en-us/libr ... 03411.aspx

Regards
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Could you try this update?
www.ks-soft.net/download/rma481.zip

Regards
Alex
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

Good now.

reply is blank for:
Guest status: no reply
Host Status: no reply

Is this expected behavior?

Got reply from:
Guests CPU Usage: shows % cpu and host

Regards
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

reply is blank for:
Guest status: no reply
Host Status: no reply
There is no such status in HostMonitor. May be test status "No answer"?

Regards
Alex
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

Something to note:
Got reply from:
Guests CPU Usage: shows % cpu and host
This is displaying the host hostname and not the guest vm name for the highest cpu usage. Also, this appears to be replying with the host cpu usage.

Your documentation says:
VM guests CPU usage - checks all guests, finds system with highest CPU usage.

Am I misunderstanding this somehow?

Regards
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Lets fix problem with guest/host status first.
What exactly test status and reply do you see?

Regards
Alex
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

Sure no problem.

Guest/host status is "Ok" and a blank reply. If this is intended behavior then lets move on.

Regards
Post Reply