Open hungtran84 opened 2 years ago
ClusterQuorum resource with type NodeAndCloudMajority doesn't work with Azure Gov Cloud due to the default endpoint is for Azure Commercial Cloud.
NodeAndCloudMajority
Root cause: Lack of Endpoint parameter in the source.
Endpoint
ClusterQuorum resource with type `NodeAndCloudMajority` doesn't work with Azure Gov Cloud due to the default endpoint is for Azure Commercial Cloud.
- name: Set quorum to node and cloud witness majority win_dsc: resource_name: xClusterQuorum IsSingleInstance: 'yes' Type: NodeAndCloudMajority Resource: myazurestorageaccount StorageAccountAccessKey: "xxxxxx"
Add Endpoint parameter to this Resource
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}
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
Name Version Path ---- ------- ---- xFailOverCluster 1.16.0 C:\Program Files\WindowsPowerShell\Modules\xFailOverCluster\1.16.0\xFailOverCluster.psd1
Happy to review a PR for this.
@johlju can you help to review my PR at https://github.com/dsccommunity/FailoverClusterDsc/pull/279?
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
DSC configuration
Suggested solution
Add
Endpoint
parameter to this ResourceOperating system the target node is running
PowerShell version and build the target node is running
FailoverClusterDsc version