4.7. Administration
ServiceMix Kernel provides some commands to administer instances of ServiceMix Kernel. An instance of ServiceMix Kernel is a copy of the Kernel that you can launch separately and deploy applications onto it. An instance does not contain a full copy of ServiceMix Kernel, but only a copy of the configuration files and data
folder which contains all runtime informations, logs and temporary files.
As of 1.0 version, only a single command is provided to create a new instance. Below is an example of the command:
admin create /Users/gnodet/tmp/smx
Such a command will create a new instance in the given directory. To start it, go into the above directory and launch bin/servicemix
or bin\servicemix.bat
on Windows. An instance is still pointing to the original home
directory, but the base
directory reflects the directory which has been created. You can see that using the info
command.
Managing instances (starting, stopping, etc...) is not yet implemented (see the jira issue) and is planned for 1.1 at this point.