Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Appendix A Appendix : Editing Cluster Deployment Descriptor (CDD) File

Editing Cluster Deployment Descriptor (CDD) File
You define the cluster member machines, processing units, and agents in the Cluster Deployment Descriptor (CDD) which is an XML file. The CDD file is configured in the CDD editor in Studio.
You can edit any CDD file in the following ways:
Editing CDD File using Text Editor
The CDD file is a XML file, you can use any text or XML editor to edit the file. To edit any property in the CDD file, locate the property and set the new value in the value field.
To edit the CDD file, do following:
1.
2.
   <property name="be.engine.cluster.as.discover.url"    value="tcp://Machine1_IPAddress:port1;Machine2_IPAddress:port1;
        Machine3_IPAddress:port1/"/>
3.
Editing CDD File using Studio
You can edit a CDD file using the Studio as follows:
1.
Navigate to the ASG_HOME/bin directory.
2.
Copy the CDD file (for example, asg_core.cdd) file to ASG_HOME/projects/ASG_DefaultImplementation folder.
3.
Navigate to the ASG_HOME/studio/eclipse directory.
4.
Windows platform
studio.exe
UNIX platform
./studio
5.
6.
7.
Close the Welcome screen.
8.
9.
In the Import Select wizard, select an import source as General > Existing Projects into Workspace and click Next. You see the Import Projects dialog.
10.
In the Import Projects dialog Select root directory field, browse to and select the project: ASG_HOME/projects/ASG_DefaultImplementation.
11.
Click Finish.
12.
In the Studio Explorer, expand the ASG_DefaultImplementation project node. Verify that you see the CDD file (for example, asg_core.cdd) file.
13.
14.
15.
16.
Back up the original CDD file (for example, asg_core.cdd) file in the ASG_HOME/bin directory.
17.
Copy the modified CDD file (for example asg_core.cdd) file from ASG_HOME/projects/ASG_DefaultImplementation to the ASG_HOME/bin directory.
If you select the "Copy projects into workspace" option during the import of the project, then the modified asg_core.cdd file exists in the workspace directory. Make sure to copy the asg_core.cdd file from workspace directory to the ASG_HOME/bin directory.
Task C Set Discover URL
a.
To set the discover URL for a cluster, select Cluster tab > Properties on the left. On the right, expand cluster node to edit the following properties:
      be.engine.cluster.as.discover.url
b.
For example,
   be.engine.cluster.as.discover.url=tcp://Machine1_IPAddress:port1;Machi       ne2_IPAddress:port1;Machine3_IPAddress:port1;Machine4_IPAddress:port1/
c.
Task D Set Max Active
This task explains the steps to setup the Max Active property for an agent.
a.
Select Agent Classes tab.
b.
For example, to set the Max Active property for Global Throttle Manager engine, select the gtm-class(Inference) node.
c.
      Max Active 1
d.
Task E Set Priority
This task explains the steps to setup the Priority property for a processing unit.
a.
Select Processing Units tab.
b.
For example, to set the Priority property for Global Throttle Manager processing unit, select the asg-gtm node.
c.
On the right side, in the Agents section, select the row with gtm-class agent.
d.
Double click the Priority column to set a value. For example, you can set this value to 2.
e.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved