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. UK VMUG
    0-DAY DEPLOYMENT

    View Slide

  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 …..

    View Slide

  3. We will cover…
    • The problem …
    • The Journey …
    • Why was it so difficult?
    • Tools of the trade …

    View Slide

  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.

    View Slide

  5. The Typical Datacenter #1
    • Mine is better

    View Slide

  6. • What do they all have in common?
    • Existing Infrastructure
    •Storage
    • Network
    • Virtual Infrastructure
    The Typical Datacenter #2

    View Slide

  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

    View Slide

  8. First THE PROBLEM…..
    • Install Hardware
    • Servers
    • Network
    • Storage
    • Virtualization Stack
    • Operating Systems
    • Applications

    View Slide

  9. ……
    • ~0 margin for error
    • Easy to implement in the field
    • Rinse and repeat (100’s of times)

    View Slide

  10. This is what we got.

    View Slide

  11. What is a must for Automation?

    View Slide

  12. What comes first?
    Jasonunbound (flickr)

    View Slide

  13. Uplink Switches and FI’s

    View Slide

  14. UCS configuration
    • Houston we have an API!
    • Cisco UCS and VMware Integration
    (http://bit.ly/1bFIDdT)

    View Slide

  15. Hypervisor
    • Kickstart
    • USB Key
    • Deployment appliance (Razor)
    Power On Server
    Boot from CDROM/PXE
    ESXi Kickstart installation
    Engineer
    Engineer
    Provide Kickstart
    File

    View Slide

  16. Static IP’s + Hostnames
    • External CSV file
    • Plant the hostname
    after kickstart in the host
    • Set static IP

    View Slide

  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

    View Slide

  18. How to connect the ESXi hosts
    to vCenter?
    • vCenter deployment script
    • PS:\> PowerCLI
    • Kickstart
    • Puppet vCenter Module

    View Slide

  19. Dude where’s my Storage?
    • Standard Arrays (NetApp/EMC)
    • Predefined scripts for configuration
    • IP’s
    • LUNs / Volumes / NFS

    View Slide

  20. aarongilson (flickr)
    The VM’s ….
    • Clone / Deploy ?
    • Razor – handoff to Puppet Broker
    (Nickapedia)

    View Slide

  21. Deploy Applications
    • Tags were already there (Razor)
    • Active / Passive Nodes
    • Puppet Modules

    View Slide

  22. Tools
    • How To Deal With a Complex
    Project – (http://bit.ly/1hWoy8t)
    • PowerShell/bash/Python/…
    • Razor
    • Puppet

    View Slide

  23. Looking forward
    • Handling the Workflow
    • Wrapping this in a
    normal interface

    View Slide

  24. • Questions???

    View Slide