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-data-extract.md
+21-25Lines changed: 21 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: eak13
5
5
ms.author: ekarandjeff
6
6
ms.service: azure-operator-nexus
7
7
ms.topic: how-to
8
-
ms.date: 10/16/2024
8
+
ms.date: 1/17/2025
9
9
ms.custom: template-how-to, devx-track-azurecli
10
10
---
11
11
@@ -22,23 +22,7 @@ The command produces an output file containing the results of the data extract.
22
22
- The syntax for these commands is based on the 0.3.0+ version of the `az networkcloud` CLI.
23
23
- Get the Cluster Managed Resource group name (cluster_MRG) that you created for Cluster resource.
24
24
25
-
## Verify access to the Cluster Manager storage account
26
-
27
-
> [!NOTE]
28
-
> The Cluster Manager storage account output method will be deprecated in the future once Cluster on-boarding to Trusted Services is complete and the user managed storage option is fully supported.
29
-
30
-
If using the Cluster Manager storage method, verify you have access to the Cluster Manager's storage account:
31
-
32
-
1. From Azure portal, navigate to Cluster Manager's Storage account.
33
-
1. In the Storage account details, select **Storage browser** from the navigation menu on the left side.
34
-
1. In the Storage browser details, select on **Blob containers**.
35
-
1. If you encounter a `403 This request is not authorized to perform this operation.` while accessing the storage account, storage account’s firewall settings need to be updated to include the public IP address.
36
-
1. Request access by creating a support ticket via Portal on the Cluster Manager resource. Provide the public IP address that requires access.
37
-
38
-
## **PREVIEW:** Send command output to a user specified storage account
39
-
40
-
> [!IMPORTANT]
41
-
> Please note that this method of specifying a user storage account for command output is in preview. **This method should only be used with user storage accounts that do not have firewall enabled.** If your environment requires the storage account firewall be enabled, use the existing Cluster Manager output method.
25
+
## Send command output to a user specified storage account
## DEPRECATED METHOD: Verify access to the Cluster Manager storage account
144
+
145
+
> [!IMPORTANT]
146
+
> The Cluster Manager storage account is targeted for removal in April 2025 at the latest. If you're using this method today for command output, consider converting to using a user provided storage account.
147
+
148
+
If using the Cluster Manager storage method, verify you have access to the Cluster Manager's storage account:
149
+
150
+
1. From Azure portal, navigate to Cluster Manager's Storage account.
151
+
1. In the Storage account details, select **Storage browser** from the navigation menu on the left side.
152
+
1. In the Storage browser details, select on **Blob containers**.
153
+
1. If you encounter a `403 This request is not authorized to perform this operation.` while accessing the storage account, storage account’s firewall settings need to be updated to include the public IP address.
154
+
1. Request access by creating a support ticket via Portal on the Cluster Manager resource. Provide the public IP address that requires access.
155
+
159
156
## Execute a run-data-extract command
160
157
161
158
The run data extract command executes one or more predefined scripts to extract data from a bare metal machine.
162
159
163
160
> [!WARNING]
164
-
> Microsoft does not provide or support any Operator Nexus API calls that expect plaintext username and/or password to be supplied. Please note any values sent will be logged and are considered exposed secrets, which should be rotated and revoked. The Microsoft documented method for securely using secrets is to store them in an Azure Key Vault, if you have specific questions or concerns please submit a request via the Azure Portal.
161
+
> Microsoft doesn't provide or support any Operator Nexus API calls that expect plaintext username and/or password to be supplied. Note any values sent are logged and are considered exposed secrets, which should be rotated and revoked. The Microsoft documented method for securely using secrets is to store them in an Azure Key Vault. If you have specific questions or concerns, submit a request via the Azure portal.
165
162
166
163
The current list of supported commands are
167
164
@@ -192,7 +189,6 @@ The current list of supported commands are
The command provides a link (if using cluster manager storage) or another command (if using user provided storage) to download the full output. The tar.gz file also contains the zipped extract command file outputs. Download the output file from the storage blob to a local directory by specifying the directory path in the optional argument `--output-directory`.
844
840
845
841
> [!WARNING]
846
-
> Using the `--output-directory` argument will overwrite any files in the local directory that have the same name as the new files being created.
842
+
> Using the `--output-directory` argument overwrites any files in the local directory that have the same name as the new files being created.
847
843
848
844
> [!NOTE]
849
-
> Storage Account could be locked resulting in `403 This request is not authorized to perform this operation.` due to networking or firewall restrictions. Refer to the [cluster manager storage](#verify-access-to-the-cluster-manager-storage-account) or the [user managed storage](#create-and-configure-storage-resources) sections for procedures to verify access.
845
+
> Storage Account could be locked resulting in `403 This request is not authorized to perform this operation.` due to networking or firewall restrictions. Refer to the [cluster manager storage](#deprecated-method-verify-access-to-the-cluster-manager-storage-account) or the [user managed storage](#create-and-configure-storage-resources) sections for procedures to verify access.
Copy file name to clipboardExpand all lines: articles/operator-nexus/howto-baremetal-run-read.md
+20-23Lines changed: 20 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
title: Troubleshoot bare metal machine issues using the `az networkcloud baremetalmachine run-read-command` for Operator Nexus
3
3
description: Step by step guide on using the `az networkcloud baremetalmachine run-read-command` to run diagnostic commands on a BMM.
4
-
author: matternst7258
5
-
ms.author: matthewernst
4
+
author: eak13
5
+
ms.author: ekarandjeff
6
6
ms.service: azure-operator-nexus
7
7
ms.topic: how-to
8
-
ms.date: 10/24/2024
8
+
ms.date: 1/17/2025
9
9
ms.custom: template-how-to
10
10
---
11
11
@@ -22,23 +22,7 @@ The command produces an output file containing the results of the run-read comma
22
22
1. Ensure that the target BMM must have its `poweredState` set to `On` and have its `readyState` set to `True`
23
23
1. Get the Managed Resource group name (cluster_MRG) that you created for `Cluster` resource
24
24
25
-
## Verify access to the Cluster Manager storage account
26
-
27
-
> [!NOTE]
28
-
> The Cluster Manager storage account output method will be deprecated in the future once Cluster on-boarding to Trusted Services is complete and the user managed storage option is fully supported.
29
-
30
-
If using the Cluster Manager storage method, verify you have access to the Cluster Manager's storage account:
31
-
32
-
1. From Azure portal, navigate to Cluster Manager's Storage account.
33
-
1. In the Storage account details, select **Storage browser** from the navigation menu on the left side.
34
-
1. In the Storage browser details, select on **Blob containers**.
35
-
1. If you encounter a `403 This request is not authorized to perform this operation.` while accessing the storage account, storage account’s firewall settings need to be updated to include the public IP address.
36
-
1. Request access by creating a support ticket via Portal on the Cluster Manager resource. Provide the public IP address that requires access.
37
-
38
-
## **PREVIEW:** Send command output to a user specified storage account
39
-
40
-
> [!IMPORTANT]
41
-
> Please note that this method of specifying a user storage account for command output is in preview. **This method should only be used with user storage accounts that do not have firewall enabled.** If your environment requires the storage account firewall be enabled, use the existing Cluster Manager output method.
25
+
## Send command output to a user specified storage account
## DEPRECATED METHOD: Verify access to the Cluster Manager storage account
144
+
145
+
> [!IMPORTANT]
146
+
> The Cluster Manager storage account is targeted for removal in April 2025 at the latest. If you're using this method today for command output, consider converting to using a user provided storage account.
147
+
148
+
If using the Cluster Manager storage method, verify you have access to the Cluster Manager's storage account:
149
+
150
+
1. From Azure portal, navigate to Cluster Manager's Storage account.
151
+
1. In the Storage account details, select **Storage browser** from the navigation menu on the left side.
152
+
1. In the Storage browser details, select on **Blob containers**.
153
+
1. If you encounter a `403 This request is not authorized to perform this operation.` while accessing the storage account, storage account’s firewall settings need to be updated to include the public IP address.
154
+
1. Request access by creating a support ticket via Portal on the Cluster Manager resource. Provide the public IP address that requires access.
155
+
159
156
## Execute a run-read command
160
157
161
158
The run-read command lets you run a command on the BMM that doesn't change anything. Some commands have more
@@ -174,7 +171,7 @@ An example of run-read commands that require specific arguments is the allowed M
174
171
which requires the `query` argument be provided to enforce read-only.
175
172
176
173
> [!WARNING]
177
-
> Microsoft does not provide or support any Operator Nexus API calls that expect plaintext username and/or password to be supplied. Please note any values sent will be logged and are considered exposed secrets, which should be rotated and revoked. The Microsoft documented method for securely using secrets is to store them in an Azure Key Vault, if you have specific questions or concerns please submit a request via the Azure Portal.
174
+
> Microsoft doesn't provide or support any Operator Nexus API calls that expect plaintext username and/or password to be supplied. Note any values sent are logged and are considered exposed secrets, which should be rotated and revoked. The Microsoft documented method for securely using secrets is to store them in an Azure Key Vault. If you have specific questions or concerns, submit a request via the Azure portal.
178
175
179
176
This list shows the commands you can use. Commands in `*italics*` can't have `arguments`; the rest can.
180
177
@@ -363,7 +360,7 @@ This command runs synchronously. If you wish to skip waiting for the command to
363
360
When an optional argument `--output-directory` is provided, the output result is downloaded and extracted to the local directory.
364
361
365
362
> [!WARNING]
366
-
> Using the `--output-directory` argument will overwrite any files in the local directory that have the same name as the new files being created.
363
+
> Using the `--output-directory` argument overwrites any files in the local directory that have the same name as the new files being created.
367
364
368
365
### This example executes a 'kubectl get pods'
369
366
@@ -407,7 +404,7 @@ This guide walks you through accessing the output file that is created in the Cl
407
404
408
405
1. Select the baremetal-run-command-output blob container.
409
406
410
-
1. Storage Account could be locked resulting in `403 This request is not authorized to perform this operation.` due to networking or firewall restrictions. Refer to the [cluster manager storage](#verify-access-to-the-cluster-manager-storage-account) or the [customer-managed storage](#create-and-configure-storage-resources) sections for procedures to verify access.
407
+
1. Storage Account could be locked resulting in `403 This request is not authorized to perform this operation.` due to networking or firewall restrictions. Refer to the [cluster manager storage](#deprecated-method-verify-access-to-the-cluster-manager-storage-account) or the [customer-managed storage](#create-and-configure-storage-resources) sections for procedures to verify access.
411
408
412
409
1. Select the output file from the run-read command. The file name can be identified from the `az rest --method get` command. Additionally, the **Last modified** timestamp aligns with when the command was executed.
0 commit comments