Download presentation
Presentation is loading. Please wait.
Published byCharles McDowell Modified over 9 years ago
1
WS-CIM mapping using WSDM Igor Sedukhin (Igor.Sedukhin@ca.com)Igor.Sedukhin@ca.com Heather Kreger (kreger@us.ibm.com)kreger@us.ibm.com Andreas Maier (maiera@de.ibm.com)maiera@de.ibm.com Tom Maguire (tmaguire@de.ibm.com)tmaguire@de.ibm.com Bryan Murray (Bryan.Murray@hp.com)Bryan.Murray@hp.com William Vambenepe (vbp@hp.com)vbp@hp.com Andrea Westerinen (AndreaW@cisco.com)AndreaW@cisco.com
2
Objectives Use of WS protocols for management Common tooling/platforms. Many required features are included. Make management capabilities more accessible Easy to implement and use Isolation of information from implementation aspects Wide-range distributed management Variety of interconnected resources Self-management
3
Using CIM Management Application CIM Server CIM Provider Proprietary Integration Proprietary Protocols or WEBM
4
Using CIM Access the objects Enumerate objects Query/set properties of objects Invoke methods on objects Traverse associations/links between objects Create objects Query metadata (qualifiers) about objects Access the model Navigate class hierarchy Enumerate classes Query metadata (qualifiers) about classes Traverse associations/links between classes Query/set properties of classes* Invoke methods on classes* Create classes* Subscribe to events (indications)
5
Evolutionary step 1 Management Application CIM Server “SMASH” CIM Provider WS impl. Web services Protocols
6
Evolutionary step 2 Management Application Management Server “SMASH” CIM OM WS impl. Web services Protocols WS impl.
7
Web services access to Manageable Resources Interoperability based on XML message exchanges Multiple network transports Message-level composable features Security Reliability Asynchrony Etc. (Extensible) Describable Resource-centric No need to implement all full-scale CIMOM services
8
Web services access to Resources Resource endpoint XML Representation John Doe … … Policies Schemas WSDL messages w/ WSA & other information in the headers EPR refers to Web services Application known to WS-Resource
9
Web Services Platform Standards XML Schema – captures information model SOAP – XML messaging WSDL – describes message exchanges (e.g. operations) WS-ResourceProperties Discover resource properties Get/set resource properties Value change notifications WS-ResourceLifetime Know when a resource is/will be destroyed Destroy a resource WS-ServiceGroup Query a group of resources Register a resource WS-BaseNotification Subscribe to notifications Notify message wrapper WS-Topics – description of notification messages and topic classification
10
Manageable Server Resource Applying Web Services to CIM Management Application CIM OM Directly WS-enable CIM OM access Becomes similar to a WS access to an object database Management Application CIM OM Manageable Server Resource Manageable Service Resource Service Users WS-enable access to Manageable Resources Focus on responsibilities of Manageable Resources Adequate for implementation in SOA applications Manageability as a design-time, architectural aspect Can be done along with general SOA-enablement Provides for distributed management Focus on responsibilities of CIM OM
11
WSDM Focus on resources Isolation from implementation Composability Of implementation aspects Of manageability capabilities Bases on Web Services access to Resources Also applicable to new breed of resources whose functions are exposed as Web Services Provides support for Identity Relationships Event Format and Notification Topics Discovery and Advertisement Etc.
12
WS-CIM using WSDM protocol Manageable Application WSDM WSRF/WSN WS CIM OM WSDM WSRF/WSN WS CIM Provider “SMASH” WSDM WSRF/WSN WS SMASH Provider Management Application Proprietary/ WEBM Command-Line
13
WS-CIM using WSDM protocol WS = basic XML messaging, descriptions, security, etc. WSRF+WSN = resource application patterns using WS WSDM = 1) basic manageability capabilities (e.g. identity) 2) manageability mechanisms (e.g. association traversal) 3) a methodology to define other manageability capabilities CIM = management information model WS-CIM = joining it all together
14
Resource mapping Management Application WS-CIM implementation Get(OtherIdentifyingInfo) RequestStateChange(...) endpoint XML Representation... …... … Policies Schemas WSDL EPR manageable resources mark
15
Other objects mapping Management Application WS-CIM implementation Get(SampleInterval) ResetSelectedStats(...) endpoint XML Representation... …... … Policies Schemas WSDL EPR
16
Instances collection Management Application WS-CIM implementation Query endpoint … Policies Schemas WSDL EPR Instance 1 EPR1 Instance 2 EPR2 Instance ? EPR?
17
Association traversal Objectives Ability to traverse associations between manageable resources and business applications/processes Association instances accessible via Web services Any Web service can provide for association traversal A manageable resource can provide its own associations with other resources (if known) A service can facilitate traversal of all discovered associations across many resources Provide for backward-compatible association introspection via CIM operations (queries, associators and references)
18
Association traversal 1) Query association instances, resolve reference properties 2) Common association traversal service 3) Every manageable resource provides associations it knows and wants to expose to managers
19
Association traversal Management Application WS-CIM implementation QueryRelationshipsByType( AssociatedPowerManagementService) Get(PowerState)SetPowerState(...) EPR
20
Association traversal Management Application WS-CIM implementation WS-CIM implementation WS-CIM implementation Association Provider HW Manager SW Manager
21
Association traversal....../ServiceProvided... Management Application WS-CIM implementation QueryRelationshipsByType( AssociatedPowerManagementService) SetPowerState(...) EPR OUT IN
22
Indications Objectives Provide a subscription mechanism Can be implemented by a manageable resource which emits its own notifications Can be implemented by an events service which emits various notifications about various resources Provide a classification/description mechanism In order to describe which indications correspond to which notification messages Provide a mechanism to discover what indications are available Provide a representation of an indication as an notification message Used as a notification message body Interoperable representation of indication instances Provide a notification message delivery mechanism
23
Resource-specific notifications Management Application WS-CIM implementation Get(Topics) endpoint XML Representation... …... … Policies Schemas WSDL EPR Observations about this Computer System Topic Spaces wsdm:ManagementEvent[wsrp:PropertyValueChangeNotification] cim-ele:EnabledState
24
Resource-specific notifications Management Application WS-CIM implementation Subscribe(cim-ele:EnabledState) endpoint XML Representation... …... … Policies Schemas WSDL EPR Observations about this Computer System Topic Spaces Notification Message …
25
CIM-specific notifications Management Application WS-CIM implementation Get(Topics) endpoint … Policies Schemas WSDL EPR Topic Spaces wsdm:ManagementEvent[cim-root:CIM_InstMethodCallMessage] cim-root:CIM_InstIndication/ cim-root:CIM_InstMethodCall Observations about this Computer System CIM_ComputerSystem instance
26
CIM-specific notifications Management Application WS-CIM implementation Subscribe( cim-root:CIM_InstIndication/ cim-root:CIM_InstMethodCall) endpoint … Policies Schemas WSDL EPR Observations about this Computer System Topic Spaces Notification Message … CIM_ComputerSystem instance
27
CIM-specific notifications Management Application WS-CIM implementation Get(Topics) endpoint … Policies Schemas WSDL EPR Topic Spaces wsdm:ManagementEvent[cim-root:CIM_InstCreationMessage] cim-root:CIM_InstIndication/ cim-root:CIM_InstCreation Observations about all Computer System instances CIM_ComputerSystem class
28
CIM-specific notifications Management Application WS-CIM implementation Subscribe( cim-root:CIM_InstIndication/ cim-root:CIM_InstCreation) endpoint … Policies Schemas WSDL EPR Observations about all Computer System instances Topic Spaces Notification Message … CIM_ComputerSystem class
29
CIM Indications Producer CIM-specific notifications Management Application WS-CIM implementation Get(Topics) endpoint … Policies Schemas WSDL EPR Topic Spaces wsdm:ManagementEvent[cim-root:CIM_InstCreationMessage] wsdm:ManagementEvent[cim-root:CIM_InstMethodCallMessage] cim-root:CIM_InstIndication/ cim-root:CIM_InstCreation; cim-root:CIM_InstIndication/ cim-root:CIM_InstMethodCall Observations about everything
30
CIM Indications Producer CIM-specific notifications Management Application WS-CIM implementation Subscribe( cim-root:CIM_InstIndication/*, {...CQL Selector...}... ) endpoint … Policies Schemas WSDL EPR Observations about everything Topic Spaces Notification Message …
31
Classes mapping endpoint Instance 1 I1 Instance 2 I2 Instance Y IY endpoint Class 1 C1 Class 2 C2 Class X CX Instances CollectionClasses Collection MyClass endpoint X Instance 1 X1 X Instance Y XY Class X Instance Y of Class X MX ICCC WS-ServiceGroup Class definition Instances Collection
32
ServiceGroup background Service groups aggregate Web services and WS-Resources for a domain specific purpose Three sets of service group message exchanges allow: Query and retrieval of service group details Query and retrieval of entry details Ability to add entries WS-CIM “domain specific purposes” for service groups: To group classes in a namespace (as exposed by a CIMOM) To group instances in a namespace (as exposed by a CIMOM) To group instances of a particular class (mandates that every CIM class definition include the WS-ServiceGroup operations in its portType)
33
Accessing metadata Management Application WS-CIM implementation WS-MeX:GetMetadata endpoint … Policies Schemas WSDL EPR Topic Spaces WSRF-MD Instances provide metadata about themselves Classes provide metadata about themselves and instances CIM Qualifiers
34
Qualifier mapping Qualifier information returned using WS-RMD (WS- ResourceMetadataDescriptor) WS-RMD specifies an XML document to define property/operation metadata in a WS-ResourceProperty compliant WSDL portType Metadata document is found through a reference on the WSDL portType Most CIM qualifiers mapped as specific attributes on a property or operation Defined for each class resource For example: true Full Power Power Save - Low Power Mode
35
Conclusion
36
CIM Functionality coverage Instance Access GetInstance – WS-RF RP GetResorucePropertiesDocument ModifyInstance - WS-RF RP SetResourceProperties GetProperty – WS-RF RP GetResourceProperty SetProperty- WS-RF RP SetResourceProperties Associations Associators – WSDM Relationships AssociatorNames – WSDM Relationships References – WSDM Relationships ReferenceNames – WSDM Relationships
37
CIM Functionality coverage Instance Management DeleteInstance – WS-RF Resource Lifetime Delete CreateInstance – Creation Capability Discovery Enumerate – WS-RF ServiceGroup query ExecQuery – WS-RF ServiceGroup query EnumerateInstances – WS-RF ServiceGroup Query EnumerateInstanceNames – WS-RF ServiceGroup Query
38
CIM Functionality Coverage Schema Management EnumerateClasses – Class ServiceGroup query EnumerateClassNames – Class ServiceGroup query GetClass – GetMetaData – WSDL (RP,WS-RMD) GetQualifier – XQuery over WS-RMD document EnumerateQualifiers – XQuery over WS-RMD document DeleteClass - future CreateClass - future ModifyClass - future SetQualifier - future DeleteQualifier - future
39
Summary Relatively straight forward mapping between Web services and CIM Scales large and small Based on existing specification that are on the standards track w/ significant industry support Implementations are available Meets requirements of WS-CIM Document provided To provide more details for understanding To be used by the WS-CIM group as we develop WS-CIM specifications
40
Q&A
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.