Documentation Center

Copying resources for a Discovery Service installation in an upgrade scenario

Copy the microservice resources, or for a deprecated Web application-based microservice, copy the contents of a WAR file to a Web application location.

Procedure

  1. Access your installation media and navigate to the folder Content Delivery\roles\.
  2. Navigate to the discovery\ subfolder.
  3. Do one of the following:
    Copy resources for a standalone microservice installation
    Copy the standalone\ folder, with all its files and subfolders, to your target machine, and rename it to a unique name of your choosing.
    Copy resources for a microservice installation as a Java/JSP Web application (deprecated and discouraged)
    Contact SDL to obtain a WAR file containing the microservice. Unpack the .war file to a location on your target machine from which your Java/JSP Web application server can deploy it.
  4. If all of the following are true:
    • You are installing the Discovery Service as a standalone microservice.
    • Clients connect to the Discovery Service through HTTPS.
    • You are using Amazon's Elastic Load Balancer.

    then you must do the following to enable forwarding of X-Forwarded-For, X-Forwarded-Proto and X-Forwarded-Port headers:

    1. On your installation media, navigate to Content Delivery\resources\filter\.
    2. Copy the file service-container-filter-VERSION.jar, where VERSION indicates the version of the file, to your target machine.
  5. From the registration\ subfolder, copy the Discovery Service registration tool, discovery-registration.jar, to a location of your choice. A good location would be the the config\ subdirectory of your Discovery Service directory.