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


Appendix B Configuration Tasks : Editing Cluster Deployment Descriptor (CDD) File

Editing Cluster Deployment Descriptor (CDD) File
You can edit cluster deployment descriptor (CDD) file in the following ways:
Using Text Editor
To edit properties defined in the CDD file, follow these steps:
1.
Open the CDD file (for example, ASG_HOME/bin/asg_core.cdd) file in a text editor.
2.
Edit the file, as needed. For example, you can set the following cluster properties to the actual IP address of the machine, and an unused port as follows:
For example:
   <property name="be.engine.cluster.as.discover.url"    value="tcp://127.0.0.1:6000/"/>
   <property name="be.engine.cluster.as.listen.url"    value="tcp://127.0.0.1:6000-*/"/>
3.
Using Studio
You can modify the properties defined in the CDD file using the Studio. To do so, edit the CDD file (for example, ASG_HOME/bin/asg_core.cdd) file as follows:
1.
Navigate to the ASG_HOME/bin directory.
2.
Copy the asg_core.cdd file to ASG_HOME/projects/ASG_DefaultImplementation folder.
3.
Navigate to the ASG_HOME/studio/eclipse directory.
4.
./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 asg_core.cdd file.
13.
Double-click the asg_core.cdd file.
14.
a.
Select Cluster tab > General on the left. On the right, expand cluster node to edit the following properties:
      be.engine.cluster.as.discover.url
      be.engine.cluster.as.listen.url
b.
For example,
      be.engine.cluster.as.discover.url=tcp://127.0.0.1:6000/
      be.engine.cluster.as.listen.url=tcp://127.0.0.1:6000-*/
15.
16.
Make a back up copy of the original asg_core.cdd file in the ASG_HOME/bin directory.
17.
Copy the modified 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.
 

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