AES TSAPI Logs

· Avaya
Authors

Following changes in the trace mask file to collect additional DEBUG level logs from AES.This setting will help us in displaying the AES raw messages at a level deeper.

1) To turn on the traces follow the procedure give below :

  1. Logon on the AES box as sroot.

  2. Go to the path /opt/mvap/conf

  3. and vi to this file:  vi tracemask

Add the following lines to the tracemask file.

TSAPI=0x00000c3f

2) We need to save the log file mentioned using the save_trace script. Please following procedure for the same.

  • Login to AES as root

  • Go to the path “ cd /opt/mvap/bin

run the command “nohup save_trace <trace file name> &” as sroot/root user.

You need to run this command for all the three trace files i.e. trace.out.old(/opt/mvap/logs/common), csta_trace.out.old(in /opt/mvap/logs/TSAPI folder) and g3trace.out.old(in /opt/mvap/logs/TSAPI folder)

Example:

[root@kona TSAPI]# nohup save_trace g3trace-kahunaPBX-3.trace.out.old &

Like this you have to run it for all the three files, this will create zip files for all the trace files with extension .out.old

  • Note the number you will get after running this command as it’s the pid of the command running.

  • Double check if the command has been running successfully by typing ps –ef|grep save_trace

  • This will start zipping all the files having extension as “.out.old” and there will be multiple files created for different instances.

  • Keep monitoring the system.

  • Once the issue has occurred please kill the command by typing kill -9 <pid> this is important to stop the background process.

VV IMP Note:- please keep checking the disk space by typing “df –h” and if you find that the disk space is less, start moving old, zipped trace files from common and trans_serv folder to somewhere out side the AE services as there will be multiple zip files formed and will not be deleted.

3) Turn off the tracing once the issue occurs

  1. Logon on the AES box as sroot.

  2. Go to the path /opt/mvap/conf

  3. and vi to this file:  vi tracemask

  4. Append # against all the entries in the file

Entries will look as shown below

# TSAPI=0x00000c3f

Once all the traces are turned off Pleas collect the logs from the following directory

  • files present in the /opt/mvap/logs/TSAPI/

  • trace.out files from the /opt/mvap/logs/common

We will require the above mentioned files in sync with the MST and sniffer for the time when the issue is reported

PLEASE KEEP EYE ON FREE SPACE AVAILABLE ON THE SERVER AS SAVE TRACE EATS UP THE SPACE QUITE QUICKLY

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: