copyright © 2007 ca, made available under the eclipse public license 1 cosmos dc & mr 2...

18
1 Copyright © 2007 CA, made available under the Eclipse Public License COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

Upload: lauren-curran

Post on 27-Mar-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

1 Copyright © 2007 CA, made available under the Eclipse Public License

COSMOS DC & MR 2 Architecture

July 2007MR 2 Team

Page 2: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

3 Copyright © 2007 CA, made available under the Eclipse Public License

Why do we want to talk about these topics?

• CA is in the process of working on the design for the enhancement request; and we want to ensure we are “architecturally” consistent all the way around.

• Fulfill the premise that the MR 2 implementation will be based upon, and extend the current COSMOS DC codebase.

• Define the delineation between the minimum implemented in COSMOS and how that will be adopted by CA, IBM, Compuware, et al.

Page 3: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

4 Copyright © 2007 CA, made available under the Eclipse Public License

The COSMOS / MR 2 big picture…

Page 4: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

5 Copyright © 2007 CA, made available under the Eclipse Public License

MR 2 Envisioned Architecture – Client POV

Datastore X

Datastore Y

Dat

a M

anag

er

Dat

a A

dapt

er

WSDMEP

Dat

a M

anag

er

WSDMEP

ManagementDomain

ClientAPI

1

2

3

LookupData Broker

Query DataManager EPs

Issue QueryCalls for data

The shaded “oval” covers the items that are part of the COSMOS Data Collection Framework

Dat

aB

roke

r

WSDMEP

Dat

a A

dapt

er

Page 5: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

6 Copyright © 2007 CA, made available under the Eclipse Public License

MR2 Client and Data Manager data flow

The MR2 Client does the following…• Requests the Data Broker EP from the Management Domain • Requests the Data Manager EP from the required Key Family • Query the Data Manager for the Key Family Reference Metadata for the system tree (prompt the user to navigate the tree and choose a system type)• Query the Data Manager for the Key Family Metadata for the resource tree of the selected system type (prompt the user to choose a resource type)• Query the Data Manager for a list of machines (prompt the user to choose a machine)• Query the Data Manager for the performance data of the resource type of the selected machine• Parse the result data into a report

Dat

a M

anag

er

Client

Page 6: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

9 Copyright © 2007 CA, made available under the Eclipse Public License

COSMOS (DC) component – Management Domain

The Management Domain does the following…

• Registration of Data Broker EP• Processes client queries for Data Broker WSDM EPs• Processes Data Manager queries for Data Broker WSDM EPs

ManagementDomain

Dat

aB

roke

r

WSDMEP

Page 7: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

17 Copyright © 2007 CA, made available under the Eclipse Public License

COSMOS DC Runtime

MR 2 High Level Architecture

ClientApplication

Data Manager

Data Broker

Page 8: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

18 Copyright © 2007 CA, made available under the Eclipse Public License

COSMOS DC Runtime

MR 2 Distributed ConfigurationCOSMOS DC Runtime

Data Broker

Data Manager

COSMOS DC Runtime

Data Manager

COSMOS DC Runtime

ClientApplication

Page 9: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

19 Copyright © 2007 CA, made available under the Eclipse Public License

MR 2 Data Broker

COSMOS DC Runtime

Data Broker

Query Assembly

DataBroker.xml Data Broker

DataBrokerCapabilitygetDataManagers( String classification )registerDataManager( String hostName, int port, String classification ) unregisterDataManager( String hostName, int port, String classification )

WSDMEP implements

interface

Page 10: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

20 Copyright © 2007 CA, made available under the Eclipse Public License

MR 2 Data Manager

COSMOS DC Runtime

Data Manager

Query Assembly *

DataManager.xml Data Adapter *

DataManagerCapability

getAllKeyFamilyNames()getKeyFamilyByName(String kfName)queryKeyFamilyData(String kfName, String query )

WSDMEP implements

interface

Datastore *

* Corporate component

Page 11: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

21 Copyright © 2007 CA, made available under the Eclipse Public License

MR 2 Client

Client

Client API

ClientApplication

*

DC Runtime

Data BrokerQuery Assembly

WSDMEP

Data ManagerQuery Assembly

WSDMEP

Data ManagerQuery Assembly

WSDMEP

UtilityClientgetContextClient( String hostAddress,

String contextName, int port )

DataBrokerClientgetDataBroker( String hostAddress,

int runtimePort )getDataManagers( WsResourceClient dataBrokerClient, String classification )

DataManagerClientgetDataManager( String hostAddress, int runtimePort,

String dataManagerName )getAllKeyFamilyNames(

WsResourceClient dataManagerClient )getKeyFamily( WsResourceClient dataManagerClient,

String keyFamilyName )

* Corporate component

Page 12: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

22 Copyright © 2007 CA, made available under the Eclipse Public License

MR 2 Architecture

DC Runtime

Client API

ClientApplication

DC Runtime

Data BrokerQuery Assembly

WSDMEP

Data ManagerQuery Assembly

WSDMEP

Data ManagerQuery Assembly

WSDMEP

Datastore

Datastore

Page 13: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

23 Copyright © 2007 CA, made available under the Eclipse Public License

MR 2 Data Format

- SDMX

- Data (e.g. performance data)

- Meta Data (e.g. resource types)

- Reference Meta Data (e.g. system types)

- SDMX Key Family

- Contains meta data that describes multi-dimensional data

- Used to construct queries

Page 14: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

24 Copyright © 2007 CA, made available under the Eclipse Public License

MR 2 Data Manager interface

- SDMX key family information

- getAllKeyFamilyNames()

- getKeyFamilyByName(String kfName)

- queryKeyFamilyData(String kfName, String query )

Page 15: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

25 Copyright © 2007 CA, made available under the Eclipse Public License

SDMX Model in the Client and the Data Managers

the System Type tree is modeled in the SDMX Reference Meta Data (as an SDMX category tree)

System type tree

Device

System

NT

Router

Cisco

Unix

the Resource tree is modeled in the SDMX Meta Data (as an SDMX key family with dimensions from a concept tree)

Resource treeNT

Disk

# Reads

Memory

Page Faults

# Writes

Page 16: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

26 Copyright © 2007 CA, made available under the Eclipse Public License

SDMX Performance Data Query

System type tree

Device

System

NT

Router

Cisco

Unix

Resource treeNT

Disk

# Reads

Memory

Page Faults

# Writes

Query of Performance Data:

1. Query machine names from the SDMX category tree (of system types)

2. Query Key Family dimensions (of the resource tree)

Example: graph the Page Faults, # Reads, and # Writes for NT device “usilbs01”

Page 17: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

27 Copyright © 2007 CA, made available under the Eclipse Public License

Current issues

• What are the APIs for the DC?• Document the use case.• Document the implementation further.• How will we package the code? Will there be TWO bundles? One for COSMOS and another for the corporate code?

Page 18: Copyright © 2007 CA, made available under the Eclipse Public License 1 COSMOS DC & MR 2 Architecture July 2007 MR 2 Team

28 Copyright © 2007 CA, made available under the Eclipse Public License

Questions