Fabric
0.2.1
|
Continuing with the example from the previous section, our example node will be named valinor
and will use /opt/fabric
as the application home. The commands given are relative to the Fabric installation directory.
To start valinor
as a store:
While the store is running, you are presented with a shell for the store's colocated worker. You can use this shell to run Fabric applications from within the colocated worker. (See Running Fabric programs.)
The node's class path must include any non-mobile application classes that it will use. This can be specified with the --jvm-cp
option:
The following command starts valinor
as a worker that is initially idle, but is available to receive remote calls.
While the worker is running, you are presented with the worker's shell. You can use this shell to run Fabric applications from within the worker. (See Running Fabric programs.)
The worker's class path must include any non-mobile application classes that it will use. This can be specified with the --jvm-cp
option: