Varicent Sales Performance Management Documentation

Scheduler service

The Varicent ICM Scheduler service must be installed and running for the Scheduler module in the admin web application to function properly.

Installing the Scheduler service

You must have the Varicent ICM Scheduler service installed and running to use the Scheduler module in the admin web application.

If you used the Unified Installer to install all files, you can skip this step.

  1. Double-click the Varicent ICM-schedulerservice.exe installation file in your release folder.

  2. Complete the steps in the installation wizard.

Installing Scheduler Service

If you are setting up Varicent ICM without the ConfigSetter, see the Configuring the Schedule Service section for an overview of how to manually configure the scheduler.

If are using the ConfigSetter and want to set a different time for the refresh interval, you must change this manually in the SchedulerService.appSettings.config file:

  1. Set the SchedulerRefreshInterval to the number of seconds that you want Scheduler to wait before updating to include any changes that the user made in the Scheduler module. The refresh interval must be between 1 - 432000 seconds.

  2. Proceed to the Running the Scheduler Service as a Windows Service section.

Manually Configuring the Scheduler service

The Scheduler service configuration file must be edited to allow the service to communicate with Varicent ICM tenant services and the REST API.

  1. Navigate to the location where the Scheduler service is installed.

    By default it is installed here: C:\Program Files (x86)\Varicent ICM\SchedulerService.

  2. Open the SchedulerService.appSettings.config file.

  3. Configure the TenantServices value to point to the location of the tenant services.

  4. Configure the APIServiceAddress value to point to the location of the REST API.

  5. Set the SchedulerRefreshInterval to the number of seconds that you want Scheduler to wait before updating to include any changes that the user made in the Scheduler module. The refresh interval must be between 1 - 432000 seconds.

  6. Configure the SchedulerSecretKey value to match the SCHED_KEY value in the tenant services configuration file.

  7. Configure the Host value to point to the location of the Scheduler service.

Running the Scheduler service as a Windows service

Run the Scheduler service as a Windows service.

  1. Open the Command Prompt as an administrator.

  2. Run this command:

    sc create "Varicent ICM Scheduler Service" binpath= "C:\Program Files (x86)\Varicent ICM\SchedulerService\IBM Cognos Varicent ICM Scheduler Service.exe"

    Note

    C:\Program Files (x86)\Varicent ICM\SchedulerService is the default installation directory. If it is installed elsewhere, you must replace the binpath with the directory where you installed the Scheduler service.

  3. If you want the Scheduler service to restart upon failure, run this command:

    sc failure "Varicent ICM Scheduler Service" reset= 0 actions= restart/1000
  4. Run this command to start the Scheduler service:

    sc start "Varicent ICM Scheduler Service"