Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClusterQuorum: Doesn't support Azure Gov Cloud #278

Open
hungtran84 opened this issue Jun 28, 2022 · 2 comments · May be fixed by #279
Open

ClusterQuorum: Doesn't support Azure Gov Cloud #278

hungtran84 opened this issue Jun 28, 2022 · 2 comments · May be fixed by #279
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.

Comments

@hungtran84
Copy link

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
@johlju
Copy link
Member

johlju commented Jun 28, 2022

Happy to review a PR for this.

@johlju johlju added enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. labels Jun 28, 2022
@hungtran84 hungtran84 linked a pull request Jun 28, 2022 that will close this issue
9 tasks
@hungtran84
Copy link
Author

@johlju can you help to review my PR at #279?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants