|
| 1 | +--- |
| 2 | +title: "Azure Operator Nexus: Baseboard Management Controller Credential Rotation Overview" |
| 3 | +description: An overview of how credential rotation occurs for Baseboard Management Controller Credential |
| 4 | +author: ghugo |
| 5 | +ms.author: gagehugo |
| 6 | +ms.service: azure-operator-nexus |
| 7 | +ms.topic: how-to |
| 8 | +ms.date: 06/09/2025 |
| 9 | +--- |
| 10 | + |
| 11 | +# Baseboard Management Controller Credential Rotation Overview |
| 12 | + |
| 13 | +The Baseboard Management Controller (BMC) (iDRAC) has several credentials that are automatically rotated as part of the system per each machine. In order for this automated rotation to occur, each Bare Metal Machine (BMM) must be considered one of two potential states in the cluster before it rotates the credential. |
| 14 | + |
| 15 | +## Cluster Status and BMC Credential Rotation |
| 16 | + |
| 17 | +When a Bare Metal Machine's iDRAC credentials can't be rotated or become mismatched, it can cause the machine to be unable to communicate with iDRAC. The mismatch of credentials can leave the Bare Metal Machine in an error state. |
| 18 | + |
| 19 | +Additionally, a runtime upgrade doesn't occur since the undercloud infrastructure needs to communicate with the OS. |
| 20 | + |
| 21 | +## Criteria For Rotation |
| 22 | + |
| 23 | +For iDRAC credential rotation to occur, a machine must meet specific criteria where we consider it to be `Healthy` or `Spare`: |
| 24 | + |
| 25 | +* The machine must be `Provision Status: Succeeded` and `Uncordoned`. If these two criteria are met, we move on to the next step. |
| 26 | +* We check for two specific cases where we consider the machine to be "Healthy" or "Spare": |
| 27 | + * For the machine to be considered `Healthy`, we check the following criteria. If all three are met, we proceed with rotation. If not, we check for spare. |
| 28 | + 1. The machine must be in `Ready` state |
| 29 | + 1. The machine's detailed status is `Provisoned` |
| 30 | + 1. The machine must have a set kubernetes node |
| 31 | + * For the machine to be considered a `Spare`, we perform these checks. If the following are met, we consider it a "Spare" node and perform rotation. |
| 32 | + 1. The machine is `NOT` in `Ready` state |
| 33 | + 1. The machine's detailed status is `Available` |
| 34 | + |
| 35 | +As per these guidelines, a machine doesn't perform automatic rotation if it's `Cordoned`. Likewise, rotation doesn't occur on any machine that isn't `Provision Status: Succeeded`. |
| 36 | + |
| 37 | +For more information on BMM/BMC rotation, see [Credential Rotation](./howto-credential-rotation.md). |
0 commit comments