COSMOS Demo
From Eclipsepedia
Contents |
Overview
The objective of the COSMOS demo is to present an overview of the project, our progress to date, and explain the key value adds to the Systems Management community.
The presentation aims to demonstrate COSMOS within a 30 minute time limit. Although in general we try to avoid slides that are not tied to the demo, we do provide one chart for the project overview, and one for the roadmap & wrap up slide. That leaves about 20 minutes of demo-able material.
Since SML & CML is a new exciting development and is a fundamental part of the project, we concentrate of showing how SML & CML can be used in monitoring systems as an interface between data producers and data consumers in order to facilitate interoperability among operations management tools.
Setup
In the future, we will provide a zip file that includes everything you need (e.g. Tomcat, Dojo, Eclipse, COSMOS plug-ins, etc.) to conduct this demo, along with .bat files to run the various pieces. In the meantime, please follow the steps outlined on the End to End Sample page to setup the demo environment.
The Script
Working with SML
- Start Eclipse by running
startEclipse.batin thecosmos-demodirectory of the demo zip file, passing in the location of your Java 1.5 executable as an argument if necessary - Create a new project called "Data Center" by selecting File > New > Project... > General > Project.
- Read the first 2 bullets on the "Working with SML" slide in the presentation
- Go to File > Import > General > File System to import the SML-IF file
datacenterSMLIFToImport.xmlas a file to be managed in your Eclipse workspace - To import that same SML-IF file as resources into the file-based repository, right-click the file and choose Import... > Service Modeling Language > Interchange Format
- Read the third bullet on the "Working with SML" slide
- Edit the file
Data Center\software\webserver\tomcat.xml. This file contains statistical data. Locate the<ctrl:keyset>element. Show that this represents the keyset value that would have to change if you were retrieving different data. Similarly, the datasource id is located in thenameattribute of the<tomcat>root element of this file - changing this would cause the data visualization component to reference a different Tomcat server. The keyset and datasource values should match those entered in the assembly files used by the data collection component to collect data. - Edit the file
Data Center\os\windows\WindowsServer1.xml. This file contains the CBE data. Again, locate the<ctrl:keyset>element; this identifies the resource to the data store. As before, to set the datasource id, change thenameattribute of the root element, which in this case is<s:os.windows>. - Read the 4th bullet on the slide
- Select the "Data Center" project, right-click and select Export... > Service Modeling Language > Interchange Format
Browse IT Resources
- Go to next slide ("Browse IT Resources")
- Start Tomcat by running
startTomcat.batin thecosmos-demodirectory, optionally passing in the value for JAVA_HOME as the first argument - Read the first bullet on the slide
- Run
openSampleReport.batto open the COSMOS reporting interface in your browser - Read the rest of the bullets on the slide and follow the instructions therein. Be sure you navigate to the two resources referenced in the previous section that contained keyset data, so the associated reports can be displayed.
Old demo is hidden following this - edit to view source
The Messages
By following the script we can deliver the following messages
(not necessarily in this order)
- COSMOS is a project that is starting to deliver some basic value
- We can tie together the full life cycle of systems management from development (BtM/ME) to production (COSMOS reports)
- In the scenario, we can talk about how the current BtM tooling for CBE was used to generate the CBEs that get stored in the data store. We can say how the WSDM tooling was used to create the WEF events that get stored in there as well.
- We can indicate how ME was used to configure/update the SML-IF documents that described the management capabilities of the system under test, e.g. if log or statistical data was avaialable.
- We talk to the standard based control layer (stretch goal is to show it)
- Note: We can turn on collection manually possibly if we wated to show live data. I think this should be a stretch goal once we get everything working. The progression would be:
- Show the ez-bake oven approach to the data store.
- Turn on data collection manually and show real event data
- Use web pages to control the collection (SML-IF would play a part here)
- Note: We can turn on collection manually possibly if we wated to show live data. I think this should be a stretch goal once we get everything working. The progression would be:
- We show re-use/collaboration between the projects (TPTP/COSMOS)
- We show web-based reports (initially derived from the TPTP reports)
- We can indicate the importance of using a model based approach in systems management (and our model language is SML/CML)

