Preparing for content distribution
Preparing a server for distribution requires a special license token and some special logging configuration.
Procedure
- The distribution server requires a
lcpackagelicense token. Contact SDL to obtain the proper license. Thelcpackagelicense token is not required for delivery servers. - On your distribution server, enable logging for the distribution center in your log4j.xml configuration file. This file is located in the ContentDelivery_home/WEB-INF folder. Un-comment the following block to enable distribution center logging:
<category name="livecontent.distribution" additivity="false"> <priority value="real-info"/> <appender-ref ref="livecontent.distribution"/> </category>Note: Enabling livecontent.distribution logging is not required for delivery servers.When specifying directory paths in the log4j.xml configuration file, use only forward slashes (/). Backward slashes (\), such as those used in typical Windows directory paths, are ignored.
- Restart the web server application or service.
- Ensure that all of your delivery servers and the distribution server have been configured into the same secure content distribution group. See Securing Content Distribution.
- Before you can add delivery servers, you must ensure that your distribution server has the delivery server's machine certificate by exporting it from each delivery server and importing it into the distribution server's Tomcat keystore. See Enabling Secure Socket Layer (SSL) protocol for the Apache Tomcat web application server
The distribution server now trusts the delivery servers.