Skip to content

Commit 00770da

Browse files
Merge pull request #231298 from harish6724/main
Add Replace BMM Image to How to Baremetal Machine Functions
2 parents 52bcde5 + eced681 commit 00770da

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ This article describes how to perform lifecycle management operations on Bare Me
1717
- Start the BMM
1818
- Make the BMM unschedulable or schedulable
1919
- Reinstall the BMM image
20+
- Replace BMM
2021

2122
## Prerequisites
2223

@@ -75,7 +76,7 @@ state on the BMM are `restarted` when the BMM is `uncordoned`.
7576

7677
## Reimage a BMM (reinstall a BMM image)
7778

78-
The existing BMM image can be **reinstalled** using the `reimage` command but will not install a new image.
79+
An existing BMM image is **reinstalled** using the `reimage` command. This command doesn't install a new image.
7980
Make sure the BMM's workloads are drained using the [`cordon`](#make-a-bmm-unschedulable-cordon)
8081
command, with `evacuate "True"`, prior to executing the `reimage` command.
8182

@@ -85,3 +86,14 @@ az networkcloud baremetalmachine reimage –-name "bareMetalMachineName" \
8586
```
8687

8788
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.
89+
90+
## Replace BMM
91+
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.
93+
94+
```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"
99+
```

0 commit comments

Comments
 (0)