# Pre-installation steps

As a DCE subscriber, Sonar will assist with the setup and configuration of your cluster. Get in touch with your account manager to receive appropriate onboarding resources.

## Generating a JWT token <a href="#jwt-token" id="jwt-token"></a>

To keep user sessions alive during a restart, you will need to generate a JWT token that will be stored in each application node. See [jwt-token](https://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/pre-installation/jwt-token "mention").

## Configuring the search nodes to comply with Elasticsearch <a href="#configuring-search-nodes" id="configuring-search-nodes"></a>

Because SonarQube Server uses an embedded Elasticsearch, make sure that the configuration of your search nodes complies with the [Elasticsearch production mode requirements](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-prod-prerequisites) and [File Descriptors configuration](https://www.elastic.co/guide/en/elasticsearch/reference/current/file-descriptors.html). See the corresponding page:

* [linux](https://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/pre-installation/linux "mention")
* [macos](https://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/pre-installation/macos "mention")

## Various settings <a href="#various-settings" id="various-settings"></a>

You may have to perform additional steps on the cluster nodes depending on your environment. See:

* [linux](https://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/pre-installation/linux "mention")
* [unix](https://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/pre-installation/unix "mention")

## Related pages <a href="#related-pages" id="related-pages"></a>

* [dce-topology](https://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/data-center-edition/dce-topology "mention")
* [installation-requirements](https://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/data-center-edition/installation-requirements "mention")
* [from-zip-file](https://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/data-center-edition/from-zip-file "mention")
* [on-kubernetes-or-openshift](https://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/data-center-edition/on-kubernetes-or-openshift "mention")
* **Configuring network security features:**
  * [securing-behind-proxy](https://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/data-center-edition/network-security/securing-behind-proxy "mention")
  * [elasticsearch-security-features](https://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/data-center-edition/network-security/elasticsearch-security-features "mention")
  * [network-rules](https://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/data-center-edition/network-security/network-rules "mention")
* [starting-stopping-cluster](https://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/data-center-edition/starting-stopping-cluster "mention")


---

# 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://docs.sonarsource.com/sonarqube-server/2025.5/server-installation/data-center-edition/pre-installation.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.
