Editing asg_cl.cdd File To Set Discover URL (using text editor)
To set the discover URL for a cluster containing the machines where the Central Logger instances are running, you must edit the ASG_HOME/bin/asg_cl.cdd file on each machine.
- Procedure
- Open the ASG_HOME/bin/asg_cl.cdd file for editing.
- Edit the following properties and set the value to the
actual IP addresses of the machines in a cluster, and an unused port.
For example, if the Central Logger instance 1 is running on Machine E, Central Logger instance 2 is running on Machine F, then set the URL as follows:
<property-group comment="" name="cluster"> <property name="be.engine.cluster.as.discover.url" value="tcp://10.0.0.1:6000;10.0.0.2:6000;10.0.0.2:6000;10.0.0.2:6000/"/> <property name="be.engine.cluster.as.listen.url" value="tcp://10.0.0.1:6000;10.0.0.2:6000;10.0.0.2:6000;10.0.0.2:6000/"/> <property name="be.mm.cluster.as.listen.url" value="tcp://10.0.0.1:6000;10.0.0.2:6000;10.0.0.2:6000;10.0.0.2:6000/"/> </property-group>
- Save the changes to the
asg_cl.cdd file.
Note: To edit the asg_core.cdd and asg_cl.cdd files using the Studio to set the discover URL, See Editing CDD File using Studio.