Clarification on “analysis machine”: is this the machine that runs the scanner (e.g., the Maven plugin), or the SQ server itself (which does its own analysis after getting the upload from the scanner)? Or both?
You really don’t want to run a virus scanner on the SonarQube server either. They have a nasty habit of locking SonarQube out of its own files while SonarQube is trying to use them. It doesn’t go well.
Yeah, I don’t want… but other people do :(. Probably the best I can hope for is exclusion lists. Can you tell me where “its own files” are? Is that limited to everything under the SONAR_HOME root (the parent of the bin and conf directories)? (And same question for the scanner as well, which in our case is on a server running Jenkins and Maven.)
Yes, that will work, assuming you haven’t rehomed Elasticsearch to put its indices somewhere else. What you’re concerned with is, IIRC, the log files and the Elasticsearch files. Oh, and I think there’s a lock file in there somewhere too.