Copyright © TIBCO Software Inc. All Rights Reserved |
Start cache agents first In a production environment, you would set the Cache Agent Quorum setting in the Object Management Configuration panel to ensure that enough cache agents start before other types of agents can begin processing. In general, at startup, you start cache agents then other types of agents. At system shutdown, you stop other kinds of agents, then stop cache agents.
You can simply open the example readme.html file and follow instructions there. In order to send events into the engines, you must enter information into the forms provided in the readme. Navigate to BE_HOME/examples/standard/FraudDetectionCache and open readme.html in your browser. Follow the instructions in the readme file to start two engines and send events to the inference agent.See Dependency of Interactive Readme File on a Higher Level Directory to understand the requirements for using the interactive readme file.For your information, here is how to start the engines, using the default values specified for this example and using the default locations.If you have built the example in a different location, as is recommended, please adapt the instructions.
1. Open a command window, change directory to the example directory, and at the command prompt, start the TIBCO BusinessEvents engine using the following command. This command starts the cache agent. Substitute your actual value for BE_HOME:
cd BE_HOME/examples/standard/FraudDetectionCacheBE_HOME/bin/be-engine --propFile BE_HOME\bin\be-engine.tra -u cache -c FraudDetectionCache/fdcache.cdd fdcache.ear
For example, if you are simply running the provided example, you would use this command line to start the cache agent:c:/tibco/be/5.0/bin/be-engine --propFile c:/tibco/be/5.0/bin/be-engine.tra -u cache -c FraudDetectionCache/fdcache.cdd fdcache.ear
2. When the cache agent has started, open a second command window, change directory to the example directory, and at the command prompt, start the TIBCO BusinessEvents engine using the following command. This command starts the inference agent. Substitute your actual value for BE_HOME:
cd BE_HOME/examples/standard/FraudDetectionCacheBE_HOME/bin/be-engine --propFile BE_HOME\bin\be-engine.tra -u default -c FraudDetectionCache/fdcache.cdd fdcache.ear
For example, if you are simply running the provided example, you would use this command line:c:/tibco/be/5.0/bin/be-engine --propFile c:/tibco/be/5.0/bin/be-engine.tra -u default -c FraudDetectionCache/fdcache.cdd fdcache.earStart a second cache agent. Experiment with stopping one cache agent engine then restarting it again, to see how one cache agent can operate successfully. Because one backup copy of the data is kept, and there are two cache agents, each cache agent has the complete cache contents. In a production system with more cache agents no single cache agent has all the cache data.You can now continue to Chapter 4, Backing Store Tutorial or to Chapter 5, TIBCO BusinessEvents Monitoring and Management Tutorial. Now you have configured a cache, you can complete these remaining tutorials in any order.
Copyright © TIBCO Software Inc. All Rights Reserved |