Replacing a part safely: hot-swap or downtime
Video 090 of 140 in Virtualization Foundations, in the unit “Hardware failure and health”. 3:32, with English and Hindi audio.
Replacing a failed part sounds simple, and it often is. The risk lies in pulling the wrong part, or pulling a good one from a server that is already weakened. This article explains which parts can be swapped while a server runs, which need downtime, and how to identify the right slot before you touch anything. It ends with the checks that come before a host returns to service.
What you will learn
- Hot-swap parts, such as drives, power supplies and many fans, can be replaced while the server runs.
- Most memory and processors need downtime, so plan that work in a window.
- Confirm the slot label and the serial number before you pull anything.
- Check that the rest of the server can carry the load while a part is out.
- Return the host to service only when the new part is seen and the logs are clean.
Confirm the right part before you touch it
At Harbor Point, a drive fails in a production server. The bay next to it holds a healthy drive, and the two look almost the same. If you pull the healthy drive from a group that is already degraded, the group may lose its data. A degraded group is one that has already lost a member, so it has less protection.
So read the slot label and the serial number, and make the right bay's light blink, before you touch anything.
Hot-swap, or downtime
A hot-swap part is built to come out and go back in while the server runs. Your model's manual says exactly which parts are hot-swap, so trust the manual over any guess.
- Hot-swap: drive bays, power supplies and many fans. Swap them while the server runs.
- Downtime: most memory sticks and processors. Plan a window, and move the work away before you start.
Replacing a part on a host, step by step
- Check redundancy: the rest of the server must be able to carry the load. A redundant power supply or a second path does that job.
- Move the workload off: for a host in a cluster, move its virtual machines to other hosts, and put the host into maintenance mode.
- Identify the part: use its slot label and serial number, and blink its light, so you are sure of the right one.
- Swap and verify: check that the new part is seen, and read the logs. Only then return the host to service.
A supply swap while the database keeps running
This server has two power supplies, and each one can carry the whole load. When supply A fails, supply B carries the load alone, and the database keeps running. Check that supply B is healthy, and only then swap supply A for a new one.
A memory stick is different. Its slot needs the server switched off, so that job needs a planned window.
What goes wrong during a swap
- Pulling the good supply: if the other supply is already weak, pulling one can switch the server off.
- Skipping the move: working on a host that still runs virtual machines can stop those machines with it.
- A swap that did not take: if the new part is not seen, read the logs and keep the host out of service until the cause is clear.
Terms
- Hot-swap
- A part built to be removed and replaced while the server keeps running.
- Maintenance mode
- A host state for planned work, in which the host's virtual machines have been moved to other hosts first.
- Degraded group
- A disk group that has already lost a member, so it runs with less protection against a further failure.
Check yourself
Which server parts are usually hot-swap?
Drive bays, power supplies and many fans. Most memory and processors need downtime instead.
What should you check before pulling a part?
The slot label and the serial number, and a blinking light on the part you mean to remove.
What must be true before you pull one of two power supplies?
The other supply must be healthy and able to carry the whole load alone.
Previous: Predictive failure, and opening a vendor support case. Next: Burn-in testing of new hardware.