Step 6: System Deployment

Now that we have all the components and driver programs successfully built, along with the Deploymentplan generated by PICML, we will be able to run our application. Remember to add this tutorials library path to your system path in order to run the executable without problems (see page 1 of this tutorial).

From different command prompts in
%CIAO_ROOT%/docs/tutorials/Quoter/Simple/descriptors directory:

      %DANCE_ROOT%/bin/dance_node_manager -ORBListenendpoints iiop://localhost:30000 -n Distributor=StockDistributor.ior

      %DANCE_ROOT%/bin/dance_node_manager -ORBListenendpoints iiop://localhost:40000 -n Broker=StockBroker.ior

           %DANCE_ROOT%/bin/dance_execution_manager -eEM.ior --cdd NodeMap.cdd 

The NodeMap.cdd file describes the deployment daemons DAnCE's Execution_Manager will contact to instantiate ComponentServer's, home's, and component instances. In xml the name of an installation "destination" and the corresponding IOR for the CIAO_Daemon are described.

        %CIAO_ROOT%/docs/tutorials/Quoter/Simple/Distributor/StockDistributorDriver.exe -o

        %CIAO_ROOT%/docs/tutorials/Quoter/Simple/Broker/StockBrokerDriver.exe -s MSFT

        %CIAO_ROOT%/docs/tutorials/Quoter/Simple/Broker/StockBrokerDriver.exe -s IBM

        %CIAO_ROOT%/docs/tutorials/Quoter/Simple/Broker/StockBrokerDriver.exe -u MSFT

        %CIAO_ROOT%/docs/tutorials/Quoter/Simple/Distributor/StockDistributorDriver.exe –f

Previous                                                                                             


Ming Xiong
Abdullah Sowayan

$Id: 04.html 93117 2011-01-20 12:11:28Z mcorino $