Documentation Center

How to create a new BackgroundTask service with a role

This topic explains how to adapt the install plan to create a Trisoft InfoShare BackgroundTask service with the specified service role.

Before you begin

  • There is no Content Manager installation yet.
  • Check the name of the service role via Settings > XML Settings > Background Tasks. If the name is newServiceRole, there should be a XML fragment like the following:
    <service role="newServiceRole">
    	  <matrix>
    	  ...
    	  </matrix>
    	  <leaseRecovery isEnabled="true" interval="00:05:00" />
    	  <poller isEnabled="false" interval="00:00:10" />
    	  <aggregationRecovery isEnabled="false" gracePeriod="00:10:00" interval="00:10:00" maximumRetries="3" />
     </service>

About this task

The following procedure describes how to adapt the out-of-the-box configuration of the Trisoft InfoShare BackgroundTask One windows service before installing. Of course, you can also add extra services by adapting the install plan.

Procedure

  1. Open the install plan (__InstallTool\installplan.xml) from a Content Manager CD
  2. Goto to the service definition for Trisoft-InfoShare-BackgroundTask
    <serviceapp name="Trisoft-InfoShare-BackgroundTask">
      <servicename>Trisoft InfoShare#!#installtool:PROJECTSUFFIX#!# BackgroundTask One</servicename>
      <filepath>#!#installtool:APPPATH#!#\App#!#installtool:PROJECTSUFFIX#!#\BackgroundTask\Bin\BackgroundTask.exe --service "Trisoft InfoShare#!#installtool:PROJECTSUFFIX#!# BackgroundTask One" Default</filepath>
      ...
    </serviceapp>
  3. Replace the Default role with newServiceRole
    <serviceapp name="Trisoft-InfoShare-BackgroundTask">
      <servicename>Trisoft InfoShare#!#installtool:PROJECTSUFFIX#!# BackgroundTask One</servicename>
      <filepath>#!#installtool:APPPATH#!#\App#!#installtool:PROJECTSUFFIX#!#\BackgroundTask\Bin\BackgroundTask.exe --service "Trisoft InfoShare#!#installtool:PROJECTSUFFIX#!# BackgroundTask One" newServiceRole</filepath>
      ...
    </serviceapp>
  4. Save the modified install plan

Results

An install plan that will install a Trisoft InfoShare BackgroundTask One windows service with the specified service role