From 2950d7b4b36809833a6dff14eed1bd5fc1b99b28 Mon Sep 17 00:00:00 2001 From: MikeBirnstiehl Date: Thu, 14 Mar 2019 11:15:04 +0100 Subject: [PATCH] DOCS remove support for 32 bit systems --- .../src/pages/requirements/requirements.md | 1 + .../sonar-docs/src/pages/setup/install-server.md | 2 +- .../sonar-docs/src/pages/setup/operate-server.md | 16 ++++------------ 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/server/sonar-docs/src/pages/requirements/requirements.md b/server/sonar-docs/src/pages/requirements/requirements.md index f89a7e80f46..78ab63e823e 100644 --- a/server/sonar-docs/src/pages/requirements/requirements.md +++ b/server/sonar-docs/src/pages/requirements/requirements.md @@ -13,6 +13,7 @@ The only prerequisite for running SonarQube is to have Java (Oracle JRE 8 or Ope 1. A small-scale (individual or small team) instance of the SonarQube server requires at least 2GB of RAM to run efficiently and 1GB of free RAM for the OS. If you are installing an instance for a large teams or Enterprise, please consider the additional recommendations below. 2. The amount of disk space you need will depend on how much code you analyze with SonarQube. As an example, [SonarCloud](https://sonarcloud.io) the public instance of SonarQube, has more than 350 million lines of code under analysis with 5 years of history. SonarCloud is currently running on clustered [Amazon EC2 m5.large](http://aws.amazon.com/ec2/instance-types/) instances with allocations of 50 Gb of drive space per node. It handles 19,000+ projects with roughly 14M open issues. SonarCloud runs on PostgreSQL 9.5 and it is using about 250Gb of disk space for the database. 3. SonarQube must be installed on hard drives that have excellent read & write performance. Most importantly, the "data" folder houses the Elasticsearch indices on which a huge amount of I/O will be done when the server is up and running. Great read & write hard drive performance will therefore have a great impact on the overall SonarQube server performance. +4. SonarQube does not support 32-bit systems on the server side. 32-bit systems are supported on the scanner side. ### Enterprise Hardware Recommendations For large teams or Enterprise-scale installations of SonarQube, additional hardware is required. At the Enterprise level, monitoring your SonarQube instance/instance-administration/java-process-memory is essential and should guide further hardware upgrades as your instance grows. A starting configuration should include at least: diff --git a/server/sonar-docs/src/pages/setup/install-server.md b/server/sonar-docs/src/pages/setup/install-server.md index 8a6c18a971d..ee7f185c6b6 100644 --- a/server/sonar-docs/src/pages/setup/install-server.md +++ b/server/sonar-docs/src/pages/setup/install-server.md @@ -27,7 +27,7 @@ Example of query to update `is_read_committed_snapshot_on`: ALTER DATABASE YourSonarQubeDatabase SET READ_COMMITTED_SNAPSHOT ON WITH ROLLBACK IMMEDIATE; ``` -If you want to use integrated security, you have to download the Microsoft SQL JDBC Driver 6.2 package from [https://www.microsoft.com/en-us/download/details.aspx?id=55539](https://www.microsoft.com/en-us/download/details.aspx?id=55539) and copy `sqljdbc_auth.dll` to any folder in your path. You should match the 32-bit or 64-bit version of the dll to the architecture of your server machine. If you are running the SonarQube as a windows service and want to use Integrated security, please make sure the Windows account under which the service is running has permission to connect your SQL Server. The account should have `db_owner` database role membership. Otherwise, if you are running the SonarQube server from a command prompt and want to use Integrated security, the user under which the command prompt is running should have `db_owner` database role membership. Also ensure that `sonar.jdbc.username` or `sonar.jdbc.password properties` are commented out, otherwise SonarQube will use SQL Authentication. +If you want to use integrated security, you have to download the Microsoft SQL JDBC Driver 6.2 package from [https://www.microsoft.com/en-us/download/details.aspx?id=55539](https://www.microsoft.com/en-us/download/details.aspx?id=55539) and copy `sqljdbc_auth.dll` to any folder in your path. You should use the 64-bit version of the dll to match the architecture of your server machine. If you are running the SonarQube as a windows service and want to use Integrated security, please make sure the Windows account under which the service is running has permission to connect your SQL Server. The account should have `db_owner` database role membership. Otherwise, if you are running the SonarQube server from a command prompt and want to use Integrated security, the user under which the command prompt is running should have `db_owner` database role membership. Also ensure that `sonar.jdbc.username` or `sonar.jdbc.password properties` are commented out, otherwise SonarQube will use SQL Authentication. ``` sonar.jdbc.url=jdbc:sqlserver://localhost;databaseName=sonar;integratedSecurity=true diff --git a/server/sonar-docs/src/pages/setup/operate-server.md b/server/sonar-docs/src/pages/setup/operate-server.md index c7a560ba541..35200d6f121 100644 --- a/server/sonar-docs/src/pages/setup/operate-server.md +++ b/server/sonar-docs/src/pages/setup/operate-server.md @@ -10,15 +10,15 @@ url: /setup/operate-server/ ### Install/uninstall NT service (may have to run these files via Run As Administrator): ``` -%SONARQUBE_HOME%/bin/windows-x86-32/InstallNTService.bat -%SONARQUBE_HOME%/bin/windows-x86-32/UninstallNTService.bat +%SONARQUBE_HOME%/bin/windows-x86-64/InstallNTService.bat +%SONARQUBE_HOME%/bin/windows-x86-64/UninstallNTService.bat ``` ### Start/stop the service: ``` -%SONARQUBE_HOME%/bin/windows-x86-32/StartNTService.bat -%SONARQUBE_HOME%/bin/windows-x86-32/StopNTService.bat +%SONARQUBE_HOME%/bin/windows-x86-64/StartNTService.bat +%SONARQUBE_HOME%/bin/windows-x86-64/StopNTService.bat ``` ## Running SonarQube as a Service on Linux with SystemD @@ -90,14 +90,6 @@ Create the file /etc/init.d/sonar with this content: /usr/bin/sonar $* ``` -Register SonarQube at boot time (Ubuntu, 32 bit): - -``` -sudo ln -s $SONAR_HOME/bin/linux-x86-32/sonar.sh /usr/bin/sonar -sudo chmod 755 /etc/init.d/sonar -sudo update-rc.d sonar defaults -``` - Register SonarQube at boot time (RedHat, CentOS, 64 bit): ``` -- 2.39.5