Run diagnostic checks in parallel across multiple servers in a manifest.
Create a manifest file for the server you want to check. We advise generating the file programitcally.
---
servers:
- name: fsdb-1.infra.example.com
categories:
- gluster
- fs
- mysql_cluster
- db
port: 22
username: tux
In this example we are assigning four categories to the server. Sof when executed will run all plugins associated with those categories.
Then run sof with the manifest above
bin/sof check-server -m ./manifest.yml
To run the tests, use rake (or rspec).
rake
# Unit tests only
rake spec:unit
# System tests only
# Requires SSH agent that allows localhost SSH
rake spec:system
# Specific tests
rspec spec/sof/manifest_spec.rb