You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/operator-nexus/howto-baremetal-run-read.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,13 +78,15 @@ These commands do not require `arguments`:
78
78
79
79
All other inputs are required.
80
80
81
-
Multiple commands can be provided in json format to `--commands` option. Each `command` specifies command and the arguments.
81
+
Multiple commands can be provided in json format to `--commands` option.
82
82
83
83
For a command with multiple arguments, provide as a list to `arguments` parameter. See [Azure CLI Shorthand](https://github.com/Azure/azure-cli/blob/dev/doc/shorthand_syntax.md) for instructions on constructing the `--commands` structure.
84
84
85
-
These commands can be long running so the recommendation is to set `--limit-time-seconds` to at least 600 seconds (10 minutes). The `Debug` option or running multiple extracts might take longer that 10 minutes.
85
+
These commands can be long running so the recommendation is to set `--limit-time-seconds` to at least 600 seconds (10 minutes). Running multiple extracts might take longer that 10 minutes.
86
86
87
-
This command runs synchronously. If you wish to skip waiting for the command to complete, specify the `--no-wait` option.
87
+
This command runs synchronously. If you wish to skip waiting for the command to complete, specify the `--no-wait --debug` options. In that case, follow the instructions on [how to track asynchronous operation](https://learn.microsoft.com/en-us/azure/operator-nexus/howto-track-async-operations-cli).
88
+
89
+
When an optional argument `--output-directory` is provided, the output result will be downloaded and extracted to the local directory.
88
90
89
91
### This example executes the `hostname` command and a `ping` command.
90
92
@@ -101,7 +103,7 @@ In the response, an HTTP status code of 202 is returned as the operation is perf
101
103
## Checking command status and viewing output
102
104
103
105
104
-
Sample output looks something like this and provides a link to the zipped output file(tar.gz) from the command execution. The tar.gz file name can be used to identify the file in the Storage account of the Cluster Manager resource group. You can also use the link to directly access the output zip file. Download the output file from storage blob to a local directory by specifying the directory path in the optional argument `--output-directory`.
106
+
Sample output looks something like below. It prints the top 5K characters of the result to the screen for convenience and provides a short-lived link to the storage blob containing the command execution result. You can use the link to download the zipped output file (tar.gz).
105
107
106
108
```azurecli
107
109
====Action Command Output====
@@ -117,7 +119,7 @@ Sample output looks something like this and provides a link to the zipped output
117
119
118
120
================================
119
121
Script execution result can be found in storage account:
See [How To BareMetal Review Output Run-Read](howto-baremetal-review-read-output.md) for instructions on locating the output file in the Storage Account. You can also use the link to directly access the output zip file.
Copy file name to clipboardExpand all lines: articles/operator-nexus/howto-cluster-metrics-configuration-management.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ az networkcloud cluster metricsconfiguration create \
49
49
> * There can be only one set of metrics configuration defined per cluster. The resource is created with the name `default`.
50
50
51
51
52
-
Specifying `--debug` in az cli command will result in the tracking operation status in the returned command output. This operation status can be queried to monitor the progress of the operation. See: [How-to track asynchronous operations](howto-track-async-operations-cli.md).
52
+
Specifying `--no-wait --debug`options in az cli command will result in the execution of this command asynchronously. See[how to track asynchronous operations](howto-track-async-operations-cli.md) for more details.
53
53
54
54
## Retrieving a metrics configuration
55
55
@@ -79,7 +79,7 @@ az networkcloud cluster metricsconfiguration update \
79
79
--resource-group "<RESOURCE_GROUP>"
80
80
```
81
81
82
-
The change may include either or both of the updatable fields, `collectionInterval` or `enabledMetrics`. The `collectionInterval`can be updated independently of `enabledMetrics`. Omit fields that aren't being changed.
82
+
The `collection-interval`can be updated independently of `enabled-metrics` list. Omit fields that aren't being changed.
83
83
84
84
Specifying `--debug` in az cli will result in the tracking operation status in the returned command output. This operation status can be queried to monitor the progress of the operation. See: [How-to track asynchronous operations](howto-track-async-operations-cli.md).
0 commit comments