Skip to content

Commit ac4e961

Browse files
author
Andrew
committed
Updates to add storage account access information.
1 parent 30dd80b commit ac4e961

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

articles/operator-nexus/howto-baremetal-run-data-extract.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ The command produces an output file containing the results of the data extract.
2626

2727
See [Azure Operator Nexus Cluster support for managed identities and user provided resources](./howto-cluster-managed-identity-user-provided-resources.md)
2828

29+
To access the output, users need the appropriate access to the storage blob. For information on assigning roles to storage accounts, see [Assign an Azure role for access to blob data](/azure/storage/blobs/assign-azure-role-data-access?tabs=portal).
30+
2931
### Clear the cluster's CommandOutputSettings
3032

3133
To change the cluster from a user-assigned identity to a system-assigned identity, the CommandOutputSettings must first be cleared using the command in the next section, then set using this command.
@@ -84,7 +86,7 @@ The current list of supported commands are
8486
Command Name: `hardware-rollup-status`\
8587
Arguments: None
8688

87-
- [Generate Cluster CVE Report](#generate-cluster-cve-report)\
89+
- [Generate Cluster Common Vulnerabilities and Exposures (CVE) Report](#generate-cluster-cve-report)\
8890
Command Name: `cluster-cve-report`\
8991
Arguments: None
9092

articles/operator-nexus/howto-baremetal-run-read.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -301,27 +301,9 @@ az networkcloud baremetalmachine run-read-command --name "<bareMetalMachineName>
301301
--subscription "<subscription>"
302302
```
303303

304-
## How to view the output of an `az networkcloud baremetalmachine run-read-command` in the Cluster Manager Storage account
304+
## Check the command status and view the output in a user specified storage account
305305

306-
This guide walks you through accessing the output file that is created in the Cluster Manager Storage account when an `az networkcloud baremetalmachine run-read-command` is executed on a server. The name of the file is identified in the `az rest` status output.
307-
308-
1. Open the Cluster Manager Managed Resource Group for the Cluster where the server is housed and then select the **Storage account**.
309-
310-
1. In the Storage account details, select **Storage browser** from the navigation menu on the left side.
311-
312-
1. In the Storage browser details, select on **Blob containers**.
313-
314-
1. Select the baremetal-run-command-output blob container.
315-
316-
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](#send-command-output-to-a-user-specified-storage-account) sections for procedures to verify access.
317-
318-
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.
319-
320-
1. You can manage & download the output file from the **Overview** pop-out.
321-
322-
## **PREVIEW**: Check the command status and view the output in a user specified storage account
323-
324-
Sample output is shown. It prints the top 4,000 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).
306+
Sample output is shown. It prints the top 4,000 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). To access the output, users need the appropriate access to the storage blob. For information on assigning roles to storage accounts, see [Assign an Azure role for access to blob data](/azure/storage/blobs/assign-azure-role-data-access?tabs=portal).
325307

326308
```output
327309
====Action Command Output====
@@ -337,3 +319,21 @@ Sample output is shown. It prints the top 4,000 characters of the result to the
337319
Script execution result can be found in storage account:
338320
https://<storage_account_name>.blob.core.windows.net/bmm-run-command-output/a8e0a5fe-3279-46a8-b995-51f2f98a18dd-action-bmmrunreadcmd.tar.gz?se=2023-04-14T06%3A37%3A00Z&sig=XXX&sp=r&spr=https&sr=b&st=2023-04-14T02%3A37%3A00Z&sv=2019-12-12
339321
```
322+
323+
## DEPRECATED: How to view the output of an `az networkcloud baremetalmachine run-read-command` in the Cluster Manager Storage account
324+
325+
This guide walks you through accessing the output file that is created in the Cluster Manager Storage account when an `az networkcloud baremetalmachine run-read-command` is executed on a server. The name of the file is identified in the `az rest` status output.
326+
327+
1. Open the Cluster Manager Managed Resource Group for the Cluster where the server is housed and then select the **Storage account**.
328+
329+
1. In the Storage account details, select **Storage browser** from the navigation menu on the left side.
330+
331+
1. In the Storage browser details, select on **Blob containers**.
332+
333+
1. Select the baremetal-run-command-output blob container.
334+
335+
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](#send-command-output-to-a-user-specified-storage-account) sections for procedures to verify access.
336+
337+
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.
338+
339+
1. You can manage & download the output file from the **Overview** pop-out.

0 commit comments

Comments
 (0)