SonarScanner Deployment Architecture Question--

Sonar-Scanner Architecture: As part of the SonarQube deployment, where is the “sonar-scanner” client installed on? Can it be installed on the SonarQube server, or is it installed on the code server directly …or near the code server with an NFS or SMB mount to the code repositories?

I’m in need of setting up a Perforce p4web code scan (sonarqube 6.7.6 LTS), and was setting it up in this manner:

[SonarQube Server v6.7.6(VM)] <- [sonar-scanner v4.2 (VM)] -> NSF Mount -> [p4web depot]

Is this roughly the correct path for a p4 code scan setup?