IG - Install CDP Service V2.0 Download PDF
INSTALL GUIDE

CDP Service V2.0

Install Guide

Document Details

Document #: 160_CDPG_240812
Release Version: 04.40.00.00
Version Release Date: March 2013

Overview

This guide provides the steps necessary to install and configure CDP Service Version 2.0

QR code — scan to download the latest version of this guide
Download the latest version of this document here: https://links.crunchtime.com/CDP2Installation

… or scan the QR code to the left.


Integration

Install CDP Service V2.0

Introduction

The Crunchtime Data Pump (CDP) Service is a utility used to exchange data between the Crunchtime applications and other external devices and programs. It is designed to run in the background, as a service on the PC, since a service will restart automatically if the PC needs to be restarted. This utility is used to import sales mix, menu mix and other data from external programs to populate the database automatically. It is also used to export data, such as employee information and labor schedules.

The CDP Service sends traffic via HTTPS over Port 443 using Transport Layer Security (TLS) protocols; this traffic is validated by Net‑Chef, which also operates on TLS protocols.

Before You Install: What You Need to Know

Monitoring: What You Need to Know

Verify the Microsoft .NET Framework Version

Before installing the CDP Service, you can follow the steps below to verify that you have a compatible version of the Microsoft .NET Framework.

  1. 1
    Click Start > Control Panel > Programs > Programs and Features.
Screenshot
  1. 2
    Verify that the version of the Microsoft .NET Framework is 4.5 or higher.
  2. 3
    If it is not, you can download the latest version from www.microsoft.com/net.

Install the CDP Service

The installation wizard needs to be run on each PC that will be using the service.

  1. 1
    To begin, right-click the cdpServiceV2.exe file and select Run as Administrator.
  2. 2
    A Windows Alert message will appear asking if you want to allow the following program to make changes to this computer.
  3. 3
    Click Yes to continue. The Welcome screen will appear.
Screenshot
  1. 4
    Click Next to continue.
  2. 5
    The Select Installation Folder screen is displayed next. The Folder entry indicates where the CDP will be installed. If the file path needs to be changed, click Browse and select the correct path. If you change this, please note that the CDP Service must have its own directory on a local drive.
    Note: This entry defaults to C:\cdp_service.
Screenshot
  1. 6
    Click Next to continue.
  2. 7
    In the Crunchtime CDP INI Settings screen, enter the following parameters:
Screenshot
  1. 8
    Click Next to continue.
  2. 9
    In the next Crunchtime CDP INI Settings screen, enter the following parameters. If either file path needs to be changed, click Browse and select the correct path.
Screenshot
  1. 10
    When the Ready to Install screen appears, click Install to start the installation.
Screenshot
  1. 11
    When the installation is complete, the following screen will appear.
Screenshot
  1. 12
    Click Finish to exit the installation wizard.

Verify the CDP Service is running

When the CDP Service was installed, it started automatically. To verify the service is running, complete the following steps.

  1. 1
    Click Start. (If your PC is running Windows 10, skip to the next step.)
  2. 2
    In the search field, type “services” and press the Enter key. The Services window will open.
Screenshot
  1. 3
    Check the list of services for Crunchtime CDP Service.
  2. 4
    Confirm that the Status is “Started”; this means the service is running.
  3. 5
    Confirm that the Startup Type is “Automatic”; this indicates that if the PC has to be restarted, the CDP Service will restart automatically.
  4. 6
    Close the Services window.
Setup Complete

You have now confirmed that the CDP Service has been installed successfully and is running on the PC.

If the cdp.ini file needs to be modified, proceed to the remaining pages and follow those steps.

Modify the CDP.ini File

  1. 1
    Locate the cdp.ini file in the destination directory. (The default file path is C:\cdp_service. If you are not displaying file extensions, look in the Type column for the “Configuration Settings” file.)
Screenshot
  1. 2
    Double-click the file to open it.
Screenshot
  1. 3
    Update any parameters in the file as needed; these parameters are not case-sensitive.
    (The URL, UserID, Password, and SiteName fields are described on Page 6; the Download, Upload and LocationCode fields are described on Page 7.)
    • autoupdate= This defaults to ‘Yes’ to indicate that the service should check for and download automatic updates on its own, as frequently as indicated by the “updatetimer” minutes parameter. If set to ‘No’, the service will still check for updates but will warn the user if it detects a mismatch between the CDP version and the database version.
    • exporttimerminutes= This defaults to ‘60’. Enter the number of minutes that the application should wait to check the database for Employee and Labor Schedule records that meet the export criteria (based on export mapping and preferences set in Enterprise Manager).
    • uploadtimerseconds= This defaults to ‘10’. Enter the number of seconds (minimum of 10) that the application should wait to check the upload directory for incoming files.
    • laborexports= This defaults to ‘No’ to indicate that employee information and labor schedules are being exported to POS by Net-Chef users and not by the CDP. Set to ‘Yes’ to have the CDP do this. If so, the “locationcode” parameter must be populated.
      • In Enterprise Manager, the Labor Preference to Export Employee Information and Labor Schedules to POS system via CDP must also be enabled.
    • timeoutseconds= This defaults to ‘300’ (5 minutes). Enter the number of seconds that the service should continue to try importing files before timing out.
    • verbosity= This defaults to ‘1’, to log general information to the cdp_connection.log, cdp_info.log, and cdp_error.log files, for the purpose of troubleshooting. If necessary, set this from ‘2’ to ‘10’ to log more detailed information to these files.
      • For security reasons, Crunchtime recommends keeping this at the default setting of ‘1’. At any other setting, the “UserID” and “Password” listed in the cdp.ini file will be visible in the logs.
    • updatetimerminutes= This defaults to ‘60’. Enter the number of minutes that the service should wait to check for and download automatic updates.
    • export= This defaults to ‘C:\cdp_service\download’. If necessary, change this file path to refer to a different folder. This is where the CDP places files from scheduled exports.
    • logdirectory= This defaults to ‘C:\cdp_service\log’. If necessary, change this file path to refer to a different folder. This is where the CDP places log files.

For Cruise Ships (or other self-hosted locations) only – set/add the parameters noted below.

  1. 4
    When finished, save and close the file.

Encoding the CDP Password in the CDP.ini File

If you want to encode the password within the CDP.ini file using Base64 encoding, follow the steps below:

  1. 1
    Open Notepad to create a text file.
  2. 2
    Enter or Paste the unencrypted password into the file.
  3. 3
    Save the file to the CDP directory (C:\CDP_Service) with the name CDP_PW.txt.
  4. 4
    Open a command window.
  5. 5
    Type CD \CDP_Service.
  6. 6
    Type certutil -encode CDP_PW.txt encoded.txt
  7. 7
    Open the encoded.txt file. The encoded password will be located on line 2.
  8. 8
    Copy & Paste that password into the CDP.ini file, replacing the existing password entry.
    Example: password=ENC(string copied from encoded.txt)
  9. 9
    Delete the CDP_PW.txt file.