Powershell – How to detect bad state VMs in a Hyper-V cluster?

[notranslate] integration components are a good indicator of the health of a VM as it can tell us OS and services are properly started. it does not replace OS/application but can give you a quick clue about the health state of your VMs. Here I used the heartbeat IC to verify VM state from a…

0

Powershell-Generate Automated CSVFreespace and Memory Report

This script relies the Hyper-V clusters are been managed by VMM but if you do not use VMM you can also modify based on your environment. It should just give you an idea how to collect data and use sentmail function to get a daily report of your resource status. Note: script version 1.3 is…

0

Powershell – How to get total VM memory overview (dynamic, static and startup memory) per node in a cluster?

Host Memory Pressure – I think this is one of the keys (in addition to storage, network, CPU) in performance when running virtualization with dynamic memory and should be monitored. An balance between high density of running VMs on a host and memory calculation/demand is something to consider when managing self service clouds and/or running…

0

How to configure Preferred Owners and AutoFailback with Powershell in Failover Cluster?

Consider scenario, you “balanced” your VMs across your nodes and you come back in the morning and they are migrated “for whatever reason” to different nodes. But as a typical administrator 😉 you know your workload best and you want to keep them preferred on a targeted node. In case of an unexpected reboot the…

0

How to use Powershell in Failover Clustering–Part 1

Powershell is a really powerful toy for any Windows administrator where tasks need to be automated and or repeated several times. Here I would like to start an blog series of how to use Powershell in Windows Server Failover Cluster (WSFC) environments. Let’s start over with some basic commandlet’s to get status of clustered groups,…

6

Alle 20 Minuten ein Event ID 1069 und 1558?

HINWEIS: Da der Event 1069 sehr “generisch” ist und auf unterschiedliche Fehlerquellen zeigen kann, ist dies nur eine mögliche Beispiellösung und soll als Erfahrungsbericht dienen. Zum Verfizieren, ob dieser Artikel bei Eurem Problem helfen kann, bitte die Cluster Logs überprüfen nach “’Failed to create cluster directory on witness”! Problem: Bei einem Kunden hatten wir etwa…

0

Powershell–How to write your own custom functions in Powershell?

How to write your own functions within Powershell? As most of you knows, Powershell is a really powerful toy for administrators which are dealing with a lot of systems. Most of the time, you do same operations and need to write your own scripts. I usually use here the "function" method to build my own…

2