DSM 9.0 – MS SQL as a Service
VMware Cloud Foundation 9.0 brought VMware Data Services Manager (DSM) 9.0 with it. Alongside many improvements, the largest new feature is support for Microsoft SQL Server (tech preview).
The release of VMware Cloud Foundation 9.0 brought VMware Data Services Manager (DSM) 9.0 with it. Alongside a lot of improvements, the biggest new feature is support for Microsoft SQL Server (tech preview).
DSM in brief
Data Services Manager provisions databases such as MySQL, PostgreSQL and now MS SQL on a vSphere cluster. Installing DSM is straightforward; all it needs is a vSphere cluster.
We covered the DSM installation in an earlier post: https://soultec.ch/vmware-data-services-manager/
What DSM gives you, in short:
- Database deployment, highly available with an HA setup and across several vSphere clusters (a 3-node PostgreSQL cluster across two vSphere clusters, for example)
- Database monitoring, alerting included
- Database lifecycle (version upgrades)
- Support for PostgreSQL and MySQL specific problems: VMware is there not only for provisioning issues but for database-specific errors too
- LDAPS integration
- Certificate management
- Simple database cloning (cloning a production database, for example)
- Database encryption through storage policies or VM encryption
- Integration into VCF Operations and Automation
- A Kubernetes operator
- Terraform support through the Kubernetes Terraform provider
MS SQL as a service
DSM 9.0 provisions MS SQL instances as well as individual databases. DSM MS SQL is based on SQL Server for Linux with Ubuntu container images.
Installation
First, the official MS SQL Server Docker image has to be added to DSM, by connecting a Microsoft image (container) registry.

- Name: mssql
- Endpoint: mcr.microsoft.com
- Repository: mssql
- Auth type: none
- Data services: SQL Server

Check the connection status to confirm the registry is reachable.

Now the SQL Server data service can be enabled.

The container image, based on 2022-CU16-ubuntu-22.04, is shown here.

Provisioning MS SQL from the DSM UI
Besides the DSM UI there is also a Kubernetes operator and VCF Automation.

Below, an MS SQL instance (standard) is provisioned.

In the tech preview only single server is supported. AlwaysOn cluster support is planned.

Next you pick the infrastructure policy and storage policy. Depending on how MS SQL is licensed, you can define an infrastructure policy so that MS SQL workloads only run on a particular vSphere cluster, which matters for MS SQL licensing.

Once provisioning succeeds, the instance can be reached with SSMS or another tool. Copy the admin password or the connection string. Careful: choosing “copy connection string” gives you escaped characters. For access with SSMS you need the unescaped special characters, or the admin password.

Access with SSMS:

Optional configuration
The MS SQL instance can optionally be integrated with Active Directory.