| | |
|
|
|
Runtime management
The zero.management extension enables Zero applications running on a server to be managed and to manage other Zero applications. Examples of some of the types of management functions a Zero application will gain by including this package are starting, stopping, restarting, monitoring, statistics and configuring other applications. Zero management is unique, in that once the management extension has been added to a running Zero application, not only does that application gain the ability to be managed, but all of the other Zero applications running from the same location can be managed.
Objectives
The goal of the zero.management extension is to provide a robust set of tools and APIs to allow the day-to-day administration of Zero applications which are running and being used by your users. They are a set of runtime extensions, rather than development time extensions. The goals for these tools and APIs are:
- Provide CLI commands to allow complete control of an Application's lifecycle.
- Provide a REST API to allow programmatic control of an Application's lifecycle and configuration.
- Provide a management GUI, to allow administrators to access the functions provided by the REST API.
- Allow a peer to peer style administration, such that there is no master controlling process or master agent.
Managed application versus unmanaged application
The design of the zero.management package allows for any application which includes management to manage itself as well as other applications installed in the same directory. However, some functions are only available if the other peer applications also include the zero.management package. For example, if the statistics are requested for an application which does not include a dependency on zero.management, then the statistics will not be available.
Throughout the documentation of the zero.management package, an application which includes zero.management will be referred to as a Managed Application, and any app that does not include the package will be referred to as an Unmanaged Application.
Adding zero.management to your application
You must resolve a dependency? in order to add zero.management to your application. Start by adding the following line to the dependencies element in your config/ivy.xml file:
<dependency org="zero" name="zero.management" rev="1.0+"/>
If you're using Eclipse, then the dependency is automatically resolved when you save the modified ivy.xml file. Steps to resolve from the command line are outlined on the dependencies page?.
|
r8 - 30 Sep 2009 - 17:53:41 - jeffo
|
|
|
| | |
|