Big gains with little virtual Machines: VMware Lab Manager Gaurav Lochan Staff Engineer, VMware, Inc. 6 th November 2008
Big gains with little virtual Machines: VMware Lab Manager
Gaurav Lochan
Staff Engineer, VMware, Inc.
6th November 2008
Disclaimer
This session may contain product features that are currently under development.
This session/overview of the new technology represents no commitment from VMware to deliver these features in any generally available product.
Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind.
Technical feasibility and market demand will affect final delivery.
Pricing and packaging for any new technologies or features discussed or presented have not been determined.
“These features are representative of feature areas under development. Feature commitments are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind. Technical feasibility and market demand will affect final delivery.”
Agenda
Challenges for the Dev/Test environment
VMware Lab Manager Overview
Demo and Use Cases
Lab Manager Architecture
Lab Manager Networking
The Technical “Heart” of VMware Lab Manager: Leveraging Virtualization
Linked clones for instant copies
Fencing for simultaneous use of copies
Saved state for bug capture and to save time
Questions
Resource Requirements for the Lab
37Development
10-15Test/QA
3System Integration
ProductionApplication Development
# Userssupported:
Development and Test Lab Data Center
1-2Staging/UAT
1-2Production
Typical Lab Infrastructure is an IT Headache
Server sprawl – under desks, in closets
Aging, cast-off hardware
Dirty systems – inability to maintain “clean state”
Users and IT bogged down in provisioning requests
*Actual customer photos
Lab Users and IT Bogged Down In Provisioning Requests
Dev
Dev
IT3
days
1min
BEFORE Lab Manager
AFTER Lab Manager
What is VMware Lab Manager?
Shared virtual machine libraryStores “multi-machine” configurations-- in state-- as a unit Creates copies of VMs using a fraction of storage normally requiredRuns identical copies simultaneously on the lab networkLeverages central pool of virtualization resources
A portal to access the libraryEasy to use web based interface, even for a non-IT professionalQuotas and Leases to control usage of resourcesCommunicate copies of running machines with a URL (LiveLink)
The premiere solution for managing “transiently configured” IT infrastructureSoftware development and testPatch testing, compatibility testing, onboarding new employeesTechnical support, demos, training
What is VMware Lab Manager?
Shared virtual machine libraryStores “multi-machine” configurations-- in state-- as a unit Creates copies of VMs using a fraction of storage normally requiredRuns identical copies simultaneously on the lab networkLeverages central pool of virtualization resources
A portal to access the libraryEasy to use web based interface, even for a non-IT professionalQuotas and Leases to control usage of resourcesCommunicate copies of running machines with a URL (LiveLink)
The premiere solution for managing “transiently configured” IT infrastructureSoftware development and testPatch testing, compatibility testing, onboarding new employeesTechnical support, demos, training
What is VMware Lab Manager?
Shared virtual machine libraryStores “multi-machine” configurations-- in state-- as a unit Creates copies of VMs using a fraction of storage normally requiredRuns identical copies simultaneously on the lab networkLeverages central pool of virtualization resources
A portal to access the libraryEasy to use web based interface, even for a non-IT professionalQuotas and Leases to control usage of resourcesCommunicate copies of running machines with a URL (LiveLink)
The premiere solution for managing “transiently configured” IT infrastructureSoftware development and testPatch testing, compatibility testing, onboarding new employeesTechnical support, demos, training
What is VMware Lab Manager?
Shared virtual machine libraryStores “multi-machine” configurations-- in state-- as a unit Creates copies of VMs using a fraction of storage normally requiredRuns identical copies simultaneously on the lab networkLeverages central pool of virtualization resources
A portal to access the libraryEasy to use web based interface, even for a non-IT professionalQuotas and Leases to control usage of resourcesCommunicate copies of running machines with a URL (LiveLink)
The premiere solution for managing “transiently configured” IT infrastructureSoftware development and testPatch testing, compatibility testing, onboarding new employeesTechnical support, demos, training
VMware Lab Manager System Layout
VMware Lab Manager Image Storage Library
VMware InfrastructureVirtualized Server Pool
Virtual Enterprise Application Development LabApplication Quality Assurance
Outsourcing Partner
Financial Planning and Analysis (FP&A)Application Development Team
Customer Information Management (CIM)Application Development Team
New Jersey Dev Facility
Waldorf Dev Facility
Bangalore Outsource Partner
QA Automation Engineer
FP&A Application Developer
CIM Application Developer
CIM Application Developer
LAN/SAN
Demo
Scalable Lab Architecture: Global Deployment
VMware Infrastructure 3VMware
VirtualCenter+ DRS, HA, VCB
VMware Lab Manager 3.0
Remote ESXServers
Local ESX Clusters
Helpdesk, Demos, Training
Development Remote UsersQA
Support,Demo LabDev Lab Offshore
LabQA Lab
ROI – From Our Customers
Cost Savings
Consolidation reduces the number of physical machines required
Library/ Workspace allows physical machines to be freed for reuse (!)
Linked Clones provide tremendous storage cost savings
Time Savings
IT spends less time provisioning machines–you can allow users to do it themselves if you wish
Create fully-loaded machines in seconds instead of days
Set-up machines are stored in-state–no time wasted waiting for machines to boot or setting up tests
Everything can be automated
“VMware Lab Manager obsoletes many manual processes and lets us be more pro-active and innovative.I can't think of any other product, process or project that has had a greater impact in our daily activities. Everything just runs with little interference. Lab Manager will be key to the future success of software development in Avaya.”
Jay M. LeoneLab Manager
Lab Manager 3 Architecture
��������� �� ��� �� ���� � � � ��
�� �� �� ���
� �� ��� �� ������ ��
TCP 443 IIS with
ASP.NET
MSSQLExpress
� ���� �� ��
VMfiles
Lab Manager
Agent
VMFS or NFS Shared Storage
TCP 5212
TCP 443
TCP 902/903
SOAP API
Host Agent
����� ��� � ������� ��
IIS with ASP.NET
VirtualCenter Server
TCP 443
� � � � �� � �
�� � ���� ���
TCP 389 or 636
TCP 443
Media Share
TCP 25
Console ActiveX
Lab Manager Server
SOAP API
vmkernel
VirtualCenter Agent
Lab Manager 3 Networking
VMware ESX Host
Lab Manager Server
Unfenced VMs Fenced Configuration
Virtual Router
VMkernel port
service console port
Fence vSwitch(1 per fenced
pNet)
Management vSwitch
Physical Network vSwitch (one per pNIC)
� � � �! ������" ���� �#
�� �� �$ � ��" ���� �#
� ��� �! �! � � � ��
����� ��
�� �� ���� � �
��# �� ��" ���� �#��� �! ��
Virtual Network vSwitch
Virtual Network vSwitch
Network Fencing
Property 1: Isolation between fencesVMs in fence A cannot directly communicate with VMs in fence B (including NETBIOS broadcasts)
Property 2: Zero modification of VMsVMs resume from check pointed state directlyNothing is modified inside the VMs, e.g. MAC address, IP address, security IDs, or machine name
Property 3: Internal resources accessibleVM inside a fence are able to access other resources on the same internal network
Property 4: External resources accessibleVMs inside a fence are able to access resources on the external network
Property 5: Internal machine externally accessible
An external IP address is assigned to the VM to be accessible from the external network, i.e., via RDP
A’ C’B’ B’’A’’ C’’.10 .11 .12 .10 .11 .12
.113 .114 .115 .116 .117 .118
Fence A Fence B
A’ C’B’ B’’A’’ C’’
VRVR
Fence A Fence B
Lab Manager:Leveraging Virtualization
Feature Benefits
Linked ClonesSpeed. Copy a VM in seconds.Space. Copy the disk of a VM in 16 MB (initially).Consistency. Exact copies
Saved StateStartup Time. Never wait for a VM to boot.Setup Time and Expertise. Only set up a test once.Bug Capture. Record bug situations
Fencing Concurrency. Allow multiple users to use benefits of Linked Clones and Saved State simultaneously.
Linked Clones, Saved State, and Fencing
VMware Lab Manager manages all the files, setup, maintenance,
and security associated with using these technologies.
Multiple Networks: Multiple NICs/Networks
LM3 adds to those networking capabilities
Multiple vNIC
Multiple pNetworks each with own IP Pool
Virtual Network Templates
Multiple vNetworks each with own IP Pool
Virtual network routing
Lab Network 1
Lab Network 2
Fenced
VM VM VM
VR
Unfenced
VM VM VM
Fenced with Virtual Network Routing
VM VM VM
VR VR
VV VF F
V = Virtual NetworkF = Fenced Network
Dedicated Resources
Shared Resources
Organization 2Organization 1
Organizations and LDAP Groups
Lab Manager Installation
LDAP Directory
Dedicated Resources
Organization Administrator
User
Roles assigned to Users and Groups
Administrator
Allow multiple groups to use the same Lab Manager installation and have separation of entities and resources
User 1
LDAP Group 1
LDAP Group 2
LDAP Group 3
LDAP Group 4
User 2
User 3
User 4
User 5
LDAP Group 1
LDAP Group 2
LDAP Group 3
LDAP Users and Groups mapped to
Organizations
User 2 Power User
Organization Administrator
User
LDAP Group 2
LDAP Group 4
Organization Administrator
View Only
LDAP Group 1
LDAP Group 3
Q&A
Big gains with little virtual machines
Gaurav LochanStaff Engineer, VMware, Inc.
November, 2008