05-20-2013 12:27 PM
Hello,
How do I setup CPC to do an automatic sync from the processors? The documentation doesnt seem to help.
Thanks!
05-20-2013 03:14 PM
I am following the steps as outlined below:
Provisioning provides a command line script utility that can be used to schedule periodic processor and Domain synchronizations. The synchronization script enables you to regularly schedule a subset of the synchronization operations at different periodic intervals and across multiple time zones. You should use the sync.sh file available in the /opt/cupm/sep/build/bin/ folder.
However under the above mentioned file, the contents are as follows:
#!/bin/sh
#****************************************************
# Copyright (c) 2006, 2007, 2008, 2009, 2012 Cisco Systems, Inc.
# All rights reserved.
#****************************************************
source /opt/env.sh
$DEV_DIR/build/bin/dfcapp.sh dfc.ipt.tools.RunSync $*
Not sure what I should be doing here.
07-23-2014 04:55 AM
Not sure if you have solved this yet or not but this may help
Provisioning provides a command line script utility that can be used to schedule periodic processor and Domain synchronizations. The synchronization script enables you to regularly schedule a subset of the synchronization operations at different periodic intervals and across multiple time zones. The sync.sh file is available at /opt/cupm/sep/build/bin/ folder.
To schedule synchronization:
Step 1 | Login to the Provisioning server as root using SSH. | ||
Step 2 | Enter crontab -e to edit a copy of the crontab file in vi editor. | ||
Step 3 | Press the i key to enter insert mode. | ||
Step 4 | To run synchronization at regular intervals, enter the following: minute hour day-of-the-month month day-of-week command-to-be-executed where: For example, to run Call Processor synchronization at 3:24 pm every day, enter the following: 24 15 * * * /opt/cupm/sep/build/bin/sync.sh callprocessor To run Message Processor synchronization at 8:24 pm every day, you would enter the following command: 24 20 * * * /opt/cupm/sep/build/bin/sync.sh messageprocessor See Command Line Script Utility Options for information on Command Line Script utility options.
| ||
Step 5 | Press ESC key to exit insert mode, and then press : to enter the command line. | ||
Step 6 | Enter wq to write and quit the editor. | ||
Step 7 | Enter crontab -l to see if the file is saved. |
The command line script utility options are as follows:
Mass Sync Usage: ./sync.sh [callprocessor | messageprocessor | presenceprocessor | activedirectory | domain | all] [<option>]
Mass Synchronization invokes synchronization operations for all objects of the specified class. Both infrastructure and subscriber synchronizations run for each processor. The order of the synchronization is as follows: call processor, unified message processor, presence processor, and then domain.
Granular Sync Usage: ./sync.sh [-g <filename>] [<option>]
For example, if you want to run granular synchronization at 1:15 pm every Saturday, enter the following command:
15 13 * * 6 /opt/cupm/sep/build/bin/sync.sh -g granularsyncfilename
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide