dcos edgelb diagnostic command collects diagnostic information for Edge-LB pools and packages that information into a compressed archive support file for troubleshooting and analysis.
dcos edgelb diagnostic [<flags>]
||Specify the folder under which the diagnostic bundle will be located. You can specify the directory using an absolute or relative path. By default, the current directory is used.|
||Display usage information.|
||List pools, separated by commas (,), for which diagnostics data should be collected. For example, pool_name1,pool_name2. By default, all pools will be included.|
||Enable additional logging of requests and responses.|
|dcos edgelb||Manage Edge-LB.|
To collect diagnostic bundles for all Edge-LB pools, run the following command:
dcos edgelb diagnostic
To collect diagnostic bundles for specific Edge-LB pools, include the pool names in a command similar to the following:
dcos edgelb diagnostic --pool-names=sf-edgelb,roma-edge-lb,hk-edgelb
This command generates a diagnostic bundle with the log files from the
hk-edgelb pools and saves it in the current working directory.
To collect a diagnostic bundle for a specific Edge-LB pool and place the file in a specific directory instead of the current working directory, run a command similar to the following:
dcos edgelb diagnostic --pool-names=sf-edgelb --bundles-dir=/usr/share/mydiag
This command generates a diagnostic bundle for the
sf-edgelb pool and places the resulting file in the
/usr/share/mydiag directory on the local computer.