SlideShare a Scribd company logo
•      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

More Related Content

Similar to 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 Action
Joram Barrez
 
Ncm2010 ruo ando
Ncm2010 ruo andoNcm2010 ruo ando
Ncm2010 ruo ando
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
Paolo Negri
 
Snapmirror Design
Snapmirror DesignSnapmirror Design
Snapmirror Design
OkieUnix
 
Rocket Fuelled Cucumbers
Rocket Fuelled CucumbersRocket Fuelled Cucumbers
Rocket Fuelled Cucumbers
Joseph Wilk
 
The Berkshelf Way
The Berkshelf WayThe Berkshelf Way
The Berkshelf Way
Chef Software, Inc.
 
Pinto+Stratopan+Love
Pinto+Stratopan+LovePinto+Stratopan+Love
Pinto+Stratopan+Love
Jeffrey Ryan Thalhammer
 
Ansible 實戰:top down 觀點
Ansible 實戰:top down 觀點Ansible 實戰:top down 觀點
Ansible 實戰:top down 觀點
William Yeh
 
Configure Switch Nortel 8600
Configure Switch Nortel 8600Configure Switch Nortel 8600
Configure Switch Nortel 8600
ELI KENDEL אלי קנדל
 
Migrating to Puppet 5
Migrating to Puppet 5Migrating to Puppet 5
Migrating to Puppet 5
Kris Buytaert
 
Moving to Git
Moving to GitMoving to Git
Moving to Git
Tim Moore
 
Shipping python project by docker
Shipping python project by dockerShipping python project by docker
Shipping python project by docker
Wei-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 needs
Kris 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 Service
SUSE 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 Storytime
SergeyChernyshev
 
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 prediction
rinnocente
 
Repositories as Code
Repositories as CodeRepositories as Code
Repositories as Code
Kris Buytaert
 
Infrastructure as Data with Ansible
Infrastructure as Data with AnsibleInfrastructure as Data with Ansible
Infrastructure as Data with Ansible
Carlo 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
 

Similar to 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...
 

More from guiyingshenxia

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

More from guiyingshenxia (8)

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

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