Automation

 View Only
  • 1.  get complete HA and DR configurations for all the cluster

    Posted Jul 31, 2013 03:07 PM

    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



  • 2.  RE: get complete HA and DR configurations for all the cluster

    Posted Jul 31, 2013 03:24 PM

    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.



  • 3.  RE: get complete HA and DR configurations for all the cluster

    Posted Jul 31, 2013 04:16 PM

    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?



  • 4.  RE: get complete HA and DR configurations for all the cluster

    Posted Jul 31, 2013 05:21 PM

    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

    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.