Distributed System Validator Wiki
An cross-platform, distributed system validation framework
Status: Planning
Brought to you by:
bjliujie
Welcome to your wiki!
This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
The wiki uses Markdown syntax.
IBM Distributed System Validator
This project consists of three sub projects as described below
[dsvalid-center]
It's a web application and the main purpose is to provide end user interface. It is ready to run as a web application.
The pom.xml file is pre-defined with Hibernate as a persistence model and Struts 2 as the web framework.
[dsvalid-agent]
It's a real validation running engine, it will be responsible to handle all validation execution and report the status of each validation.
It can be deployed on the same server with dsvalid-center, or any other machine in the target environment. Under some circumstances,
multiple instances of this agent are required.
For example, direct communication is not possible from the dsvalid-center server to the target machine in a target environment.
This could be a firewall restriction. If that's the case, we have to install dsvalid-agent in one of machines in the target environment,
and trigger the validation from that machine. It's also a web application project.
[dsvalid-core]
This is a common shared project which will hold all settings or configuration, and also utilities that might be used among the above two projects.
It will be packaged into a jar file.
Prerequisites
Download all prerequisite software
Install MySQL 5.x database, and then change "root" user's password to "passw0rd"
Install Java 1.6 into any directory e.g. C:\ide\jdk1.6.0_27
Extract Maven 2.2.1 to any directory e.g. C:\ide\apache-maven-2.2.1.
Set environment variables
Install Git on Windows
dsvalid-core
git clone ssh://bjliujie@git.code.sf.net/p/dsvalid/core dsvalid-core
mvn clean install
mvn eclipse:eclipse
dsvalid-center
git clone ssh://bjliujie@git.code.sf.net/p/dsvalid/mycode dsvalid-center
Under the project directory "dsvalid-center", Run the command below to generate/refresh Eclipse Project configuration file
mvn eclipse:eclipse
Change jdbc properties at the bottom of pom.xml and make sure mysql root account and password match.
Run "mvn jetty:run" and view the application at http://localhost:8080
dsvalid-agent
git clone ssh://bjliujie@git.code.sf.net/p/dsvalid/agent dsvalid-agent
Under the project directory "dsvalid-agent", Run the command below to generate/refresh Eclipse Project configuration file
mvn eclipse:eclipse
Run "mvn jetty:run" and view the application at http://localhost:9090
Last edit: Jack Liu 2013-01-22