> For the complete documentation index, see [llms.txt](https://academy.cegedim.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.cegedim.cloud/databases/sql-server/sql-server-features.md).

# SQL Server - Features

## Architecture

### Topologies <a href="#sqlserverarchitecturefr-topologies" id="sqlserverarchitecturefr-topologies"></a>

Two topologies are available:

* Standalone Instance
* Always On Cluster

### Always On - Topology <a href="#sqlserverarchitecture-alwayson" id="sqlserverarchitecture-alwayson"></a>

The Always On cluster configuration is based on a 3-node topology:

#### **Active Nodes**

* Two nodes located on the same site.
* These nodes are configured to share the load or automatically failover in case of a failure.
* An anti-affinity rule ensures that the active nodes do not coexist on the same hypervisor host, thus enhancing resilience.

#### **Passive Node**

* Located on a secondary site to ensure disaster recovery (DR).
* This node does not handle any active requests and is reserved exclusively for failover in the event of active node failure.

#### Rules and Restrictions for the Passive Node <a href="#sqlserverarchitecture-alwayson-passiverules" id="sqlserverarchitecture-alwayson-passiverules"></a>

The passive node is subject to strict restrictions to comply with Microsoft License Mobility with Failover Rights:

* **No active workload:** The passive node cannot execute SQL queries, reports, or user workloads.
* **Allowed operations:**
  * Database consistency checks.
  * Full backups and transaction log backups.
  * Performance and resource monitoring.
* **Optimized licensing:** With Software Assurance, the use of the passive node is included at no additional cost, provided these restrictions are followed.

#### Benefits of Always On <a href="#sqlserverarchitecture-alwayson-advantages" id="sqlserverarchitecture-alwayson-advantages"></a>

* **Fault tolerance:** Synchronous replication ensures that data is available in real-time on active nodes.
* **Disaster recovery:** Deploying a passive node on a secondary site enhances security and business continuity.
* **Simplified maintenance:** Planned failovers allow updates or technical interventions without service interruption.

#### Monitoring and Compliance <a href="#sqlserverarchitecture-alwayson-monitoring" id="sqlserverarchitecture-alwayson-monitoring"></a>

Specific monitoring tailored for the Always On cluster is in place to:

* Ensure compliance with restrictions related to the passive node.
* Monitor performance and automatic failovers.
* Prevent risks of non-compliance with licensing rules.

#### Always On Listener <a href="#sqlserverarchitecture-alwayson-listener" id="sqlserverarchitecture-alwayson-listener"></a>

Client applications never connect directly to a node. Instead, an Always On cluster exposes a **listener**: a dedicated, floating IP address and DNS name that always routes new connections to whichever node currently holds the primary replica.

```mermaid
graph TD
    customer["👤 Application"]
    listener["🌐 Listener<br/>&lt;listener-name&gt;.hosting.cegedim.cloud"]

    subgraph dc1["Primary site"]
        primary[("🗄️ Primary replica")]
        secondary[("🗄️ Secondary replica")]
    end
    subgraph dc2["Secondary site (DR)"]
        passive[("🗄️ Passive replica")]
    end

    customer -->|SQL Server protocol tcp 1433| listener
    listener --> primary
    listener -.->|Failover| secondary
    primary <-->|Synchronous replication| secondary
    primary <-.->|Replication| passive

    style customer fill:#1abc9c,stroke:#0e6655,stroke-width:2px,color:#000
    style listener fill:#dde8f5,stroke:#000,stroke-width:2px,color:#000
    style dc1 fill:#e8e8e8,stroke:#000,stroke-width:2px,color:#000
    style dc2 fill:#e8e8e8,stroke:#000,stroke-width:2px,color:#000
    style primary fill:#1abc9c,stroke:#0e6655,stroke-width:2px,color:#000
    style secondary fill:#1abc9c,stroke:#0e6655,stroke-width:2px,color:#000
    style passive fill:#e8820c,stroke:#a85a00,stroke-width:2px,color:#000
```

* The listener IP is reserved independently of the three node IPs and registered as an Availability Group Listener resource at the Windows Failover Cluster level. It is not bound to any single node's network adapter.
* On failover, the listener IP moves automatically to the node that becomes primary — existing behavior for new connections resumes without any change on the client side.
* A DNS A record is created for the listener at **`<listener-name>.hosting.cegedim.cloud`**. This is the address your application must use — never connect to a node's own hostname (e.g. `PBIOPATH2AG01`), since a node does not receive the listener's traffic after a failover.

{% hint style="info" %}
The listener name is the one you provided when requesting the Always On cluster through ITCare. If your DNS resolution fails, check that you are using the full name including the `.hosting.cegedim.cloud` suffix.
{% endhint %}

### Regions <a href="#sqlserverarchitecture-regions" id="sqlserverarchitecture-regions"></a>

SQL Server is available on both cegedim.cloud's data centers:

* EB4 - Boulogne-Billancourt, France
* ET1 - Labège, France

As part of the Always On topology, an inactive node is automatically deployed in a nearby secondary site to enhance the resilience of the cluster:

* EB6 (Magny-les-Hameaux, France)
* ET2 (Balma, France)

### Hosting and Versions <a href="#sqlserverarchitecture-hostingandversion" id="sqlserverarchitecture-hostingandversion"></a>

<table><thead><tr><th width="160">Hosting type</th><th width="182">SQL Server version</th><th width="198">Operating System</th><th>SQL Server edition</th></tr></thead><tbody><tr><td>Virtual</td><td>2022</td><td>Windows Server 2022</td><td>Standard or Enterprise</td></tr><tr><td>Virtual</td><td>2019</td><td>Windows Server 2019</td><td>Standard or Enterprise</td></tr><tr><td>Virtual</td><td>2017</td><td>Windows Server 2019</td><td>Standard or Enterprise</td></tr><tr><td>Virtual</td><td>2016</td><td>Windows Server 2016</td><td>Standard or Enterprise</td></tr></tbody></table>

### File system <a href="#sqlserverarchitecture-filesystem" id="sqlserverarchitecture-filesystem"></a>

Filesystem layout:

<table><thead><tr><th width="102">Drive</th><th>Label</th><th width="171">Default size</th><th>Description</th></tr></thead><tbody><tr><td>D:\</td><td>MSSQL</td><td>30 GB</td><td>Root instance</td></tr><tr><td>E:\</td><td>MSSQL_USER_DATA</td><td>30 GB</td><td>User databases</td></tr><tr><td>F:\</td><td>MSSQL_USER_LOG</td><td>10 GB</td><td>User databases log</td></tr><tr><td>G:\</td><td>MSSQL_TEMPDB</td><td>10 GB</td><td>TempDB</td></tr></tbody></table>

### Virtual machine name restriction <a href="#sqlserverarchitecture-virtualmachinenamerestriction" id="sqlserverarchitecture-virtualmachinenamerestriction"></a>

Due to prefixes applied to Active Directory objects, the name of the virtual machine provisioned is **restricted to 13 characters maximum** for a cegedim.cloud PaaS SQL Server.

### Ports <a href="#sqlserverarchitecture-ports" id="sqlserverarchitecture-ports"></a>

Ports listing:

<table><thead><tr><th width="163.33333333333331">Port</th><th width="344">Description</th><th>Protocol</th></tr></thead><tbody><tr><td>1433</td><td>Server static port listener</td><td>TCP</td></tr><tr><td>1434</td><td>SQL Server Browser</td><td>UDP</td></tr><tr><td>2382</td><td>SQL Server Analysis Services Browser</td><td>UDP</td></tr><tr><td>2383</td><td>SQL Server Analysis Services listener</td><td>TCP</td></tr><tr><td>5022</td><td>SQL Server BDM/AG Endpoint</td><td>TCP</td></tr></tbody></table>

{% hint style="warning" %}
Only the SQL Server listener and SQL Server Browser ports are opened inbound in the Windows Firewall by default and enforced through a GPO on the Organization unit.
{% endhint %}

#### Outbound flows required for TLS <a href="#sqlserverarchitecture-ports-outboundtls" id="sqlserverarchitecture-ports-outboundtls"></a>

When the TLS feature described below is enabled, the instance also requires the following outbound flows to cegedim.cloud's internal infrastructure:

<table><thead><tr><th width="163.33333333333331">Port</th><th width="344">Description</th><th>Protocol</th></tr></thead><tbody><tr><td>80 / 443</td><td>Certificate enrollment and renewal with cegedim.cloud's internal Certificate Authority (required for TLS)</td><td>TCP</td></tr><tr><td>135</td><td>RPC endpoint mapper used for certificate enrollment with cegedim.cloud's internal Certificate Authority (required for TLS)</td><td>TCP</td></tr></tbody></table>

{% hint style="info" %}
These flows are managed internally by cegedim.cloud and do not require any action from the customer.
{% endhint %}

### Modules installed <a href="#sqlserverarchitecture-modulesinstalled" id="sqlserverarchitecture-modulesinstalled"></a>

List of modules installed by default during provisioning:

* Database engine
* Replication
* Client tools connectivity and SDK, on SQL Server 2016 to 2019 only

Full-Text Search, Integration Services, Analysis Services and Reporting Services are optional add-ons you can select at order time — see the Features table below.

### Features <a href="#sqlserverarchitecture-features" id="sqlserverarchitecture-features"></a>

This section is to list which feature / capabilities are available to customer, and how to request / perform them:

<table data-header-hidden><thead><tr><th width="157"></th><th></th></tr></thead><tbody><tr><td><strong>Self-service</strong></td><td>Customer can perform action autonomously.</td></tr><tr><td><strong>On Request</strong></td><td>Customer can request for the action to be done to cegedim.cloud support team.</td></tr></tbody></table>

<table><thead><tr><th width="217">Features</th><th width="139" data-type="checkbox">Self-service</th><th width="144" data-type="checkbox">On Request</th><th>Comments</th></tr></thead><tbody><tr><td>Database Collation</td><td>true</td><td>false</td><td><br></td></tr><tr><td>Integration Services</td><td>true</td><td>true</td><td><br></td></tr><tr><td>Analysis Services</td><td>true</td><td>true</td><td><br></td></tr><tr><td>Reporting Services</td><td>true</td><td>true</td><td><br></td></tr><tr><td>Full-Text Search</td><td>true</td><td>true</td><td><br></td></tr><tr><td>Export, Import SQL Server backup</td><td>false</td><td>true</td><td><br></td></tr><tr><td>Create Always On cluster</td><td>true</td><td>true</td><td>Available for SQL Server 2019 to 2022, consult your service delivery manager for guidance</td></tr><tr><td>Encryption in transit (TLS)</td><td>true</td><td>false</td><td>Available for SQL Server 2019 and above</td></tr></tbody></table>

## Backup <a href="#sqlserverarchitecture-backup" id="sqlserverarchitecture-backup"></a>

If backup is enabled during provisioning, an SLA policy is assigned to the SQL Server instance (and, for Always On clusters, to the Availability Group and its fileset) on our backup infrastructure.

* Standalone instances and Always On clusters are backed up the same way, through the cegedim.cloud backup platform.
* The SLA policy determines the backup frequency and retention; it can be adjusted on request — consult your service delivery manager for guidance.
* Backup can be disabled at provisioning time; a justification is then required.

## Monitoring <a href="#sqlserverarchitecture-monitoring" id="sqlserverarchitecture-monitoring"></a>

As part of our Managed Databases offer, SQL Server is specifically monitored on top of the underlying system to ensure service uptime and performance.

The following key SQL Server indicators are monitored and tracked:

* Connectivity and connection response time
* Always On Availability Group health and replica synchronization state (Always On clusters only)
* Database status (online / suspect / offline / recovery pending)
* SQL Server Agent job failures
* Disk and transaction log space
* Blocked sessions and deadlocks
* Failed login attempts
* TLS certificate validity and unencrypted connections (if TLS is enabled)

## Security <a href="#sqlserverarchitecture-security" id="sqlserverarchitecture-security"></a>

### System login <a href="#sqlserverarchitecture-systemlogin" id="sqlserverarchitecture-systemlogin"></a>

The SQL Server PaaS runs exclusively in a Windows environment. The standard system login method is RDP (Remote Desktop Protocol).

In order to connect to the virtual machine, you need to have the required privileges either at the domain level or at the local machine level.

### Instance login <a href="#sqlserverarchitecture-instancelogin" id="sqlserverarchitecture-instancelogin"></a>

Authentication is configured by default in **mixed mode** which provides two login types:

* **SQL Server login**: instance level
* **Active directory user**: domain level - Embedded Windows authentication

Instance login is available locally or remotely:

* **Locally**: once connected in RDP, launch the local SQL Server Management Studio
* **Remotely**: launch the SQL Server Management Studio and specify the target instance

#### Locally <a href="#sqlserverarchitecture-locally" id="sqlserverarchitecture-locally"></a>

SSMS can use the Windows user credentials you're already logged with through RDP to login to the SQL Server instance.

Authentication with an SQL login is also possible locally.

#### Remotely <a href="#sqlserverarchitecture-remotely" id="sqlserverarchitecture-remotely"></a>

Specify a target instance in the server name field enforcing the tcp protocol: `tcp:HOSTNAME\INSTANCENAME`

Just select **"SQL Server Authentication"** and provide the SQL Login with the associated password.

### Authorizations

Authorizations for cegedim.cloud teams are managed by GPO.

### Authorization and passwords <a href="#sqlserverarchitecture-authorizationandpasswords" id="sqlserverarchitecture-authorizationandpasswords"></a>

This section list the password management for the SQL Server PaaS:

<table><thead><tr><th width="221">Password</th><th width="230" data-type="checkbox">Stored by cegedim.cloud</th><th width="191" data-type="checkbox">Stored by Customer</th><th data-type="checkbox">Enforced</th></tr></thead><tbody><tr><td><strong>admin</strong> account (your <code>sa_&#x3C;farm_name></code> sysadmin login)</td><td>false</td><td>true</td><td>true</td></tr><tr><td><strong>ANY</strong> other account you create yourself</td><td>false</td><td>true</td><td>true</td></tr><tr><td><strong>sa</strong> account (built-in SQL Server admin)</td><td>true</td><td>false</td><td>true</td></tr><tr><td><strong>monitoring</strong> account (<code>App_Monitoring</code>)</td><td>true</td><td>false</td><td>false</td></tr></tbody></table>

#### Customers

Authorizations for customers are managed by the customers itself.

The customer that request a **SQL Server** instance through **ITCare** will be automatically granted to connect on the instance, through a dedicated SQL Server login named **`sa_<farm_name>`**, which holds the server-level **sysadmin** role. He can grant access to any Active Directory user or group afterwards.

{% hint style="warning" %}
There is currently no self-service or automated way to provision a separate, restricted-access account for a third party (for example, a database editor or software vendor working on your data). If you need to grant access to a third party without sharing your `sa_<farm_name>` sysadmin login, you can create a dedicated SQL Server login yourself and scope its permissions to only what is required — see [SQL Server - Get started](https://academy.cegedim.cloud/databases/sql-server/sql-server-get-started.md) for the T-SQL commands to do so.
{% endhint %}

### Encryption <a href="#sqlserverarchitecture-encryption" id="sqlserverarchitecture-encryption"></a>

Encryption in transit (TLS) is available in self-service.

#### Encryption in transit (TLS) <a href="#sqlserverarchitecture-encryption-tls" id="sqlserverarchitecture-encryption-tls"></a>

Encryption in transit (TLS) encrypts the network traffic between clients (applications, SQL Server Management Studio, monitoring tools) and the SQL Server instance. Without it, connections default to an unencrypted mode.

* Available for **SQL Server 2019 and above** (not supported on SQL Server 2016 due to deprecated cryptographic algorithms).
* Certificates are automatically issued and renewed by cegedim.cloud's internal Certificate Authority, no action is required from the customer for certificate issuance itself.
* Encryption is negotiated on the same SQL Server listener port (1433), no additional port is opened.
* Connection encryption status and certificate expiration are monitored by the cegedim.cloud monitoring platform.

{% hint style="warning" %}
Enabling TLS on the instance guarantees that network traffic is encrypted. It does not, by itself, guarantee that your client validates the identity of the server; this depends on how your application or tool is configured to connect:

* Configure your connection string or client tool to **require encryption** (e.g. `Encrypt=Mandatory` / `Encrypt=True`) and to **validate the server certificate** (e.g. `TrustServerCertificate=False`). Disabling certificate validation still encrypts the traffic but removes protection against a server impersonation (man-in-the-middle) attack.
* If your client is **not joined to the cegedim.cloud Active Directory domain** (e.g. Linux servers, applications hosted outside cegedim.cloud), your system or driver needs to trust cegedim.cloud's internal Certificate Authority to validate the certificate. Contact your service delivery manager to obtain the CA public certificate.
* Clients joined to the cegedim.cloud domain trust this Certificate Authority automatically and require no additional configuration on this point.
  {% endhint %}

### Patching <a href="#sqlserverarchitecture-patching" id="sqlserverarchitecture-patching"></a>

* **Operating System (Windows Server)**: patches are installed automatically during **"Patch parties"** managed by cegedim.cloud every quarter. A patch can be applied manually outside of this cycle, exceptionally, if security or bug fixes require it.
* **SQL Server (Cumulative Updates)**: patching the SQL Server engine is **the customer's responsibility to request** and is not included in Patch parties. It must be requested through a request ticket — see [SQL Server - Upgrade](https://academy.cegedim.cloud/databases/sql-server/sql-server-upgrade.md).

### Data location <a href="#sqlserverarchitecture-datalocation" id="sqlserverarchitecture-datalocation"></a>

Datas for cegedim.cloud's SQL Server PaaS are stored on the dedicated virtual machines created upon requesting a PaaS.

These virtual machines and the storage associated are hosted and managed in cegedim.cloud's own data centers.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.cegedim.cloud/databases/sql-server/sql-server-features.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
