Model-driven examples

From ControlTier

Jump to: navigation, search
150


These examples show model-driven solutions. The model-driven approach is one where the ControlTier model as defined by its types drives the execution of the management process.

Contents

Running the Examples

Be sure you have completed all the instructions in Installing ControlTier before you attempt to run the example.

Please read: Using the Examples

Available Examples

Example Operating System Description
Setting up a Package for import Linux/Unix Describes how to store packages in the ControlTier repository.
Package prepare/finish scripts Linux/Unix Describes how to invoke scripts at the prepare and finish phases of the Package install life cycle
Mock Unix Service Linux/Unix This page describes the configuration and behavior of the core Service type and its capability to control the runtime state of an application process.
Mock Site Linux/Unix This example describes the configuration and behavior of the core Site type and its ability to manage a set of related Services via command dispatching.
Service Package Deployment Linux/Unix This example shows how to configure a Service to manage the deployment of two packages, customize a configuration file, and manage of startup and shutdown.
Simple Builder Linux/Unix This example shows how to configure a Builder to integrate with a CVS repository for code checkout, call an Ant build script that is part of the checked out sources, and import the produced build artifact to the repository. The example generates a .war file for a simple web application.
Continuous Deployment with Tomcat Linux/Unix In this example, we will demonstrate how to implement a Continuous Deployment mechanism using ControlTier, to automatically build and deploy a WAR to a Tomcat server after a code-change is performed.
Java-based Service Windows This page shows the basics of using an object of the JavaServiceWrapper type to manage the runtime lifecycle of a JBoss Application Server.
Mock Site (windows) Windows This example describes the configuration and behavior of the core Site type and its ability to manage a set of related Services via command dispatching.
Service Package Deployment (windows) Windows This example shows how to configure a Service to manage the deployment of two packages, customize a configuration file, and manage of startup and shutdown.

Downloading the Example code

However, you can also download the example code using Subversion:

 cd $CTIER_ROOT
 svn export http://controltier.svn.sourceforge.net/svnroot/controltier/branches/controltier-3-4-support/examples

Troubleshooting

If you have problems with the examples, you should look at the Troubleshooting the Examples document to see if it addresses your problems.

Otherwise, please feel free to Contact Us via IRC, or email to the Mailing List.


Personal tools
Namespaces
Variants
Actions
Navigation
Communication
Development
Toolbox
Print/export