# Mirroring Sites

Qommentary Mirroring architecture allows you to mirrow a Qommentary environment across multiple Qlik Sense sites. This way, commentary data can be shared and managed across all sites from any location.

In this type of architecture, there is a Central Node which acts as the single source of truth, and mirroring environments which communicate with the Central Node.

If you would like to mirror a Qommentary enviroment, please follow these steps:

## Mirror Node Setup

### Installation

1\. Launch **Qommentary Setup Wizard**

2\. Under Database section, uncheck "Install database server"

3\. Enter **Central Node** database details and test connection

4\. Continue installation as per [Installation guide](/getting-started/installation.md)

### Qlik Client Certificate

1\. Navigate to *QMC > Certificates* in **Central Node**

2\. Export certificates (include secret key)

3\. Copy certificates to **Mirrow Node**

4\. Install **client.pfx** certificate under *Local Computer > Personal* store

4\. Rename QlikClient friendly name to **QlikClient\_CentralNode**

### &#x20;Configuration

1\. Navigate to Qommentary installation location

2\. Open **Qommentary Engine** folder

3\. Edit **appsettings.json** with your favourite text editor

4\. Add the following code snippet to the root node:

```
"IsMirroringEnabled": true, 
"Mirroring": {
      "CentralNode": { 
            "Url": "https://<central-node-hostname>", 
            "CertificateFriendlyName": "<QlikClient_CentralNode_CertificateFriendlyName>" 
      }
} 
```

Your **appsettings.json** should now look like this:

![](/files/-MLqJoi5Ooe-mVC5zl8V)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledgebase.qommentary.com/platform-architecture/mirroring-sites.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
