Set the conf.xml File of the Reply Server - AFS - Technical Notes

Install AFS on Multiple Servers

Product
AFS
Platform
7.11
Operating System
RHEL
Category
Technical Notes
Language
English
Target Audience
public

The conf.xml configuration file provides information about the location of the server hosting the Back Office. This information is necessary in order for the reply server and the Back Office Administration Center to communicate when installing processing pipelines.

The conf.xml configuration file is mandatory.

The steps to set the conf.xml file are as follows:

  1. Edit the following file:

    As root user

    /usr/local/afs7/conf/conf.xml _

  2. Add the lines regarding the Administration Center as follows:

    <?xml version='1.0' encoding='iso-8859-1'?>
    <afs:conf xmlns:afs="http://ref.antidot.net/v7/afs#">
    <afs:AC>
    <afs:Server>
    <afs:host value="$BACK_OFFICE_HOSTNAME"/>
    <afs:UpdateManager>
    <afs:host value="$BACK_OFFICE_HOSTNAME"/>
    </afs:UpdateManager>
    </afs:Server>
    </afs:AC>
    <afs:LogManager>
    <afs:storages>
    <afs:listItem value="sqlite" />
    <afs:listItem value="text" />
    </afs:storages>
    </afs:LogManager>
    </afs:conf>

    Where:

    • afs:host value must have the hostname of the server hosting the Back Office Environment set as a name attribute.
    • afs:listItem value="text" must be set to retrieve analytics data.

For this modification to be taken into account, it is mandatory to restart the Query Manager by running the following command on the reply server:

As root user

/etc/init.d/afs_querymanager restart

In our example, add the following lines:

<?xml version='1.0' encoding='iso-8859-1'?>
<afs:conf xmlns:afs="http://ref.antidot.net/v7/afs#">
<afs:AC>
<afs:Server>
<afs:host value="bo01" />
<afs:UpdateManager>
<afs:host value="bo01"/>
</afs:UpdateManager>
</afs:Server>
</afs:AC>
</afs:conf>