Upload
maish-saidel-keesing
View
216
Download
20
Tags:
Embed Size (px)
DESCRIPTION
This session was given at the UKVMUG, in November 2013. What happens when you don't have a virtual infrastructure in place - and you need to deploy everything from scratch? In this session I explained the issues that need to be addressed in such a situation.
Citation preview
UK VMUG
0-DAY DEPLOYMENT
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 …..
We will cover…
• The problem …
• The Journey …
• Why was it so difficult?
• Tools of the trade …
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.
The Typical Datacenter #1
• Mine is better
• What do they all have in common?
• Existing Infrastructure
•Storage
•Network
•Virtual Infrastructure
The Typical Datacenter #2
Docklandsboy (flickr)
What if that wasn’t the case?
And all you had
was this ??
VMware vCenter Server
ManageManage
VMware vSphere VMware vSphere VMware vSphere
First THE PROBLEM…..• Install Hardware
• Servers
• Network
• Storage
• Virtualization Stack
• Operating Systems
• Applications
……
• ~0 margin for error
• Easy to implement in the field
• Rinse and repeat (100’s of times)
This is what we got.
What is a must for Automation?
Halans (flickr)
What comes first?
Jasonunbound (flickr)
Uplink Switches and FI’s
UCS configuration
• Houston we have an API!
• Cisco UCS and VMware Integration(http://bit.ly/1bFIDdT)
Hypervisor
• Kickstart
• USB Key
• Deployment appliance (Razor)
Power On Server
Boot from CDROM/PXE
ESXi Kickstart installation
EngineerEngineer
Provide Kickstart File
Static IP’s + Hostnames
• External CSV file
• Plant the hostnameafter kickstart in the host
• Set static IP
EngineerEngineer
vSphere ClientDeploy vCenter and vCenterDB
Images
EngineerEngineer
vSphere ClientConfigure IP vCenter VM
vSphere ClientConfigure IP
vCenterDB VM
Setup VMware environment
EngineerEngineer
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
How to connect the ESXi hosts to vCenter?
• vCenter deployment script
• PS:\> PowerCLI
• Kickstart
• Puppet vCenter Module
Dude where’s my Storage?
• Standard Arrays (NetApp/EMC)
• Predefined scripts for configuration
• IP’s
• LUNs / Volumes / NFS
aarongilson (flickr)
The VM’s ….
• Clone / Deploy ?
• Razor – handoff to Puppet Broker
(Nickapedia)
Deploy Applications
• Tags were already there (Razor)
• Active / Passive Nodes
• Puppet Modules
Tools
• How To Deal With a Complex Project – (http://bit.ly/1hWoy8t)
• PowerShell/bash/Python/…
• Razor
• Puppet
Looking forward
•Handling the Workflow
•Wrapping this in a normal interface
• Questions???