Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

A guided tour of machinery | openSUSE Conf 2016

162 views

Published on

As a Linux system administrator you are constantly working on tasks like:

- Cloning a system from an existing one
- Migrating a system to new hardware, a virtual environment or a different distribution
- Debugging a broken system
- Upgrading a system
- Integrating your systems into a configuration management tool

Determining and comparing the state of a system in order to work on these tasks is not a trivial thing. You have to know about services, packages, configuration files, etc. This proves to be even harder if one or more of your systems differ in version and/or distribution.

You can use Machinery to inspect your Linux systems and use the generated descriptions to be interpreted in an off-line fashion, giving you the ability to compare a system at different points in time or against another system. Peace of mind will be the result of knowing that you can ensure the resulting state of your system and many other types of analysis based on your system descriptions.

In this guided tour you will explore the basics of Machinery and see some examples in the wild. All from the safety of your seat. The focus will be on openSUSE systems but stay open to the use of any other distributions. Should you have any questions about Machinery your guide will be there for you at all times.

Published in: Internet
  • Be the first to comment

  • Be the first to like this

A guided tour of machinery | openSUSE Conf 2016

  1. 1. A Guided Tour of Machinery by @_MauroMorales
  2. 2. Map
  3. 3. 1.Inspect $ machinery inspect HOSTNAME
  4. 4. 1.Inspect system A system description A ssh system B system C system C system C system description B system description C system description C system description C Machinery
  5. 5. 2. Show $ machinery show SYSTEM
  6. 6. 2. Show ● OS ● Packages ● Patterns ● Repositories ● Users ● Groups ● Services ● Changes Config Files ● Changed Managed Files ● Unmanaged Files ● OS ● Packages ● Patterns ● Repositories ● Users ● Groups ● Services ● Changes Config Files ● Changed Managed Files ● Unmanaged Files System Description System
  7. 7. 2. Show - HTML view $ machinery show SYSTEM --html
  8. 8. 3. Inspect Docker Containers $ machinery inspect-container DOCKER_IMAGE_NAME
  9. 9. 3. Inspect Docker Containers Docker container system description A Docker exec Machinery Docker image A Docker run
  10. 10. 4. Compare $ machinery compare SYSTEM_A SYSTEM_B
  11. 11. 4. Compare ● Os ● Packages ● Patterns ● Repositories ● Users ● Groups ● Services ● Changes Config Files ● Changed Managed Files ● Unmanaged Files System Description A ● Os ● Packages ● Patterns ● Repositories ● Users ● Groups ● Services ● Changes Config Files ● Changed Managed Files ● Unmanaged Files System Description B
  12. 12. 4. Compare $ machinery compare SYSTEM_A SYSTEM_B --html
  13. 13. 4. Compare - Spot The Difference - Leap ⇔ Leap Docker - Leap ⇔ Leap Vagrant - Leap ⇔ Tumbleweed
  14. 14. 5. Export $ machinery export-kiwi --kiwi-dir SYSTEM $ machinery export-autoyast --autoyast-dir SYSTEM
  15. 15. 5. Export system description A Machinery Kiwi Autoyast
  16. 16. Machinery is a command line application for creating descriptions of Linux systems and working with them.
  17. 17. Use Cases - Quickly check state of a system - Configuration Management & Dockerfiles Validation - Tampered server - Failed migration
  18. 18. Questions?
  19. 19. Thanks! Home Page machinery-project.org Mailing List machinery@lists.suse.com Github github.com/SUSE/machinery Email mamorales@suse.com

×