Scripts for a Fleet: Strict Mode, Arrays and Honest Logging
Writing a check that runs across five servers and stops safely when something is wrong, with a timeout on every SSH and a line in the log at the end
Writing a check that runs across five servers and stops safely when something is wrong, with a timeout on every SSH and a line in the log at the end.
What it covers
- A Script That Hung on Server Three
- Functions, Loops and Logging
- Worked Example: The Fleet Check, Hardened
- Notes, and Scripting Standards
Sign in to open it.