Problems with WMI on cluster

A

Arild Bakken

Hi,

I'm trying to enumerate printers on a printcluster using WMI. However, the
result is always empty when I run the query against the virtual server
(script is run remotely). If I run the query against the node instead, I
only get printers defined on that node, which is just a couple, while the
virtual server has about one thousand printers. I've tried both the
Win32_Printer and the Win32_PrinterConfiguration classes, both with the same
result - nothing. I know the code is correct since it works as expected when
run against a regular server. Using regular windows API methods works
correctly, however WMI would be our preffered choice.

Is anyone aware of any issues related to using those WMI classes on a
cluster? Enumerating fileshares on a filecluster (and also on the
printcluster) works, so it seems to be specific to the printer classes.

Could the cluster or the printers be configured incorrectly?


Any help is appreciated,

Arild
 
G

Guest

I ran into the same problem

Microsoft has indicated that the WIN32 WMI provider is still not cluster aware. So You and I are stuck at this point. You might want to file a bug to expedite the issue.
 
A

Arild Bakken

Thanx for the info.

We ended up using the prnadmin.dll that comes with the Windows 2000 Support
Tools (or Resource Kit - always get them mixed up). It gives us most of the
information we need.


Arild

Long Phuong said:
I ran into the same problem.

Microsoft has indicated that the WIN32 WMI provider is still not cluster
aware. So You and I are stuck at this point. You might want to file a bug to
expedite the issue.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top