### Step 6: System Deployment

###

Now that we have all the components and driver programs successfully built, along with the flattened_deploymentplan generated by PICML, we will be able to run our application
From different command prompts in `%CIAO_ROOT%/docs/tutorials/Quoter/Simple/descriptors/` directory:

- Start NodeManagers (NodeDameon) by running `runNodeDaemon.pl`
- Start the execution manager `%CIAO_ROOT%/DAnCE/ExecutionManager/Execution_Manager -o ior -i Stock.dat`

The `Stock.dat` file describes the deployment daemons CIAO's Execution_Manager will contact to instantiate ComponentServer's, home's, and component instances. Each line specify the name of a installation "destination" and the corresponding IOR for the CIAO_Daemon.

- NOTE: As one can see, we use the "Stock.dat" file to instruct the Execution_Manager how to find the endpoint of each individual NodeManager (i.e., Node Daemon) where component(s) will be deployed, so this is non-standard. We plan to use Naming Service to do this in the future.

- Start the plan_launcher by running `%CIAO_ROOT%/DAnCE/Plan_Launcher/Plan_Launcher -p flattened_deploymentplan.cdp -k file://ior`
- By now the components should be successfully deployed. You may run the driver program to start the application. e.g. you can try the following

`%CIAO_ROOT%/docs/tutorials/Quoter/Simple/Distributor/Distributor.exe -o`
`%CIAO_ROOT%/docs/tutorials/Quoter/Simple/Broker/Broker.exe -s MSFT`
`%CIAO_ROOT%/docs/tutorials/Quoter/Simple/Broker/Broker.exe -s IBM`
`%CIAO_ROOT%/docs/tutorials/Quoter/Simple/Broker/Broker.exe -u MSFT`
`%CIAO_ROOT%/docs/tutorials/Quoter/Simple/Distributor/Distributor.exe –f```

``

Previous