Skip to content

Commit dfa4e8b

Browse files
committed
Refinement to BMM actions
1 parent 57338b3 commit dfa4e8b

File tree

1 file changed

+33
-15
lines changed

1 file changed

+33
-15
lines changed

articles/operator-nexus/howto-baremetal-functions.md

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: harish6724
55
ms.author: harishrao
66
ms.service: azure-operator-nexus
77
ms.topic: how-to
8-
ms.date: 03/06/2023
8+
ms.date: 05/26/2023
99
ms.custom: template-how-to
1010
---
1111

@@ -15,9 +15,10 @@ This article describes how to perform lifecycle management operations on Bare Me
1515

1616
- Power off the BMM
1717
- Start the BMM
18+
- Restart the BMM
1819
- Make the BMM unschedulable or schedulable
19-
- Reinstall the BMM image
20-
- Replace BMM
20+
- Reimage the BMM
21+
- Replace the BMM
2122

2223
## Prerequisites
2324

@@ -31,16 +32,28 @@ This article describes how to perform lifecycle management operations on Bare Me
3132
This command will `power-off` the specified `bareMetalMachineName`.
3233

3334
```azurecli
34-
az networkcloud baremetalmachine power-off --name "bareMetalMachineName" \
35-
--resource-group "resourceGroupName"
35+
az networkcloud baremetalmachine power-off \
36+
--name "bareMetalMachineName" \
37+
--resource-group "resourceGroupName"
3638
```
3739

3840
## Start the BMM
3941

4042
This command will `start` the specified `bareMetalMachineName`.
4143

4244
```azurecli
43-
az networkcloud baremetalmachine start --name "bareMetalMachineName" \
45+
az networkcloud baremetalmachine start \
46+
--name "bareMetalMachineName" \
47+
--resource-group "resourceGroupName"
48+
```
49+
50+
## Restart the BMM
51+
52+
This command will `restart` the specified `bareMetalMachineName`.
53+
54+
```azurecli
55+
az networkcloud baremetalmachine restart \
56+
--name "bareMetalMachineName" \
4457
--resource-group "resourceGroupName"
4558
```
4659

@@ -74,26 +87,31 @@ state on the BMM are `restarted` when the BMM is `uncordoned`.
7487
--resource-group "resourceGroupName"
7588
```
7689

77-
## Reimage a BMM (reinstall a BMM image)
90+
## Reimage a BMM
7891

79-
An existing BMM image is **reinstalled** using the `reimage` command. This command doesn't install a new image.
80-
Make sure the BMM's workloads are drained using the [`cordon`](#make-a-bmm-unschedulable-cordon)
92+
You can restore the runtime version image on a BMM by executing `reimage` command. This command **reinstalls** the runtime bundle on the OS partition, however it does not impact the tenant workload files on this BMM.
93+
As a best practice, make sure the BMM's workloads are drained using the [`cordon`](#make-a-bmm-unschedulable-cordon)
8194
command, with `evacuate "True"`, prior to executing the `reimage` command.
8295

8396
```azurecli
84-
az networkcloud baremetalmachine reimage –-name "bareMetalMachineName" \
97+
az networkcloud baremetalmachine reimage \
98+
–-name "bareMetalMachineName" \
8599
--resource-group "resourceGroupName"
86100
```
87101

88102
The reimage command restarts the BMM and uncordons it. The re-imaged BMM will have an IP address.You can start deploying workloads on the reimaged BMM.
89103

90104
## Replace BMM
91105

92-
Use `Replace BMM` command whenever a BareMetal machine has encountered hardware issues requiring a complete or partial hardware replacement. After replace the MAC address of Baremetal Host will change, however the IDrac IP address and hostname will remain the same.
106+
Use `Replace BMM` command when a server has encountered hardware issues requiring a complete or partial hardware replacement. After replacement of components such as motherboard or NIC replacement, the MAC address of BMM will change, however the IDrac IP address and hostname will remain the same.
93107

94108
```azurecli
95-
az networkcloud baremetalmachine replace --name "bareMetalMachineName" \
96-
--bmc-credentials password="{password}" username="bmcuser" --bmc-mac-address "00:00:4f:00:57:ad" \
97-
--boot-mac-address "00:00:4e:00:58:af" --machine-name "name" --serial-number "BM1219XXX" \
98-
--resource-group "resourceGroupName"
109+
az networkcloud baremetalmachine replace \
110+
--name "bareMetalMachineName" \
111+
--resource-group "resourceGroupName" \
112+
--bmc-credentials password="{password}" username="{user}" \
113+
--bmc-mac-address "00:00:4f:00:57:ad" \
114+
--boot-mac-address "00:00:4e:00:58:af" \
115+
--machine-name "name" \
116+
--serial-number "BM1219XXX"
99117
```

0 commit comments

Comments
 (0)