Set the conf.xml File of the Indexing Server - AFS

Install AFS on Multiple Servers

Product
AFS
AFS_Version
7.11
Platform
RHEL
Category
Technical Notes

The conf.xml Configuration File is required to indicate where is the server hosting the Back Office. This way, the Indexing server is able to communicate with the Back Office Administration Center when installing the processing pipelines.

  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 PaF Manager by running the following command:

As root user

/etc/init.d/afs_pafmanager 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>