Setting Dependency
Procedure
-
Create a stack with a BusinessWorks component (with bwagent set to run as server) and a TIBCO Enterprise Administrator component.
Alternatively you can edit an existing stack with a component that needs a dependency rule and select Add/edit default rule settings from the menu of the component wizard.
- In the Policies area on the Stack Builder Wizard page, expand the BusinessWorks component.
- Use the Add Rule pull down to select the Component Dependency option.
- In the Depend on field, select the name of the TIBCO Enterprise Administrator component that will manage your BusinessWorks administration tasks.
-
Select any of the following check boxes to control the behavior of the component dependency. Typically Shutdown Dependency and an Ordered Shutdown are desirable.
- Shutdown Dependency
- Establishes a requirement for the parent, specified in the
Depend on field, to be active to keep the dependent component running. When selected the stack stops component dependencies if the parent component becomes unresponsive.
If you use a Database domain, BW continues to work. However, every change in TIBCO Administrator is not taken into account by BusinessWorks even after exporting the changes.
If you run TIBCO Enterprise Administrator in the Fault Tolerant mode, clear the Shutdown Dependency check box. Otherwise, all BusinessWorks components will stop if TIBCO Enterprise Administrator stops working.
- Ordered Shutdown
- Ordered Shutdown provides for a logical, sequential shutdown so that dependent components are shut down first. Ordered shutdown is especially important when the domain is hosted using a file structure instead of a dependent database. When you have an administrative component that uses an external database, order of shutdown is less important.
- Restart Component for new rules
- If new rules are defined for a component that has already been deployed, it must be restarted for the new changes to be applied. If you wish to manually restart components later to propagate changes leave this box cleared.
- Pack by Host
- Check the Pack by Host check box to specify that dependent components must run on the same host.
The TIBCO Silver Fabric User’s Guide has more information on all of these settings.
- Click Save or create another component dependency on the ActiveMatrix BusinessWorks client component that connects with the ActiveMatrix BusinessWorks server.
- Set a component dependency on ActiveMatrix BusinessWorks client components using the same Add a rule drop down menu to set dependence on the single instance of a ActiveMatrix BusinessWorks server component in your stack.
- Save and Run your stack.
Copyright © Cloud Software Group, Inc. All rights reserved.