SG - Multi-CDP Setup Download PDF
SETUP GUIDE

Multi-CDP

Setup Guide

Document Details

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

System Requirements

Overview

This document will walk you through the steps to create multiple CDP instances on a local machine.

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

… or scan the QR code to the left.


Integration

Multi-CDP Setup

Before You Install: What You Need to Know

This user will be valid for CDP processing but will not be able to log in to the applications.

Steps to Install

Screenshot
1

To extract contents, right-click on the multiCDP.zip folder and select Extract All.

  1. 1
    To extract contents, right-click on the multiCDP.zip folder and select Extract All.
  2. 2
    In the pop-up, Browse to select the desired destination folder (if necessary), then select Extract.
  3. 3
    In the CDP_Service_Source folder, open the cdp.ini file.
Screenshot
A

userid and password: Verify the User ID and Password for the “CDP User” is defined as recommended in the Need to Know section on the previous page. If you used something other than “cdpuser” for either, edit those entries here.

Note The CDP_Service_Source folder and file structure is used as the source to create the multi-CDP folder and file structure. The userid & password above will be the default for each instance created.
  1. 4
    In the multiCDP folder, right click on the create_cdp_service_loop.bat file and select
    Run as administrator.
Screenshot
  1. 5
    A pop up will ask if you want to allow this app to make changes to your computer.
    Select Yes.
  2. 6
    You will be prompted to enter the following values; press the Enter key after entering each:
Screenshot

Note: In this example, the first folder will be CDP_Service_1, and you will create 5 folders.

A create_output.log file will be generated if the script fails. For example, this will occur if you double-click the file instead of choosing “Run as administrator” as directed in Step 4 above.

  1. 7
    The CDP_Service_N folders should now be in the multiCDP folder. (‘N’ = the unique folder #)
Screenshot
8

In each CDP_Service_N folder, you can now update the cdp.ini file as needed. At the very least, you will need to enter the following parameters:

A

URL: Enter the actual Net-Chef website or IP address for the URL; do NOT include the “https://” portion. (Example: crunchtimecafe.net-chef.com)

B

sitename: Enter the web site name of your Net-Chef web site (this is the portion of the URL before “.net-chef.com”). This entry, along with the URL, validates the correct site that data should be uploaded to/downloaded from. (Example: crunchtimecafe)

  1. 8
    In each CDP_Service_N folder, you can now update the cdp.ini file as needed. At the very least, you will need to enter the following parameters:
Tip Within the cdp.ini file, the upload/download/export directory is using relative path; this should stay ‘as is’ for ease of use and to reduce maintenance.

Steps to Start Each CDP Service

By default, the CDP services you just created will be disabled. You will need to start each CDP service as needed. Follow the steps below to display the Windows Services app.

Screenshot
1

In the Search bar, type ‘serv’.

2

At the top of the window, select Services.

  1. 1
    In the Search bar, type ‘serv’.
  2. 2
    At the top of the window, select Services.
    The Windows Services app will display.

The service names will correspond to the names of the CDP_Service_N folders. To start each CDP Service, you must first update the Startup type within the service Properties.

Screenshot
1

Right click on the create_cdp_service_loop.bat file and select Run as administrator (similar to step 4 in the previous “Steps to Install” section of this document).

2

You will be prompted to enter the following values; press the Enter key after entering each:

3

Select Apply.

4

Then select Start.

  1. 1
    Right-click on a service and select Properties.
  2. 2
    In the Properties window, on the General tab, select Automatic as the Startup type.
  3. 3
    Select Apply.
  4. 4
    Then select Start.

Usage Guidelines

Caution The CDP_Service_N folders should NOT be renamed. This means you need to manually track which folder corresponds to which franchise entity.
Note (For FTP end point): Each franchise entity should have its own file upload end point to avoid any issues and ease of troubleshooting/maintenance: e.g.: “\multiCDP\CDP_Service_1\out”.

Additional Steps as Needed

To Add/Create more CDP folders

  1. 1
    Right click on the create_cdp_service_loop.bat file and select Run as administrator (similar to step 4 in the previous “Steps to Install” section of this document).
  2. 2
    You will be prompted to enter the following values; press the Enter key after entering each:
Screenshot
2

You will be prompted to enter the following values; press the Enter key after entering each:

Note: In this example, you will create 5 more folders labeled CDP_Service_6 to CDP_Service_10.

A create_output.log file will be generated if the script fails. For example, this will occur if you double-click the file instead of choosing “Run as administrator” as directed in Step 1.

To Delete CDP Services and folders

  1. 1
    Right click the delete_cdp_service_loop.bat file and select “Run as Administrator”.
  2. 2
    You will be prompted to enter the following values; press the Enter key after entering each:
Screenshot

Note: In this example, you will delete folders CDP_Service_6 to CDP_Service_10 that you created in the previous example.

A delete_output.log file will be generated if the script fails. For example, this will occur if you double-click the file instead of choosing “Run as administrator” as directed in Step 1.