This feature is available since Sonar 2.11.
In order to generate a ServerID for Sonar, you should log in as an admin and then go to configuration -Settings > Configuration > Global Settings - > Server ID.
From there follow the below procedure:.
|The 'Organisation' field must not contain any special characters (such as 'é', '/', etc.). Make sure to use only letters [A-Za-z], digits [0-9] and spaces.|