This section provides information such as logs, command lines, support bundle collection for generic troubleshooting.
Show Operation Status using Command Lines
TCA Airgap Appliance provides a command line to show the background operation running status such as agctl status
and agctl sync status
. For more information, see Agctl CLI Command Reference.
Show and check artifacts data integrity using Command Lines
TCA Airgap Appliance provides command lines to show or check the synchronized artifacts data integrity.
Use
agctl selfcheck data
to check the latest configured TCA build artifacts integrity.Use
agctl show readyz
to check the TCA release every synchronized, and the completeness.
Show and check system status
TCA Airgap Appliance provides command line, prometheus + grafana to show the overall system status on CPU/Memory/Connectivities
.
Use agctl selfcheck system
to show the realtime CPU, memory, and disk usage.
Navigate to the TCA Airgap Appliance using browser to monitor the system. For more information, see Monitoring TCA Airgap Appliance.
Show and check repository services status
TCA Airgap Appliance uses nginx as the web service portal and harbor as container images registry server.
Use
agctl selfcheck system
to show harbor and web server statusUse
docker ps
to list harbor containersRestart web service if it is unhealthy, by
systemctl restart nginx
Restart harbor service if it is unhealthy by
systemctl restart harbor
Show and check artifacts data integrity
TCA Airgap Appliance provides command line to check the artifacts data.
Use
agctl show readyz
to show the synchronized TCA release completeness.Use
agctl selfcheck data
to check whether the latest synchronized TCA artifacts list in bom folder/usr/local/airgap/bom/
are present in harbor.
Log structure
Command line operation logs are under
/user/local/airgap/logs/
System logs are under
/var/log/
Web Service access logs is located at
/var/log/nginx/access.log
Collect techsupport bundle
Use
agctl techsupport
to generate a techsupport bundle.Download the support bundle by navigating to url
https://<fqdn>/support-bundle
or locate to/photon-reps/support-bundle/
to copy.