7 messages in com.xensource.lists.xen-cimRe: [Xen-cim] How can I use xen-CIM?
FromSent OnAttachments
Ashit Kumar06 Mar 2007 07:11 
Gareth S Bestor06 Mar 2007 08:18 
Ashit Kumar07 Mar 2007 05:04 
Jim Fehlig07 Mar 2007 08:24 
Subrahmanian, Raj07 Mar 2007 08:43 
Jim Fehlig07 Mar 2007 09:22 
Subrahmanian, Raj07 Mar 2007 09:29 
Subject:Re: [Xen-cim] How can I use xen-CIM?
From:Jim Fehlig (jfeh@novell.com)
Date:03/07/2007 08:24:22 AM
List:com.xensource.lists.xen-cim

Ashit Kumar wrote:

Hi Gareth, Thanks for the info.Actually i wanted to know if we can manage the VBDs on DomU from the Dom0. And how can we discover the backing storage on host system.

Yes, you can manage domU vbds from cim providers in dom0. ATM, you can only add/remove vbds. The providers do not support modifying properties of an existing vbd, although it would be easy to add and patches are always welcome :-). I don't know how much modify functionality is available via new Xen API, so we may be limited in what can be done in the providers for the time. BTW, all of this applies to vif devices as well.

Can we anyhow map these Xen-CIM model through CLI?

What CLI? Not sure what you're asking. There are generic wbem/cim CLIs, e.g.

http://sourceforge.net/project/showfiles.php?group_id=128809&package_id=141067

I hope i am making sense.Actually i want to map these Xen-CIM object through CLI for RHEL,as of now. This i guess will definitely make a contribution to the Xen development because RHEL distro for Xen-CIM is not targetted currently and these mappings may be a help for the users.

The Xen CIM providers will only work on Xen >= 3.0.5, which at the moment is xen-unstable :-). That said, I have backported several Xen API related patches to 3.0.4-testing, which we are using in SLES10 SP1, allowing the CIM providers to run on Xen 3.0.4 tools stack in SLES10 SP1. I have not backported all of the Xen API improvements that have come into xen-unstable since the 3.0.4 branch, so the providers don't have full xen-unstable functionality but more than available in vanilla 3.0.4.

Ideally we would like to be consuming as much of Xen API as possible when Xen 3.0.5 is released. Realistically, I doubt the providers will have little if any additional functionality for Xen 3.0.5. But don't let that discourage you, there is reasonable functionality in the providers today :-).

As for REHL, I'm not aware of anyone working on an adapter (or shim, or mapping layer, or ...) that will allow the CIM providers to work on REHL xen tools stack.

Regards, Jim

And i will be more than happy to volunteer :) Thanks and regards Ashit

------------------------------------------------------------------------ *From:* Gareth S Bestor [mailto:bes@us.ibm.com] *Sent:* Tuesday, March 06, 2007 9:49 PM *To:* Ashit Kumar *Cc:* xen-@lists.xensource.com *Subject:* Re: [Xen-cim] How can I use xen-CIM?

Can you be more specific as to what you mean by "storage management"? The Xen-CIM providers today allow you to add/remove vbds to/from a DomU config, and have some rudimentary methods to discover backing storage on the host system, but otherwise there's no detailed 'storage' instrumentation, like creating LUNs, etc.

Please note the Xen-CIM providers are only intended to instrument the *virtualization* side of the story. To fully manage a virtualization environment you are probably going to want a suite of host-side CIM instrumentation to manage the actual physical resources on the host system, ie the backing resource which are then 'virtualized' to individual guests. There's a whole bunch of regular CIM providers out there, both Open Source and proprietary, for instrumenting regular host resource (processors, memory, SMIS storage, ...) that you can use to hook up to the Xen CIM providers to manage the host-side. I might suggest looking at the OMC project (http://developer.novell.com/wiki/index.php/OMC).

Storage virtualization modelling is still a work-in-progress in the DMTF SVPC workgroup; once a clearer picture with MOFs and Profiles mature from this effort the Xen CIM providers will start implementing more detailed instrumentation for it. If you'd like to contribute to either effort, we're always looking for volunteers! :-)

- Gareth

Dr. Gareth S. Bestor IBM Linux Technology Center M/S DES2-01 15300 SW Koll Parkway, Beaverton, OR 97006 503-578-3186, T/L 775-3186, Fax 503-578-3186

*"Ashit Kumar" <Ashi@symantec.com>* Sent by: xen-@lists.xensource.com

03/06/2007 09:12 AM

To <xen-@lists.xensource.com> cc

Subject [Xen-cim] How can I use xen-CIM?

Hi, Can anyone tell me that how can I use the Xen-CIM provider for my Storage management? Basically I want some guidelines to get the xen-CIM and use it for Managing the Storage.I know it’s still in development but I guess I can use it for testing.

Otherwise, how can I do it (managing storage) through CLI .I am using XenLinx. Thanks and regards Ashit _______________________________________________ Xen-cim mailing list Xen-@lists.xensource.com http://lists.xensource.com/xen-cim

------------------------------------------------------------------------