@@ -36,7 +36,7 @@ This article describes how to perform lifecycle management operations on bare me
36
36
37
37
1 . Install the latest version of the
38
38
[ appropriate CLI extensions] ( ./howto-install-cli-extensions.md ) .
39
- 1 . Get the name of the resource group for the BMM.
39
+ 1 . Get the name of the resource group for the BMM - Cluster managed resource group name (cluster_MRG) .
40
40
1 . Get the name of the bare metal machine that requires a lifecycle management operation.
41
41
1 . Ensure that the target bare metal machine ` poweredState ` set to ` On ` and ` readyState ` set to ` True ` .
42
42
1 . This prerequisite isn't applicable for the ` start ` command.
@@ -48,7 +48,7 @@ This command will `power-off` the specified `bareMetalMachineName`.
48
48
``` azurecli
49
49
az networkcloud baremetalmachine power-off \
50
50
--name "bareMetalMachineName" \
51
- --resource-group "resourceGroupName "
51
+ --resource-group "cluster_MRG "
52
52
```
53
53
54
54
## Start the BMM
@@ -58,7 +58,7 @@ This command will `start` the specified `bareMetalMachineName`.
58
58
``` azurecli
59
59
az networkcloud baremetalmachine start \
60
60
--name "bareMetalMachineName" \
61
- --resource-group "resourceGroupName "
61
+ --resource-group "cluster_MRG "
62
62
```
63
63
64
64
## Restart the BMM
@@ -68,7 +68,7 @@ This command will `restart` the specified `bareMetalMachineName`.
68
68
``` azurecli
69
69
az networkcloud baremetalmachine restart \
70
70
--name "bareMetalMachineName" \
71
- --resource-group "resourceGroupName "
71
+ --resource-group "cluster_MRG "
72
72
```
73
73
74
74
## Make a BMM unschedulable (cordon)
@@ -85,7 +85,7 @@ parameter, the workloads that are running on the BMM are `stopped` and the BMM i
85
85
az networkcloud baremetalmachine cordon \
86
86
--evacuate "True" \
87
87
--name "bareMetalMachineName" \
88
- --resource-group "resourceGroupName "
88
+ --resource-group "cluster_MRG "
89
89
```
90
90
91
91
The ` evacuate "True" ` removes workloads from that node while ` evacuate "False" ` only prevents the scheduling of new workloads.
@@ -98,7 +98,7 @@ state on the BMM are `restarted` when the BMM is `uncordoned`.
98
98
``` azurecli
99
99
az networkcloud baremetalmachine uncordon \
100
100
--name "bareMetalMachineName" \
101
- --resource-group "resourceGroupName "
101
+ --resource-group "cluster_MRG "
102
102
```
103
103
104
104
## Reimage a BMM
@@ -115,7 +115,7 @@ command, with `evacuate "True"`, before executing the `reimage` command.
115
115
``` azurecli
116
116
az networkcloud baremetalmachine reimage \
117
117
–-name "bareMetalMachineName" \
118
- --resource-group "resourceGroupName "
118
+ --resource-group "cluster_MRG "
119
119
```
120
120
121
121
## Replace BMM
@@ -130,10 +130,10 @@ Use the `replace` command when a server encounters hardware issues requiring a c
130
130
``` azurecli
131
131
az networkcloud baremetalmachine replace \
132
132
--name "bareMetalMachineName" \
133
- --resource-group "resourceGroupName " \
133
+ --resource-group "cluster_MRG " \
134
134
--bmc-credentials password="{password}" username="{user}" \
135
135
--bmc-mac-address "00:00:4f:00:57:ad" \
136
136
--boot-mac-address "00:00:4e:00:58:af" \
137
- --machine-name "name " \
137
+ --machine-name "OS_hostname " \
138
138
--serial-number "BM1219XXX"
139
139
```
0 commit comments