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
-
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.
- 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.
- To record the Video MCU Server's tcpdump trace (External9+Internal),
complete these steps:
- Navigate to the /output/tcp_dump directory.
- 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
- Collect the tcpdump trace results by entering the following
command:
/opt/mcu/mcms/Scripts/GetMCUVersion.shTip: To stop the script
and delete temporary files, while the script is running press Ctrl+C.
- To view all of the installation logs, navigate to the /opt/IBM/Sametime/STVideoMCU/logs directory.