Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "COSMOS UG Running the Example"

(Configurations)
(Download COSMOS Demo and Prerequisites)
Line 33: Line 33:
 
This section provides instructions for installing and running the demo program that is provided in the COSMOS i9 build.   
 
This section provides instructions for installing and running the demo program that is provided in the COSMOS i9 build.   
 
# Install [http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.25/bin/ Tomcat 5.5.25]. The directory where the Tomcat server is installed will be referred to as the <tomcat_install_dir> in this document.  
 
# Install [http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.25/bin/ Tomcat 5.5.25]. The directory where the Tomcat server is installed will be referred to as the <tomcat_install_dir> in this document.  
# From the [http://www.eclipse.org/cosmos/downloads/ COSMOS download page], click on the link of the latest candidate build for i9.  Download the zip file under the "COSMOS Demo" section.   
+
# From the [http://www.eclipse.org/cosmos/downloads/ COSMOS download page], click on the link of the release candidate build for version 1.0.  Download the zip file under the "COSMOS Demo" section.   
 
# Unzip the demo zip file to a directory.  You will see a directory called "cosmos-demo". This directory will be referred to as <cosmos-demo> in this document.
 
# Unzip the demo zip file to a directory.  You will see a directory called "cosmos-demo". This directory will be referred to as <cosmos-demo> in this document.
 
# Copy all directories under <cosmos-demo>\webapps to <tomcat_install_dir>\webapps.
 
# Copy all directories under <cosmos-demo>\webapps to <tomcat_install_dir>\webapps.

Revision as of 13:57, 11 March 2008

COSMOS Wiki > COSMOS Document Plan > COSMOS Manual Guide

COSMOS User's Guide Running the Example section

Category: User's Guide

Owner Hubert Leung
Bug # 219120
Due dates Schedule

Outline

Objective of the Demo

Installation

Download COSMOS Demo and Prerequisites

This section provides instructions for installing and running the demo program that is provided in the COSMOS i9 build.

  1. Install Tomcat 5.5.25. The directory where the Tomcat server is installed will be referred to as the <tomcat_install_dir> in this document.
  2. From the COSMOS download page, click on the link of the release candidate build for version 1.0. Download the zip file under the "COSMOS Demo" section.
  3. Unzip the demo zip file to a directory. You will see a directory called "cosmos-demo". This directory will be referred to as <cosmos-demo> in this document.
  4. Copy all directories under <cosmos-demo>\webapps to <tomcat_install_dir>\webapps.

Configurations

  • At a Windows command prompt, enter <cosmos-demo>\bin.
  • Run configDemo.bat to update some configuration files according to your system environment.
  • The configDemo program assumes:
    • You have copied the cosmos directory to the webapps directory in Tomcat by following the instructions in the previous section.
    • Your <cosmos-demo> directory and the tomcat installation are on the same host.
  • The program will prompt you for some input. You will see something like the following in a successful execution of the config program.
This program will configure some environment variables for the COSMOS demo to run. 
We assume that the Tomcat server and the directory where you unzipped the demo program are on the same computer.
Apache Tomcat install directory: D:\Program Files\apache-tomcat-5.5.25
Hostname of the Tomcat server (e.g. www.eclipse.org): mydomain.com
Tomcat port number: 8080
COSMOS Demo install directory: D:\cosmos\i9\cosmos-demo
Set management domain EPR for broker successfully.
Set management domain EPR for Example MDR successfully.
Set management domain EPR for SML MDR successfully.
Set management domain EPR for logging data manager successfully.
Set CBEData.dir for logging data manager successfully.
Set management domain EPR for stat data manager successfully.
Set derby.system.home for statistical data manager successfully.
Updated SML MDR config file successfully.

Running the Program

Starting COSMOS components

Get Brokers registered at the Management Domain

Get Data Managers Registered at the Broker

Executing CMDBf Queries

Using a command line client

Using the COSMOS Web User Interface

Register configuration items with a federating CMDB

Collect Log Events from the Logging Data Manager

Using a command line client

Using the COSMOS Web User Interface

Collect webserver performance data from the statistical data manager

Using a command line client

Using the COSMOS Web User Interface

Back to the top