1. SSH into the TCA/TCA-CP appliance.
2. Switch to root by using the su command and provide the root password:
su -
3. Use the change directory cd command to traverse to the following directory:
cd /opt/vmware/bin
4. Run the following command to collect the logs:
./techsupport.pl <fileName> <true/false> <true/false> <true/false> <true/false> <comma separated cluster IDs - Provide this only if "Collecting Kubernetes Cluster Logs" is true>
Where:
1st <true/false> is to collect the Core TCA logs.
2nd <true/false> is to collect the Crash Log (true requires that Core TCA logs are collected).
3rd <true/false> is to collect Mongo Database dump.
4th <true/false> is to collect the Kubernetes logs for the clusters specified. It is not recommended to collect the logs for all clusters.
Provide the ID of the Kubernetes Cluster - you can reference the steps later in this document to obtain the Kubernetes cluster ID for your version of TCA
Example - exporting the TCA logs and the Kubernetes logs for 2 clusters:
./techsupport.pl TCA-Manager-tech-support-31072022 true true true true "78401444-b4f6-4e9f-893f-9277a6ac7ce5,88b0382f-ff40-4118-8d9b-b6e6fd1640aa"
5. Change directory to: /tmp/techsupport/ to find the tech support bundle.
6. Secure Copy the file out of the TCA/TCA-CP.
cd /tmp4. Start the Central CLI with the following command:
ccli
list mc
go 0
cluster techsupport8. The logs will be placed in /tmp/tech-support-<time_stamp>.tar.gz. Secure copy them from this location.
cd /tmp4. Start the Central CLI with the following command:
ccli
list mc
go 0
list wc
go 1
cluster techsupport10. The logs will be placed in /tmp/tech-support-<time_stamp>.tar.gz. Secure copy them from this location.