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-baremetal-functions.md
+33-15Lines changed: 33 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: harish6724
5
5
ms.author: harishrao
6
6
ms.service: azure-operator-nexus
7
7
ms.topic: how-to
8
-
ms.date: 03/06/2023
8
+
ms.date: 05/26/2023
9
9
ms.custom: template-how-to
10
10
---
11
11
@@ -15,9 +15,10 @@ This article describes how to perform lifecycle management operations on Bare Me
15
15
16
16
- Power off the BMM
17
17
- Start the BMM
18
+
- Restart the BMM
18
19
- Make the BMM unschedulable or schedulable
19
-
-Reinstall the BMM image
20
-
- Replace BMM
20
+
-Reimage the BMM
21
+
- Replace the BMM
21
22
22
23
## Prerequisites
23
24
@@ -31,16 +32,28 @@ This article describes how to perform lifecycle management operations on Bare Me
31
32
This command will `power-off` the specified `bareMetalMachineName`.
32
33
33
34
```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"
36
38
```
37
39
38
40
## Start the BMM
39
41
40
42
This command will `start` the specified `bareMetalMachineName`.
41
43
42
44
```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" \
44
57
--resource-group "resourceGroupName"
45
58
```
46
59
@@ -74,26 +87,31 @@ state on the BMM are `restarted` when the BMM is `uncordoned`.
74
87
--resource-group "resourceGroupName"
75
88
```
76
89
77
-
## Reimage a BMM (reinstall a BMM image)
90
+
## Reimage a BMM
78
91
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)
81
94
command, with `evacuate "True"`, prior to executing the `reimage` command.
82
95
83
96
```azurecli
84
-
az networkcloud baremetalmachine reimage –-name "bareMetalMachineName" \
97
+
az networkcloud baremetalmachine reimage \
98
+
–-name "bareMetalMachineName" \
85
99
--resource-group "resourceGroupName"
86
100
```
87
101
88
102
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
103
90
104
## Replace BMM
91
105
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.
93
107
94
108
```azurecli
95
-
az networkcloud baremetalmachine replace --name "bareMetalMachineName" \
0 commit comments