Linux with Db2 cluster on Azure Stack Limitation

Gaurav Naithani 1 Reputation point
2021-08-19T11:09:37.843+00:00

We are using Linux based IAAS compute service with 2 or more Db2 and GPFS nodes setup in Active / Standby mode. Here the cluster fail-over mechanism needs a VIP which I assume is not available on Azure Stack Hub. In the Azure public cloud, the backend cluster uses the automatic script via Azure CLI to update private DNS zone and A record with CNAME to promote the Master / Active node during the fail-over process. Is that correct that the Private DNS zone services unavailable on Azure Stack Hub hence we can't form a cluster like this.

I read on the Azure Stack Hub DNS article that we have an internal zone as azurestack.local that's used for infrastructure services in Azure Stack Hub. It's Directory Service-integrated and private (not reachable from outside the Azure Stack Hub deployment). But this recursive server is used to resolve names of everything except for the "internal private zone" and the external public DNS zone for that Azure Stack Hub deployment.

What is the workaround or solution to resolve our issue for private DNS zone.

Azure Stack Hub
Azure Stack Hub
An extension of Azure for running apps in an on-premises environment and delivering Azure services in a datacenter.
178 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TravisCragg-MSFT 5,676 Reputation points Microsoft Employee
    2021-08-30T23:59:44.167+00:00

    You can create the Public IPs with Azure Stack, but you cannot create a DNS that points to them. Your best bet for resolution is to use a custom DNS server on your network that is shared by the Azure Stack deployment, and use a DNS record on that DNS server to point to the CNAME of the Public IP.

    Your script would need to update the CNAME record on the DNS server with the other public IP for a failover.

    0 comments No comments