I can't set up a connection to the database when installing VMM

Maxtor007 20 Reputation points
2025-01-13T11:52:52.1733333+00:00

Hello!

When installing VMM on the first host, I cannot connect to the database if I specify the MS SQL cluster name.

As indicated in paragraph number 8 of this instruction

https://zcusa.951200.xyz/en-us/system-center/vmm/ha-server?view=sc-vmm-2022

8.In Database configuration, specify the database to use for VMM. The database should be highly available and deployed in a separate failover cluster. This dialog appears if VMM isn't clustered or if it's clustered but not using Always On Availability Groups. Specify the cluster name.

But, if I simply specify the name of the first node instead of the cluster name (which is incorrect according to the instruction), this step of the installation is successful.

Please tell me what could be the cause of this error?

When setting up a connection to a database, should you use Cluster Name or Listener?

Both nodes are SQL Server 2022 Standard edition.

Thank you!

System Center Virtual Machine Manager
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,291 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Javier Villegas 900 Reputation points MVP
    2025-01-13T13:45:51.9733333+00:00

    Hello @Maxtor007

    I assume you are creating the VM, cluster and listeners in Azure. if that's the case please follow this article since you have to create a load balancer and run a Powershell script on the VMs in order to make the virtual IPs reachable

    https://zcusa.951200.xyz/en-us/azure/azure-sql/virtual-machines/windows/availability-group-load-balancer-portal-configure?view=azuresql

    Regards

    Javier


  2. XinGuo-MSFT 20,396 Reputation points
    2025-01-14T06:57:36.9066667+00:00

    Hi,

    Please also check the link below. I'll conduct the lab test and get back to you as soon as possible

    Deploy SQL Server for VMM high availability

    https://zcusa.951200.xyz/en-us/system-center/vmm/ha-sql?view=sc-vmm-2022

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.