0-Day Virtual Infrastructure deployment

0-Day Virtual Infrastructure deployment

Presentation given at the UK VMUG 2013 on the journey I had finding a way to deploy a full system from zero

C5cd6d85b069bab067495538715fde71?s=128

Maish Saidel-Keesing

November 21, 2013
Tweet

Transcript

  1. UK VMUG 0-DAY DEPLOYMENT

  2. A little about myself • Maish Saidel-Keesing - @maishsk •

    Blogger – Technodrone (http://technodrone.blogspot.com) • Platform Architect – Cisco, Israel • Co-Author of VMware vSphere Design • vExpert, VCAP5-DCD/DCA blah blah blah …..
  3. We will cover… • The problem … • The Journey

    … • Why was it so difficult? • Tools of the trade …
  4. Things you won’t get (Today ) • An End-to-End Solution

    • Code Samples (unless they are already public). • The pot at the end of the rainbow.
  5. The Typical Datacenter #1 • Mine is better

  6. • What do they all have in common? • Existing

    Infrastructure •Storage • Network • Virtual Infrastructure The Typical Datacenter #2
  7. Docklandsboy (flickr) What if that wasn’t the case? And all

    you had was this ?? VMware vCenter Server Manage Manage VMware vSphere VMware vSphere VMware vSphere
  8. First THE PROBLEM….. • Install Hardware • Servers • Network

    • Storage • Virtualization Stack • Operating Systems • Applications
  9. …… • ~0 margin for error • Easy to implement

    in the field • Rinse and repeat (100’s of times)
  10. This is what we got.

  11. What is a must for Automation?

  12. What comes first? Jasonunbound (flickr)

  13. Uplink Switches and FI’s

  14. UCS configuration • Houston we have an API! • Cisco

    UCS and VMware Integration (http://bit.ly/1bFIDdT)
  15. Hypervisor • Kickstart • USB Key • Deployment appliance (Razor)

    Power On Server Boot from CDROM/PXE ESXi Kickstart installation Engineer Engineer Provide Kickstart File
  16. Static IP’s + Hostnames • External CSV file • Plant

    the hostname after kickstart in the host • Set static IP
  17. Engineer Engineer vSphere Client Deploy vCenter and vCenterDB Images Engineer

    Engineer vSphere Client Configure IP vCenter VM vSphere Client Configure IP vCenterDB VM Setup VMware environment Engineer Engineer Powershell Deploy vCenter • 2 predefined OVF’s • vCenter (http://bit.ly/18Osy1l) • Oracle Database • No VCSA • External Oracle DB • Was not production ready until vSphere 5.5
  18. How to connect the ESXi hosts to vCenter? • vCenter

    deployment script • PS:\> PowerCLI • Kickstart • Puppet vCenter Module
  19. Dude where’s my Storage? • Standard Arrays (NetApp/EMC) • Predefined

    scripts for configuration • IP’s • LUNs / Volumes / NFS
  20. aarongilson (flickr) The VM’s …. • Clone / Deploy ?

    • Razor – handoff to Puppet Broker (Nickapedia)
  21. Deploy Applications • Tags were already there (Razor) • Active

    / Passive Nodes • Puppet Modules
  22. Tools • How To Deal With a Complex Project –

    (http://bit.ly/1hWoy8t) • PowerShell/bash/Python/… • Razor • Puppet
  23. Looking forward • Handling the Workflow • Wrapping this in

    a normal interface
  24. • Questions???