A collection of scripts designed to manage and maintain Windows Fail-Over Clusters efficiently.
This repository contains scripts to help with common cluster maintenance tasks, such as pausing a node, draining its roles, resuming a node, and performing an immediate failback.
- Drain and Pause: Pauses a specified node and drains its roles.
- Resume and Failback: Resumes a paused node and moves its roles back with immediate failback.
-
Clone the repository:
git clone https://github.com/AlteredAdmin/Fail-Over-Clusters-Care-Scripts.git
-
Navigate to the repository's directory:
cd Fail-Over-Clusters-Care-Scripts
To pause a node and drain its roles:
./DrainAndPause.ps1
To resume a paused node and perform immediate failback:
./ResumeAndFailback.ps1
Logs are automatically saved in the C:\ClusterMaintenance
directory with a daily timestamp.