summaryrefslogtreecommitdiffstats
path: root/node-maintainer/README.md
blob: eb7ec53bdaf33835124e9e74254b914c85bcf3a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Node Admin Maintenance

Executes maintenance jobs, such as deleting old logs, processing and reporting coredumps, on behalf of node-admin. 
Node admin maintenance runs as a separate JVM from node-admin to make it possible to run it as root if needed.

## Node Verification
Node verification for both hardware and spec. Hardware is verified by performing different benchmarking tasks, 
while spec is verified by comparing information reported by the OS with the spec from node repository.

### Execute examples
Spec verification and hardware benchmarks can both be executed with and without config server host name as parameter 
(if called without parameters it will use yinst to retrieve the host name):

SpecVerifier:
- sudo java -cp node-maintainer-jar-with-dependencies.jar com.yahoo.vespa.hosted.node.verification.spec.SpecVerifier
- sudo java -cp node-maintainer-jar-with-dependencies.jar com.yahoo.vespa.hosted.node.verification.spec.SpecVerifier cfg.1.hostname,cfg.2.hostname,...

HardwareBenchmarker:
- sudo java -cp node-maintainer-jar-with-dependencies.jar com.yahoo.vespa.hosted.node.verification.hardware.HardwareBenchmarker
- sudo java -cp node-maintainer-jar-with-dependencies.jar com.yahoo.vespa.hosted.node.verification.hardware.HardwareBenchmarker cfg.1.hostname,cfg.2.hostname,...

Both programs have README explaining closer what it does.