O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Sim a Microsoft Utiliza OpenSource em DevOps!

495 visualizações

Publicada em

A Microsoft está dando muita importância e reconhecimento para as iniciativas OpenSource, um dos pontos que podemos salientar que colabora com essa afirmação é a quantidade de produtos OpenSource ofertados na plataforma de nuvem da Microsoft assim como a criação de uma subsidiária MSOpenTech e de uma fundação de Software livre que nasceu no Build recebendo o seu primeiro projeto o Roslyn compilador C# escrito em C#.

Aproveitando o momento que vivemos de movimentação para a nuvem pública e DevOps, apresento as dificuldades de implementação e algumas soluções OpenSource de DevOps.

Publicada em: Tecnologia
  • Seja o primeiro a comentar

Sim a Microsoft Utiliza OpenSource em DevOps!

  1. 1. DEV OPS
  2. 2. https://puppetlabs.com/
  3. 3. Configuration Alerting Monitor
  4. 4. Virtual Machine management
  5. 5. Virtual Machine management http://aka.ms/devops_oss_ms
  6. 6. 1. The Puppet agent process collects information about the host it is running on, which it passes to the server. 2. The parser uses that system information and Puppet modules on local disk to compile a configuration for that particular host and returns it to the agent. 3. The agent applies that configuration locally, thus affecting the local state of the host, and files the resulting report with the server.
  7. 7. REOLEPAESREATE Puppet Master VM SQL DB cspkg
  8. 8. Chef and Windows Timeline • May 2011 – Knife plugin for Windows announced • Oct 2011 – PowerShell, IIS, SQL Server, and Windows cookbooks • Dec 2011 – Chef Client Installer MSI for Microsoft Windows • Feb 2012 – Integration of the registry_key resource into core Chef from the Windows cookbook • Aug 2013 – Chef 11.6.0 release. PowerShell and Batch scripting integrated into core Chef. Chef Client released as Windows service • Feb 2014 – knife Azure release 1.2.2
  9. 9. Why Chef on Azure • Chef Community - community.opscode.com – +25,000 registered users – 1,300 individual contributors – 200 corporate contributors – 900 cookbooks • Support for on-Premise Windows and Windows Azure in the Cloud
  10. 10. Chef on Azure - Architecture • Github – knife-azure • Chef Server - .pem files and Cookbooks • Windows Azure – endorsed Linux packages • New VM – loads workstation • New workstation – loads client and recipes
  11. 11. Overview of Chef Resources on Windows
  12. 12. Same as UNIX/Linux • file, remote_file, cookbook_file, template • directory, remote_directory • user, group • mount (can take CIFS paths) • env • service • execute • ruby_block • many others...
  13. 13. Unique to Windows • registry_key (new in Chef 11.0.0) • powershell_script (new in Chef 11.6.0) • batch (new in Chef 11.6.0) • Automatic architecture handling (:i386 vs. :x86_64) • Automatic Windows filesystem redirector handling (Wow64) • Long-term roadmap: move more resources to core and out of ‘windows’ cookbook
  14. 14. Windows-Only Cookbooks • By Chef: – 7-zip – iis – powershell – sql_server – webpi – windows – wix
  15. 15. Windows Community Cookbooks • ms_dotnet2 / 4 / 45 • windows_ad (by TAMU) • msoffice • azure
  16. 16. registry_key example # Set system’s proxy settings to be the same as used for Chef proxy = URI.parse(Chef::Config[:http_proxy]) registry_key 'HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings' do values [{:name => 'ProxyEnable', :type => :reg_dword, :data => 1}, {:name => 'ProxyServer', :data => "#{proxy.host}:#{proxy.port}"}, {:name => 'ProxyOverride', :type => :reg_string, :data => '<local>'}] action :create end
  17. 17. powershell_script example powershell_script "rename hostname" do code <<-EOH $computer_name = Get-Content env:computername $new_name = 'test-hostname' $sysInfo = Get-WmiObject -Class Win32_ComputerSystem $sysInfo.Rename($new_name) EOH end
  18. 18. github.com/opscode/knife-azure
  19. 19. http://msopentech.com/blog/project-categories/devops/
  20. 20. http://aka.ms/devops_oss_ms Puppet and Chef on Azure http://azure.Microsoft.com Microsoft Virtual Academy

×