Clustering : About the primary configuration files : About acpmdconfig.xml
 
About acpmdconfig.xml
Acpmdconfig.xml sets the environment variables at the operating system level. The administrator can specify the node configuration settings in acpmdconfig.xml. Alternatively, the administrator can set the necessary environment variables in setsrvrenv and run this script before restarting an instance.
Using acpmdconfig.xml, set <AC_CONFIG_HOME> to the directory that contains acserverconfig.xml and acserverlicense.xml. Modify the <AC_TEMPLATE_NAME> element to specify which template this iHub uses.
When creating an image for a set of machines, create a template name, such as SharedTemplate, in acserverconfig.xml. In acpmdconfig.xml, set <AC_TEMPLATE_NAME >to the template name. The administrator can create different templates that use different images for machines with varying computing capacities and resources. Listing 9‑1 shows acpmdconfig.xml for a machine named urup, a node containing the configuration home directory.
Listing 9‑1 The acpmdconfig.xml file
<PMDConfig>
<!--Actuate system Type -->
<System>Cluster</System>
<Mode>Default</Mode>
<PMDConfigFileVersion>2</PMDConfigFileVersion>
<!--Daemon SOAP endpoint information -->
<DaemonSOAPPort>8100</DaemonSOAPPort>
<!-- Disk Thresholds are in MB -->
<MinDiskThreshold>100</MinDiskThreshold>
<LowDiskThreshold>300</LowDiskThreshold>
<!--Server information -->
<Server>
<Startup>Auto</Startup>
<AC_TEMPLATE_NAME>urup</AC_TEMPLATE_NAME>
<AC_DATA_HOME>C:\Actuate\iHub\data</AC_DATA_HOME>
<AC_CONFIG_HOME>C:\Actuate\iHub\data\config\iHub2
</AC_CONFIG_HOME>
<AC_JRE_HOME>C:\Program Files (x86)\Common Files\Actuate
\22.0\JDK160\jre</AC_JRE_HOME>
<AC_JRE64_HOME>C:\Program Files (x86)\Common Files\Actuate
\22.0\JDK160_64\jre</AC_JRE64_HOME>
<AC_JAVA_HOME>C:\Program Files (x86)\Common Files\Actuate
\22.0\JDK160</AC_JAVA_HOME>
<AC_ODBC_HOME>C:\Program Files (x86)\Common Files\Actuate
\22.0\odbc</AC_ODBC_HOME>
<AC_SERVER_IP_ADDRESS>urup</AC_SERVER_IP_ADDRESS>
<AC_SOAP_DISPATCH_ADDRESS>urup</AC_SOAP_DISPATCH_ADDRESS>
<AC_DOC_BASE>http://www.actuate.com/documentation/ihub2
</AC_DOC_BASE>
<AC_ICU_DATA>C:\Program Files (x86)\Actuate\iHub2\bin
</AC_ICU_DATA>
</Server>
<!-- Servlet Container information -->
<ServletContainer>
<Startup>Auto</Startup>
<JavaOpts
Args="-Xms128m -Xmx512m -XX:MaxPermSize=128m"/>
</ServletContainer>
</PMDConfig>
Use this configuration file to set the environment variables at the operating system level. Table 9‑1 shows the configuration setting in acpmdconfig.xml.
Table 9‑1 acpmdconfig.xml node-specific configuration settings
Configuration name
Description
AC_TEMPLATE_NAME
Template name
AC_DATA_HOME
Location of data directory
AC_CONFIG_HOME
Location of acserverconfig.xml and the license file
AC_JRE_HOME
Location of Java run-time environment (JRE)
AC_JRE64_HOME
Location of 64-bit Java run-time environment (JRE)
AC_ODBC_HOME
Location of ODBC resources
AC_SERVER_IP_ADDRESS
iHub IP address
AC_SOAP_DISPATCH_ADDRESS
iHub dispatcher IP address
AC_ICU_DATA
Location of ICU library