Windows NT Re: TS CAL Monitoring and Alerting

  • Thread starter Thread starter lbfrancois
  • Start date Start date
L

lbfrancois

Hi,

I've seen some artiles about Terminal Services License Server WMI provider
to monitor available lisences. They use the following classes:

Win32_TSIssuedLicense
Win32_TSLicenseKeyPack
Win32_TSLicenseReport
Win32_TSLicenseReportEntry
Win32_TSLicenseServer

I couldn't find these clases on my W2k3 TS Licensing servers, I suppose it's
because they require TlsWmiProv.mof

Does anyone know how to get it installed?

Thanks!!

Regards,
Lu.

"Vera Noest [MVP]" wrote:

> I agree that that would be a nice feature.
>
> I would schedule a batchfile to run once a day. Run lsreport, and
> parse the output. Count the number of lines in the outputfile.
>
> _________________________________________________________
> Vera Noest
> MCSE, CCEA, Microsoft MVP - Terminal Server
> TS troubleshooting: http://ts.veranoest.net
> *----------- Please reply in newsgroup -------------*
>
> =?Utf-8?B?Q2hyaXN0aWFuIExsb3lk?=
> <ChristianLloyd@discussions.microsoft.com> wrote on 03 aug 2005:
>
> > Is there any way to effectively and automatically monitor TS CAL
> > availability? I don't know of one and can't find anyone else
> > who does. All Wintel Citrix farms rely on TS CALs to operate,
> > but I can't find any way to monitor TS CAL availability
> > automatically. Manually it can be monitored through the TS
> > licensing console and the lsreport tool, but there isn't a
> > perfmon counter or any other thing that I know of that will
> > alert me if I hit the maximum limit of TS CALs. I thought that
> > the TS management pack for MOM that recently came out might have
> > something, but no such luck from what I've seen. It will
> > monitor TS Licensing server availability, but not availability
> > of the licenses itself.
> >
> > I think this is big gap in the ability to monitor TS/Citrix
> > farms adequately. I want to be able to get an alert sent when
> > TS CALs are nearing full allocation. Anyone know of any way to
> > do this?

>
 
I could be totally off here, but I noticed that all pages on MSDN
about these classes have a banner saying "This page is specific for
..NET 3.0 Framework". Have you installed .NET 3.0?

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

=?Utf-8?B?bGJmcmFuY29pcw==?=
<lbfrancois@discussions.microsoft.com> wrote on 17 jul 2007 in
microsoft.public.windows.terminal_services:

> Hi,
>
> I've seen some artiles about Terminal Services License Server
> WMI provider to monitor available lisences. They use the
> following classes:
>
> Win32_TSIssuedLicense
> Win32_TSLicenseKeyPack
> Win32_TSLicenseReport
> Win32_TSLicenseReportEntry
> Win32_TSLicenseServer
>
> I couldn't find these clases on my W2k3 TS Licensing servers, I
> suppose it's because they require TlsWmiProv.mof
>
> Does anyone know how to get it installed?
>
> Thanks!!
>
> Regards,
> Lu.
>
> "Vera Noest [MVP]" wrote:
>
>> I agree that that would be a nice feature.
>>
>> I would schedule a batchfile to run once a day. Run lsreport,
>> and parse the output. Count the number of lines in the
>> outputfile.
>>
>> _________________________________________________________
>> Vera Noest
>> MCSE, CCEA, Microsoft MVP - Terminal Server
>> TS troubleshooting: http://ts.veranoest.net
>> *----------- Please reply in newsgroup -------------*
>>
>> =?Utf-8?B?Q2hyaXN0aWFuIExsb3lk?=
>> <ChristianLloyd@discussions.microsoft.com> wrote on 03 aug
>> 2005:
>>
>> > Is there any way to effectively and automatically monitor TS
>> > CAL availability? I don't know of one and can't find anyone
>> > else who does. All Wintel Citrix farms rely on TS CALs to
>> > operate, but I can't find any way to monitor TS CAL
>> > availability automatically. Manually it can be monitored
>> > through the TS licensing console and the lsreport tool, but
>> > there isn't a perfmon counter or any other thing that I know
>> > of that will alert me if I hit the maximum limit of TS CALs.
>> > I thought that the TS management pack for MOM that recently
>> > came out might have something, but no such luck from what
>> > I've seen. It will monitor TS Licensing server availability,
>> > but not availability of the licenses itself.
>> >
>> > I think this is big gap in the ability to monitor TS/Citrix
>> > farms adequately. I want to be able to get an alert sent
>> > when TS CALs are nearing full allocation. Anyone know of any
>> > way to do this?
 
Hi Vera,

Thanks for your reply. This is page I'm accessing:
http://msdn2.microsoft.com/EN-US/library/aa383803.aspx

I couldn't find and .NET framework 3.0 reference in there... I'm not using
..NET 3.0, but I don't see how it would add the WMI providers. At the bottom
of the page, it says the TS Licensing server WMI MOF is required, but I have
no idea where I can find it, or what software it is shipped with... Any ideas?

"Vera Noest [MVP]" wrote:

> I could be totally off here, but I noticed that all pages on MSDN
> about these classes have a banner saying "This page is specific for
> ..NET 3.0 Framework". Have you installed .NET 3.0?
>
> _________________________________________________________
> Vera Noest
> MCSE, CCEA, Microsoft MVP - Terminal Server
> TS troubleshooting: http://ts.veranoest.net
> ___ please respond in newsgroup, NOT by private email ___
>
> =?Utf-8?B?bGJmcmFuY29pcw==?=
> <lbfrancois@discussions.microsoft.com> wrote on 17 jul 2007 in
> microsoft.public.windows.terminal_services:
>
> > Hi,
> >
> > I've seen some artiles about Terminal Services License Server
> > WMI provider to monitor available lisences. They use the
> > following classes:
> >
> > Win32_TSIssuedLicense
> > Win32_TSLicenseKeyPack
> > Win32_TSLicenseReport
> > Win32_TSLicenseReportEntry
> > Win32_TSLicenseServer
> >
> > I couldn't find these clases on my W2k3 TS Licensing servers, I
> > suppose it's because they require TlsWmiProv.mof
> >
> > Does anyone know how to get it installed?
> >
> > Thanks!!
> >
> > Regards,
> > Lu.
> >
> > "Vera Noest [MVP]" wrote:
> >
> >> I agree that that would be a nice feature.
> >>
> >> I would schedule a batchfile to run once a day. Run lsreport,
> >> and parse the output. Count the number of lines in the
> >> outputfile.
> >>
> >> _________________________________________________________
> >> Vera Noest
> >> MCSE, CCEA, Microsoft MVP - Terminal Server
> >> TS troubleshooting: http://ts.veranoest.net
> >> *----------- Please reply in newsgroup -------------*
> >>
> >> =?Utf-8?B?Q2hyaXN0aWFuIExsb3lk?=
> >> <ChristianLloyd@discussions.microsoft.com> wrote on 03 aug
> >> 2005:
> >>
> >> > Is there any way to effectively and automatically monitor TS
> >> > CAL availability? I don't know of one and can't find anyone
> >> > else who does. All Wintel Citrix farms rely on TS CALs to
> >> > operate, but I can't find any way to monitor TS CAL
> >> > availability automatically. Manually it can be monitored
> >> > through the TS licensing console and the lsreport tool, but
> >> > there isn't a perfmon counter or any other thing that I know
> >> > of that will alert me if I hit the maximum limit of TS CALs.
> >> > I thought that the TS management pack for MOM that recently
> >> > came out might have something, but no such luck from what
> >> > I've seen. It will monitor TS Licensing server availability,
> >> > but not availability of the licenses itself.
> >> >
> >> > I think this is big gap in the ability to monitor TS/Citrix
> >> > farms adequately. I want to be able to get an alert sent
> >> > when TS CALs are nearing full allocation. Anyone know of any
> >> > way to do this?

>
 
You're right, only installing .NET 3.0 isn't enough, you need
Windows 2008 (aka Longhorn) as OS.

Documented here:

What’s new in Terminal Services Licensing for Longhorn? Part 5
http://blogs.msdn.com/ts/archive/2007/05/02/what-s-new-in-terminal-
services-licensing-for-longhorn-part-5.aspx

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

=?Utf-8?B?bGJmcmFuY29pcw==?=
<lbfrancois@discussions.microsoft.com> wrote on 17 jul 2007 in
microsoft.public.windows.terminal_services:

> Hi Vera,
>
> Thanks for your reply. This is page I'm accessing:
> http://msdn2.microsoft.com/EN-US/library/aa383803.aspx
>
> I couldn't find and .NET framework 3.0 reference in there... I'm
> not using .NET 3.0, but I don't see how it would add the WMI
> providers. At the bottom of the page, it says the TS Licensing
> server WMI MOF is required, but I have no idea where I can find
> it, or what software it is shipped with... Any ideas?
>
> "Vera Noest [MVP]" wrote:
>
>> I could be totally off here, but I noticed that all pages on
>> MSDN about these classes have a banner saying "This page is
>> specific for ..NET 3.0 Framework". Have you installed .NET 3.0?
>>
>> _________________________________________________________
>> Vera Noest
>> MCSE, CCEA, Microsoft MVP - Terminal Server
>> TS troubleshooting: http://ts.veranoest.net
>> ___ please respond in newsgroup, NOT by private email ___
>>
>> =?Utf-8?B?bGJmcmFuY29pcw==?=
>> <lbfrancois@discussions.microsoft.com> wrote on 17 jul 2007 in
>> microsoft.public.windows.terminal_services:
>>
>> > Hi,
>> >
>> > I've seen some artiles about Terminal Services License
>> > Server WMI provider to monitor available lisences. They use
>> > the following classes:
>> >
>> > Win32_TSIssuedLicense
>> > Win32_TSLicenseKeyPack
>> > Win32_TSLicenseReport
>> > Win32_TSLicenseReportEntry
>> > Win32_TSLicenseServer
>> >
>> > I couldn't find these clases on my W2k3 TS Licensing servers,
>> > I suppose it's because they require TlsWmiProv.mof
>> >
>> > Does anyone know how to get it installed?
>> >
>> > Thanks!!
>> >
>> > Regards,
>> > Lu.
>> >
>> > "Vera Noest [MVP]" wrote:
>> >
>> >> I agree that that would be a nice feature.
>> >>
>> >> I would schedule a batchfile to run once a day. Run
>> >> lsreport, and parse the output. Count the number of lines in
>> >> the outputfile.
>> >>
>> >> _________________________________________________________
>> >> Vera Noest
>> >> MCSE, CCEA, Microsoft MVP - Terminal Server
>> >> TS troubleshooting: http://ts.veranoest.net
>> >> *----------- Please reply in newsgroup -------------*
>> >>
>> >> =?Utf-8?B?Q2hyaXN0aWFuIExsb3lk?=
>> >> <ChristianLloyd@discussions.microsoft.com> wrote on 03 aug
>> >> 2005:
>> >>
>> >> > Is there any way to effectively and automatically monitor
>> >> > TS CAL availability? I don't know of one and can't find
>> >> > anyone else who does. All Wintel Citrix farms rely on TS
>> >> > CALs to operate, but I can't find any way to monitor TS
>> >> > CAL availability automatically. Manually it can be
>> >> > monitored through the TS licensing console and the
>> >> > lsreport tool, but there isn't a perfmon counter or any
>> >> > other thing that I know of that will alert me if I hit the
>> >> > maximum limit of TS CALs. I thought that the TS management
>> >> > pack for MOM that recently came out might have something,
>> >> > but no such luck from what I've seen. It will monitor TS
>> >> > Licensing server availability, but not availability of the
>> >> > licenses itself.
>> >> >
>> >> > I think this is big gap in the ability to monitor
>> >> > TS/Citrix farms adequately. I want to be able to get an
>> >> > alert sent when TS CALs are nearing full allocation.
>> >> > Anyone know of any way to do this?
 
Back
Top