Skip to content

Commit 2abfaa3

Browse files
authored
Update howto-baremetal-functions.md
Updates doc with more descriptive(specific) labels to be used in the az cli parameters.
1 parent 703680c commit 2abfaa3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This article describes how to perform lifecycle management operations on bare me
3636

3737
1. Install the latest version of the
3838
[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) .
4040
1. Get the name of the bare metal machine that requires a lifecycle management operation.
4141
1. Ensure that the target bare metal machine `poweredState` set to `On` and `readyState` set to `True`.
4242
1. This prerequisite isn't applicable for the `start` command.
@@ -48,7 +48,7 @@ This command will `power-off` the specified `bareMetalMachineName`.
4848
```azurecli
4949
az networkcloud baremetalmachine power-off \
5050
--name "bareMetalMachineName" \
51-
--resource-group "resourceGroupName"
51+
--resource-group "cluster_MRG"
5252
```
5353

5454
## Start the BMM
@@ -58,7 +58,7 @@ This command will `start` the specified `bareMetalMachineName`.
5858
```azurecli
5959
az networkcloud baremetalmachine start \
6060
--name "bareMetalMachineName" \
61-
--resource-group "resourceGroupName"
61+
--resource-group "cluster_MRG"
6262
```
6363

6464
## Restart the BMM
@@ -68,7 +68,7 @@ This command will `restart` the specified `bareMetalMachineName`.
6868
```azurecli
6969
az networkcloud baremetalmachine restart \
7070
--name "bareMetalMachineName" \
71-
--resource-group "resourceGroupName"
71+
--resource-group "cluster_MRG"
7272
```
7373

7474
## Make a BMM unschedulable (cordon)
@@ -85,7 +85,7 @@ parameter, the workloads that are running on the BMM are `stopped` and the BMM i
8585
az networkcloud baremetalmachine cordon \
8686
--evacuate "True" \
8787
--name "bareMetalMachineName" \
88-
--resource-group "resourceGroupName"
88+
--resource-group "cluster_MRG"
8989
```
9090

9191
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`.
9898
```azurecli
9999
az networkcloud baremetalmachine uncordon \
100100
--name "bareMetalMachineName" \
101-
--resource-group "resourceGroupName"
101+
--resource-group "cluster_MRG"
102102
```
103103

104104
## Reimage a BMM
@@ -115,7 +115,7 @@ command, with `evacuate "True"`, before executing the `reimage` command.
115115
```azurecli
116116
az networkcloud baremetalmachine reimage \
117117
–-name "bareMetalMachineName" \
118-
--resource-group "resourceGroupName"
118+
--resource-group "cluster_MRG"
119119
```
120120

121121
## Replace BMM
@@ -130,10 +130,10 @@ Use the `replace` command when a server encounters hardware issues requiring a c
130130
```azurecli
131131
az networkcloud baremetalmachine replace \
132132
--name "bareMetalMachineName" \
133-
--resource-group "resourceGroupName" \
133+
--resource-group "cluster_MRG" \
134134
--bmc-credentials password="{password}" username="{user}" \
135135
--bmc-mac-address "00:00:4f:00:57:ad" \
136136
--boot-mac-address "00:00:4e:00:58:af" \
137-
--machine-name "name" \
137+
--machine-name "OS_hostname" \
138138
--serial-number "BM1219XXX"
139139
```

0 commit comments

Comments
 (0)