1
0

index.rst 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. ====================
  2. Introduction to Salt
  3. ====================
  4. .. rubric:: We’re not just talking about NaCl.
  5. The 30 second summary
  6. =====================
  7. Salt is:
  8. * a configuration management system, capable of maintaining remote nodes
  9. in defined states (for example, ensuring that specific packages are installed and
  10. specific services are running)
  11. * a distributed remote execution system used to execute commands and
  12. query data on remote nodes, either individually or by arbitrary
  13. selection criteria
  14. It was developed in order to bring the best solutions found in the
  15. world of remote execution together and make them better, faster, and more
  16. malleable. Salt accomplishes this through its ability to handle large loads of
  17. information, and not just dozens but hundreds and even thousands of individual
  18. servers quickly through a simple and manageable interface.
  19. Simplicity
  20. ==========
  21. Providing versatility between massive scale deployments and smaller systems may seem
  22. daunting, but Salt is very simple to set up and maintain, regardless of the
  23. size of the project. The architecture of Salt is designed to work with any
  24. number of servers, from a handful of local network systems to international
  25. deployments across different data centers. The topology is a simple
  26. server/client model with the needed functionality built into a single set of
  27. daemons. While the default configuration will work with little to no
  28. modification, Salt can be fine tuned to meet specific needs.
  29. Parallel execution
  30. ==================
  31. The core functions of Salt:
  32. * enable commands to remote systems to be called in parallel rather than serially
  33. * use a secure and encrypted protocol
  34. * use the smallest and fastest network payloads possible
  35. * provide a simple programming interface
  36. Salt also introduces more granular controls to the realm of remote
  37. execution, allowing systems to be targeted not just by hostname, but
  38. also by system properties.
  39. Builds on proven technology
  40. ===========================
  41. Salt takes advantage of a number of technologies and techniques. The
  42. networking layer is built with the excellent `ZeroMQ`_ networking
  43. library, so the Salt daemon includes a viable and transparent AMQ
  44. broker. Salt uses public keys for authentication with the master
  45. daemon, then uses faster `AES`_ encryption for payload communication;
  46. authentication and encryption are integral to Salt. Salt takes
  47. advantage of communication via `msgpack`_, enabling fast and light
  48. network traffic.
  49. .. _`ZeroMQ`: http://zeromq.org/
  50. .. _`msgpack`: http://msgpack.org/
  51. .. _`AES`: https://en.wikipedia.org/wiki/Advanced_Encryption_Standard
  52. Python client interface
  53. =======================
  54. In order to allow for simple expansion, Salt execution routines can be written
  55. as plain Python modules. The data collected from Salt executions can be sent
  56. back to the master server, or to any arbitrary program. Salt can be called from
  57. a simple Python API, or from the command line, so that Salt can be used to
  58. execute one-off commands as well as operate as an integral part of a larger
  59. application.
  60. Fast, flexible, scalable
  61. ========================
  62. The result is a system that can execute commands at high speed on
  63. target server groups ranging from one to very many servers. Salt is
  64. very fast, easy to set up, amazingly malleable and provides a single
  65. remote execution architecture that can manage the diverse
  66. requirements of any number of servers. The Salt infrastructure
  67. brings together the best of the remote execution world, amplifies its
  68. capabilities and expands its range, resulting in a system that is as
  69. versatile as it is practical, suitable for any network.
  70. Open
  71. ====
  72. Salt is developed under the `Apache 2.0 license`_, and can be used for
  73. open and proprietary projects. Please submit your expansions back to
  74. the Salt project so that we can all benefit together as Salt grows.
  75. Please feel free to sprinkle Salt around your systems and let the
  76. deliciousness come forth.
  77. .. _`Apache 2.0 license`: http://www.apache.org/licenses/LICENSE-2.0.html