Sitecore Publishing Service
The Sitecore Publishing Service (SPS) module integrates with the opt-in Publishing Service, supporting high-performance publishing in large-scale Sitecore setups. The Publishing Service module is an optional replacement for the existing Sitecore publishing methods. This module increases publishing throughput, reduces the amount of time spent publishing large volumes of items, and offers greater data consistency and reliability. The module also improves the user experience and provides better visual feedback to the user on the state of the publishing system.
Publishing Module
Installation Guide.
Check Compatibility Table for SPS: Sitecore Publishing Service – compatibility tables
I am installing Sitecore Publishing Service 4.3.0 for Sitecore 9.3 version.
Download these two zip files.
- Sitecore Publishing Service: Sitecore Publishing Service
- Sitecore Publishing Service Module: Sitecore Publishing Service Module
Manual Installation
- Extract the Sitecore Publishing Service to a folder of your choice. For example: C:\inetpub\wwwroot\sitecorepublishing
- In IIS, create a new site pointing to the folder
- Start the IIS Manager and in the Connections panel, expand Sites. Right-click Sites and then click Add Website.
- In the Add Website dialog, fill in the required fields
- In the IIS Manager, right-click the application pool for the website that you created, and then click Basic Settings.
You need to update the connection strings of the Sitecore Instance you want to use. For example, I have a Sitecore instance name sc931. So, I go to the website/App_Config folder and edit the ConnectionStrings.config by adding the attribute ‘MultipleActiveResultSets=True’ to the Core, Master, and Web databases.
Core
connectionString=”user id={userId};password={Password};Data Source={Datasource};Database=sc931_Core;MultipleActiveResultSets=True;“
Master
connectionString=”user id={userId};password={Password};Data Source={Datasource};Database=sc931_Master;MultipleActiveResultSets=True;“
Web
connectionString=”user id={userId};password={Password};Data Source={Datasource};Database=sc931_Web;MultipleActiveResultSets=True;“
Once this is completed, we need to make the Host Service access the database of the Sitecore Instance. Go to path C:\inetpub\wwwroot\sitecorepublishing\config\global and create a file name sc.connectionstring.xml and paste the following connections in it.
- Open the Command Prompt with Admin rights.
- Navigate to the directory of the publishing host service.Example: cd C:\inetpub\wwwroot\sitecorepublishing
- Run the command
Sitecore.Framework.Publishing.Host.exe schema list
Sitecore.Framework.Publishing.Host.exe schema upgrade --force
No comments:
Post a Comment