COSMOS Project
Demo Setup

## Overview

The objective of this COSMOS demo is to present an overview of the project and demonstrate value add of a model-based approach within the Systems Management community.

## Instructions

Here are the instructions to run the COSMOS eclipsecon demo. Note: there are some hard coded paths that have to be modified.

### Requirements

SUN JRE 1.5
Download Derby - 10.2.2.0
Download Tomcat - 5.5.20

### Installation

Install Tomcat by unzipping the downloaded binary distribution. Install Derby by unzipping the downloaded binary distribution. Copy the cosmos.war (contained within the CosmosDemoDriver zip) into the tomcat webapps directory. Expand the CosmosDemo_Apache_Derby-db.zip (contained within the CosmosDemoDriver zip) into the derby frameworks/NetworkServer/bin directory. Modify the cosmos webapp's web.xml context parameter JDBC_LOCATION to point to your derby installation. You should now be ready to run the demo.

### Running the Demo

Start derby by executing /frameworks/NetworkServer/bin/startNetworkServer.bat in the derby install directory.
Start tomcat by executing /bin/startup.bat in the tomcat install directory. Once tomcat is up, click on the topology report At this point you should be able to navigate the topology and view the properties pages. Click on the "Production" Link. Then click the "Properties" link on "Machine 1". At this point there should be a statistical link on the Properties report. This will open the statistical report. Go back to the root report. Click on the "Production" Link. Then click the "Machine 2" link. Then click the "Properties" link on"WindowServer1". At this point there should be a Top 10 link on the Properties report. This will open the Top 10 report.