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/troubleshoot-reboot-reimage-replace.md
+98-10Lines changed: 98 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,25 +22,28 @@ The time required to complete each of these actions is similar. Restarting is th
22
22
23
23
- Familiarize yourself with the capabilities referenced in this article by reviewing the [BMM actions](howto-baremetal-functions.md).
24
24
- Gather the following information:
25
-
- Name of the resource group for the BMM
25
+
- Name of the managed resource group for the BMM
26
26
- Name of the BMM that requires a lifecycle management operation
27
+
- Subscription ID
27
28
28
29
> [!IMPORTANT]
29
30
> Disruptive command requests against a Kubernetes Control Plane (KCP) node are rejected if there is another disruptive action command already running against another KCP node or if the full KCP is not available.
30
31
>
31
32
> Restart, reimage and replace are all considered disruptive actions.
32
33
>
33
-
> This check is done to maintain the integrity of the Nexus instance and ensure multiple KCP nodes don't go down at once due to simultaneous disruptive actions. If multiple nodes go down, it will break the healthy quorum threshold of the Kubernetes Control Plane.
34
+
> This check is done to maintain the integrity of the Nexus instance and ensure multiple KCP nodes do not go down at once due to simultaneous disruptive actions. If multiple nodes go down, it will break the healthy quorum threshold of the Kubernetes Control Plane.
34
35
35
36
## Identify the corrective action
36
37
37
-
When you're troubleshooting a BMM for failures and determining the best corrective action, it's important to understand the available options. Restarting or reimaging a BMM can be an efficient and effective way to fix problems or restore the software to a known-good place. Replacing a BMM might be required when one or more hardware components fail on the server. This article provides direction on the best practices for each of the three actions.
38
+
When troubleshooting a BMM for failures and determining the most appropriate corrective action, it is essential to understand the available options. Restarting or reimaging a BMM can be both efficient and effective for resolving issues or restoring the software to a known-good state. In cases where one or more hardware components fail on the server, it may be necessary to replace the BMM entirely. This article outlines the best practices for each of these three actions.
38
39
39
-
Troubleshooting technical problems requires a systematic approach. One effective method is to start with the least invasive solution and works your way up to more complex and drastic measures, if necessary.
40
+
Troubleshooting technical problems requires a systematic approach. One effective method is to start with the least invasive solution and work your way up to more complex and drastic measures, if necessary.
40
41
41
-
The first step in troubleshooting is often to try restarting the device or system. Restarting can help to clear any temporary glitches or errors that might be causing the problem. If restarting doesn't solve the problem, the next step might be to try reimaging the device or system.
42
+
The first step in troubleshooting is to try restarting the device or system. Restarting can help to clear up any temporary glitches or errors that might be causing the problem.
42
43
43
-
If reimaging doesn't solve the problem, the final step might be to replace the faulty hardware component. Replacement can be a more drastic measure, but it might be necessary if the problem is related to a hardware malfunction.
44
+
If restarting does not solve the problem, the next step is to try reimaging the device or system.
45
+
46
+
If reimaging does not solve the problem, the final step is to replace the faulty hardware component. While replacement is a more significant measure, it may be required if the issue stems from a hardware defect.
44
47
45
48
Keep in mind that these troubleshooting methods might not always be effective, and other factors in play might require a different approach.
46
49
@@ -50,6 +53,31 @@ Restarting a BMM is a process of restarting the server through a simple API call
50
53
51
54
The restart typically is the starting point for mitigating a problem.
52
55
56
+
***The following Azure CLI command will `power-off` the specified bareMetalMachineName.***
57
+
```
58
+
az networkcloud baremetalmachine power-off \
59
+
--name "bareMetalMachineName" \
60
+
--resource-group "cluster_MRG" \
61
+
--subscription "subscription_ID"
62
+
```
63
+
64
+
***The following Azure CLI command will `start` the specified bareMetalMachineName.***
65
+
```
66
+
az networkcloud baremetalmachine start \
67
+
--name "bareMetalMachineName" \
68
+
--resource-group "cluster_MRG" \
69
+
--subscription "subscription_ID"
70
+
```
71
+
72
+
***The following Azure CLI command will `restart` the specified bareMetalMachineName.***
73
+
```
74
+
az networkcloud baremetalmachine restart \
75
+
--name "bareMetalMachineName" \
76
+
--resource-group "cluster_MRG" \
77
+
--subscription "subscription_ID"
78
+
```
79
+
80
+
53
81
## Troubleshoot with a reimage action
54
82
55
83
Reimaging a BMM is a process that you use to redeploy the image on the OS disk, without affecting the tenant data. This action executes the steps to rejoin the cluster with the same identifiers.
@@ -58,9 +86,37 @@ The reimage action can be useful for troubleshooting problems by restoring the O
58
86
59
87
A reimage action is the best practice for lowest operational risk to ensure the integrity of the BMM.
60
88
89
+
As a best practice, make sure the BMM's workloads are drained using the cordon command, with evacuate "True", before executing the reimage command.
90
+
#***(PLACEHOLDER: We need to explain how a customer can identify if workloads are currently running on a BMM and the az cli command used to get this information. Ask NAKS team to provide.)***
91
+
92
+
***The following Azure CLI command will `cordon` the specified bareMetalMachineName.***
93
+
```
94
+
az networkcloud baremetalmachine cordon \
95
+
--evacuate "True" \
96
+
--name "bareMetalMachineName" \
97
+
--resource-group "cluster_MRG" \
98
+
--subscription "subscription_ID"
99
+
```
100
+
101
+
***The following Azure CLI command will `reimage` the specified bareMetalMachineName.***
102
+
```
103
+
az networkcloud baremetalmachine reimage \
104
+
–-name "bareMetalMachineName" \
105
+
--resource-group "cluster_MRG" \
106
+
--subscription "subscription_ID"
107
+
```
108
+
109
+
***The following Azure CLI command will `uncordon` the specified bareMetalMachineName.***
110
+
```
111
+
az networkcloud baremetalmachine uncordon \
112
+
--name "bareMetalMachineName" \
113
+
--resource-group "cluster_MRG" \
114
+
--subscription "subscription_ID"
115
+
```
116
+
61
117
## Troubleshoot with a replace action
62
118
63
-
Servers contain many physical components that can fail over time. It's important to understand which physical repairs require BMM replacement and when BMM replacement is recommended but not required.
119
+
Servers contain many physical components that can fail over time. It is important to understand which physical repairs require BMM replacement and when BMM replacement is recommended.
64
120
65
121
A hardware validation process is invoked to ensure the integrity of the physical host in advance of deploying the OS image. Like the reimage action, the tenant data isn't modified during replacement.
66
122
@@ -69,9 +125,18 @@ A hardware validation process is invoked to ensure the integrity of the physical
69
125
70
126
As a best practice, first issue a `cordon` command to remove the bare metal machine from workload scheduling and then shut down the BMM in advance of physical repairs.
71
127
72
-
When you're performing a physical hot swappable power supply repair, a replace action isn't required because the BMM host will continue to function normally after the repair.
128
+
***The following Azure CLI command will `cordon` the specified bareMetalMachineName.***
129
+
```
130
+
az networkcloud baremetalmachine cordon \
131
+
--evacuate "True" \
132
+
--name "bareMetalMachineName" \
133
+
--resource-group "cluster_MRG" \
134
+
--subscription "subscription_ID"
135
+
```
136
+
137
+
When you're performing a physical hot swappable power supply repair, a replace action is not required because the BMM host will continue to function normally after the repair.
73
138
74
-
When you're performing the following physical repairs, we recommend a replace action, though it isn't necessary to bring the BMM back into service:
139
+
When you're performing the following physical repairs, we recommend a replace action, though it is not necessary to bring the BMM back into service:
75
140
76
141
- CPU
77
142
- Dual In-Line Memory Module (DIMM)
@@ -80,7 +145,7 @@ When you're performing the following physical repairs, we recommend a replace ac
80
145
- Transceiver
81
146
- Ethernet or fiber cable replacement
82
147
83
-
When you're performing the following physical repairs, a replace action is required to bring the BMM back into service:
148
+
When you're performing the following physical repairs, a replace action ***is required*** to bring the BMM back into service:
84
149
85
150
- Backplane
86
151
- System board
@@ -89,6 +154,29 @@ When you're performing the following physical repairs, a replace action is requi
89
154
- Mellanox Network Interface Card (NIC)
90
155
- Broadcom embedded NIC
91
156
157
+
After physical repairs are completed, perform a replace action.
158
+
159
+
***The following Azure CLI command will `replace` the specified bareMetalMachineName.***
***The following Azure CLI command will uncordon the specified bareMetalMachineName.***
173
+
```
174
+
az networkcloud baremetalmachine uncordon \
175
+
--name "bareMetalMachineName" \
176
+
--resource-group "cluster_MRG" \
177
+
--subscription "subscription_ID"
178
+
```
179
+
92
180
## Summary
93
181
94
182
Restarting, reimaging, and replacing are effective troubleshooting methods that you can use to address technical problems. However, it's important to have a systematic approach and to consider other factors before you try any drastic measures.
0 commit comments