Skip to content

Cluster: Logic to remove a failover cluster does not exist #244

@powertim

Description

@powertim

Details of the scenario you tried and the problem that is occurring

This resource should be able to add or remove a failover cluster. Currently it only supports changing the name, role and the metric for an already present cluster.

The schema should add at least an Ensure parameter to be able to add and remove a cluster.

Verbose logs showing the problem

N/A

Suggested solution to the issue

 xCluster RemoveCluster
        {
            Name                          = 'Cluster01'
            Ensure                        = 'Absent'
            DomainAdministratorCredential = $ActiveDirectoryAdministratorCredential
            DependsOn                     = '[WindowsFeature]AddRemoteServerAdministrationToolsClusteringCmdInterfaceFeature'
        }

The DSC configuration that is used to reproduce the issue (as detailed as possible)

N/A

The operating system the target node is running

N/A

Version and build of PowerShell the target node is running

N/A

Version of the DSC module that was used

1.14.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThe issue is an enhancement request.help wantedThe issue is up for grabs for anyone in the community.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions