CMS Time Notes

CMS affectively has two times start time which is the acd default time and start time +utc which is the timezone handled by TZ. (TZ updater is used to update timezone information)

The time zone is handled by the variable TZ. For global configuration edit the “/etc/default/init” file and alter the TZ line for example:

TZ=GMT if you want to set it to GMT.

To change date from CLI

date -s “30 october 2016 08:41”

to view from CLI


UID Numbers

  • display internal-data ext-map xxxx
  • display internal-data uid xxxx

(xxxx = extension / agent number)


ACR Windows Time Update

You need to download the latest tzupdater files to the server prior to carrying out the work;

tzdata2016g.tar.gz.sha512 / tzdata2016g.tar.gz /

Stop the cscm service first (Avaya Contact Recorder) from the Services

Extract the TZUpdater and copy the tzupdater.jar file into the Java directory in my case which in my case was located at E:Program Files>Avaya>ContactRecorder>jre>bin)Create a temporary directory

(e.g. under the E:Avaya>ContactRecorder>temp)

Place the tzdata2016g.tar.gz and tzdata2016g.sha512 file in your newly created temp directory.

Open a command prompt with Administrator privileges and navigate to the Java directory in my case E:Program Files>Avaya>ContactRecorder>jre>bin

Enter the following command

java -jar tzupdater.jar -l file:///E:\Progra~1\Avaya\ContactRecorder\temp\tzdata2016g.tar.gz -v

If it’s successfully you should see something along the lines of

Using file:///E:\Progra~1\Avaya\ContactRecorder\temp\tzdata2016g.tar.gz as source for tzdata bundle.
java.home: E:\Program Files\Avaya\ContactRecorder\jre
java.vendor: Sun Microsystems Inc.
java.version: 1.6.0_41
tzupdater version 2.1.0-b04
JRE tzdata version: tzdata2012i
Downloaded file to C:\Users\ADMINI~1.BAC\AppData\Local\Temp\2\tz.tmp\tzdata.tar.gz
tzupdater tool would update with tzdata version: tzdata2016g
Downloaded file to C:\Users\ADMINI~1.BAC\AppData\Local\Temp\2\tz.tmp\sha512hash
Extracting files… done.
Renaming E:\Program Files\Avaya\ContactRecorder\jre\lib\zi to E:\Program Files\Avaya\ContactRecorder\jre\lib\zi.tzdata2012i
Renaming E:\Program Files\Avaya\ContactRecorder\jre\lib\zi.tzdata2016g to E:\Program Files\Avaya\ContactRecorder\jre\lib\zi
Validating for : tzdata2016g
Validation complete
JRE updated to version : tzdata2016g

*** please note I had to physically start jave.exe on the last system I carried this out before I could run the command above ***

  1. Start the cscm service (Avaya Contact Recorder) from the Services

With this the Java time zones will be updated.


SCP (secure copy)

Secure Copy to copy files between servers especially when winscp is not available

scp /home/cust/file.tgz cust@

In summary;

scp (directory current server/file name) login@ip address: (directory you are copying too)

scp followed by the directory path of the file you wish to copy then file name space login @ ip address of server : directory of file you are copying too.


ACR CSCM Restart & Postgres Vacuum

This should perform a vacuum of the database which can take up to 30 mins

Perform at root

#cd /sbin

# ./service cscm stop

# ./service cscm start


To manually vacuum database . . .

su – postgres

(takes you to -bash-2.05$ prompt

vacuumdb -f -a

It could take a while depends on size of database, I do not know a way of monitoring this.

When it finishes carry out the stop / start above **


ACR Debug Logs

To turn the ACR debug logs on and off in ACR


http://10.x.x.x:8080/log?level=DEBUG (turns debug on)

http://10.x.x.x:8080/log?level=INFO (turns debug off)


Logs are located in:

D:\Program Files\Avaya\ContactRecorder\logs


IQ Cannot Login

Cannot Login stop and start IQ services, you can follow below:
1.       Service wdinit stop
2.       Service wdinit start
3.     ( To check the progress of services. Make sure all the services are in STARTED state.) sh /opt/Avaya/CCR/bin/ -v -w all status
** Takes about 15mins downtime **
Also check Catalina.out file if it gets too large then you need to remove it (Avaya IQ 5.2.6 patch 10 resolves it)
cd /opt/Avaya/CCR/RTD/tomcat/apache-tomcat-7.0.52/logs (-7.0.52 bit depends on your version of tomcat)
 ls –ltr
List Services UID
cd /opt/coreservices/lifecycle/bin
./lc ls
Find RTDTomcat UID for next step
./lc stop UID
./lc status UID
Go to catalina.out directory
cd /opt/Avaya/CCR/RTD/tomcat/apache-tomcat-7.0.52/logs
cp catalina.out /backup
rm catalina.out
/opt/coreservices/lifecycle/bin/lc stop UID
/opt/coreservices/lifecycle/bin/lc start UID
or navigate to the directory /opt/coreservices/lifecycle/bin
and type the following
./lc start UID
.lc status UID