Skip to content

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.

Notifications You must be signed in to change notification settings

AlteredAdmin/Fail-Over-Clusters-Care-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Fail Over Clusters Care Scripts

A collection of scripts designed to manage and maintain Windows Fail-Over Clusters efficiently.

Description

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.

Scripts

  1. Drain and Pause: Pauses a specified node and drains its roles.
  2. Resume and Failback: Resumes a paused node and moves its roles back with immediate failback.

Setup

  1. Clone the repository:

    git clone https://github.com/AlteredAdmin/Fail-Over-Clusters-Care-Scripts.git
  2. Navigate to the repository's directory:

    cd Fail-Over-Clusters-Care-Scripts

Usage

Drain and Pause

To pause a node and drain its roles:

./DrainAndPause.ps1

Resume and Failback

To resume a paused node and perform immediate failback:

./ResumeAndFailback.ps1

Logging

Logs are automatically saved in the C:\ClusterMaintenance directory with a daily timestamp.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published