Collecting logs on the Video MCU

Collect logs on the Sametime® Video MCU to troubleshoot server problems. You can collect and view MCMS, CS, and AMP/VMP logs. You can also collect and view tcpdump trace results.

About this task

You can collect log files using the LogCollector.sh command. To view the options you can use with this command, enter the following command:

/opt/mcu/mcms/Scripts/LogCollector.sh - h

For example, you can specify how often logs are retrieved:

/opt/mcu/mcms/Scripts/LogCollector.sh - 5m //retrieving Logs from the last 5 Min 
 /opt/mcu/mcms/Scripts/LogCollector.sh - 5h //retrieving Logs from the last 5 Hours 
 /opt/mcu/mcms/Scripts/LogCollector.sh - 5d //retrieving Logs from the last 5 Days 
 /opt/mcu/mcms/Scripts/LogCollector.sh //retrieving Logs from the last Year 

Procedure

  1. On the Video MCU, enter this command:

    ./LogCollector.sh -u VMCU username -p VMCU password -2h

    Where VMCU username and VMCU password are the user name and password you used when installing the Video MCU.

    As a runtime indicator, dots are generated on the shell every 10 seconds. On completion, a .tgz file is created in the /mcms/LogFiles/ directory.
  2. Use file transfer software such as WinSCP to extract these files from the /mcms/LogFiles/ directory:
    • MCMS logs
    • CS logs
    • AMP/VMP logs

    Sniffer files are located in the /output/tcp_dump directory.

  3. To record the Video MCU Server's tcpdump trace (External9+Internal), complete these steps:
    1. Navigate to the /output/tcp_dump directory.
    2. Enter this command:

      tcpdump -i eth0 -s0 -w /output/tcp_dump/tcpdump_eth0.cap tcpdump -i lo -s0 -w /output/tcp_dump/tcpdump_lo.cap

  4. Collect the tcpdump trace results by entering the following command:
    /opt/mcu/mcms/Scripts/GetMCUVersion.sh
    Tip: To stop the script and delete temporary files, while the script is running press Ctrl+C.
  5. To view all of the installation logs, navigate to the /opt/IBM/Sametime/STVideoMCU/logs directory.