MicoCCM Deployment Tool


The Deployment Tool allows you to deploy CORBA Component Assemblies. This is, in the world of components, the equivalent of starting a server. An assembly contains one or more component implementations (either contained within the Assembly, or referenced), component properties (intial values for attributes) and configuration information (connections between facets and receptacles or event sources and sinks).

The Deployment Tool reads an assembly, uploads each implementation to a Component Server, and then configures the assembly according to the given information.

The Deployment Tool is a console program that takes as single argument either a Component Assembly Descriptor (.cad) or a Component Assembly Archive (.aar). It also accepts the following options:

--ccmd <IOR>
This option sets the address of the MicoCCM Daemon where the homes and components are to be deployed.

--host <host>[:portno]
This is an alternative option to set the address of the MicoCCM Daemon. The default address is localhost:1234, and assumes that mico-ccmd has been started with the command-line option -ORBIIOPAddr inet::1234.

--server [host:]<portno>
The Deployment Tool includes a minimal HTTPD server for serving implemenation files during installation: the Component Installation Server (inside mico-ccmd) is sent an URL to download files from. This option changes the defaults for the host name and port number (1235) that the internal HTTPD server uses. You may need this option to set the host name to something that the remote host (where mico-ccmd is running) understands.

--dont-call-configuration-complete
By default, the configuration_complete operation is called on each deployed component to indicate the end of configuration and the start of normal operation. Use this option if this behavior is not desired.

--collocated
By default, the Deployment Tool creates a new Component Server for each home in the assembly, effectively placing all homes into separate processes. If this option is set, only one Component Server will be used for all homes and components, so that all components are collocated with each other.

-ORBInitRef NameService=<url>
The Deployment Tool understands this standard option to configure the address of the Naming Service. You need to set the reference to the Naming Service if any part of the assembly references the Naming Service, e.g. components that are to be registered.

-v
Prints progress information during deployment.

Example Usage

After starting the MicoCCM Daemon on host there using

    mico-ccmd -v -ORBIIOPAddr inet::1234
you can then, on host here, deploy an assembly mycomponents.aar using
    ./deploy --host there mycomponents.aar

Note that the Deployment Tool allows to deploy an assembly on a remote host - thanks to CORBA, this is entirely transparent. And even more, the Deployment Tool allows to deploy assemblies straight from the Web, as it is perfectly happy with an http URL on the command line instead of a filename.


Frank Pilhofer, fp@fpx.de