Configuring where the API (in-process) Server Role looks for Publication mappings
Mappings from Publications to URLs used to be configured in cd_link_conf.xml and cd_dynamic_conf.xml. The new Content Delivery architecture lets you store such mappings in Topology Manager, from which the Discovery Service can retrieve them. You can configure which of these places is used in your upgraded setup.
About this task
| (Session-enabled) Content Service not installed | (Session-enabled) Content Service installed | |
| Discovery Service installed | Scenario A: This is a typical upgrade scenario. Default: Mappings taken from configuration files To override: Copy | Scenario B: This is a hybrid upgrade-migration scenario. Default: Mappings taken from Topology Manager To override: Set |
| Discovery Service not installed | Scenario C: This is not a recommended setup. Default: Mappings taken from configuration files To override: Install the Discovery Service and the (Session-enabled) Content Service. | Scenario D: This is not a recommended setup. Default: Mappings taken from configuration files To override: Install the Discovery Service. |
Procedure
- In scenario A, to get mappings from the Discovery Service, even though the (Session-enabled) Content Service is not installed, do the following:
- On the installation media, open Content Delivery\roles\content\standalone\config\cd_storage_conf.xml.
- In your API (in-process) Server Role's configuration location, open
cd_storage_conf.xmlfor editing. - Copy the
ConfigRepositorysection from the installation media file to you server-side file. - Save and close cd_storage_conf.xml.
- Restart your Web application.
- In scenario B, to get mappings from the configuration files, even though the (Session-enabled) Content Service and Discovery Service are installed, do the following:
- In your API (in-process) Server Role's configuration location, open
cd_link_conf.xmlfor editing. - Find the
Publicationselement and give it an attribute calledDiscoveryServiceOverride, giving it the valuetrue. - Save and close cd_link_conf.xml.
- Restart your Web application.
- In your API (in-process) Server Role's configuration location, open