WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-cim

[Xen-cim] Re: example cim indication subscription commands

To: <xen-cim@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-cim] Re: example cim indication subscription commands
From: "Szymanski, Lukasz K" <Lukasz.Szymanski@xxxxxxxxxx>
Date: Fri, 9 Feb 2007 11:40:48 -0500
Delivery-date: Fri, 09 Feb 2007 08:40:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E1HFUQr-0002Pw-IP@host-192-168-0-1-bcn-london>
List-help: <mailto:xen-cim-request@lists.xensource.com?subject=help>
List-id: xen-cim mailing list <xen-cim.lists.xensource.com>
List-post: <mailto:xen-cim@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-cim-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdMQdxnJmjiYzNZQRaMVq5F2JSVBAAJGzIw
Thread-topic: example cim indication subscription commands
Gareth -

Thanks for your input.  I believe the syntax I have for OpenWbem is
correct.  It looks like this:

# owcimindicationlistener -u http://localhost/root/cimv2 -f 'SELECT *
FROM CIM_InstCreation'

The reason I think the syntax is correct is because the output looks
like this:
...
[1115703616] safeLibCreate::create called.  createFuncName =
createIndicationRepLayer
[1115703616] Got query statement (SELECT * FROM CIM_InstCreation) in
wql1
[1115703616] query is for indication class: CIM_InstCreation
[1115703616] isaClassNames =
[1115703616] CppProviderIFC::loadProvider loading library:
/usr/lib64/openwbem/c++providers/libowprovindIndicationRepLayer.so
[1115703616] C++ provider ifc successfully loaded library
/usr/lib64/openwbem/c++providers/libowprovindIndicationRepLayer.so for
provider owprovindIndicationRepLayer
[1115703616] C++ provider ifc calling initialize for provider
owprovindIndicationRepLayer
[1115703616] C++ provider ifc: provider owprovindIndicationRepLayer
loaded and initialized
[1115703616] CPPProviderIFC found indication provider
owprovindIndicationRepLayer
[1115703616] CPPProviderIFC found indication provider NovellHMS
[1115703616] CppProviderIFC::loadProvider loading library:
/usr/lib64/openwbem/c++providers/libomc_linux_process.so
[1115703616] C++ provider ifc successfully loaded library
/usr/lib64/openwbem/c++providers/libomc_linux_process.so for provider
omc_linux_process
[1115703616] C++ provider ifc calling initialize for provider
omc_linux_process
[1115703616] C++ provider ifc: provider omc_linux_process loaded and
initialized
[1115703616] CPPProviderIFC found indication provider omc_linux_process
[1115703616] Found 3 providers for the subscription
[1115703616] Calling authorizeFilter for provider 0
[1115703616] Calling authorizeFilter for provider 1
[1115703616] Calling authorizeFilter for provider 2
[1115703616] Calling mustPoll for provider 0
[1115703616] got pollInterval 30
[1115703616] Calling mustPoll for provider 1
[1115703616] got pollInterval 0
[1115703616] Calling mustPoll for provider 2
[1115703616] got pollInterval 0

However, when I try this: 

# owcimindicationlistener -u http://localhost/root/cimv2 -f 'SELECT *
FROM Xen_ComputerSystemIndication'

I get this:
...
[1115703616] safeLibCreate::create called.  createFuncName =
createIndicationRepLayer
[1115703616] Got query statement (SELECT * FROM
Xen_ComputerSystemCreation) in wql1
[1115703616] query is for indication class: Xen_ComputerSystemCreation
[1115703616] isaClassNames =
[1115703616] Found 0 providers for the subscription
[1115703616] Indication Server Subscriptions: No work after 1 sec. I'm
not waiting any longer

I get the same result if I try the interop namespace, or
Xen_CopmuterSystemIndication/Creation/Deletion/Modification.  BTW, the
Xen indication stuff shows up only in root/cimv2 - there is nothing in
Interop.  Also, there is no Xen_CopmuterSystemIndication - just
Xen_CopmuterSystemCreation/Deletion/Modification.

The result from CIM_InstCreation got me looking at
owprovindIndicationRepLayer where I realized there were a few functions
missing from the Xen provider, namely: getIndicationProvider,
getIndicationProviderInfo, and getIndicationProviderInfoWithEnv.

I was going to keep looking down that path. The functions have
structures passed into them which I have not quite matched to ours (I'm
pretty sure they're there, I just haven't gotten there yet).  Let me
know if that sounds like a reasonable plan.

Luke

_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-cim] Re: example cim indication subscription commands, Szymanski, Lukasz K <=