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 full-size 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 full-size slide

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

    View full-size 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 full-size slide

  5. The Typical Datacenter #1
    • Mine is better

    View full-size slide

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

    View full-size 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 full-size slide

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

    View full-size slide

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

    View full-size slide

  10. This is what we got.

    View full-size slide

  11. What is a must for Automation?

    View full-size slide

  12. What comes first?
    Jasonunbound (flickr)

    View full-size slide

  13. Uplink Switches and FI’s

    View full-size slide

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

    View full-size 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 full-size slide

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

    View full-size 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 full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  24. • Questions???

    View full-size slide