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.
1
macaw techsupport --help
2
usage: techsupport [--insecure] [-h] [--debug] [--host HOST]
3
[--service SERVICES]
4
5
Manage techsupport of macaw
6
7
optional arguments:
8
--insecure Ignore SSL certificate issues when communicating with
9
various hosts
10
-h, --help show this help message and exit
11
--debug Enable debug logs for the CLI operations
12
--host HOST Host from which the support data needs to be collected
13
--service SERVICES Collect tech support data only for the specific
14
component
Copied!
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.
1
macaw techsupport
Copied!
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.
1
macaw techsupport --host 10.95.125.123
Copied!
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
1
macaw techsupport --host 10.95.125.123 --cid 7046f15085e0
Copied!
In order to collect memory dump of an application service, run the below command.
1
macaw techsupport --host 10.95.125.123 --cid 7046f15085e0 --memory
Copied!
In order to collect memory dump of a platform service, run the below command.
1
macaw techsupport --cid 49ea2d5b18a5 --memory
Copied!
Copy link