Upgrade to Pro — share decks privately, control downloads, hide ads and more …

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

Maish Saidel-Keesing

November 21, 2013
Tweet

More Decks by Maish Saidel-Keesing

Other Decks in Technology

Transcript

  1. 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 …..
  2. We will cover… • The problem … • The Journey

    … • Why was it so difficult? • Tools of the trade …
  3. 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.
  4. • What do they all have in common? • Existing

    Infrastructure •Storage • Network • Virtual Infrastructure The Typical Datacenter #2
  5. 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
  6. First THE PROBLEM….. • Install Hardware • Servers • Network

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

    in the field • Rinse and repeat (100’s of times)
  8. UCS configuration • Houston we have an API! • Cisco

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

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

    the hostname after kickstart in the host • Set static IP
  11. 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
  12. How to connect the ESXi hosts to vCenter? • vCenter

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

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

    • Razor – handoff to Puppet Broker (Nickapedia)
  15. Tools • How To Deal With a Complex Project –

    (http://bit.ly/1hWoy8t) • PowerShell/bash/Python/… • Razor • Puppet