...
Anchor | ||||
---|---|---|---|---|
|
4.7. Administration
ServiceMix Kernel Karaf provides some commands to administer multiple instances of ServiceMix Kernel. An instance of ServiceMix Kernel Karaf 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 KernelKaraf, 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:
Code Block |
---|
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.
Commands | Description |
---|---|
change-port | Changes the port of an existing container instance. |
connect | Connects to an existing container instance. |
create | Creates a new container instance. |
destroy | Destroys an existing container instance. |
list | List all existing container instances. |
start | Starts an existing container instance. |
stop | Stops an existing container instance. |
Those commands are also available from outside the OSGi environment using the admin
/admin.bat
script in the bin
folderManaging instances (starting, stopping, etc...) is not yet implemented (see the jira issue) and is planned for 1.1 at this point.
Wiki Markup |
---|
{scrollbar} |