copyright © 2007 ca, made available under the eclipse public license 1 cosmos dc & mr 2...
TRANSCRIPT
1 Copyright © 2007 CA, made available under the Eclipse Public License
COSMOS DC & MR 2 Architecture
July 2007MR 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.
4 Copyright © 2007 CA, made available under the Eclipse Public License
The COSMOS / MR 2 big picture…
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
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
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
17 Copyright © 2007 CA, made available under the Eclipse Public License
COSMOS DC Runtime
MR 2 High Level Architecture
ClientApplication
Data Manager
Data Broker
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
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
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
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
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
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
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 )
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
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”
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?
28 Copyright © 2007 CA, made available under the Eclipse Public License
Questions