Copyright © Cloud Software Group, Inc. All Rights Reserved |
This guide assumes that you are familiar with using TIBCO Silver Fabric Administration Tool. For detailed information, see the TIBCO Silver Fabric Cloud Administration Guide.To run TIBCO Silver Fabric Administration Tool, you must have a Silver Fabric Broker running and know the hostname, user name, and password. If this is not the case, see Silver Fabric Installation Guide or contact the administrator responsible for the Silver Fabric installation.
1. Select Stacks->Components. In the Global Actions drop-down list, select Create New J2EE Component. In the Create New J2EE Component pop-up, select Silver Fabric Enabler for TIBCO ActiveSpaces, version 1.2.0.0 and Click OK.Figure 1 J2EE Active Space Component
2. In the Configure General Properties window, name your component and provide a description. Click Next until you come to the Configure Component Options window. Change the Statistics Collection Frequency in seconds value from 10 to 60.Figure 2 Component Wizard
3. Click Next until you come to the window in which you can add/override/edit enabler and component-specific runtime context variables. If you want to specify a distribution version which should be used, please follow below instruction, otherwise proceed to the step 5.
4. Click the Add Variable drop-down list and select String, in Add/Edit Variable dialog, enter "middlewareVersions" in the Name field and "TIBCO_ActiveSpaces_distribution:<Distribution_Version>" in the Value field. Then Click OK to save the changes.
5. Click Add from Enabler. In the pop-up that appears, select AS_METASPACE in the drop down list of variables for the enabler and click OK.
6. Highlight AS_METASPACE by clicking on it, and then click Edit. Type the desired metaspace name in the Value field (default: ms) and click OK.Figure 5 Edit AS_METASPACE
8. Select the Gear icon next to the component you just configured and select Publish Component.See ActiveSpaces Enabler Runtime Context Variables to find out more about available options for configuring a component that uses the ActiveSpaces Enabler.
1.
2. Click on the plus sign (+) next to Components to show a list of the Components you have configured. Click on your ActiveSpaces component under Available Components then click >> to add it to the list of Selected Components.
3. Click the Policies tab. Click on the plus sign (+) to display the list of components selected for this stack.Figure 6 Stack Builder
4.
6. Click Choose a rule type to display a drop-down list of rules to add for this component.
7. (Optional) Select Component Dependency to specify whether this component is dependent upon another component starting up first.
8. (Optional) Select Resource Preference to specify property settings to affect the running of component instances. Click Save when your stack configuration is complete. Select the Gear icon next to the stack you just configured, and click Publish Stack.
9. When you are ready to run your stack, select the Gear icon next to the stack and click Run Stack in Manual Mode.For example, when the first machine in the cloud starts, have the Asset Manager configure the machine so that it uses the Group property with a value of Machine1, the second machine so that it uses the Group property with a value of Machine2, and so on. Then add a Resource Preference rule to the component in the stack configuration that specifies the Group that engines should belong to when determining the engines on which the component should run.
1.
2. Select Edit/View Properties. On the Engine Properties window, click New. Click the down arrow of the Property field and select the property you want to set from the list displayed.
3.
Copyright © Cloud Software Group, Inc. All Rights Reserved |