Skip to content

ClusterQuorum: Doesn't support Azure Gov Cloud #278

@hungtran84

Description

@hungtran84

Problem description

ClusterQuorum resource with type NodeAndCloudMajority doesn't work with Azure Gov Cloud due to the default endpoint is for Azure Commercial Cloud.

Root cause: Lack of Endpoint parameter in the source.

Verbose logs

ClusterQuorum resource with type `NodeAndCloudMajority` doesn't work with Azure Gov Cloud due to the default endpoint is for Azure Commercial Cloud.

DSC configuration

- name: Set quorum to node and cloud witness majority
      win_dsc:
        resource_name: xClusterQuorum
        IsSingleInstance: 'yes'
        Type: NodeAndCloudMajority
        Resource: myazurestorageaccount
        StorageAccountAccessKey: "xxxxxx"

Suggested solution

Add Endpoint parameter to this Resource

Operating system the target node is running

OsName               : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture       : 64-bit
WindowsVersion       : 1809
WindowsBuildLabEx    : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

PowerShell version and build the target node is running

Name                           Value
----                           -----
PSVersion                      5.1.17763.2931
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.2931
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

FailoverClusterDsc version

Name             Version Path
----             ------- ----
xFailOverCluster 1.16.0  C:\Program Files\WindowsPowerShell\Modules\xFailOverCluster\1.16.0\xFailOverCluster.psd1

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