@@ -35,29 +35,29 @@ This article describes how to perform lifecycle management operations on Bare Me
35
35
This command will ` power-off ` the specified ` bareMetalMachineName ` .
36
36
37
37
``` azurecli
38
- az networkcloud baremetalmachine power-off \
39
- --name "bareMetalMachineName" \
40
- --resource-group "resourceGroupName"
38
+ az networkcloud baremetalmachine power-off \
39
+ --name "bareMetalMachineName" \
40
+ --resource-group "resourceGroupName"
41
41
```
42
42
43
43
## Start the BMM
44
44
45
45
This command will ` start ` the specified ` bareMetalMachineName ` .
46
46
47
47
``` azurecli
48
- az networkcloud baremetalmachine start \
49
- --name "bareMetalMachineName" \
50
- --resource-group "resourceGroupName"
48
+ az networkcloud baremetalmachine start \
49
+ --name "bareMetalMachineName" \
50
+ --resource-group "resourceGroupName"
51
51
```
52
52
53
53
## Restart the BMM
54
54
55
55
This command will ` restart ` the specified ` bareMetalMachineName ` .
56
56
57
57
``` azurecli
58
- az networkcloud baremetalmachine restart \
59
- --name "bareMetalMachineName" \
60
- --resource-group "resourceGroupName"
58
+ az networkcloud baremetalmachine restart \
59
+ --name "bareMetalMachineName" \
60
+ --resource-group "resourceGroupName"
61
61
```
62
62
63
63
## Make a BMM unschedulable (cordon)
@@ -71,10 +71,10 @@ On executing the `cordon` command, with the value `True` for the `evacuate`
71
71
parameter, the workloads that are running on the BMM are ` stopped ` and the BMM is set to ` pending ` state.
72
72
73
73
``` azurecli
74
- az networkcloud baremetalmachine cordon \
75
- --evacuate "True" \
76
- --name "bareMetalMachineName" \
77
- --resource-group "resourceGroupName"
74
+ az networkcloud baremetalmachine cordon \
75
+ --evacuate "True" \
76
+ --name "bareMetalMachineName" \
77
+ --resource-group "resourceGroupName"
78
78
```
79
79
80
80
The ` evacuate "True" ` removes workloads from that node while ` evacuate "False" ` only prevents the scheduling of new workloads.
@@ -85,9 +85,9 @@ You can make a BMM `schedulable` (usable) by executing the [`uncordon`](#make-a-
85
85
state on the BMM are ` restarted ` when the BMM is ` uncordoned ` .
86
86
87
87
``` azurecli
88
- az networkcloud baremetalmachine uncordon \
89
- --name "bareMetalMachineName" \
90
- --resource-group "resourceGroupName"
88
+ az networkcloud baremetalmachine uncordon \
89
+ --name "bareMetalMachineName" \
90
+ --resource-group "resourceGroupName"
91
91
```
92
92
93
93
## Reimage a BMM
0 commit comments