Avaya Call Recorder Patching 15.1


If you didnt know already patching has changed on Avaya Call Recorder. Avaya Solution SOLN311871.

Patch Utility Tool
You need to install the ACR patching tool on each server prior to patching. (in future releases it reports it will be installed automatically)

If using Linux ensure you are logged in as witness user
Locate the ACR install folder (on Linux it is /opt/witness and Windows installationFolder\Avaya\ContactRecorder
Create a new folder called patches alongside logs, keystore, properties
Copy the patchtool.jar file into the newly created patches folder.
The patch tool will create a rollback patch, apply the new patch files and delete the work folder.

Normally any patch can be applied as long as it is higher that the currently installed patch.
However, occasionally a patch may need a specific earlier patch to be installed first. If this is the case, the patch tool will warn you, and you will have to obtain and install the earlier patch first.

Linux Systems
Copy the patch (.apa) file to the recorder via sftp using the witness user. /tmp is the best location for the patch fileLog onto the recorder as the witness user
Stop the recorder
su – -c “service cscm stop”
Change directory to the patches folder
cd /opt/witness/patches
Check the current patch
../java/latest/jre/bin/java -cp patchtool.jar Patcher
Apply the new patch(es)
../java/latest/jre/bin/java -cp patchtool.jar Patcher /tmp/acr-15.1fp1-patchNumber.apa
Perform any property file changes indicated in the fixed issues table. Under Linux, the property file is /opt/witness/properties/acr.propertiesRestart the recorder
su – -c “service cscm start”

Windows Systems
Copy the patch (.apa) file to a temporary folder on the recorder
Stop the recorder serviceStart a Command Prompt window
Change directory to the patches folder
cd installationFolder\Avaya\ContactRecorder\patches
Check the current patch
(with current directory set to \patches folder, run command exactly as follows)
..\jre\bin\java -cp patchtool.jar PatcherGui
Do not close the Java applet
Apply the new patch(es) using the File/Open menu option from the Java applet

Perform any property file changes indicated in the fixed issues table.
Under Windows, the property file is installationFolder\Avaya\ContactRecorder\properties\acr.properties

Restart the recorder

After the patch has been applied to the recorder ensure that the recorder has started.

Log on to the recorder’s admin page and confirm the patch number displayed on the license page matches the patch applied. Perform a test call to a targeted station and confirm that this call is recorded by replaying the recording.

Patch Rollback
If you currently have patch 0044 installed and you install patch 0055, the patch tool will create a ‘rollback’ patch that allows you to roll back from 0055 to 0044. The rollback patch will be created in the rollback subfolder of the patches folder and will include 0055to0044 in the name.
Apply a rollback patch the same way as a normal patch. The patcher utility checks that the rollback is appropriate (e.g. the 0055to0044 rollback can only be applied if the current version is 0055).
After you apply a rollback patch you can delete the rollback patch archive file from the patches/rollback folder. Not all patches can be rolled back. Once a patch is rolled back a new patch can be applied before starting the recorder.

Development Patches
You may occasionally have to install a development patch – typically to help to diagnose a problem. Development patches always end in a letter e.g. 0055a. When you apply a development patch it creates a rollback patch as above. What is different is that, having applied a development patch, you will not be able to apply any other patches until you rollback the development patch.

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 / tzupdater-2_1_0.zip

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.

 

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

Example:

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