This topic guides you through the process of configuring an EAC application.
To configure the application configuration files:
Edit the
AppConfig.xml
file in<app dir>/config/script
to reflect the details of your environment. Specifically, set the following values:Edit the
DataIngest.xml
file in<app dir>/config/script
to reflect your data processing requirements. Specifically, ensure that the baseline update script and partial update script are correct and that the CAS or Forge and Dgidx components are correctly configured.Edit the
DgraphDefaults.xml
file in<app dir>/config/script
with the default values that are inherited by all Dgraph components in both the authoring cluster and live cluster.Edit the
AuthoringDgraphCluster.xml
file in<app dir>/config/script
to ensure the authoring Dgraph, the authoring cluster and post-startup script is correct for your environment.Edit the
LiveDgraphCluster.xml
file in<app dir>/config/script
to ensure the live Dgraph, the live cluster and post-startup script is correct for your environment.Edit the
LiveAppServerCluster.xml
file in<app dir>/config/script
to ensure that the application server clusters, the servers within each cluster, and the applications running on the servers are correct for your environment.For each server cluster, create an
<app-server-cluster>
element with anid
attribute that corresponds to the cluster name.For example:
<app-server-cluster id="LiveAppServerCluster"> </app-server-cluster>
For each server within the cluster, create an
<app-server>
element with the following attributes:For example:
<app-server id="LiveDiscover" hostName="assemblerHost.example.com" port="8006"> </app-server>
For each application running on a given Assembler, create a
<web-app>
element with the following attributes:For example:
<web-app id="DiscoverWebApp" contextPath="/discover" sslEnabled="true" /> <web-app id="DiscoverAsService" contextPath="/discoverAsService" />
Add the
<web-app>
elements to their respective<app-server>
s as referenced elements.For example:
<app-server id="LiveDiscover" hostName="assemblerHost" port="8006"> <web-app ref="DiscoverWebApp" /> <web-app ref="DiscoverAsService" /> </app-server>
Add the
<app-server>
elements to their respective<app-server-cluster>
s as referenced elements.For example:
<app-server-cluster id="LiveAppServerCluster"> <app-server ref="LiveDiscover" /> </app-server-cluster>
Edit the
AssemblerConfig.xml
file in<app dir>/config/script
to ensure that it references the application server clusters that are correct for your environment.Edit the
WorkbenchConfig.xml
file in<app dir>/config/script
to ensure that the IFCR components are correct for your environment.Edit the
UsageCollectionConfig.xml
file in<app dir>/config/script
to ensure that the Dgraph clusters and application server clusters from which usage is collected are correct for your environment.If necessary, edit the
ReportGeneration.xml
file in<app dir>/config/script
. This file does not usually require any modifications.
The following topics describe the components that you can define in the application configuration files.