Can we merge SonarQube server and PostgreSQL server into one Linux VM?

Hi Team ,

We have SonarQube server and PostgreSQL server are on different ICDS Linux VMs, as details below

  1. SonarQube:version, 7.7.0.23042
  2. PostgreSQL:version, 10.23 after RHEL8 upgrade, previously is 10.7
  3. Scanner version, sonar-scanner-cli-3.2.0.1227-linux.zip

Can we merge SonarQube server and PostgreSQL server into one Linux VM ? Would be great help if you can guide us to proceed with this.

  1. Can keep current versions or need to upgrade SonarQube and PostgreSQL ?
  2. What resource of cpu, memory, disk space will require ?
    1. average cpu usage.
    2. average memory usage.
  3. What would estimate merge cost .
  4. How many days or hours of outage will require.
  5. How much cost can be saved after merge.

Thanks & Regards
Kamal K Sharma

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

7.7.0 → 7.9 → 8.9.10 → 9.9.6 → 10.6 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

Sonarqube should have it’s own dedicated VM.
This might help

Gilbert

Thanks for information. Have one confusion about “Sonarqube should have it’s own dedicated VM.”
for above SQ server should be in 1 VM, PostgreSQL should be in another separate VM ?

Thanks & Regards
Kamal k Sharma

Running the SQ server and database on one computer / VM is bad for performance.
Also think about maintenance, i.e. if the machine / VM needs a reboot, both Sonarqube and PostgreSQL are down.