Hi guys,
I'm working on authoring Management Pack (MP) for SCOM 2012 for Print Servers and have several questions concerning clustered Print Servers, specifically clustered Print
Server queues. I would appreciate if you could shed a light on this.
Currently Print Server MP requests Print Server queues fromWin32_Printer wmi branch, but this works only with non-clustered queues instances.It looks like for clustered instances I have to request another branch - Win32_ClusterShare. The wmi request is supposed to be called on target computer (cluster node) and used to discover (and as a result to create appropriate objects
in SCOM) queues instances.
So I have a bunch of questions regarding:
1. Should "select * fromwin32_clustershare wheretype='1 or 2147483649'" be requestedon each cluster node or is itsomething common for cluster group (several cluster nodes)?
2. Will "select * fromwin32_clustershare wheretype='1 or 2147483649'" contain enough information describing print queues on cluster / cluster node?
3. Win32_ClusterShare has two types which might be potentially used for cluster print queues discovery:
1='Print Queue'
2147483649='Print Queue Admin'
http://www.powertheshell.com/reference/wmireference/root/cimv2/win32_clustershare/
Which one should be used?
4. Is it possible that on one specific cluster node print queues information is returned by both Win32_Printer and Win32_ ClusterShare? I think, not, but would like
to clarify.
5. Will requesting "select * fromwin32_clustershare wheretype='1 or 2147483649'" work for both Windows Server 2008 (R2) and Windows Server 2012 (R2)?
I’m wondering this, because I found changes in print role clustering implementation.
Below is the link how to install Print Server on Windows Server 2012:
https://technet.microsoft.com/en-us/library/jj134159.aspx
In Windows Server 2008 R2 there was available Print Server Cluster Role:
https://technet.microsoft.com/en-us/library/cc771509(v=ws.10).aspx
But it looks like Print Server clustering on Windows Server 2012 is performed differently:
https://technet.microsoft.com/en-us/library/jj556311.aspx
Thanks in advance.
Igor Savchenko, VIAcode Consulting LLC (http://www.viacode.com/)