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-bare-metal-best-practices.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Best practices for Bare Metal Machine operations
3
3
description: Steps that should be taken before executing any Bare Metal Machine replace, or reimage actions. Highlight essential prerequisites and common pitfalls to avoid.
4
-
ms.date: 03/25/2025
4
+
ms.date: 04/17/2025
5
5
ms.topic: how-to
6
6
ms.service: azure-operator-nexus
7
7
ms.custom: template-how-to, best-practices
@@ -63,8 +63,9 @@ Connected
63
63
64
64
Take a deeper look at the NetworkFabric resources by checking the NetworkFabric resources statuses, alerts, and metrics.
65
65
See related articles:
66
-
-[How to monitor interface In and Out packet rate for network fabric devices]
67
-
-[How to configure diagnostic settings and monitor configuration differences in Nexus Network Fabric].
66
+
67
+
-[How to monitor interface In and Out packet rate for network fabric devices]
68
+
-[How to configure diagnostic settings and monitor configuration differences in Nexus Network Fabric].
68
69
69
70
Evaluate for any Bare Metal Machine warnings or degraded conditions which could indicate the need to resolve hardware, network, or server configuration problems.
70
71
For more information, see [Troubleshoot Degraded Status Errors on Bare Metal Machines] and [Troubleshoot Bare Metal Machine Warning Status].
@@ -73,7 +74,9 @@ For more information, see [Troubleshoot Degraded Status Errors on Bare Metal Mac
73
74
74
75
Validate that there are no running firmware upgrade jobs through the BMC before initiating a `replace` or `reimage` operation.
75
76
Interrupting an ongoing firmware upgrade can leave the Bare Metal Machine in an inconsistent state.
76
-
You can view in the iDRAC GUI the `jobqueue` or use a `racadm jobqueque view` to determine if there are firmware upgrade jobs running.
77
+
78
+
- You can view in the iDRAC GUI the `jobqueue` or use `run-read-command``racadm jobqueque view` to determine if there are firmware upgrade jobs running.
79
+
- For more information about the `run-read-command` feature, see [BareMetal Run-Read Execution](./howto-baremetal-run-read.md).
77
80
78
81
```azurecli
79
82
az networkcloud baremetalmachine run-read-command \
@@ -86,6 +89,7 @@ az networkcloud baremetalmachine run-read-command \
86
89
```
87
90
88
91
Here's an example output from the `racadm jobqueue view` command which shows `Firmware Update`.
92
+
89
93
```
90
94
[Job ID=JID_833540920066]
91
95
Job Name=Firmware Update: iDRAC
@@ -97,6 +101,7 @@ Percent Complete= [50%]
97
101
```
98
102
99
103
Here's an example output from the `racadm jobqueue view` command showing common happy-path statements.
@@ -191,9 +196,10 @@ Some repairs don't require a Bare Metal Machine `replace` to be executed.
191
196
For example, a `replace` operation isn't required when you're performing a physical hot swappable power supply repair because the Bare Metal Machine host will continue to function normally after the repair.
192
197
However, if the Bare Metal Machine failed hardware validation, the Bare Metal Machine `replace` is required even if the hot swappable repairs are done.
193
198
Examine the Bare Metal Machine status messages to determine if hardware validation failures or other degraded conditions are present.
194
-
-[Troubleshoot Degraded Status Errors on Bare Metal Machines]
[How to monitor interface In and Out packet rate for network fabric devices]: ./howto-monitor-interface-packet-rate.md
250
-
[How to configure diagnostic settings and monitor configuration differences in Nexus Network Fabric]: ./howto-configure-diagnostic-settings-monitor-configuration-differences.md
256
+
[How to configure diagnostic settings and monitor configuration differences in Nexus Network Fabric]: ./howto-configure-diagnostic-settings-monitor-configuration-differences.md
Copy file name to clipboardExpand all lines: articles/operator-nexus/howto-baremetal-run-read.md
+5-3Lines changed: 5 additions & 3 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: 2/13/2025
8
+
ms.date: 4/17/2025
9
9
ms.custom: template-how-to
10
10
---
11
11
@@ -30,7 +30,7 @@ See [Azure Operator Nexus Cluster support for managed identities and user provid
30
30
31
31
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.
32
32
33
-
The CommandOutputSettings can be cleared, directing run-data-extract output back to the cluster manager's storage. However, it isn't recommended since it's less secure, and the option will be removed in a future release.
33
+
The CommandOutputSettings can be cleared, directing run-read-command output back to the cluster manager's storage. However, it isn't recommended since it's less secure, and the option will be removed in a future release.
34
34
35
35
However, the CommandOutputSettings do need to be cleared if switching from a user-assigned identity to a system-assigned identity.
36
36
@@ -246,17 +246,19 @@ This list shows the commands you can use. Commands in `*italics*` can't have `ar
246
246
The command syntax for a single command with no arguments is as follows, using `hostname` as an example:
247
247
248
248
```azurecli
249
-
az networkcloud baremetalmachine run-read-command --name "<machine-name>"
249
+
az networkcloud baremetalmachine run-read-command --name "<bareMetalMachineName>"
250
250
--limit-time-seconds "<timeout>" \
251
251
--commands "[{command:hostname}]" \
252
252
--resource-group "<cluster_MRG>" \
253
253
--subscription "<subscription>"
254
254
```
255
255
256
+
-`--name` is the name of the BMM resource on which to execute the command.
256
257
- The `--commands` parameter always takes a list of commands, even if there's only one command.
257
258
- Multiple commands can be provided in json format using [Azure CLI Shorthand](https://aka.ms/cli-shorthand) notation.
258
259
- Any whitespace must be enclosed in single quotes.
259
260
- Any arguments for each command must also be provided as a list, as shown in the following examples.
261
+
- Not all commands can run on any BMM. For example, `kubectl` commands can only be run from a BMM with the `control-plane` role.
0 commit comments