SlideShare une entreprise Scribd logo
1  sur  67
Télécharger pour lire hors ligne
•      2007
•          B2C
• www.okbuy.com
•        python
•        (<10     )
•        Linux        BSD
• Dell    Redhat
•   MAC
•         IP
•
• ssh+koan/
•     kernel/initrd   grub
• reboot
• koan/kvm
• cobbler    RAM/CPU/DISK
•     xen/vmware
•
•           /
•
•
•
• ... ...
puppet
               puppet

               puppet

               puppet
      puppet
      maser    puppet

               puppet
CA

               puppet
soft repo
pp
     pp master   pp master
soft repo
pp
     pp master   pp master

           1
2




                             soft repo
pp
     pp master   pp master

           1
2




               3



                               soft repo
pp
     pp master     pp master

           1
2                       4




               3



                                   soft repo
pp
     pp master     pp master

           1
soft repo
pp
     pp master   pp master
1               repo




                                 soft repo
pp
     pp master   pp master
2

                             1               repo




                                 soft repo
pp
     pp master   pp master
2

                             1               repo




             3



                                 soft repo
pp
     pp master   pp master
4
       2

                                 1               repo




             3



                                     soft repo
pp
     pp master   pp master
soft repo
pp
     pp master   pp master
soft repo
pp
     pp master   pp master

         1
2




                             soft repo
pp
     pp master   pp master

           1
2




               3



                               soft repo
pp
     pp master     pp master

           1
4
       2




               3



                                   soft repo
pp
     pp master         pp master

           1
pp
     pp master   pp master
pp
     pp master   pp master

           1
2




pp
     pp master   pp master

           1
2




               3




pp
     pp master     pp master

           1
4
       2




               3




pp
     pp master         pp master

           1
pp
     pp master   pp master
pp
     pp master   pp master

           1
pp                           2   pp master

     pp master   pp master

           1
2




pp                           2   pp master

     pp master   pp master

           1
2




               3




pp                             2   pp master

     pp master     pp master

           1
2
                   4




               3




pp                             2   pp master

     pp master     pp master

           1
pp master   pp master


cobbler          pp               subversion
IP/     /




                pp master   pp master


      cobbler          pp               subversion
IP/     /                   /   /




                pp master           pp master


      cobbler          pp                       subversion
IP/     /                   /   /




                pp master           pp master


      cobbler          pp                       subversion
10




IP/     /                   /   /




                pp master           pp master


      cobbler          pp                       subversion
•
•
•
•
Puppet

                nginx                                               nginx


mongrel   mongrel   mongrel   mongrel                mongrel   mongrel   mongrel   mongrel


          puppet master                                        puppet master




                              SVN             puppet master




          SVN                           subversion
Puppet


• cfengine/chef
• google/twitter/zynga
Capistrano


• ruby gem
•
•
subversion
1   SVN




          subversion
2




    1   SVN




              subversion
code...
                    201106190
                      01122
                                 config

                    201106180
deploy   releases
                      01122

                    201106170
                      01122




         shared      system     config.inc
code...
                    201106190
                      01122
                                 config

                    201106180
deploy   releases
                      01122

                    201106170
                      01122




         current




         shared      system     config.inc
code...
                    201106190
                      01122
                                 config

                    201106180
deploy   releases
                      01122

                    201106170
                      01122




         current




         shared      system     config.inc
code...
                    201106190
                      01122
                                 config

                    201106180
deploy   releases
                      01122

                    201106170
                      01122




         current




         shared      system     config.inc
code...
                    201106190
                      01122
                                 config      config.inc

                    201106180
deploy   releases
                      01122

                    201106170
                      01122




         current




         shared      system     config.inc
code...
                    201106190
                      01122
                                 config      config.inc

                    201106180
deploy   releases
                      01122

                    201106170
                      01122




         current




         shared      system     config.inc
code...
                    201106190
                      01122
                                 config      config.inc

                    201106180
deploy   releases
                      01122

                    201106170
                      01122




         current




         shared      system     config.inc
ganglia


•
•
•
ganglia
nagios


•   ganglia
•
•
(zookeeper)   cmdb
•   weibo @

•   blog.sina.com.cn/lixiaohong

•   twitter: @lixiaohong

Contenu connexe

Similaire à Okbuy 李小红 好乐买自动化运维实践

Devoxx 2009 University session Jbpm4 In Action
Devoxx 2009 University session Jbpm4 In ActionDevoxx 2009 University session Jbpm4 In Action
Devoxx 2009 University session Jbpm4 In ActionJoram Barrez
 
Ncm2010 ruo ando
Ncm2010 ruo andoNcm2010 ruo ando
Ncm2010 ruo andoRuo Ando
 
RabbitMQ with python and ruby RuPy 2009
RabbitMQ with python and ruby RuPy 2009RabbitMQ with python and ruby RuPy 2009
RabbitMQ with python and ruby RuPy 2009Paolo Negri
 
Snapmirror Design
Snapmirror DesignSnapmirror Design
Snapmirror DesignOkieUnix
 
Rocket Fuelled Cucumbers
Rocket Fuelled CucumbersRocket Fuelled Cucumbers
Rocket Fuelled CucumbersJoseph Wilk
 
Ansible 實戰:top down 觀點
Ansible 實戰:top down 觀點Ansible 實戰:top down 觀點
Ansible 實戰:top down 觀點William Yeh
 
Migrating to Puppet 5
Migrating to Puppet 5Migrating to Puppet 5
Migrating to Puppet 5Kris Buytaert
 
Moving to Git
Moving to GitMoving to Git
Moving to GitTim Moore
 
Shipping python project by docker
Shipping python project by dockerShipping python project by docker
Shipping python project by dockerWei-Ting Kuo
 
When traditional configuration management is to slow for your needs
When traditional configuration management is to slow for your needsWhen traditional configuration management is to slow for your needs
When traditional configuration management is to slow for your needsKris Buytaert
 
Develop and Maintain a Distro with Open Build Service
Develop and Maintain a Distro with Open Build ServiceDevelop and Maintain a Distro with Open Build Service
Develop and Maintain a Distro with Open Build ServiceSUSE Labs Taipei
 
Behind the Scenes at LiveJournal: Scaling Storytime
Behind the Scenes at LiveJournal: Scaling StorytimeBehind the Scenes at LiveJournal: Scaling Storytime
Behind the Scenes at LiveJournal: Scaling StorytimeSergeyChernyshev
 
XebiCon'18 - Boostez vos modèles avec du Deep Learning distribué
XebiCon'18 - Boostez vos modèles avec du Deep Learning distribuéXebiCon'18 - Boostez vos modèles avec du Deep Learning distribué
XebiCon'18 - Boostez vos modèles avec du Deep Learning distribuéPublicis Sapient Engineering
 
Comp architecture : branch prediction
Comp architecture : branch predictionComp architecture : branch prediction
Comp architecture : branch predictionrinnocente
 
Repositories as Code
Repositories as CodeRepositories as Code
Repositories as CodeKris Buytaert
 
Infrastructure as Data with Ansible
Infrastructure as Data with AnsibleInfrastructure as Data with Ansible
Infrastructure as Data with AnsibleCarlo Bonamico
 
Infrastructure as data with Ansible: systems and cloud deployment and managem...
Infrastructure as data with Ansible: systems and cloud deployment and managem...Infrastructure as data with Ansible: systems and cloud deployment and managem...
Infrastructure as data with Ansible: systems and cloud deployment and managem...Codemotion
 

Similaire à Okbuy 李小红 好乐买自动化运维实践 (20)

Devoxx 2009 University session Jbpm4 In Action
Devoxx 2009 University session Jbpm4 In ActionDevoxx 2009 University session Jbpm4 In Action
Devoxx 2009 University session Jbpm4 In Action
 
Ncm2010 ruo ando
Ncm2010 ruo andoNcm2010 ruo ando
Ncm2010 ruo ando
 
RabbitMQ with python and ruby RuPy 2009
RabbitMQ with python and ruby RuPy 2009RabbitMQ with python and ruby RuPy 2009
RabbitMQ with python and ruby RuPy 2009
 
Snapmirror Design
Snapmirror DesignSnapmirror Design
Snapmirror Design
 
Rocket Fuelled Cucumbers
Rocket Fuelled CucumbersRocket Fuelled Cucumbers
Rocket Fuelled Cucumbers
 
The Berkshelf Way
The Berkshelf WayThe Berkshelf Way
The Berkshelf Way
 
Pinto+Stratopan+Love
Pinto+Stratopan+LovePinto+Stratopan+Love
Pinto+Stratopan+Love
 
Ansible 實戰:top down 觀點
Ansible 實戰:top down 觀點Ansible 實戰:top down 觀點
Ansible 實戰:top down 觀點
 
Configure Switch Nortel 8600
Configure Switch Nortel 8600Configure Switch Nortel 8600
Configure Switch Nortel 8600
 
Migrating to Puppet 5
Migrating to Puppet 5Migrating to Puppet 5
Migrating to Puppet 5
 
Moving to Git
Moving to GitMoving to Git
Moving to Git
 
Shipping python project by docker
Shipping python project by dockerShipping python project by docker
Shipping python project by docker
 
When traditional configuration management is to slow for your needs
When traditional configuration management is to slow for your needsWhen traditional configuration management is to slow for your needs
When traditional configuration management is to slow for your needs
 
Develop and Maintain a Distro with Open Build Service
Develop and Maintain a Distro with Open Build ServiceDevelop and Maintain a Distro with Open Build Service
Develop and Maintain a Distro with Open Build Service
 
Behind the Scenes at LiveJournal: Scaling Storytime
Behind the Scenes at LiveJournal: Scaling StorytimeBehind the Scenes at LiveJournal: Scaling Storytime
Behind the Scenes at LiveJournal: Scaling Storytime
 
XebiCon'18 - Boostez vos modèles avec du Deep Learning distribué
XebiCon'18 - Boostez vos modèles avec du Deep Learning distribuéXebiCon'18 - Boostez vos modèles avec du Deep Learning distribué
XebiCon'18 - Boostez vos modèles avec du Deep Learning distribué
 
Comp architecture : branch prediction
Comp architecture : branch predictionComp architecture : branch prediction
Comp architecture : branch prediction
 
Repositories as Code
Repositories as CodeRepositories as Code
Repositories as Code
 
Infrastructure as Data with Ansible
Infrastructure as Data with AnsibleInfrastructure as Data with Ansible
Infrastructure as Data with Ansible
 
Infrastructure as data with Ansible: systems and cloud deployment and managem...
Infrastructure as data with Ansible: systems and cloud deployment and managem...Infrastructure as data with Ansible: systems and cloud deployment and managem...
Infrastructure as data with Ansible: systems and cloud deployment and managem...
 

Plus de guiyingshenxia

新浪 李晓栋 非商业网络设备的新浪应用之路
新浪 李晓栋 非商业网络设备的新浪应用之路新浪 李晓栋 非商业网络设备的新浪应用之路
新浪 李晓栋 非商业网络设备的新浪应用之路guiyingshenxia
 
华为 余洲 定制化服务器
华为 余洲 定制化服务器华为 余洲 定制化服务器
华为 余洲 定制化服务器guiyingshenxia
 
百度 刘宁 系统也智慧
百度 刘宁 系统也智慧百度 刘宁 系统也智慧
百度 刘宁 系统也智慧guiyingshenxia
 
阿里云 张旭 集群运维管理平台
阿里云 张旭 集群运维管理平台阿里云 张旭 集群运维管理平台
阿里云 张旭 集群运维管理平台guiyingshenxia
 
阿里巴巴 叶正盛 数据库性能量化
阿里巴巴 叶正盛 数据库性能量化阿里巴巴 叶正盛 数据库性能量化
阿里巴巴 叶正盛 数据库性能量化guiyingshenxia
 
阿里巴巴 林钰 网站存储经验谈
阿里巴巴 林钰 网站存储经验谈阿里巴巴 林钰 网站存储经验谈
阿里巴巴 林钰 网站存储经验谈guiyingshenxia
 
Cisco 刘洋 从“路由”回归“交换”
Cisco 刘洋 从“路由”回归“交换”Cisco 刘洋 从“路由”回归“交换”
Cisco 刘洋 从“路由”回归“交换”guiyingshenxia
 
淘宝 任卿 打造高效能的Cdn系统
淘宝 任卿 打造高效能的Cdn系统淘宝 任卿 打造高效能的Cdn系统
淘宝 任卿 打造高效能的Cdn系统guiyingshenxia
 

Plus de guiyingshenxia (8)

新浪 李晓栋 非商业网络设备的新浪应用之路
新浪 李晓栋 非商业网络设备的新浪应用之路新浪 李晓栋 非商业网络设备的新浪应用之路
新浪 李晓栋 非商业网络设备的新浪应用之路
 
华为 余洲 定制化服务器
华为 余洲 定制化服务器华为 余洲 定制化服务器
华为 余洲 定制化服务器
 
百度 刘宁 系统也智慧
百度 刘宁 系统也智慧百度 刘宁 系统也智慧
百度 刘宁 系统也智慧
 
阿里云 张旭 集群运维管理平台
阿里云 张旭 集群运维管理平台阿里云 张旭 集群运维管理平台
阿里云 张旭 集群运维管理平台
 
阿里巴巴 叶正盛 数据库性能量化
阿里巴巴 叶正盛 数据库性能量化阿里巴巴 叶正盛 数据库性能量化
阿里巴巴 叶正盛 数据库性能量化
 
阿里巴巴 林钰 网站存储经验谈
阿里巴巴 林钰 网站存储经验谈阿里巴巴 林钰 网站存储经验谈
阿里巴巴 林钰 网站存储经验谈
 
Cisco 刘洋 从“路由”回归“交换”
Cisco 刘洋 从“路由”回归“交换”Cisco 刘洋 从“路由”回归“交换”
Cisco 刘洋 从“路由”回归“交换”
 
淘宝 任卿 打造高效能的Cdn系统
淘宝 任卿 打造高效能的Cdn系统淘宝 任卿 打造高效能的Cdn系统
淘宝 任卿 打造高效能的Cdn系统
 

Dernier

南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证kbdhl05e
 
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...JeylaisaManabat1
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan
 
E J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxE J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxJackieSparrow3
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)oannq
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxShubham Rawat
 

Dernier (6)

南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证
 
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
 
E J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxE J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptx
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptx
 

Okbuy 李小红 好乐买自动化运维实践

  • 1.
  • 2.
  • 3. 2007 • B2C • www.okbuy.com
  • 4.
  • 5.
  • 6.
  • 7. python • (<10 ) • Linux BSD • Dell Redhat
  • 8. MAC • IP •
  • 9.
  • 10. • ssh+koan/ • kernel/initrd grub • reboot
  • 11. • koan/kvm • cobbler RAM/CPU/DISK • xen/vmware
  • 12. • • / • • • • ... ...
  • 13.
  • 14. puppet puppet puppet puppet puppet maser puppet puppet CA puppet
  • 15. soft repo pp pp master pp master
  • 16. soft repo pp pp master pp master 1
  • 17. 2 soft repo pp pp master pp master 1
  • 18. 2 3 soft repo pp pp master pp master 1
  • 19. 2 4 3 soft repo pp pp master pp master 1
  • 20. soft repo pp pp master pp master
  • 21. 1 repo soft repo pp pp master pp master
  • 22. 2 1 repo soft repo pp pp master pp master
  • 23. 2 1 repo 3 soft repo pp pp master pp master
  • 24. 4 2 1 repo 3 soft repo pp pp master pp master
  • 25. soft repo pp pp master pp master
  • 26. soft repo pp pp master pp master 1
  • 27. 2 soft repo pp pp master pp master 1
  • 28. 2 3 soft repo pp pp master pp master 1
  • 29. 4 2 3 soft repo pp pp master pp master 1
  • 30. pp pp master pp master
  • 31. pp pp master pp master 1
  • 32. 2 pp pp master pp master 1
  • 33. 2 3 pp pp master pp master 1
  • 34. 4 2 3 pp pp master pp master 1
  • 35. pp pp master pp master
  • 36. pp pp master pp master 1
  • 37. pp 2 pp master pp master pp master 1
  • 38. 2 pp 2 pp master pp master pp master 1
  • 39. 2 3 pp 2 pp master pp master pp master 1
  • 40. 2 4 3 pp 2 pp master pp master pp master 1
  • 41. pp master pp master cobbler pp subversion
  • 42. IP/ / pp master pp master cobbler pp subversion
  • 43. IP/ / / / pp master pp master cobbler pp subversion
  • 44. IP/ / / / pp master pp master cobbler pp subversion
  • 45. 10 IP/ / / / pp master pp master cobbler pp subversion
  • 47. Puppet nginx nginx mongrel mongrel mongrel mongrel mongrel mongrel mongrel mongrel puppet master puppet master SVN puppet master SVN subversion
  • 51. 1 SVN subversion
  • 52. 2 1 SVN subversion
  • 53. code... 201106190 01122 config 201106180 deploy releases 01122 201106170 01122 shared system config.inc
  • 54. code... 201106190 01122 config 201106180 deploy releases 01122 201106170 01122 current shared system config.inc
  • 55. code... 201106190 01122 config 201106180 deploy releases 01122 201106170 01122 current shared system config.inc
  • 56. code... 201106190 01122 config 201106180 deploy releases 01122 201106170 01122 current shared system config.inc
  • 57. code... 201106190 01122 config config.inc 201106180 deploy releases 01122 201106170 01122 current shared system config.inc
  • 58. code... 201106190 01122 config config.inc 201106180 deploy releases 01122 201106170 01122 current shared system config.inc
  • 59. code... 201106190 01122 config config.inc 201106180 deploy releases 01122 201106170 01122 current shared system config.inc
  • 60.
  • 61.
  • 64.
  • 65. nagios • ganglia • •
  • 66. (zookeeper) cmdb
  • 67. weibo @ • blog.sina.com.cn/lixiaohong • twitter: @lixiaohong