SDL Web 8.1.1 – Optimizations

Posted on Posted in SDL Web (SDL Tridion)

The SDL Web 8.1.1 (or Cumulative Update 1 for SDL Web 8) release had some nifty features, which had escaped my radar.

Here’s a quick summary of the ones I’ve found most useful, and a link to the full release notes:

Micro-service Quick installers

Installing 3, 4, 5 or more micro-services can be a real pain. It is repetitive and prone to mistakes. SDL Web 8.1.1 comes with some helpful scripts to automate that installation. Look inside the \INSTALL MEDIA\Content Delivery\resources\quickinstall folder for a Powershell and Bash version of the quick install scripts

Powershell Example: Execute the following for a guide to using the script

.\quickinstall.ps1 -help
Auto Registering Micro-services

Micro-services can now be configured to auto-register, saving you from re-regestering the scripts after update. Simple use the ‘–auto-register’ attribute as described below and in the documentation.

You can run the installation script for the feature (either installService.ps1, start.ps1 or start.sh) with the switch --auto-register. This automatically registers your microservice with the Discovery Service.

Parameters in the Storage Layer Configuration File

You can now use parameters in the storage configuration file, for items such as database names, servers or passwords (and anything else you want). These properties can be then set either in environment variables or as parameters when the service is initiated.

Command Line Example (more in documentation)

Storage Configuration Snippet

<Storage Type="persistence" Id="defaultdb" dialect="${dbdialect}"
  Class="com.tridion.storage.persistence.JPADAOFactory" generateDDL="true">

Command Line Argument

start.ps1 -Ddbdialect=ORACLESQL

Leave a Reply

Your email address will not be published. Required fields are marked *