
Increase the reliability of your infrastructure!
Email hello@verticalsysadmin.com now to sign up.
Course length: 5 days
Who should attend this course:
Anyone with at least a basic knowledge of system administration interested in increasing operational efficiency and sys admin happiness.
Why you need to know about Automated System Administration?
Automation of system administration is the key to scalability. It helps not only in change management but also in knowledge management (documenting the intended state of your system and the reasons why it is configured that way). Automating your system administration is key to career progression from system administration to more interesting system engineering work.
Why CFEngine 3?
CFEngine is the granddaddy of policy-based configuration management systems, and Cfengine version 3 increases the power and flexibility of managing network-attached computers. Cfengine can operate in the widest variety of environments, from embedded sensors to supercomputers, from underwater to outer space. It can run on the widest range of operating systems and has the smallest resource footprint. Cfengine is a very powerful tool.
What you will take back to work:
A thorough grounding in automating system administration using CFEngine 3 and the ability to implement configuration policies on your systems. You will be able to automatedly handle and control files, processes, packages, and commands, all resulting in Correct and Known Configuration on your servers.
What this course covers:
- The History, Design Principles, and Philosophy of CFEngine:
- CFEngine 1: A configuration management language to handle different Unix systems
- CFEngine 2: Computer immunology and convergence to desired state
- CFEngine 3: The promise model
- Knowledge management is the key to scalability
- The importance of abstraction in knowledge management
- The Basic Grammar of CFEngine 3:
- Promises of desired system state
- Promise atributes
- Collections of promises
- Collections of promise attributes
- The CFEngine 3 Data Types and How to Use Them:
- Scalar variables: Strings, integers, and real numbers
- Lists of Scalars
- How to use Patterns in Promises to Describe Configuration Efficiently:
- Classifying servers to control when and where configuration promises apply using CFEngine “classes”
- Leveraging the power of regular expressions
- Using lists to drive action: add or remove users, install or delete packages, and so on.
- Re-using code by abstracting promise attributes into parameterizable promise bodies
- Re-using code by abstracting promise bundles into parameterizable methods
- Advanced CFEngine Topics
- Selecting files using simple and compound filters
- Selecting processes using simple and compound filters
- Configuring a CFEngine client-server ecosystem
- Generating reports; how CFEngine can help you audit and report compliance.
- Many Practical Examples and Exercises to Seed Your Policy Set.
This class includes exercises that will be performed using a provided VM.
Student Feedback.
I had been hitting a real roadblock with understanding the relationships between promises, bundles and bodies. I don’t know if it was from tunnel vision from CF2 or just general thick headedness, but for some reason things just weren’t clicking. For whatever reason, the mysterious glue that was keeping me from “getting it” showed up during the webinar. So for me, it was a huge benefit.
–Sean Johnson
The questions I had that I cannot get from the website nor forums have been answered. Moreover, having a expert teaching the product also helps a lot.
–Jerome Yanga, Systems Administrator at ESRI
The examples presented were easy to follow and provided me the chance to ask questions. You were very thorough about your explanation of various aspects of the CFEngine software and were always willing to go over things more as people had questions that they needed to ask.
–C.L.
Good attention to detail and making sure all points were understood.
–M.S.