Installation Finalization Example - AFS - Technical Notes

Install AFS on Multiple Servers

Operating System
Technical Notes
Target Audience

For this example, let us consider the service 1/beta with the Books PaF.

  1. To be able to run some tests on AFS, we create the service 1 with a beta status in the Back Office.

    A new project is created in the Back Office

  2. On the server hosting the Data Processing and Indexing environment, the Books PaF is installed by using the afs_paf_install binary.

    As a result, the following file structure is created:

    |__ Books
    |__ conf
    |__ status.json
    |__ status.xml

  3. The following sample files were retrieved from the Antidot Training Resources Center:
    • paf.xml to create the PaF called Books.
    • books.xml and feed-books-complete.xml to create a feed for the Books PaF and provide data to work on.
  4. In the Back Office Service > Setup > Configuration, in the PaF Architect of Books, the paf.xml file is imported.
  5. In File Repository, books.xml and feed-books-complete.xml are added as new files.

    The PaF creation is now complete.

  6. In Dataflow > Books, a Full upload is launched.
  7. On the server hosting the Reply environment, we use the afs_service_install binary to install a new reply service on the 1/beta service.

To test the operation of the installation, we use the following URL in our browser:


The following XML output is displayed:

<afs:replies xmlns:afs="" xmlns:xsi="" xsi:schemaLocation="">
<afs:query userId="82c639d3-3cdc-435d-affb-03273eb3c35e" sessionId="82c639d3-3cdc-435d-affb-03273eb3c35e" date="2019-01-09T20:26:37+0000" textQuery="">
<afs:queryParam name="afs:service" value="1"/>
<afs:mainCtx textQuery=""/>
<afs:user requestMethod="GET" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" address="">
<afs:output format="XML" encoding="gzip" charset="UTF-8"/>
<afs:performance durationMs="12"/>
<afs:meta uri="Books" totalItems="7" totalItemsIsExact="true" pageItems="7" firstPageItem="1" lastPageItem="7" durationMs="6" firstPaFId="1" lastPaFId="1" producer="search"/>

The installation was successful.