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] Detection of host instrumentation

To: xen-cim@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-cim] Detection of host instrumentation
From: Jim Fehlig <jfehlig@xxxxxxxxxx>
Date: Mon, 02 Oct 2006 18:02:55 -0600
Delivery-date: Mon, 02 Oct 2006 17:28:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
User-agent: Thunderbird 1.5.0.7 (X11/20060909)
After thinking about several approaches for ensuring that host instrumentation is available at build time, I've concluded they all suck and we should just document this dependency :-).

Detecting existence of dependent providers during configure requires asking the cimom (assuming it is running) for a known registered profile or class. This is the only way I see of reliably determining if the build host has the required instrumentation - and I'm not comfortable doing such hackery in the configure script.

I like the runtime discovery we have previously discussed, but it is useless without our own instrumentation to fall back on in the event nothing is found - and I don't want to be in the host instrumentation business given the existence of OMC, SBLIM, etc.

I have two suggestions for handling the host instrumentation dependency.

1. Just document that the existence of virtualization model depends on existence of related modeling. We could provide instructions in the README for obtaining and installing the OMC project and be done with it.

2. Same as above but with added 'feature' of specifying host instrumentation via a configure argument. E.g. one could run './configure --with-omc' or './configure --with-sblim'. The configure script would not detect existence of the instrumentation - just use some knowledge about these projects to determine namespace and classnames of host instrumentation for use throughout the providers. If not specified, default to OMC.

Option 2 seems reasonable and allows for using SBLIM providers on Pegasus until such time OMC providers can run in that environment. User is still responsible for ensuring the host instrumentation is installed and functional.

Thoughts?

Jim


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

<Prev in Thread] Current Thread [Next in Thread>