macaw techsupport

cfxDimensions Platform Technical Support logs:

macaw techsupport is used to collect cfxDimensions platform and application services logs for troubleshooting or debugging any functional issues. CloudFabrix support team requests the user to run this command to collect the logs and provide for any root cause analysis.

macaw techsupport --help
usage: techsupport [--insecure] [-h] [--debug] [--host HOST]
                   [--service SERVICES]

Manage techsupport of macaw

optional arguments:
  --insecure          Ignore SSL certificate issues when communicating with
                      various hosts
  -h, --help          show this help message and exit
  --debug             Enable debug logs for the CLI operations
  --host HOST         Host from which the support data needs to be collected
  --service SERVICES  Collect tech support data only for the specific
                      component

When macaw techsupport is executed without any arguments, it collects the support logs of of infrastructure and platform services. Once collected, the logs are stored under '/opt/macaw-platform-<id>/support/' directory.

macaw techsupport

Additional to infrastructure and platform service logs, to collect application service logs, run the below command with --host <service_node_ip_or_fqdn> option. This command need to be repeated based on number of service nodes are deployed to collect all application services logs. Once collected, the logs are stored under '/opt/macaw-platform-<id>/support/<service-host-ip-orfqdn>' directory.

macaw techsupport --host 10.95.125.123

If you need to collect logs from a specific service node, run the below command with service container id.

You can get container id of an infrastructure, platform or application service from 'macaw service' command output

macaw techsupport --host 10.95.125.123 --cid 7046f15085e0

In order to collect memory dump of an application service, run the below command.

macaw techsupport --host 10.95.125.123 --cid 7046f15085e0 --memory

In order to collect memory dump of a platform service, run the below command.

macaw techsupport --cid 49ea2d5b18a5 --memory

Last updated