Documentation Center

Registering the Audience Manager Service as a Capability

If you already used the auto-register switch to register this Server Role as a Capability when you installed it as a standalone microservice, you can skip this task. If you did not, you can make this microservice discoverable through the Discovery Endpoint by hand by adding it as a Capability to the Discovery Service's Storage Layer configuration file and update the Capability registry by rerunning the Discovery Service registration tool.

Procedure

  1. Navigate to the configuration location of your Discovery Service installation.
  2. From this location, copy cd_storage_conf.xml to the location in which you saved the Discovery Service registration tool (the file discovery-registration.jar), and open it for editing.
  3. Find the ConfigRepository section and its Roles subsection.
  4. Ensure the presence of the following:
    <Role Name="AudienceManagerCapability">
      <Targets Name="AudienceManagerTargets">
        <Target Name="SYNCTARGETID" Url="http://HOST:PORT/audiencemanager.svc" Active="True" />
      </Targets>
    </Role>
    where:
    • SYNCTARGETID is the ID part of the Content Manager URI of an Audience Manager Synchronization Target that you created in Content Manager Explorer. For example, if your Audience Manager Synchronization Target has a URI of oe:0-2-197632, SYNCTARGETID is 2.
    • HOST and PORT identify where your Audience Manager Service is running. (In a default installation, PORT is 8091.)

    In an outscale scenario, you could have multiple Audience Manager service instances running, and you could create multiple Synchronization Targets, one per service. If so, you would add further Target elements here.

  5. Save and close cd_storage_conf.xml.
  6. Open a command prompt.
  7. Enter the following command:
    java -jar discovery-registration.jar update
    The tool registers the configured Capabilities.