Fencing is a method where, when a node is lost, the other node blocks and initiates an action designed to either isolate (fabric fencing) or power off (power fencing) the lost node, thus putting it into a known state and making it safe to clean up and recover lost services.