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.

Debian meetup nantes 2015 : Salt pour gérer de nombreux serveurs debian

830 views

Published on

Présentation éclair effectué en octobre 2015 au meetup debian à Nantes.

Published in: Technology
  • Be the first to comment

Debian meetup nantes 2015 : Salt pour gérer de nombreux serveurs debian

  1. 1. DEBIAN MEETUP NANTES 2015
  2. 2. INTRODUCTION 2nd Debian Meetup Nantes - october 2015 Thanks Debian and Arthur Lutz ( ) #debianmeetup https://france.debian.net/ @arthurlutz @logilab https://www.logilab.fr/id/arthur.lutz http://slides.logilab.fr/2015/debian_meetup_salt_2015/
  3. 3. SALT INTRODUCTION remote execution configuration management system python (very flexible and extensible) event bus with ZMQ young project, very active community debian packaged from the start (official packages and )http://repo.saltstack.com/
  4. 4. SALT OVERVIEW CLIWeb SSH agent-less servers salt-master salt-minions returners salt-syndic salt-minions user salt-masterless
  5. 5. INSTALL WITH DEBIAN a p t - g e t i n s t a l l a p a c h e 2 v i m / e t c / a p a c h e 2 / a p a c h e 2 . c o n f v i m / e t c / a p a c h e 2 / s i t e s - e n a b l e d / d e f a u l t - s s l . c o n f s e r v i c e a p a c h e 2 r e s t a r t
  6. 6. INSTALL AT INFRASTRUCTURE LEVEL
  7. 7. UPGRADE / CHECKRESTART a p t - g e t u p d a t e ; a p t - g e t u p g r a d e a p t - g e t i n s t a l l d e b i a n - g o o d i e s c h e c k r e s t a r t s e r v i c e a p a c h e 2 r e s t a r t
  8. 8. UPGRADE / CHECKRESTART AT INFRASTRUCTURE LEVEL s a l t ' * ' c m d . r u n ' c h e c k r e s t a r t ' s a l t - I ' r o l e : w e b s e r v e r ' s e r v i c e . r e s t a r t a p a c h e 2 s a l t - I ' r o l e : d b ' s e r v i c e . r e s t a r t p o s t g r e s q l
  9. 9. CRON c r o n t a b - l c r o n t a b - e c r o n t a b - e - u u s e r c a t " * * * * * / b i n / e c h o ' h e l l o ' " > / e t c / c r o n . d / h e l l o _ w o r l d
  10. 10. CRON AT INFRASTRUCTURE LEVEL Scheduler s c h e d u l e : j o b 1 : f u n c t i o n : c m d . r u n s e c o n d s : 3 0 a r g s : - e c h o ' h e l l o ' s p l a y : 1 5
  11. 11. SUDO s u d o e d i t v i m / e t c / s u d o e r s . d / a l l o w _ t h i s
  12. 12. SUDO AT INFRASTRUCTURE LEVEL Access Control System c l i e n t _ a c l : a l i c e : - w e b * : - p k g . l i s t _ p k g s - a p a c h e . * b o b : - d b * : - p o s t g r e s . *
  13. 13. ORCHESTRATION s s h r o o t @ m a c h i n e 1 . . . s s h r o o t @ m a c h i n e 2 . . . s s h r o o t @ m a c h i n e 3 . . .
  14. 14. ORCHESTRATION AT INFRASTRUCTURE LEVEL Orchestration
  15. 15. REACTOR AT INFRASTRUCTURE LEVEL
  16. 16. THE END Questions ? Arthur Lutz ( )@arthurlutz @logilab https://www.logilab.fr/id/arthur.lutz http://slides.logilab.fr/2015/debian_meetup_salt_2015/

×