dmtf standards overview wbem and cim september 18, 2002 andrea westerinen julie schott cisco systems

28
DMTF Standards Overview DMTF Standards Overview WBEM and CIM WBEM and CIM September 18, 2002 September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

Upload: ellen-casey

Post on 17-Jan-2018

216 views

Category:

Documents


0 download

DESCRIPTION

DMTF 2002Page 3 WBEM Web-Based Enterprise Management A set of management and Internet standard technologies developed to unify the management of enterprise computing environments Data Description xmlCIM Transport Encoding HTTP HTTP Access CIM

TRANSCRIPT

Page 1: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF Standards Overview DMTF Standards Overview WBEM and CIMWBEM and CIM

September 18, 2002September 18, 2002Andrea Westerinen

Julie SchottCisco Systems

Page 2: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 2

Topics for Topics for Discussion Discussion

• WBEM Overview• CIM, the Common Information Model• xmlCIM, CIM’s XML encoding• CIM Operations over HTTP• References• Questions

Page 3: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 3

WBEMWBEM• Web-Based Enterprise Management• A set of management and Internet standard

technologies developed to unify the management of enterprise computing environments

Data Description

xmlCIMTransport Encoding

HTTP HTTP Access

CIM

Page 4: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 4

WBEM ArchitectureWBEM Architecture(Client-Server)(Client-Server)

WBEM ClientComputer

CIMOM

ProvidersCIM

Server

CIMOM

ProvidersCIM

Network Router

CIMOM

ProvidersCIM

WBEM / CIM Ops over HTTP

WBEM / CIM Ops over HTTP

WBEM / CIM Ops over HTTP

Page 5: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 5

WBEM Operational WBEM Operational OverviewOverview

Managed Element

Provider(s)

CIM Object Manager(CIMOM)

CIM Server

CIM-XMLProtocolAdapter

CIM-XMLIndication

Handler

Provider(s)

Client

CIM-XML

• CIM Client– Interacts with a CIM Server by issuing CIM

Operation Message Requests and receiving/processing CIM Operation Message Responses

• CIM Server – Server that receives and processes CIM

Operation Message Requests and issues CIM Operation Message Responses

• CIM Object Manager (CIMOM)– Central component of the CIM Server

responsible for the communication between other components

• Provider – Instruments one or more aspects of the

CIM Schema, reflecting the “real world”

Page 6: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 6

WBEM TechnologiesWBEM Technologies• CIM Schema • XML DTD to encode the Schema• CIM Operations over HTTP

– HTTP/1.0 and /1.1 encapsulation– Synchronous message request and response;

Simple and multiple methods supported– Publish/subscribe mechanism for Indications (event

notifications)– Extrinsic (methods on a class) and intrinsic (model

operations) methods are defined – Get, Create, Delete, Modify, Enumerate, …

Page 7: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 7

WBEM EnvironmentWBEM EnvironmentData Description

xmlCIMTransport Encoding

HTTP HTTP Access

CIM

Page 8: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 8

CIMCIM• Common Information Model• Core Specification

– “Meta”-model and high level concepts – Language definition (MOF, Managed Object Format)

• “Core” and “Common” Models – Object oriented design– Core Model contains info applicable to all management

domains – Common Models address specific domains - Systems,

Devices, Applications, Networks, Users, ... • Subclass from the Core Model• Models overlap and cross-reference

– Vendor extensions encouraged

Page 9: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 9

Definition of an Definition of an Information ModelInformation Model

An abstraction and representation of the entities in a managed environment - their properties, operations, and relationships.

It is independent of any specific repository, application, protocol, or

platform.

Page 10: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 10

Customer’s Mgmt Customer’s Mgmt Information StackInformation Stack

Database

Application Server

Applications and Services

Operating System

Systems, Devices/Storage, …

Network

Use

rs a

nd S

ecur

ity

Polic

y

Supp

ort

Man

agem

ent I

nfra

stru

ctur

e

CIM

Page 11: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 11

CIM’s OO ApproachCIM’s OO Approach• Model the world in terms of objects

– An object is an abstraction, consisting of a set of related data and behaviors

– An object is treated by the system as a named entity that has a set of characteristics (properties and methods), behavior, and a unique identity

• Also describe relationships– Inheritance hierarchies refine and specialize the

attributes and behavior of a group of objects– Association hierarchies relate objects to each other

• Have “standard”, inheritable methods

Page 12: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 12

Modeling ExampleModeling ExampleSwitch Switch

(Physical (Physical Aspects)Aspects)

Port (Switch

Address)

Switch(Logical Aspects)

Extensions for MIB

Properties, Internal Port Properties,

Etc.

PhysicalElement

PhysicalPackage

Card

System

ComputerSystem

UnitaryComputerSystem

LogicalElement

ServiceAccessPoint

ProtocolEndpoint

Cisco-SpecificClass Extensions

Page 13: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 13

Models in CIMModels in CIM• Core• Physical• System• Device• Network• Policy• User and Security• Applications and Metrics• Database• Event• Interoperability• Support

Page 14: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 14

WBEM EnvironmentWBEM EnvironmentData Description

xmlCIMTransport Encoding

HTTP HTTP Access

CIM

Page 15: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 15

xmlCIMxmlCIM

• Standard way to represent CIM information using XML

• CIM DTD (Document Type Definition)• Meta-Schema mapping

– Simple & Straight forward– Requires only one DTD

• CIM Messages• Protocol independent!

Page 16: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 16

xmlCIM ExamplexmlCIM Example<CLASS NAME="CIM_LogicalPort" SUPERCLASS="CIM_LogicalDevice"> <QUALIFIER TRANSLATABLE="true" NAME="Description" TYPE="string"> <VALUE>The abstraction of a port or connection point of a Device. This object should be instantiated when the Port has independent management characteristics from the Device that includes it. Examples are a Fibre Channel Port and a USB Port. This class would not be instantiated for an Ethernet Port which is not managed independently of the EthernetAdapter.</VALUE> </QUALIFIER> <PROPERTY NAME="Speed" TYPE="uint64"> <QUALIFIER TRANSLATABLE="true" NAME="Description" TYPE="string"> <VALUE>The speed of the Port in Bits per Second.</VALUE> </QUALIFIER> <QUALIFIER TRANSLATABLE="true" NAME="Units" TYPE="string"> <VALUE>Bits per Second</VALUE> </QUALIFIER> </PROPERTY> <PROPERTY NAME="MaxSpeed" TYPE="uint64"> <QUALIFIER TRANSLATABLE="true" NAME="Description" TYPE="string"> <VALUE>The max speed of the Port in Bits per Second.</VALUE> </QUALIFIER> <QUALIFIER TRANSLATABLE="true" NAME="Units" TYPE="string"> <VALUE>Bits per Second</VALUE> </QUALIFIER> </PROPERTY></CLASS>

Page 17: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 17

WBEM EnvironmentWBEM EnvironmentData Description

xmlCIMTransport Encoding

HTTP HTTP Access

CIM

Page 18: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 18

CIM Operations over CIM Operations over HTTPHTTP

• Protocol Independent!• Support for single or multiple operations• Types of Operations:

– Data– Meta Data– Queries– Methods

HTTP headerHTTP header

Xml/Cimpayload

Page 19: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 19

Operations ProfilesOperations ProfilesFunctional Group Dependency Methods

Basic Read None

Get ClassEnumerateClassesEnumerateClassNameGetInstanceEnumerateInstancesEnumerateInstanceNamesBasic Write Basic Read SetProperty

Instance Manipulation Basic WriteCreateInstanceModifyInstanceDeleteInstance

Schema manipulation Instance ManipulationCreateClassModifyClassDeleteClass

Association Traversal Basic Read

AssociatorsAssociatorNamesReferencesReferenceNames

Query Execution Basic Read ExecQuery

Qualifier Declaration Schema Manipultation

GetQualifierSetQualifierDeleteQualifierEnumerateQualifiers

Page 20: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 20

HTTP Operations HTTP Operations ExampleExample

M-POST /cimom HTTP/1.0Content-Type: text/xml;charset=UTF-8Accept: text/xml, application/xmlMan: http://www.dmtf.org/cim/mapping/http/v1.0;ns=4848-CIMProtocolVersion: 1.048-CIMOperation: MethodCall48-CIMMethod: GetClass48-CIMObject: root%2Fcimv2User-Agent: Java1.2.1Host: edoc5-pcContent-length: 445<?xml version="1.0" encoding="UTF-8"?>

<CIM DTDVERSION="2.0" CIMVERSION="2.0"> <MESSAGE ID="2000:1:24:11:0:44:58:1" PROTOCOLVERSION="1.0"> <SIMPLEREQ> <IMETHODCALL NAME="GetClass"> <LOCALNAMESPACEPATH> <NAMESPACE NAME="root" /> <NAMESPACE NAME="cimv2" /> </LOCALNAMESPACEPATH> <IPARAMVALUE NAME="ClassName"> <CLASSNAME NAME="cim_logicalport" /> </IPARAMVALUE> </IMETHODCALL> </SIMPLEREQ> </MESSAGE></CIM>

Page 21: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 21

DMTF and WBEM DMTF and WBEM ReferencesReferences

• DMTF DMI, CIM, SMBIOS, ASF, WBEM and DEN Standards and Standard Publications – http://www.dmtf.org/standards/index.php

• DMTF Standard Publications – http://www.dmtf.org/standards/published_documents.php

• DMTF Developer Conference presentations (June 2002) – http://www.dmtf.org/devcon/devcon02/

• DMTF Marketplace - http://www.dmtf.org/about/market.php

• Open Source CIM Implementations – http://www.wbemsource.org

Page 22: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 22

?? Questions

And Discussion

????

Page 23: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

Backup SlidesBackup Slides

1. DMTF Technical Working Groups and Development Process

2. How CIM Is Expressed (MOF, UML and XML)

Page 24: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 24

DMTF Technical DMTF Technical Working GroupsWorking Groups

Technical Committee

Chair: Andrea Westerinen, Cisco

Board Members: Intel, Microsoft, Cisco, Sun, Tivoli/IBM, Compaq, Dell, HP, 3Com, BMC, NEC, Oracle, Novell, Symantec Alliance Partners, WG Chairs

PreOSChair: Intel

Networks Chair: Cisco

System/DevicesChair: Cisco

User/SecurityChair: IBM

Applications/Metrics (Previously DAP)Chair: TOG

DatabaseChair: Oracle

Interoperability/EventsChair: Sun

Policy/SLAChair: IBM

DEN/LDAP MappingChair: Cisco

Several new WGs under discussion

Desktop Mgmt InterfaceChair: HP

Support/Help DeskChair: CSI

Page 25: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 25

DMTF Development DMTF Development ProcessProcess

• Five phases in the release of DMTF Specifications and Schema: – Development by Working Groups – Member Comment – Company Review – Preliminary Standard – Final Standard

• All additions and updates to standards submitted as Change Requests to the appropriate WG and then forwarded to the Technical Committee

Page 26: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 26

How Is CIM How Is CIM Expressed?Expressed?

• MOF - Managed Object Format (ASCII or Unicode)• VISIO for UML (Unified Modeling Language)• XML - eXtensible Markup Language

– XML grammar can be used to describe CIM metaschema, Detailed in DTD (Document Type Defn)

• DTD defines tags such as CLASS, INSTANCE and QUALIFIER

– Associations are described via an ASSOCIATION.CLASS tag (Distinguished because they include references as properties)

• Whitepapers

Page 27: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 27

MOF ExampleMOF Example [Abstract, Description ( "An abstraction or emulation of a hardware entity, that may " "or may not be Realized in physical hardware. ... ") ] class CIM_LogicalDevice : CIM_LogicalElement{. . . [Key, MaxLen (64), Description ( "An address or other identifying information to uniquely " "name the LogicalDevice.") ] string DeviceID; [Description ( "Boolean indicating that the Device can be power " "managed. ...") ] boolean PowerManagementSupported; [Description ( "Requests that the LogicalDevice be enabled (\"Enabled\" " "input parameter = TRUE) or disabled (= FALSE). ...)" ] uint32 EnableDevice([IN] boolean Enabled);. . .};

Qualifiers

Class Name and Inheritance

Properties

Methods

Page 28: DMTF Standards Overview WBEM and CIM September 18, 2002 Andrea Westerinen Julie Schott Cisco Systems

DMTF 2002 Page 28

UML/Visio ExampleUML/Visio ExampleASSOCIATIONS

AGGREGATION (A kind of association)

INHERITANCE

Logica lEle m e nt

*

*M a na ge dS yste m Ele m e nt

*

P hysica lEle m e nt

Component*

P roduct

Produc tPhy s ic alElements

Produc tParentChild

*

**0..1

*

Logic alIdentity

**

Colle ction

MemberOf Collec tion*

M a na ge dEle m e ntDependenc y

METHODS