VMware Cloud Community
DJ_dshivamu
Enthusiast
Enthusiast

get complete HA and DR configurations for all the cluster

Hello

Can I have script to list the complete HA and DRS and other cluser configuration for all my clusters in datacenter

Thanks and regards,

DJ

0 Kudos
3 Replies
LucD
Leadership
Leadership

That request is a bit vague I'm afraid.

I guess you don't want a script that lists a couple hundred properties :smileygrin:

What exactly are you looking for ?

It would be handy if you could provide a few specifics.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
DJ_dshivamu
Enthusiast
Enthusiast

Hi Lucd Thanks for the response

I just looking for all the configuration info in cluster edit properties for HA and DRS.....

like HA,DRS,VM/host monitoring/Adminision control policy etc..

is that enough?

0 Kudos
LucD
Leadership
Leadership

I would say that is too much in the scope of a community forum :smileycool:

Let me explain that, the following produces a raw dump of the properties that you find under the Cluster settings - HA

$cluster = Get-Cluster -Name MyCluster
$cluster.ExtensionData.Configuration.DasConfig |
Format-Custom -Depth 2

In the vSphere client that is this form

cluster-ha.png

But as you know there are several other pages on that form.

So writing a script to provide all cluster settings for HA and DRS would be something that takes a bit more than 5 minutes.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference