Skip to content

Commit 264e133

Browse files
committed
Update troubleshoot-reboot-reimage-replace.md
1 parent 2308fbc commit 264e133

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

articles/operator-nexus/troubleshoot-reboot-reimage-replace.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,31 +71,35 @@ The restart typically is the starting point for mitigating a problem.
7171
> The restart operation is the fastest recovery method but may not resolve issues related to OS corruption or hardware failures.
7272
7373
**The following Azure CLI command will `power-off` the specified bareMetalMachineName:**
74-
```
74+
75+
```azurecli
7576
az networkcloud baremetalmachine power-off \
7677
--name <bareMetalMachineName> \
7778
--resource-group "<resourceGroup>" \
7879
--subscription <subscriptionID>
7980
```
8081

8182
**The following Azure CLI command will `start` the specified bareMetalMachineName:**
82-
```
83+
84+
```azurecli
8385
az networkcloud baremetalmachine start \
8486
--name <bareMetalMachineName> \
8587
--resource-group "<resourceGroup>" \
8688
--subscription <subscriptionID>
8789
```
8890

8991
**The following Azure CLI command will `restart` the specified bareMetalMachineName:**
90-
```
92+
93+
```azurecli
9194
az networkcloud baremetalmachine restart \
9295
--name <bareMetalMachineName> \
9396
--resource-group "<resourceGroup>" \
9497
--subscription <subscriptionID>
9598
```
9699

97100
**To verify the BMM status after restart:**
98-
```
101+
102+
```azurecli
99103
az networkcloud baremetalmachine show \
100104
--name <bareMetalMachineName> \
101105
--resource-group "<resourceGroup>" \
@@ -125,6 +129,7 @@ A reimage action is the best practice for lowest operational risk to ensure the
125129
**To identify if any workloads are currently running on a BMM, run the following command:**
126130

127131
**For Virtual Machines:**
132+
128133
```azurecli
129134
az networkcloud baremetalmachine show -n <nodeName> \
130135
--resource-group <resourceGroup> \
@@ -138,7 +143,8 @@ kubectl get nodes <resourceName> -ojson |jq '.metadata.labels."topology.kubernet
138143
```
139144

140145
**The following Azure CLI command will `cordon` the specified bareMetalMachineName.**
141-
```
146+
147+
```azurecli
142148
az networkcloud baremetalmachine cordon \
143149
--evacuate "True" \
144150
--name <bareMetalMachineName> \
@@ -147,15 +153,17 @@ az networkcloud baremetalmachine cordon \
147153
```
148154

149155
**The following Azure CLI command will `reimage` the specified bareMetalMachineName.**
150-
```
156+
157+
```azurecli
151158
az networkcloud baremetalmachine reimage \
152159
--name <bareMetalMachineName> \
153160
--resource-group "<resourceGroup>" \
154161
--subscription <subscriptionID>
155162
```
156163

157164
**The following Azure CLI command will `uncordon` the specified bareMetalMachineName.**
158-
```
165+
166+
```azurecli
159167
az networkcloud baremetalmachine uncordon \
160168
--name <bareMetalMachineName> \
161169
--resource-group "<resourceGroup>" \
@@ -180,7 +188,8 @@ A hardware validation process is invoked to ensure the integrity of the physical
180188
5. **Verify status** - Check that the BMM is properly functioning
181189

182190
**The following Azure CLI command will `cordon` the specified bareMetalMachineName.**
183-
```
191+
192+
```azurecli
184193
az networkcloud baremetalmachine cordon \
185194
--evacuate "True" \
186195
--name <bareMetalMachineName> \
@@ -213,7 +222,8 @@ When you're performing the following physical repairs, a replace action ***is re
213222
After physical repairs are completed, perform a replace action.
214223

215224
**The following Azure CLI command will `replace` the specified bareMetalMachineName.**
216-
```
225+
226+
```azurecli
217227
az networkcloud baremetalmachine replace \
218228
--name <bareMetalMachineName> \
219229
--resource-group "<resourceGroup>" \
@@ -226,7 +236,8 @@ az networkcloud baremetalmachine replace \
226236
```
227237

228238
**The following Azure CLI command will uncordon the specified bareMetalMachineName.**
229-
```
239+
240+
```azurecli
230241
az networkcloud baremetalmachine uncordon \
231242
--name <bareMetalMachineName> \
232243
--resource-group "<resourceGroup>" \

0 commit comments

Comments
 (0)