Introduction to CMIS/P (Common Management Information Services / Protocol) 陳彥錚 (Yen-Cheng...

28
Introduction to CMIS/P Introduction to CMIS/P (Common Management Information Services / Protocol) 陳陳陳 (Yen-Cheng Chen) http://www.im.tj.mcu.edu.tw/~ycchen/ [email protected]

description

Introduction to CMIS/P (Common Management Information Services / Protocol) 陳彥錚 (Yen-Cheng Chen) http://www.im.tj.mcu.edu.tw/~ycchen/ [email protected]. OSI Management Model. SMI/GDMO. SMFs. MAs. MO. SMASE. SMASE. SMASE. SMASE. CMISE. CMISE. ACSE. ROSE. ACSE. ROSE. - PowerPoint PPT Presentation

Transcript of Introduction to CMIS/P (Common Management Information Services / Protocol) 陳彥錚 (Yen-Cheng...

Page 1: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

Introduction to CMIS/PIntroduction to CMIS/P(Common Management Information

Services / Protocol)

陳彥錚 (Yen-Cheng Chen)http://www.im.tj.mcu.edu.tw/~ycchen/

[email protected]

Page 2: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

OSI Management ModelOSI Management Model

OSI ProtocolStack

Link

ACSE ROSE

CMISE

. . .SMASE SMASE

MAs

OSI ProtocolStack

Link

ACSE ROSE

CMISE

. . .SMASE SMASE

MO

SMFsSMFs

CMIS/PCMIS/P

SMI/GDMOSMI/GDMO

Network

SMASE: Systems Management Application Service Element

Page 3: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

OSI Management StandardsOSI Management Standards CMIS/PCMIS/P

– Common Management Information Service / ProtocolCommon Management Information Service / Protocol SMFs SMFs

– Systems Management FunctionsSystems Management Functions SMI/GDMOSMI/GDMO

– SMI: Structure of Management InformationSMI: Structure of Management Information– GDMO: Guidelines for the Definition of Managed ObjGDMO: Guidelines for the Definition of Managed Obj

ectsects

Page 4: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

ACSE & ROSEACSE & ROSE

ACSEACSE– Association Control Service ElementAssociation Control Service Element

ROSEROSE– Remote Operation Service ElementRemote Operation Service Element

Page 5: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

SMFAs

SMFs

Applications

CMIS Get Set Action Cancel Get Event Report Delete Create

Lower Layer Services

FM CM PM SM AM

ObjectManagement

State Management

Alarm ReportingManagement

Event ReportingManagement

LogControl

Security AlarmReporting

SecurityAudit Trail

AccountingMetering

WorkloadMonitoring

TestManagement

Summarization

Systems Management FunctionsSystems Management Functions

Page 6: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

CMIS/P StandardsCMIS/P Standards Recommendation X.701 | ISO/IEC 9595: 1991Recommendation X.701 | ISO/IEC 9595: 1991

Common Management Information Service (CMIS) DefinitionCommon Management Information Service (CMIS) Definition

Recommendation X.711 | ISO/IEC 9596-1: 1991Recommendation X.711 | ISO/IEC 9596-1: 1991Common Management Information Protocol (CMIP) Common Management Information Protocol (CMIP) SpecificationSpecification

Recommendation X.712 | ISO/IEC 9596-2Recommendation X.712 | ISO/IEC 9596-2Common Management Information Protocol (CMIP) - Common Management Information Protocol (CMIP) - Protocol Implementation Conformance Statement (PICS) Protocol Implementation Conformance Statement (PICS) proformaproforma

Page 7: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

Protocol Stacks for OSI Protocol Stacks for OSI ManagementManagement

SMASE

CMISE

ROSE

Management Applications

Presentation

Session

Transport

Network

Data Link

Physical

ACSE

ApplicationLayer

Page 8: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

Basic Reference Basic Reference ModelModel

CMISE CMISEPDU

CMISEUser

CMISEUser

req ind respconf

conf: Confirmation ind: Indicationreq: Request resp: Response

Page 9: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

CMISE CMISE Services Services

ServiceService Type TypeM-CANCEL-GETM-CANCEL-GET confirmedconfirmedM-EVENT-REPORTM-EVENT-REPORT confirmed/non-confirmedconfirmed/non-confirmedM-GETM-GET confirmedconfirmedM-SETM-SET confirmed/non-confirmedconfirmed/non-confirmedM-ACTIONM-ACTION confirmed/non-confirmedconfirmed/non-confirmedM-CREATEM-CREATE confirmedconfirmedM-DELETEM-DELETE confirmedconfirmed

Page 10: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

CMISE CMISE ServicesServices

M-GETM-GET: : invoked by a CMISE-service-user to request invoked by a CMISE-service-user to request the retrieval of management information from a peer the retrieval of management information from a peer CMISE-service-userCMISE-service-user

M-SETM-SET: : invoked by a CMISE-service-user to request invoked by a CMISE-service-user to request the modification of management information by a peer the modification of management information by a peer CMISE-service-userCMISE-service-user

M-CANCEL-GETM-CANCEL-GET:: invoked by a CMISE-service user to invoked by a CMISE-service user to request a peer CMISE-service-user to cancel a request a peer CMISE-service-user to cancel a previously requested and currently outstanding previously requested and currently outstanding invocation of the M-GET serviceinvocation of the M-GET service

Page 11: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

M-CREATEM-CREATE: : invoked by a CMISE-service-user to invoked by a CMISE-service-user to create an instance of a managed objectcreate an instance of a managed object

M-DELETEM-DELETE: : invoked by a CMISE-service-user to invoked by a CMISE-service-user to request a peer CMISE-service-user to delete an request a peer CMISE-service-user to delete an instance of a managed objectinstance of a managed object

M-ACTIONM-ACTION:: invoked by a CMISE-service-user to invoked by a CMISE-service-user to request a peer CMISE-service-user to perform an actionrequest a peer CMISE-service-user to perform an action

M-EVENT-REPORTM-EVENT-REPORT:: invoked by a CMISE-service-user invoked by a CMISE-service-user to report an event about a managed object to a peer to report an event about a managed object to a peer CMISE-service-userCMISE-service-user

CMISE ServicesCMISE Services

Page 12: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

CMISE Service CMISE Service PrimitivesPrimitives

CMIP

M_CREATE requestM_DELETE requestM_GET requestM_CANCEL_GET requestM_SET requestM_ACTION requestM_Event_REPORT response

Service Primitives in Agent Role

M_CREATE responseM_DELETE responseM_GET responseM_CANCEL_GET responseM_SET responseM_ACTION responseM_Event_REPORT request

Service Primitives in Manager Role

Manager Agent

Page 13: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

Three Trees in OSI ManagementThree Trees in OSI Management

Registration TreeRegistration Tree Containment TreeContainment Tree Inheritance TreeInheritance Tree

Page 14: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

Containment Containment TreeTree

root

Page 15: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

Managed Object Managed Object SelectionSelection

- - ScopingScoping: : identify the managed object(s) which a fidentify the managed object(s) which a filter is to be applied.ilter is to be applied.

- - FilteringFiltering: : apply a set of tests to each member of tapply a set of tests to each member of the set of previously scoped managed objects to exthe set of previously scoped managed objects to extract a subset.ract a subset.

Page 16: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

ScopinScopingg

the the base objectbase object alone alone thethe nth level subordina nth level subordina

testes of the base object of the base object the base object and all the base object and all

its subordinates down its subordinates down to and including the ntto and including the nth levelh level

the base object and all othe base object and all of its subordinates (f its subordinates (wholwhole substreee substree))

1th level

base object

Page 17: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

Filtering and Filtering and SynchronizationSynchronization- - FilteringFiltering

- A filter is - A filter is a set of one or more assertionsa set of one or more assertions about the pr about the presence or values of attributes in a scoped MO. If the filteesence or values of attributes in a scoped MO. If the filter test succeeds for a given managed object, then that mr test succeeds for a given managed object, then that managed object is selected for performance of the operatanaged object is selected for performance of the operation.ion.

- - SynchronizationSynchronization-A synchronization parameter is provided to allow the C-A synchronization parameter is provided to allow the CMISE-service-user toMISE-service-user to indicate the manner in which op indicate the manner in which operations are to be synchronized across managed objerations are to be synchronized across managed object instancesect instances when multiple MOs have been selected b when multiple MOs have been selected by the scope and filter mechanism.y the scope and filter mechanism.

-Best efforts-Best efforts & & atomicatomic

Page 18: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

Association Association ServicesServices

Services Type

A-ASSOCIATE ConfirmedA-RELEASE ConfirmedA-ABORT Non-confirmedA-P-ABORT Provider-initiated

Page 19: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

Association Association ServicesServices

A-ASSOCIATEA-ASSOCIATE

CCauses the establishment of an associationauses the establishment of an association

A-RELEASEA-RELEASE

Causes the release of an associationCauses the release of an association

A-ABORTA-ABORT

Causes the abnormal release of the association with the Causes the abnormal release of the association with the possible loss of information in transitpossible loss of information in transit

A-P-ABORTA-P-ABORT

Indicates the abnormal release of the association as a Indicates the abnormal release of the association as a result of action by the underlying servicesresult of action by the underlying services

Page 20: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

M_GET M_GET ServiceService

Parameter/Name Req/Ind Rsp/ConfParameter/Name Req/Ind Rsp/ConfInvoke identifier Invoke identifier M M M MLinked identifier Linked identifier - C- CBase object class Base object class M -M -Base object instance Base object instance M - M -Scope Scope U -U -Filter Filter U -U -Access control Access control U - U -Synchronization Synchronization U -U -Attribute identifier list U -Attribute identifier list U -Managed object class Managed object class - C- CManaged object instance Managed object instance - C - CCurrent time Current time - U- UAttribute list Attribute list - C - CErrors Errors - C- C

Page 21: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

Invoke Identifier and Linked Invoke Identifier and Linked IdentifierIdentifier

Invoke Identifier: Invoke Identifier: specifies thespecifies the identifier of the operation. identifier of the operation. It can It can be used to distinguish this operation from other be used to distinguish this operation from other notification or operations that the CMISE-service-notification or operations that the CMISE-service-provider may have in progressprovider may have in progress. . Each response Each response shall have a unique invoke identifiershall have a unique invoke identifier; the final ; the final responseresponse shall have an invoke identifier shall have an invoke identifier equal to equal to that of the invoke identifier provided in the that of the invoke identifier provided in the indication primitive.indication primitive.

Linked Identifier: Linked Identifier: WhenWhen multiple replies multiple replies are to be sent, it shall are to be sent, it shall havehave the same value as that of the invoke the same value as that of the invoke identifier provided in the indication primitive. identifier provided in the indication primitive.

The completion of the response is indicated by the performing The completion of the response is indicated by the performing CMISE-service-user issuing an M-GET response primitive which CMISE-service-user issuing an M-GET response primitive which shall not contain the linked identifier, and, if there were linked shall not contain the linked identifier, and, if there were linked responses generated, which shall not contain the attribute list.responses generated, which shall not contain the attribute list.

Page 22: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

M_SET M_SET ServiceService

Parameter/Name Req/Ind Rsp/ConfParameter/Name Req/Ind Rsp/ConfInvoke identifier M MInvoke identifier M MLinked identifier - CLinked identifier - CMode M -Mode M -Base object class M -Base object class M -Base object instance M -Base object instance M -Scope U -Scope U -Filter U -Filter U -Access control U -Access control U -Synchronization U -Synchronization U -Managed object class - CManaged object class - CManaged object instance - CManaged object instance - CModification list M -Modification list M -Attribute list - UAttribute list - UCurrent time - UCurrent time - UErrors - CErrors - C

Page 23: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

M-ACTION M-ACTION ServiceService

Parameter/Name Req/Ind Rsp/ConfParameter/Name Req/Ind Rsp/ConfInvoke identifier M MInvoke identifier M MLinked identifier - CLinked identifier - CMode M -Mode M -Base object class M -Base object class M -Base object instance M -Base object instance M -Scope U -Scope U -Filter U -Filter U -Managed object class - CManaged object class - CManaged object instance - CManaged object instance - CAccess control U -Access control U -Synchronization U -Synchronization U -Action type M C(=)Action type M C(=)Action information U -Action information U -Current time - UCurrent time - UAction reply - CAction reply - CErrors - CErrors - C

Page 24: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

M-CREATE M-CREATE ServiceService

Parameter/Name Req/Ind Rsp/ConfParameter/Name Req/Ind Rsp/ConfInvoke identifier M M(=)Invoke identifier M M(=)Managed object class M UManaged object class M UMO instance M CMO instance M CSuperior object instance U - Superior object instance U - Access U -Access U -Reference object instance U -Reference object instance U -Attribute list U CAttribute list U CCurrent time - UCurrent time - UErrors - CErrors - C

Page 25: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

M-DELETE M-DELETE ServiceService

Parameter/Name Req/Ind Rsp/ConfParameter/Name Req/Ind Rsp/ConfInvoke identifier M MInvoke identifier M MLinked identifier - CLinked identifier - CBase object class M -Base object class M -Base object instance M -Base object instance M -Scope U -Scope U -Filter U -Filter U -Access control U -Access control U -Synchronization U -Synchronization U -Managed object class - CManaged object class - CManaged object instance - CManaged object instance - CCurrent time - UCurrent time - UErrors - CErrors - C

Page 26: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

M-EVENT-REPORT M-EVENT-REPORT ServiceService

Parameter/Name Req/Ind Rsp/ConfParameter/Name Req/Ind Rsp/ConfInvoke identifier M M(=)Invoke identifier M M(=)Mode M -Mode M -Managed object class M UManaged object class M UManaged object instance M UManaged object instance M UEvent type M C(=)Event type M C(=)Event time U -Event time U -Event information U -Event information U -Current time - UCurrent time - UEvent reply - CEvent reply - CErrors - CErrors - C

Page 27: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

M-CANCEL-GET M-CANCEL-GET

Parameter/Name Req/Ind Rsp/ConfParameter/Name Req/Ind Rsp/ConfInvoke identifier M MInvoke identifier M MGet invoke identifier M -Get invoke identifier M -Errors - CErrors - C

Page 28: Introduction to CMIS/P (Common Management Information  Services / Protocol) 陳彥錚 (Yen-Cheng Chen)

Underlying Underlying ServicesServices

invocation: invocation: CMISE request --> RO_INVOKECMISE request --> RO_INVOKE

response: response: CMISE response --> RO_RESULTCMISE response --> RO_RESULT

response: response: CMISE error response --> RO_ERROR CMISE error response --> RO_ERROR

receipt: receipt: CMISE APDU error --> RO_REJECT_UCMISE APDU error --> RO_REJECT_U