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
1. Ensure that the target bare metal machine (server) must have its `poweredState` set to `On` and have its `readyState` set to `True`
27
-
1. Get the Resource group name that you created for `Cluster` resource
27
+
1. Get the name of the resource group for the BMM
28
+
1. Get the name of the bare metal machine that requires a lifecycle management operation
29
+
1. Ensure that the target bare metal machine `poweredState` set to `On` and `readyState` set to `True`
30
+
1. This prerequisite is not applicable for the `start` command
31
+
28
32
29
33
## Power off the BMM
30
34
31
35
This command will `power-off` the specified `bareMetalMachineName`.
32
36
33
37
```azurecli
34
-
az networkcloud baremetalmachine power-off --name "bareMetalMachineName" \
35
-
--resource-group "resourceGroupName"
38
+
az networkcloud baremetalmachine power-off \
39
+
--name "bareMetalMachineName" \
40
+
--resource-group "resourceGroupName"
36
41
```
37
42
38
43
## Start the BMM
39
44
40
45
This command will `start` the specified `bareMetalMachineName`.
41
46
42
47
```azurecli
43
-
az networkcloud baremetalmachine start --name "bareMetalMachineName" \
48
+
az networkcloud baremetalmachine start \
49
+
--name "bareMetalMachineName" \
50
+
--resource-group "resourceGroupName"
51
+
```
52
+
53
+
## Restart the BMM
54
+
55
+
This command will `restart` the specified `bareMetalMachineName`.
56
+
57
+
```azurecli
58
+
az networkcloud baremetalmachine restart \
59
+
--name "bareMetalMachineName" \
44
60
--resource-group "resourceGroupName"
45
61
```
46
62
47
63
## Make a BMM unschedulable (cordon)
48
64
49
65
You can make a BMM unschedulable by executing the [`cordon`](#make-a-bmm-unschedulable-cordon) command.
50
66
On the execution of the `cordon` command,
51
-
Operator Nexus workloads are not scheduled on the BMM when cordon is set; any attempt to create a workload on a `cordoned`
67
+
Operator Nexus workloads aren't scheduled on the BMM when cordon is set; any attempt to create a workload on a `cordoned`
52
68
BMM results in the workload being set to `pending` state. Existing workloads continue to run.
53
69
The cordon command supports an `evacuate` parameter with the default `False` value.
54
70
On executing the `cordon` command, with the value `True` for the `evacuate`
@@ -74,26 +90,29 @@ state on the BMM are `restarted` when the BMM is `uncordoned`.
74
90
--resource-group "resourceGroupName"
75
91
```
76
92
77
-
## Reimage a BMM (reinstall a BMM image)
93
+
## Reimage a BMM
78
94
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)
95
+
You can restore the runtime version on a BMM by executing `reimage` command. This process **redeploys**the runtime image on the target BMM and executes the steps to rejoin the cluster with the same identifiers. This action doesn't impact the tenant workload files on this BMM.
96
+
As a best practice, make sure the BMM's workloads are drained using the [`cordon`](#make-a-bmm-unschedulable-cordon)
81
97
command, with `evacuate "True"`, prior to executing the `reimage` command.
82
98
83
99
```azurecli
84
-
az networkcloud baremetalmachine reimage –-name "bareMetalMachineName" \
100
+
az networkcloud baremetalmachine reimage \
101
+
–-name "bareMetalMachineName" \
85
102
--resource-group "resourceGroupName"
86
103
```
87
104
88
-
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
105
## Replace BMM
91
106
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.
107
+
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
108
94
109
```azurecli
95
-
az networkcloud baremetalmachine replace --name "bareMetalMachineName" \
0 commit comments