Fluo 1.2.0 documentation >> Administration >> Run Fluo processes
An Apache Fluo application consists of an oracle process and multiple worker processes. These processes can be manually started by users on a single node or distributed across a cluster.
Each node where Fluo is run must have Fluo installed.
Follow the instructions below to start Fluo processes.
Configure fluo-env.sh and fluo-conn.properties if you have not already.
Run Fluo application processes using the fluo oracle
and fluo worker
commands. Fluo applications
are typically run with one oracle process and multiple worker processes. The commands below will start
a Fluo oracle and two workers on your local machine:
fluo oracle -a myapp &> oracle.log &
fluo worker -a myapp &> worker1.log &
fluo worker -a myapp &> worker2.log &
The commands will retrieve your application configuration and observer jars (using your application name) before starting the oracle or worker process.
If you want to distribute the processes of your Fluo application across a cluster, you will need install Fluo on every node where you want to run a Fluo process. It is recommended that you use a cluster management tool like Salt, Ansible, or Chef to install and run Fluo on a cluster.
To stop your Fluo application, run jps -m | grep Fluo
to find process IDs and use kill
to stop them.
Learn how to manage Fluo applications.