- (input) Cluster [VcClusterComputeResource]: the cluster to be checked
- (input) Cell1, Cell2 [Array/VcHostSystem]: an array containing the hosts in each fire compartment (e.g. use vCO configurations)
- (output) compliant [boolean]: the cluster compliance
- (output) Cell1Primary, Cell2Primary [Array/VcHostSystem]: primary hosts found for cell
If you are running vSphere 4.1 you can use DRS groups to get already defined host lists:
<Cluster>.configurationEx.group contains the group listing (array).
Cluster.configurationEx.group[x].host constains the host list of group x (array). You can use this to feed the parameters Cell1 & Cell2 dynamically with values from vSphere.